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 --with-target-subdir=SUBDIR
16 configuring in a subdirectory"
18 --with-cross-host=HOST configuring with a cross compiler"
20 --enable-multilib build hella library versions (default)"
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 --with-gxx-include-dir the installation directory for include files"
62 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
64 # Initialize some variables set by options.
65 # The variables have the same names as the options, with
66 # dashes changed to underlines.
68 cache_file=./config.cache
77 program_transform_name=s,x,x,
85 bindir='${exec_prefix}/bin'
86 sbindir='${exec_prefix}/sbin'
87 libexecdir='${exec_prefix}/libexec'
88 datadir='${prefix}/share'
89 sysconfdir='${prefix}/etc'
90 sharedstatedir='${prefix}/com'
91 localstatedir='${prefix}/var'
92 libdir='${exec_prefix}/lib'
93 includedir='${prefix}/include'
94 oldincludedir='/usr/include'
95 infodir='${prefix}/info'
96 mandir='${prefix}/man'
98 # Initialize some other variables.
101 SHELL=${CONFIG_SHELL-/bin/sh}
102 # Maximum number of lines to put in a shell here document.
109 # If the previous option needs an argument, assign it.
110 if test -n "$ac_prev"; then
111 eval "$ac_prev=\$ac_option"
117 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
121 # Accept the important Cygnus configure options, so we can diagnose typos.
125 -bindir | --bindir | --bindi | --bind | --bin | --bi)
127 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
128 bindir="$ac_optarg" ;;
130 -build | --build | --buil | --bui | --bu)
132 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
133 build="$ac_optarg" ;;
135 -cache-file | --cache-file | --cache-fil | --cache-fi \
136 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
137 ac_prev=cache_file ;;
138 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
139 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
140 cache_file="$ac_optarg" ;;
142 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
144 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
146 datadir="$ac_optarg" ;;
148 -disable-* | --disable-*)
149 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
150 # Reject names that are not valid shell variable names.
151 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
152 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
154 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
155 eval "enable_${ac_feature}=no" ;;
157 -enable-* | --enable-*)
158 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
159 # Reject names that are not valid shell variable names.
160 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
161 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
163 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
168 eval "enable_${ac_feature}='$ac_optarg'" ;;
170 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
171 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
172 | --exec | --exe | --ex)
173 ac_prev=exec_prefix ;;
174 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
175 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
176 | --exec=* | --exe=* | --ex=*)
177 exec_prefix="$ac_optarg" ;;
179 -gas | --gas | --ga | --g)
180 # Obsolete; use --with-gas.
183 -help | --help | --hel | --he)
184 # Omit some internal or obsolete options to make the list less imposing.
185 # This message is too long to be a string in the A/UX 3.1 sh.
187 Usage: configure [options] [host]
188 Options: [defaults in brackets after descriptions]
190 --cache-file=FILE cache test results in FILE
191 --help print this message
192 --no-create do not create output files
193 --quiet, --silent do not print \`checking...' messages
194 --version print the version of autoconf that created configure
195 Directory and file names:
196 --prefix=PREFIX install architecture-independent files in PREFIX
198 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
200 --bindir=DIR user executables in DIR [EPREFIX/bin]
201 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
202 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
203 --datadir=DIR read-only architecture-independent data in DIR
205 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
206 --sharedstatedir=DIR modifiable architecture-independent data in DIR
208 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
209 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
210 --includedir=DIR C header files in DIR [PREFIX/include]
211 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
212 --infodir=DIR info documentation in DIR [PREFIX/info]
213 --mandir=DIR man documentation in DIR [PREFIX/man]
214 --srcdir=DIR find the sources in DIR [configure dir or ..]
215 --program-prefix=PREFIX prepend PREFIX to installed program names
216 --program-suffix=SUFFIX append SUFFIX to installed program names
217 --program-transform-name=PROGRAM
218 run sed PROGRAM on installed program names
222 --build=BUILD configure for building on BUILD [BUILD=HOST]
223 --host=HOST configure for HOST [guessed]
224 --target=TARGET configure for TARGET [TARGET=HOST]
225 Features and packages:
226 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
227 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
228 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
229 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
230 --x-includes=DIR X include files are in DIR
231 --x-libraries=DIR X library files are in DIR
233 if test -n "$ac_help"; then
234 echo "--enable and --with options recognized:$ac_help"
238 -host | --host | --hos | --ho)
240 -host=* | --host=* | --hos=* | --ho=*)
243 -includedir | --includedir | --includedi | --included | --include \
244 | --includ | --inclu | --incl | --inc)
245 ac_prev=includedir ;;
246 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
247 | --includ=* | --inclu=* | --incl=* | --inc=*)
248 includedir="$ac_optarg" ;;
250 -infodir | --infodir | --infodi | --infod | --info | --inf)
252 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
253 infodir="$ac_optarg" ;;
255 -libdir | --libdir | --libdi | --libd)
257 -libdir=* | --libdir=* | --libdi=* | --libd=*)
258 libdir="$ac_optarg" ;;
260 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
261 | --libexe | --libex | --libe)
262 ac_prev=libexecdir ;;
263 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
264 | --libexe=* | --libex=* | --libe=*)
265 libexecdir="$ac_optarg" ;;
267 -localstatedir | --localstatedir | --localstatedi | --localstated \
268 | --localstate | --localstat | --localsta | --localst \
269 | --locals | --local | --loca | --loc | --lo)
270 ac_prev=localstatedir ;;
271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
272 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
273 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
274 localstatedir="$ac_optarg" ;;
276 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
278 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
279 mandir="$ac_optarg" ;;
282 # Obsolete; use --without-fp.
285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
293 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
294 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
295 | --oldin | --oldi | --old | --ol | --o)
296 ac_prev=oldincludedir ;;
297 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
298 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
299 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
300 oldincludedir="$ac_optarg" ;;
302 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
304 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
305 prefix="$ac_optarg" ;;
307 -program-prefix | --program-prefix | --program-prefi | --program-pref \
308 | --program-pre | --program-pr | --program-p)
309 ac_prev=program_prefix ;;
310 -program-prefix=* | --program-prefix=* | --program-prefi=* \
311 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
312 program_prefix="$ac_optarg" ;;
314 -program-suffix | --program-suffix | --program-suffi | --program-suff \
315 | --program-suf | --program-su | --program-s)
316 ac_prev=program_suffix ;;
317 -program-suffix=* | --program-suffix=* | --program-suffi=* \
318 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
319 program_suffix="$ac_optarg" ;;
321 -program-transform-name | --program-transform-name \
322 | --program-transform-nam | --program-transform-na \
323 | --program-transform-n | --program-transform- \
324 | --program-transform | --program-transfor \
325 | --program-transfo | --program-transf \
326 | --program-trans | --program-tran \
327 | --progr-tra | --program-tr | --program-t)
328 ac_prev=program_transform_name ;;
329 -program-transform-name=* | --program-transform-name=* \
330 | --program-transform-nam=* | --program-transform-na=* \
331 | --program-transform-n=* | --program-transform-=* \
332 | --program-transform=* | --program-transfor=* \
333 | --program-transfo=* | --program-transf=* \
334 | --program-trans=* | --program-tran=* \
335 | --progr-tra=* | --program-tr=* | --program-t=*)
336 program_transform_name="$ac_optarg" ;;
338 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
339 | -silent | --silent | --silen | --sile | --sil)
342 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
344 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
346 sbindir="$ac_optarg" ;;
348 -sharedstatedir | --sharedstatedir | --sharedstatedi \
349 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
350 | --sharedst | --shareds | --shared | --share | --shar \
352 ac_prev=sharedstatedir ;;
353 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
354 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
355 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
357 sharedstatedir="$ac_optarg" ;;
359 -site | --site | --sit)
361 -site=* | --site=* | --sit=*)
364 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
366 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
367 srcdir="$ac_optarg" ;;
369 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
370 | --syscon | --sysco | --sysc | --sys | --sy)
371 ac_prev=sysconfdir ;;
372 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
373 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
374 sysconfdir="$ac_optarg" ;;
376 -target | --target | --targe | --targ | --tar | --ta | --t)
378 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
379 target="$ac_optarg" ;;
381 -v | -verbose | --verbose | --verbos | --verbo | --verb)
384 -version | --version | --versio | --versi | --vers)
385 echo "configure generated by autoconf version 2.13"
389 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
390 # Reject names that are not valid shell variable names.
391 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
392 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
394 ac_package=`echo $ac_package| sed 's/-/_/g'`
399 eval "with_${ac_package}='$ac_optarg'" ;;
401 -without-* | --without-*)
402 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
403 # Reject names that are not valid shell variable names.
404 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
405 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
407 ac_package=`echo $ac_package| sed 's/-/_/g'`
408 eval "with_${ac_package}=no" ;;
411 # Obsolete; use --with-x.
414 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
415 | --x-incl | --x-inc | --x-in | --x-i)
416 ac_prev=x_includes ;;
417 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
418 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
419 x_includes="$ac_optarg" ;;
421 -x-libraries | --x-libraries | --x-librarie | --x-librari \
422 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
423 ac_prev=x_libraries ;;
424 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
425 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
426 x_libraries="$ac_optarg" ;;
428 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
432 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
433 echo "configure: warning: $ac_option: invalid host type" 1>&2
435 if test "x$nonopt" != xNONE; then
436 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
444 if test -n "$ac_prev"; then
445 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
448 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
450 # File descriptor usage:
453 # 2 errors and warnings
454 # 3 some systems may open it to /dev/tty
455 # 4 used on the Kubota Titan
456 # 6 checking for... messages and results
457 # 5 compiler messages saved in config.log
458 if test "$silent" = yes; then
466 This file contains any messages produced by compilers while
467 running configure, to aid debugging if configure makes a mistake.
470 # Strip out --no-create and --no-recursion so they do not pile up.
471 # Also quote any args containing shell metacharacters.
476 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
477 | --no-cr | --no-c) ;;
478 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
479 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
480 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
481 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
482 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
487 # Only set these to C if already set. These must not be set unconditionally
488 # because not all systems understand e.g. LANG=C (notably SCO).
489 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
490 # Non-C LC_CTYPE values break the ctype check.
491 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
492 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
493 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
494 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
496 # confdefs.h avoids OS command line length limits that DEFS can exceed.
497 rm -rf conftest* confdefs.h
498 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
501 # A filename unique to this package, relative to the directory that
502 # configure is in, which we can look for to find out if srcdir is correct.
503 ac_unique_file=src/ios.cc
505 # Find the source files, if location was not specified.
506 if test -z "$srcdir"; then
507 ac_srcdir_defaulted=yes
508 # Try the directory containing this script, then its parent.
510 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
511 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
513 if test ! -r $srcdir/$ac_unique_file; then
517 ac_srcdir_defaulted=no
519 if test ! -r $srcdir/$ac_unique_file; then
520 if test "$ac_srcdir_defaulted" = yes; then
521 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
523 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
526 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
528 # Prefer explicitly selected file to automatically selected ones.
529 if test -z "$CONFIG_SITE"; then
530 if test "x$prefix" != xNONE; then
531 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
533 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
536 for ac_site_file in $CONFIG_SITE; do
537 if test -r "$ac_site_file"; then
538 echo "loading site script $ac_site_file"
543 if test -r "$cache_file"; then
544 echo "loading cache $cache_file"
547 echo "creating cache $cache_file"
552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
553 ac_cpp='$CPP $CPPFLAGS'
554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
555 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
556 cross_compiling=$ac_cv_prog_cc_cross
560 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
561 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
562 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
569 ac_n= ac_c='\c' ac_t=
574 # When building with srcdir == objdir, links to the source files will
575 # be created in directories within the target_subdir. We have to
576 # adjust toplevel_srcdir accordingly, so that configure finds
577 # install-sh and other auxiliary files that live in the top-level
579 if test "${srcdir}" = "."; then
580 if test -z "${with_target_subdir}"; then
583 if test "${with_target_subdir}" != "."; then
584 toprel="${with_multisrctop}../.."
586 toprel="${with_multisrctop}.."
593 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
594 if test -f $ac_dir/install-sh; then
596 ac_install_sh="$ac_aux_dir/install-sh -c"
598 elif test -f $ac_dir/install.sh; then
600 ac_install_sh="$ac_aux_dir/install.sh -c"
604 if test -z "$ac_aux_dir"; then
605 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
607 ac_config_guess=$ac_aux_dir/config.guess
608 ac_config_sub=$ac_aux_dir/config.sub
609 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
611 toplevel_srcdir=\${top_srcdir}/$toprel
616 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
617 # AC 2.50 sets target_alias iff the user specified --target, but we use it
618 # everywhere, so we set it here just to be sure.
620 # Do some error checking and defaulting for the host and target type.
622 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
625 # 1. You are not allowed to specify --host, --target, and nonopt at the
627 # 2. Host defaults to nonopt.
628 # 3. If nonopt is not specified, then host defaults to the current host,
629 # as determined by config.guess.
630 # 4. Target and build default to nonopt.
631 # 5. If nonopt is not specified, then target and build default to host.
633 # The aliases save the names the user supplied, while $host etc.
634 # will get canonicalized.
635 case $host---$target---$nonopt in
636 NONE---*---* | *---NONE---* | *---*---NONE) ;;
637 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
641 # Make sure we can run config.sub.
642 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
643 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
646 echo $ac_n "checking host system type""... $ac_c" 1>&6
647 echo "configure:648: checking host system type" >&5
650 case "$host_alias" in
654 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
655 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
657 *) host_alias=$nonopt ;;
661 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
662 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
663 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
664 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
665 echo "$ac_t""$host" 1>&6
667 echo $ac_n "checking target system type""... $ac_c" 1>&6
668 echo "configure:669: checking target system type" >&5
671 case "$target_alias" in
674 NONE) target_alias=$host_alias ;;
675 *) target_alias=$nonopt ;;
679 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
680 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
681 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
682 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
683 echo "$ac_t""$target" 1>&6
685 echo $ac_n "checking build system type""... $ac_c" 1>&6
686 echo "configure:687: checking build system type" >&5
689 case "$build_alias" in
692 NONE) build_alias=$host_alias ;;
693 *) build_alias=$nonopt ;;
697 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
698 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
699 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
700 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
701 echo "$ac_t""$build" 1>&6
703 test "$host_alias" != "$target_alias" &&
704 test "$program_prefix$program_suffix$program_transform_name" = \
706 program_prefix=${target_alias}-
708 target_alias=${target_alias-$target}
711 # We use these options to decide which functions to include.
712 # Check whether --with-target-subdir or --without-target-subdir was given.
713 if test "${with_target_subdir+set}" = set; then
714 withval="$with_target_subdir"
718 # Check whether --with-cross-host or --without-cross-host was given.
719 if test "${with_cross_host+set}" = set; then
720 withval="$with_cross_host"
725 # Runs configure.host and configure.target. Have to run this before
726 # the GLIBCPP_ENABLE_* macros below.
727 # Find a good install program. We prefer a C program (faster),
728 # so one script is as good as another. But avoid the broken or
729 # incompatible versions:
730 # SysV /etc/install, /usr/sbin/install
731 # SunOS /usr/etc/install
734 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
735 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
736 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
737 # ./install, which can be erroneously created by make from ./install.sh.
738 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
739 echo "configure:740: checking for a BSD compatible install" >&5
740 if test -z "$INSTALL"; then
741 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
742 echo $ac_n "(cached) $ac_c" 1>&6
744 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
745 for ac_dir in $PATH; do
746 # Account for people who put trailing slashes in PATH elements.
748 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
750 # OSF1 and SCO ODT 3.0 have their own names for install.
751 # Don't use installbsd from OSF since it installs stuff as root
753 for ac_prog in ginstall scoinst install; do
754 if test -f $ac_dir/$ac_prog; then
755 if test $ac_prog = install &&
756 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
757 # AIX install. It has an incompatible calling convention.
760 ac_cv_path_install="$ac_dir/$ac_prog -c"
771 if test "${ac_cv_path_install+set}" = set; then
772 INSTALL="$ac_cv_path_install"
774 # As a last resort, use the slow shell script. We don't cache a
775 # path for INSTALL within a source directory, because that will
776 # break other packages using the cache if that directory is
777 # removed, or if the path is relative.
778 INSTALL="$ac_install_sh"
781 echo "$ac_t""$INSTALL" 1>&6
783 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
784 # It thinks the first close brace ends the variable substitution.
785 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
787 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
789 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
791 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
792 echo "configure:793: checking whether build environment is sane" >&5
795 echo timestamp > conftestfile
796 # Do `set' in a subshell so we don't clobber the current shell's
797 # arguments. Must try -L first in case configure is actually a
798 # symlink; some systems play weird games with the mod time of symlinks
799 # (eg FreeBSD returns the mod time of the symlink's containing
802 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
803 if test "$*" = "X"; then
805 set X `ls -t $srcdir/configure conftestfile`
807 if test "$*" != "X $srcdir/configure conftestfile" \
808 && test "$*" != "X conftestfile $srcdir/configure"; then
810 # If neither matched, then we have a broken ls. This can happen
811 # if, for instance, CONFIG_SHELL is bash and it inherits a
812 # broken ls alias from the environment. This has actually
813 # happened. Such a system could not be considered "sane".
814 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
815 alias in your environment" 1>&2; exit 1; }
818 test "$2" = conftestfile
824 { echo "configure: error: newly created file is older than distributed files!
825 Check your system clock" 1>&2; exit 1; }
828 echo "$ac_t""yes" 1>&6
829 if test "$program_transform_name" = s,x,x,; then
830 program_transform_name=
832 # Double any \ or $. echo might interpret backslashes.
833 cat <<\EOF_SED > conftestsed
834 s,\\,\\\\,g; s,\$,$$,g
836 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
839 test "$program_prefix" != NONE &&
840 program_transform_name="s,^,${program_prefix},; $program_transform_name"
841 # Use a double $ so make ignores it.
842 test "$program_suffix" != NONE &&
843 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
845 # sed with no file args requires a program.
846 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
848 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
849 echo "configure:850: checking whether ${MAKE-make} sets \${MAKE}" >&5
850 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
851 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
852 echo $ac_n "(cached) $ac_c" 1>&6
854 cat > conftestmake <<\EOF
856 @echo 'ac_maketemp="${MAKE}"'
858 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
859 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
860 if test -n "$ac_maketemp"; then
861 eval ac_cv_prog_make_${ac_make}_set=yes
863 eval ac_cv_prog_make_${ac_make}_set=no
867 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
868 echo "$ac_t""yes" 1>&6
871 echo "$ac_t""no" 1>&6
872 SET_MAKE="MAKE=${MAKE-make}"
875 if test $host != $build; then
876 ac_tool_prefix=${host_alias}-
881 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
882 echo "configure:883: checking for Cygwin environment" >&5
883 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
884 echo $ac_n "(cached) $ac_c" 1>&6
886 cat > conftest.$ac_ext <<EOF
887 #line 888 "configure"
888 #include "confdefs.h"
893 #define __CYGWIN__ __CYGWIN32__
898 if { (eval echo configure:899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
902 echo "configure: failed program was:" >&5
903 cat conftest.$ac_ext >&5
911 echo "$ac_t""$ac_cv_cygwin" 1>&6
913 test "$ac_cv_cygwin" = yes && CYGWIN=yes
914 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
915 echo "configure:916: checking for mingw32 environment" >&5
916 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
917 echo $ac_n "(cached) $ac_c" 1>&6
919 cat > conftest.$ac_ext <<EOF
920 #line 921 "configure"
921 #include "confdefs.h"
927 if { (eval echo configure:928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
931 echo "configure: failed program was:" >&5
932 cat conftest.$ac_ext >&5
940 echo "$ac_t""$ac_cv_mingw32" 1>&6
942 test "$ac_cv_mingw32" = yes && MINGW32=yes
944 # Check whether --enable-multilib or --disable-multilib was given.
945 if test "${enable_multilib+set}" = set; then
946 enableval="$enable_multilib"
947 case "${enableval}" in
950 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
956 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
964 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
965 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
967 cat >> confdefs.h <<EOF
968 #define PACKAGE "$PACKAGE"
971 cat >> confdefs.h <<EOF
972 #define VERSION "$VERSION"
977 missing_dir=`cd $ac_aux_dir && pwd`
978 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
979 echo "configure:980: checking for working aclocal" >&5
980 # Run test in a subshell; some versions of sh will print an error if
981 # an executable is not found, even if stderr is redirected.
982 # Redirect stdin to placate older versions of autoconf. Sigh.
983 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
985 echo "$ac_t""found" 1>&6
987 ACLOCAL="$missing_dir/missing aclocal"
988 echo "$ac_t""missing" 1>&6
991 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
992 echo "configure:993: checking for working autoconf" >&5
993 # Run test in a subshell; some versions of sh will print an error if
994 # an executable is not found, even if stderr is redirected.
995 # Redirect stdin to placate older versions of autoconf. Sigh.
996 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
998 echo "$ac_t""found" 1>&6
1000 AUTOCONF="$missing_dir/missing autoconf"
1001 echo "$ac_t""missing" 1>&6
1004 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1005 echo "configure:1006: checking for working automake" >&5
1006 # Run test in a subshell; some versions of sh will print an error if
1007 # an executable is not found, even if stderr is redirected.
1008 # Redirect stdin to placate older versions of autoconf. Sigh.
1009 if (automake --version) < /dev/null > /dev/null 2>&1; then
1011 echo "$ac_t""found" 1>&6
1013 AUTOMAKE="$missing_dir/missing automake"
1014 echo "$ac_t""missing" 1>&6
1017 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1018 echo "configure:1019: checking for working autoheader" >&5
1019 # Run test in a subshell; some versions of sh will print an error if
1020 # an executable is not found, even if stderr is redirected.
1021 # Redirect stdin to placate older versions of autoconf. Sigh.
1022 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1023 AUTOHEADER=autoheader
1024 echo "$ac_t""found" 1>&6
1026 AUTOHEADER="$missing_dir/missing autoheader"
1027 echo "$ac_t""missing" 1>&6
1030 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1031 echo "configure:1032: checking for working makeinfo" >&5
1032 # Run test in a subshell; some versions of sh will print an error if
1033 # an executable is not found, even if stderr is redirected.
1034 # Redirect stdin to placate older versions of autoconf. Sigh.
1035 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1037 echo "$ac_t""found" 1>&6
1039 MAKEINFO="$missing_dir/missing makeinfo"
1040 echo "$ac_t""missing" 1>&6
1045 # Never versions of autoconf add an underscore to these functions.
1046 # Prevent future problems ...
1054 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1055 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1056 # are probably using a cross compiler, which will not be able to fully
1057 # link an executable. This should really be fixed in autoconf
1063 # Extract the first word of "gcc", so it can be a program name with args.
1064 set dummy gcc; ac_word=$2
1065 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1066 echo "configure:1067: checking for $ac_word" >&5
1067 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1068 echo $ac_n "(cached) $ac_c" 1>&6
1070 if test -n "$CC"; then
1071 ac_cv_prog_CC="$CC" # Let the user override the test.
1073 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1075 for ac_dir in $ac_dummy; do
1076 test -z "$ac_dir" && ac_dir=.
1077 if test -f $ac_dir/$ac_word; then
1086 if test -n "$CC"; then
1087 echo "$ac_t""$CC" 1>&6
1089 echo "$ac_t""no" 1>&6
1092 if test -z "$CC"; then
1093 # Extract the first word of "cc", so it can be a program name with args.
1094 set dummy cc; ac_word=$2
1095 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1096 echo "configure:1097: checking for $ac_word" >&5
1097 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1098 echo $ac_n "(cached) $ac_c" 1>&6
1100 if test -n "$CC"; then
1101 ac_cv_prog_CC="$CC" # Let the user override the test.
1103 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1106 for ac_dir in $ac_dummy; do
1107 test -z "$ac_dir" && ac_dir=.
1108 if test -f $ac_dir/$ac_word; then
1109 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1110 ac_prog_rejected=yes
1118 if test $ac_prog_rejected = yes; then
1119 # We found a bogon in the path, so make sure we never use it.
1120 set dummy $ac_cv_prog_CC
1122 if test $# -gt 0; then
1123 # We chose a different compiler from the bogus one.
1124 # However, it has the same basename, so the bogon will be chosen
1125 # first if we set CC to just the basename; use the full file name.
1127 set dummy "$ac_dir/$ac_word" "$@"
1135 if test -n "$CC"; then
1136 echo "$ac_t""$CC" 1>&6
1138 echo "$ac_t""no" 1>&6
1141 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1144 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1145 echo "configure:1146: checking whether we are using GNU C" >&5
1146 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1147 echo $ac_n "(cached) $ac_c" 1>&6
1149 cat > conftest.c <<EOF
1154 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1161 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1163 if test $ac_cv_prog_gcc = yes; then
1165 ac_test_CFLAGS="${CFLAGS+set}"
1166 ac_save_CFLAGS="$CFLAGS"
1168 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1169 echo "configure:1170: checking whether ${CC-cc} accepts -g" >&5
1170 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1171 echo $ac_n "(cached) $ac_c" 1>&6
1173 echo 'void f(){}' > conftest.c
1174 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1183 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1184 if test "$ac_test_CFLAGS" = set; then
1185 CFLAGS="$ac_save_CFLAGS"
1186 elif test $ac_cv_prog_cc_g = yes; then
1193 test "${CFLAGS+set}" = set || CFLAGS="-g"
1197 # Can't just call these here as g++ requires libstc++ to be built....
1200 # Likewise for AC_PROG_CXX.
1204 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1205 # flags that come in CXX while configuring libstdc++. They're different
1206 # from those used for all other target libraries. If CXX is set in
1207 # the environment, respect that here.
1209 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1211 # Extract the first word of "$ac_prog", so it can be a program name with args.
1212 set dummy $ac_prog; ac_word=$2
1213 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1214 echo "configure:1215: checking for $ac_word" >&5
1215 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1216 echo $ac_n "(cached) $ac_c" 1>&6
1218 if test -n "$glibcpp_CXX"; then
1219 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1221 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1223 for ac_dir in $ac_dummy; do
1224 test -z "$ac_dir" && ac_dir=.
1225 if test -f $ac_dir/$ac_word; then
1226 ac_cv_prog_glibcpp_CXX="$ac_prog"
1233 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1234 if test -n "$glibcpp_CXX"; then
1235 echo "$ac_t""$glibcpp_CXX" 1>&6
1237 echo "$ac_t""no" 1>&6
1240 test -n "$glibcpp_CXX" && break
1242 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1246 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1248 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1249 echo "configure:1250: checking whether we are using GNU C++" >&5
1250 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1251 echo $ac_n "(cached) $ac_c" 1>&6
1253 cat > conftest.C <<EOF
1258 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1265 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1267 if test $ac_cv_prog_gxx = yes; then
1269 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1270 ac_save_CXXFLAGS="$CXXFLAGS"
1272 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1273 echo "configure:1274: checking whether ${CXX-g++} accepts -g" >&5
1274 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1275 echo $ac_n "(cached) $ac_c" 1>&6
1277 echo 'void f(){}' > conftest.cc
1278 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1279 ac_cv_prog_cxx_g=yes
1287 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1288 if test "$ac_test_CXXFLAGS" = set; then
1289 CXXFLAGS="$ac_save_CXXFLAGS"
1290 elif test $ac_cv_prog_cxx_g = yes; then
1297 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1301 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1302 set dummy ${ac_tool_prefix}as; ac_word=$2
1303 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1304 echo "configure:1305: checking for $ac_word" >&5
1305 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1306 echo $ac_n "(cached) $ac_c" 1>&6
1308 if test -n "$AS"; then
1309 ac_cv_prog_AS="$AS" # Let the user override the test.
1311 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1313 for ac_dir in $ac_dummy; do
1314 test -z "$ac_dir" && ac_dir=.
1315 if test -f $ac_dir/$ac_word; then
1316 ac_cv_prog_AS="${ac_tool_prefix}as"
1321 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1325 if test -n "$AS"; then
1326 echo "$ac_t""$AS" 1>&6
1328 echo "$ac_t""no" 1>&6
1333 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1334 set dummy ${ac_tool_prefix}ar; ac_word=$2
1335 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1336 echo "configure:1337: checking for $ac_word" >&5
1337 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1338 echo $ac_n "(cached) $ac_c" 1>&6
1340 if test -n "$AR"; then
1341 ac_cv_prog_AR="$AR" # Let the user override the test.
1343 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1345 for ac_dir in $ac_dummy; do
1346 test -z "$ac_dir" && ac_dir=.
1347 if test -f $ac_dir/$ac_word; then
1348 ac_cv_prog_AR="${ac_tool_prefix}ar"
1353 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1357 if test -n "$AR"; then
1358 echo "$ac_t""$AR" 1>&6
1360 echo "$ac_t""no" 1>&6
1365 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1366 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1367 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1368 echo "configure:1369: checking for $ac_word" >&5
1369 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1370 echo $ac_n "(cached) $ac_c" 1>&6
1372 if test -n "$RANLIB"; then
1373 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1375 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1377 for ac_dir in $ac_dummy; do
1378 test -z "$ac_dir" && ac_dir=.
1379 if test -f $ac_dir/$ac_word; then
1380 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1387 RANLIB="$ac_cv_prog_RANLIB"
1388 if test -n "$RANLIB"; then
1389 echo "$ac_t""$RANLIB" 1>&6
1391 echo "$ac_t""no" 1>&6
1395 if test -z "$ac_cv_prog_RANLIB"; then
1396 if test -n "$ac_tool_prefix"; then
1397 # Extract the first word of "ranlib", so it can be a program name with args.
1398 set dummy ranlib; ac_word=$2
1399 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1400 echo "configure:1401: checking for $ac_word" >&5
1401 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1402 echo $ac_n "(cached) $ac_c" 1>&6
1404 if test -n "$RANLIB"; then
1405 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1407 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1409 for ac_dir in $ac_dummy; do
1410 test -z "$ac_dir" && ac_dir=.
1411 if test -f $ac_dir/$ac_word; then
1412 ac_cv_prog_RANLIB="ranlib"
1417 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1420 RANLIB="$ac_cv_prog_RANLIB"
1421 if test -n "$RANLIB"; then
1422 echo "$ac_t""$RANLIB" 1>&6
1424 echo "$ac_t""no" 1>&6
1428 RANLIB="ranlib-not-found-in-path-error"
1432 # Find a good install program. We prefer a C program (faster),
1433 # so one script is as good as another. But avoid the broken or
1434 # incompatible versions:
1435 # SysV /etc/install, /usr/sbin/install
1436 # SunOS /usr/etc/install
1437 # IRIX /sbin/install
1439 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1440 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1441 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1442 # ./install, which can be erroneously created by make from ./install.sh.
1443 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1444 echo "configure:1445: checking for a BSD compatible install" >&5
1445 if test -z "$INSTALL"; then
1446 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1447 echo $ac_n "(cached) $ac_c" 1>&6
1449 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1450 for ac_dir in $PATH; do
1451 # Account for people who put trailing slashes in PATH elements.
1453 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1455 # OSF1 and SCO ODT 3.0 have their own names for install.
1456 # Don't use installbsd from OSF since it installs stuff as root
1458 for ac_prog in ginstall scoinst install; do
1459 if test -f $ac_dir/$ac_prog; then
1460 if test $ac_prog = install &&
1461 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1462 # AIX install. It has an incompatible calling convention.
1465 ac_cv_path_install="$ac_dir/$ac_prog -c"
1476 if test "${ac_cv_path_install+set}" = set; then
1477 INSTALL="$ac_cv_path_install"
1479 # As a last resort, use the slow shell script. We don't cache a
1480 # path for INSTALL within a source directory, because that will
1481 # break other packages using the cache if that directory is
1482 # removed, or if the path is relative.
1483 INSTALL="$ac_install_sh"
1486 echo "$ac_t""$INSTALL" 1>&6
1488 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1489 # It thinks the first close brace ends the variable substitution.
1490 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1492 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1494 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1497 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1498 echo "configure:1499: checking whether to enable maintainer-specific portions of Makefiles" >&5
1499 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1500 if test "${enable_maintainer_mode+set}" = set; then
1501 enableval="$enable_maintainer_mode"
1502 USE_MAINTAINER_MODE=$enableval
1504 USE_MAINTAINER_MODE=no
1507 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1510 if test $USE_MAINTAINER_MODE = yes; then
1511 MAINTAINER_MODE_TRUE=
1512 MAINTAINER_MODE_FALSE='#'
1514 MAINTAINER_MODE_TRUE='#'
1515 MAINTAINER_MODE_FALSE=
1517 MAINT=$MAINTAINER_MODE_TRUE
1521 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1522 # at least currently, we never actually build a program, so we never
1523 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1524 # fails, because we are probably configuring with a cross compiler
1525 # which cant create executables. So we include AC_EXEEXT to keep
1526 # automake happy, but we dont execute it, since we dont care about
1529 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1530 # to nothing, so nothing would remain between `then' and `fi' if it
1531 # were not for the `:' below.
1535 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1536 echo "configure:1537: checking for executable suffix" >&5
1537 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1538 echo $ac_n "(cached) $ac_c" 1>&6
1540 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1544 echo 'int main () { return 0; }' > conftest.$ac_ext
1546 if { (eval echo configure:1547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1547 for file in conftest.*; do
1549 *.c | *.o | *.obj) ;;
1550 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1554 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1557 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1562 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1563 echo "$ac_t""${ac_cv_exeext}" 1>&6
1568 . ${glibcpp_basedir}/configure.host
1570 case ${glibcpp_basedir} in
1571 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1572 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1575 # This does for the target what configure.host does for the host. In
1576 # addition to possibly modifying the same flags, it also sets up symlinks.
1578 . ${glibcpp_basedir}/configure.target
1579 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1580 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1586 # Check whether --enable-shared or --disable-shared was given.
1587 if test "${enable_shared+set}" = set; then
1588 enableval="$enable_shared"
1589 p=${PACKAGE-default}
1591 yes) enable_shared=yes ;;
1592 no) enable_shared=no ;;
1595 # Look at the argument we got. We use all the common list separators.
1596 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1597 for pkg in $enableval; do
1598 if test "X$pkg" = "X$p"; then
1609 # Check whether --enable-static or --disable-static was given.
1610 if test "${enable_static+set}" = set; then
1611 enableval="$enable_static"
1612 p=${PACKAGE-default}
1614 yes) enable_static=yes ;;
1615 no) enable_static=no ;;
1618 # Look at the argument we got. We use all the common list separators.
1619 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1620 for pkg in $enableval; do
1621 if test "X$pkg" = "X$p"; then
1632 # Check whether --enable-fast-install or --disable-fast-install was given.
1633 if test "${enable_fast_install+set}" = set; then
1634 enableval="$enable_fast_install"
1635 p=${PACKAGE-default}
1637 yes) enable_fast_install=yes ;;
1638 no) enable_fast_install=no ;;
1640 enable_fast_install=no
1641 # Look at the argument we got. We use all the common list separators.
1642 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1643 for pkg in $enableval; do
1644 if test "X$pkg" = "X$p"; then
1645 enable_fast_install=yes
1652 enable_fast_install=yes
1655 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1656 if test "${with_gnu_ld+set}" = set; then
1657 withval="$with_gnu_ld"
1658 test "$withval" = no || with_gnu_ld=yes
1664 if test "$GCC" = yes; then
1665 # Check if gcc -print-prog-name=ld gives a path.
1666 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1667 echo "configure:1668: checking for ld used by GCC" >&5
1670 # gcc leaves a trailing carriage return which upsets mingw
1671 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1673 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1676 # Accept absolute paths.
1677 [\\/]* | [A-Za-z]:[\\/]*)
1678 re_direlt='/[^/][^/]*/\.\./'
1679 # Canonicalize the path of ld
1680 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1681 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1682 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1684 test -z "$LD" && LD="$ac_prog"
1687 # If it fails, then pretend we aren't using GCC.
1691 # If it is relative, then search for the first ld in PATH.
1695 elif test "$with_gnu_ld" = yes; then
1696 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1697 echo "configure:1698: checking for GNU ld" >&5
1699 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1700 echo "configure:1701: checking for non-GNU ld" >&5
1702 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1703 echo $ac_n "(cached) $ac_c" 1>&6
1705 if test -z "$LD"; then
1706 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1707 for ac_dir in $PATH; do
1708 test -z "$ac_dir" && ac_dir=.
1709 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1710 lt_cv_path_LD="$ac_dir/$ac_prog"
1711 # Check to see if the program is GNU ld. I'd rather use --version,
1712 # but apparently some GNU ld's only accept -v.
1713 # Break only if it was the GNU/non-GNU ld that we prefer.
1714 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1715 test "$with_gnu_ld" != no && break
1717 test "$with_gnu_ld" != yes && break
1723 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1728 if test -n "$LD"; then
1729 echo "$ac_t""$LD" 1>&6
1731 echo "$ac_t""no" 1>&6
1733 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1734 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1735 echo "configure:1736: checking if the linker ($LD) is GNU ld" >&5
1736 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1737 echo $ac_n "(cached) $ac_c" 1>&6
1739 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1740 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1741 lt_cv_prog_gnu_ld=yes
1743 lt_cv_prog_gnu_ld=no
1747 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1748 with_gnu_ld=$lt_cv_prog_gnu_ld
1751 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1752 echo "configure:1753: checking for $LD option to reload object files" >&5
1753 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1754 echo $ac_n "(cached) $ac_c" 1>&6
1756 lt_cv_ld_reload_flag='-r'
1759 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1760 reload_flag=$lt_cv_ld_reload_flag
1761 test -n "$reload_flag" && reload_flag=" $reload_flag"
1763 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1764 echo "configure:1765: checking for BSD-compatible nm" >&5
1765 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1766 echo $ac_n "(cached) $ac_c" 1>&6
1768 if test -n "$NM"; then
1769 # Let the user override the test.
1772 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1773 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1774 test -z "$ac_dir" && ac_dir=.
1775 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1776 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1777 # Check to see if the nm accepts a BSD-compat flag.
1778 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1779 # nm: unknown option "B" ignored
1780 # Tru64's nm complains that /dev/null is an invalid object file
1781 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1782 lt_cv_path_NM="$tmp_nm -B"
1784 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1785 lt_cv_path_NM="$tmp_nm -p"
1788 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1789 continue # so that we can try to find one that supports BSD flags
1794 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1799 echo "$ac_t""$NM" 1>&6
1801 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1802 echo "configure:1803: checking whether ln -s works" >&5
1803 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1804 echo $ac_n "(cached) $ac_c" 1>&6
1807 if ln -s X conftestdata 2>/dev/null
1810 ac_cv_prog_LN_S="ln -s"
1815 LN_S="$ac_cv_prog_LN_S"
1816 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1817 echo "$ac_t""yes" 1>&6
1819 echo "$ac_t""no" 1>&6
1822 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1823 echo "configure:1824: checking how to recognise dependant libraries" >&5
1824 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1825 echo $ac_n "(cached) $ac_c" 1>&6
1827 lt_cv_file_magic_cmd='$MAGIC_CMD'
1828 lt_cv_file_magic_test_file=
1829 lt_cv_deplibs_check_method='unknown'
1830 # Need to set the preceding variable on all platforms that support
1831 # interlibrary dependencies.
1832 # 'none' -- dependencies not supported.
1833 # `unknown' -- same as none, but documents that we really don't know.
1834 # 'pass_all' -- all dependencies passed with no checks.
1835 # 'test_compile' -- check by making test program.
1836 # 'file_magic [regex]' -- check by looking for files in library path
1837 # which responds to the $file_magic_cmd with a given egrep regex.
1838 # If you have `file' or equivalent on your system and you're not sure
1839 # whether `pass_all' will *always* work, you probably want this one.
1843 lt_cv_deplibs_check_method=pass_all
1847 lt_cv_deplibs_check_method=pass_all
1851 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1852 lt_cv_file_magic_cmd='/usr/bin/file -L'
1853 lt_cv_file_magic_test_file=/shlib/libc.so
1856 cygwin* | mingw* |pw32*)
1857 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1858 lt_cv_file_magic_cmd='$OBJDUMP -f'
1861 darwin* | rhapsody*)
1862 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1863 lt_cv_file_magic_cmd='/usr/bin/file -L'
1865 rhapsody* | darwin1.012)
1866 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1869 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1875 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1878 # Not sure whether the presence of OpenBSD here was a mistake.
1879 # Let's accept both of them until this is cleared up.
1880 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1881 lt_cv_file_magic_cmd=/usr/bin/file
1882 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1886 lt_cv_deplibs_check_method=pass_all
1891 lt_cv_deplibs_check_method=pass_all
1895 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1896 lt_cv_file_magic_cmd=/usr/bin/file
1897 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1903 # this will be overridden with pass_all, but let us keep it just in case
1904 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1908 *-32|*"-32 ") libmagic=32-bit;;
1909 *-n32|*"-n32 ") libmagic=N32;;
1910 *-64|*"-64 ") libmagic=64-bit;;
1911 *) libmagic=never-match;;
1913 # this will be overridden with pass_all, but let us keep it just in case
1914 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1917 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1918 lt_cv_deplibs_check_method=pass_all
1921 # This must be Linux ELF.
1924 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1925 lt_cv_deplibs_check_method=pass_all ;;
1927 # glibc up to 2.1.1 does not perform some relocations on ARM
1928 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1930 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1934 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1935 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1937 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
1942 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1943 lt_cv_file_magic_cmd=/usr/bin/file
1944 lt_cv_file_magic_test_file=/usr/lib/libnls.so
1947 osf3* | osf4* | osf5*)
1948 # this will be overridden with pass_all, but let us keep it just in case
1949 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1950 lt_cv_file_magic_test_file=/shlib/libc.so
1951 lt_cv_deplibs_check_method=pass_all
1955 lt_cv_deplibs_check_method=pass_all
1959 lt_cv_deplibs_check_method=pass_all
1960 lt_cv_file_magic_test_file=/lib/libc.so
1963 sysv5uw[78]* | sysv4*uw2*)
1964 lt_cv_deplibs_check_method=pass_all
1967 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1968 case $host_vendor in
1970 lt_cv_deplibs_check_method=pass_all
1973 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]'
1974 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1982 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1983 file_magic_cmd=$lt_cv_file_magic_cmd
1984 deplibs_check_method=$lt_cv_deplibs_check_method
1986 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1987 echo "configure:1988: checking for object suffix" >&5
1988 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1989 echo $ac_n "(cached) $ac_c" 1>&6
1992 echo 'int i = 1;' > conftest.$ac_ext
1993 if { (eval echo configure:1994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1994 for ac_file in conftest.*; do
1997 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2001 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2006 echo "$ac_t""$ac_cv_objext" 1>&6
2007 OBJEXT=$ac_cv_objext
2008 ac_objext=$ac_cv_objext
2010 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2012 # Only perform the check for file, if the check method requires it
2013 case $deplibs_check_method in
2015 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2016 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2017 echo "configure:2018: checking for ${ac_tool_prefix}file" >&5
2018 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2019 echo $ac_n "(cached) $ac_c" 1>&6
2023 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2026 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2029 ac_save_MAGIC_CMD="$MAGIC_CMD"
2030 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2031 ac_dummy="/usr/bin:$PATH"
2032 for ac_dir in $ac_dummy; do
2033 test -z "$ac_dir" && ac_dir=.
2034 if test -f $ac_dir/${ac_tool_prefix}file; then
2035 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2036 if test -n "$file_magic_test_file"; then
2037 case $deplibs_check_method in
2039 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2040 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2041 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2042 egrep "$file_magic_regex" > /dev/null; then
2047 *** Warning: the command libtool uses to detect shared libraries,
2048 *** $file_magic_cmd, produces output that libtool cannot recognize.
2049 *** The result is that libtool may fail to recognize shared libraries
2050 *** as such. This will affect the creation of libtool libraries that
2051 *** depend on shared libraries, but programs linked with such libtool
2052 *** libraries will work regardless of this problem. Nevertheless, you
2053 *** may want to report the problem to your system manager and/or to
2054 *** bug-libtool@gnu.org
2064 MAGIC_CMD="$ac_save_MAGIC_CMD"
2069 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2070 if test -n "$MAGIC_CMD"; then
2071 echo "$ac_t""$MAGIC_CMD" 1>&6
2073 echo "$ac_t""no" 1>&6
2076 if test -z "$lt_cv_path_MAGIC_CMD"; then
2077 if test -n "$ac_tool_prefix"; then
2078 echo $ac_n "checking for file""... $ac_c" 1>&6
2079 echo "configure:2080: checking for file" >&5
2080 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2081 echo $ac_n "(cached) $ac_c" 1>&6
2085 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2088 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2091 ac_save_MAGIC_CMD="$MAGIC_CMD"
2092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2093 ac_dummy="/usr/bin:$PATH"
2094 for ac_dir in $ac_dummy; do
2095 test -z "$ac_dir" && ac_dir=.
2096 if test -f $ac_dir/file; then
2097 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2098 if test -n "$file_magic_test_file"; then
2099 case $deplibs_check_method in
2101 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2102 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2103 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2104 egrep "$file_magic_regex" > /dev/null; then
2109 *** Warning: the command libtool uses to detect shared libraries,
2110 *** $file_magic_cmd, produces output that libtool cannot recognize.
2111 *** The result is that libtool may fail to recognize shared libraries
2112 *** as such. This will affect the creation of libtool libraries that
2113 *** depend on shared libraries, but programs linked with such libtool
2114 *** libraries will work regardless of this problem. Nevertheless, you
2115 *** may want to report the problem to your system manager and/or to
2116 *** bug-libtool@gnu.org
2126 MAGIC_CMD="$ac_save_MAGIC_CMD"
2131 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2132 if test -n "$MAGIC_CMD"; then
2133 echo "$ac_t""$MAGIC_CMD" 1>&6
2135 echo "$ac_t""no" 1>&6
2147 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2148 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2149 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2150 echo "configure:2151: checking for $ac_word" >&5
2151 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2152 echo $ac_n "(cached) $ac_c" 1>&6
2154 if test -n "$RANLIB"; then
2155 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2157 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2159 for ac_dir in $ac_dummy; do
2160 test -z "$ac_dir" && ac_dir=.
2161 if test -f $ac_dir/$ac_word; then
2162 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2169 RANLIB="$ac_cv_prog_RANLIB"
2170 if test -n "$RANLIB"; then
2171 echo "$ac_t""$RANLIB" 1>&6
2173 echo "$ac_t""no" 1>&6
2177 if test -z "$ac_cv_prog_RANLIB"; then
2178 if test -n "$ac_tool_prefix"; then
2179 # Extract the first word of "ranlib", so it can be a program name with args.
2180 set dummy ranlib; ac_word=$2
2181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2182 echo "configure:2183: checking for $ac_word" >&5
2183 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2184 echo $ac_n "(cached) $ac_c" 1>&6
2186 if test -n "$RANLIB"; then
2187 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2189 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2191 for ac_dir in $ac_dummy; do
2192 test -z "$ac_dir" && ac_dir=.
2193 if test -f $ac_dir/$ac_word; then
2194 ac_cv_prog_RANLIB="ranlib"
2199 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2202 RANLIB="$ac_cv_prog_RANLIB"
2203 if test -n "$RANLIB"; then
2204 echo "$ac_t""$RANLIB" 1>&6
2206 echo "$ac_t""no" 1>&6
2214 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2215 set dummy ${ac_tool_prefix}strip; ac_word=$2
2216 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2217 echo "configure:2218: checking for $ac_word" >&5
2218 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2219 echo $ac_n "(cached) $ac_c" 1>&6
2221 if test -n "$STRIP"; then
2222 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2224 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2226 for ac_dir in $ac_dummy; do
2227 test -z "$ac_dir" && ac_dir=.
2228 if test -f $ac_dir/$ac_word; then
2229 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2236 STRIP="$ac_cv_prog_STRIP"
2237 if test -n "$STRIP"; then
2238 echo "$ac_t""$STRIP" 1>&6
2240 echo "$ac_t""no" 1>&6
2244 if test -z "$ac_cv_prog_STRIP"; then
2245 if test -n "$ac_tool_prefix"; then
2246 # Extract the first word of "strip", so it can be a program name with args.
2247 set dummy strip; ac_word=$2
2248 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2249 echo "configure:2250: checking for $ac_word" >&5
2250 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2251 echo $ac_n "(cached) $ac_c" 1>&6
2253 if test -n "$STRIP"; then
2254 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2256 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2258 for ac_dir in $ac_dummy; do
2259 test -z "$ac_dir" && ac_dir=.
2260 if test -f $ac_dir/$ac_word; then
2261 ac_cv_prog_STRIP="strip"
2266 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2269 STRIP="$ac_cv_prog_STRIP"
2270 if test -n "$STRIP"; then
2271 echo "$ac_t""$STRIP" 1>&6
2273 echo "$ac_t""no" 1>&6
2282 # Check for any special flags to pass to ltconfig.
2283 libtool_flags="--cache-file=$cache_file"
2284 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2285 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2286 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2287 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2288 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2289 libtool_flags="$libtool_flags --enable-dlopen"
2291 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2292 if test "${enable_libtool_lock+set}" = set; then
2293 enableval="$enable_libtool_lock"
2297 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2298 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2300 # Check whether --with-pic or --without-pic was given.
2301 if test "${with_pic+set}" = set; then
2308 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2309 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2311 # Some flags need to be propagated to the compiler or linker for good
2315 # Find out which ABI we are using.
2316 echo '#line 2317 "configure"' > conftest.$ac_ext
2317 if { (eval echo configure:2318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2318 case `/usr/bin/file conftest.$ac_objext` in
2334 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2335 SAVE_CFLAGS="$CFLAGS"
2336 CFLAGS="$CFLAGS -belf"
2337 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2338 echo "configure:2339: checking whether the C compiler needs -belf" >&5
2339 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2340 echo $ac_n "(cached) $ac_c" 1>&6
2344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2345 ac_cpp='$CPP $CPPFLAGS'
2346 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2347 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2348 cross_compiling=$ac_cv_prog_cc_cross
2350 cat > conftest.$ac_ext <<EOF
2351 #line 2352 "configure"
2352 #include "confdefs.h"
2358 if { (eval echo configure:2359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2360 lt_cv_cc_needs_belf=yes
2362 echo "configure: failed program was:" >&5
2363 cat conftest.$ac_ext >&5
2365 lt_cv_cc_needs_belf=no
2369 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2370 ac_cpp='$CPP $CPPFLAGS'
2371 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2372 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2373 cross_compiling=$ac_cv_prog_cc_cross
2377 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2378 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2379 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2380 CFLAGS="$SAVE_CFLAGS"
2387 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2388 echo "configure:2389: checking how to run the C++ preprocessor" >&5
2389 if test -z "$CXXCPP"; then
2390 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2391 echo $ac_n "(cached) $ac_c" 1>&6
2394 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2395 ac_cpp='$CXXCPP $CPPFLAGS'
2396 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2397 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2398 cross_compiling=$ac_cv_prog_cxx_cross
2399 CXXCPP="${CXX-g++} -E"
2400 cat > conftest.$ac_ext <<EOF
2401 #line 2402 "configure"
2402 #include "confdefs.h"
2405 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2406 { (eval echo configure:2407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2407 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2408 if test -z "$ac_err"; then
2412 echo "configure: failed program was:" >&5
2413 cat conftest.$ac_ext >&5
2418 ac_cv_prog_CXXCPP="$CXXCPP"
2420 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2421 ac_cpp='$CPP $CPPFLAGS'
2422 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2423 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2424 cross_compiling=$ac_cv_prog_cc_cross
2427 CXXCPP="$ac_cv_prog_CXXCPP"
2428 echo "$ac_t""$CXXCPP" 1>&6
2431 # Save cache, so that ltconfig can load it
2432 cat > confcache <<\EOF
2433 # This file is a shell script that caches the results of configure
2434 # tests run on this system so they can be shared between configure
2435 # scripts and configure runs. It is not useful on other systems.
2436 # If it contains results you don't want to keep, you may remove or edit it.
2438 # By default, configure uses ./config.cache as the cache file,
2439 # creating it if it does not exist already. You can give configure
2440 # the --cache-file=FILE option to use a different cache file; that is
2441 # what configure does when it calls configure scripts in
2442 # subdirectories, so they share the cache.
2443 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2444 # config.status only pays attention to the cache file if you give it the
2445 # --recheck option to rerun configure.
2448 # The following way of writing the cache mishandles newlines in values,
2449 # but we know of no workaround that is simple, portable, and efficient.
2450 # So, don't put newlines in cache variables' values.
2451 # Ultrix sh set writes to stderr and can't be redirected directly,
2452 # and sets the high bit in the cache file unless we assign to the vars.
2454 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2456 # `set' does not quote correctly, so add quotes (double-quote substitution
2457 # turns \\\\ into \\, and sed turns \\ into \).
2459 -e "s/'/'\\\\''/g" \
2460 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2463 # `set' quotes correctly as required by POSIX, so do not add quotes.
2464 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2467 if cmp -s $cache_file confcache; then
2470 if test -w $cache_file; then
2471 echo "updating cache $cache_file"
2472 cat confcache > $cache_file
2474 echo "not updating unwritable cache $cache_file"
2480 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2481 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2482 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2483 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2484 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2485 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2486 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2487 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2488 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2489 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2491 # Reload cache, that may have been modified by ltconfig
2492 if test -r "$cache_file"; then
2493 echo "loading cache $cache_file"
2496 echo "creating cache $cache_file"
2501 # This can be used to rebuild libtool when needed
2502 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2504 # Always use our own libtool.
2505 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2507 # Redirect the config.log output again, so that the ltconfig log is not
2508 # clobbered by the next message.
2509 exec 5>>./config.log
2513 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2515 lt_save_CFLAGS="$CFLAGS"
2516 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2517 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2518 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2519 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2520 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2521 deplibs_check_method="$deplibs_check_method" \
2522 file_magic_cmd="$file_magic_cmd" \
2523 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2524 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2525 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2527 CFLAGS="$lt_save_CFLAGS"
2529 # Redirect the config.log output again, so that the ltconfig log is not
2530 # clobbered by the next message.
2531 exec 5>>./config.log
2540 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2541 echo "configure:2542: checking for GNU make" >&5
2542 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2543 echo $ac_n "(cached) $ac_c" 1>&6
2545 _cv_gnu_make_command='' ;
2546 for a in "${MAKE-make}" make gmake gnumake ; do
2547 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2549 _cv_gnu_make_command=$a ;
2556 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2557 if test "x$_cv_gnu_make_command" != "x" ; then
2571 # Check for c++ or library specific bits that don't require linking.
2573 if test ! -f stamp-sanity-compiler; then
2574 echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2575 echo "configure:2576: checking for g++ that will successfully compile libstdc++-v3" >&5
2578 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2579 ac_cpp='$CXXCPP $CPPFLAGS'
2580 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2581 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2582 cross_compiling=$ac_cv_prog_cxx_cross
2584 cat > conftest.$ac_ext <<EOF
2585 #line 2586 "configure"
2586 #include "confdefs.h"
2596 if { (eval echo configure:2597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2598 gpp_satisfactory=yes
2600 echo "configure: failed program was:" >&5
2601 cat conftest.$ac_ext >&5
2603 { echo "configure: error: please upgrade to GCC 3.0 or above" 1>&2; exit 1; }
2607 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2608 ac_cpp='$CPP $CPPFLAGS'
2609 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2610 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2611 cross_compiling=$ac_cv_prog_cc_cross
2613 echo "$ac_t""$gpp_satisfactory" 1>&6
2614 touch stamp-sanity-compiler
2618 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2619 # Check whether --enable-debug or --disable-debug was given.
2620 if test "${enable_debug+set}" = set; then
2621 enableval="$enable_debug"
2622 case "${enableval}" in
2623 yes) enable_debug=yes ;;
2624 no) enable_debug=no ;;
2625 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2631 case "${enable_debug}" in
2633 DEBUG_FLAGS='-O0 -ggdb3'
2641 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2642 echo "configure:2643: checking how to run the C preprocessor" >&5
2643 # On Suns, sometimes $CPP names a directory.
2644 if test -n "$CPP" && test -d "$CPP"; then
2647 if test -z "$CPP"; then
2648 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2649 echo $ac_n "(cached) $ac_c" 1>&6
2651 # This must be in double quotes, not single quotes, because CPP may get
2652 # substituted into the Makefile and "${CC-cc}" will confuse make.
2654 # On the NeXT, cc -E runs the code through the compiler's parser,
2655 # not just through cpp.
2656 cat > conftest.$ac_ext <<EOF
2657 #line 2658 "configure"
2658 #include "confdefs.h"
2662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2663 { (eval echo configure:2664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2665 if test -z "$ac_err"; then
2669 echo "configure: failed program was:" >&5
2670 cat conftest.$ac_ext >&5
2672 CPP="${CC-cc} -E -traditional-cpp"
2673 cat > conftest.$ac_ext <<EOF
2674 #line 2675 "configure"
2675 #include "confdefs.h"
2679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2680 { (eval echo configure:2681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2682 if test -z "$ac_err"; then
2686 echo "configure: failed program was:" >&5
2687 cat conftest.$ac_ext >&5
2689 CPP="${CC-cc} -nologo -E"
2690 cat > conftest.$ac_ext <<EOF
2691 #line 2692 "configure"
2692 #include "confdefs.h"
2696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2697 { (eval echo configure:2698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2699 if test -z "$ac_err"; then
2703 echo "configure: failed program was:" >&5
2704 cat conftest.$ac_ext >&5
2713 ac_cv_prog_CPP="$CPP"
2715 CPP="$ac_cv_prog_CPP"
2717 ac_cv_prog_CPP="$CPP"
2719 echo "$ac_t""$CPP" 1>&6
2722 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2723 echo "configure:2724: checking for cstdio to use" >&5
2724 # Check whether --enable-cstdio or --disable-cstdio was given.
2725 if test "${enable_cstdio+set}" = set; then
2726 enableval="$enable_cstdio"
2727 if test x$enable_cstdio = xno; then
2735 enable_cstdio_flag=$enable_cstdio
2737 case x${enable_cstdio_flag} in
2739 CSTDIO_H=config/c_io_libio.h
2740 BASIC_FILE_H=config/basic_file_libio.h
2741 BASIC_FILE_CC=config/basic_file_libio.cc
2742 echo "$ac_t""libio" 1>&6
2744 # see if we are on a system with libio native (ie, linux)
2745 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2746 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2747 echo "configure:2748: checking for libio.h" >&5
2748 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2749 echo $ac_n "(cached) $ac_c" 1>&6
2751 cat > conftest.$ac_ext <<EOF
2752 #line 2753 "configure"
2753 #include "confdefs.h"
2756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2757 { (eval echo configure:2758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2759 if test -z "$ac_err"; then
2761 eval "ac_cv_header_$ac_safe=yes"
2764 echo "configure: failed program was:" >&5
2765 cat conftest.$ac_ext >&5
2767 eval "ac_cv_header_$ac_safe=no"
2771 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2772 echo "$ac_t""yes" 1>&6
2775 echo "$ac_t""no" 1>&6
2780 # Need to check and see what version of glibc is being used. If
2781 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2782 # compile most of libio for linux systems.
2783 if test x$has_libio = x"yes"; then
2786 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2787 echo "configure:2788: checking for glibc version >= 2.2" >&5
2788 cat > conftest.$ac_ext <<EOF
2789 #line 2790 "configure"
2790 #include "confdefs.h"
2792 #include <features.h>
2793 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2799 egrep "ok" >/dev/null 2>&1; then
2801 glibc_satisfactory=yes
2804 glibc_satisfactory=no
2808 echo "$ac_t""$glibc_satisfactory" 1>&6
2812 # XXX at the moment, admit defeat and force the recompilation
2813 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2814 glibc_satisfactory=no
2816 if test x$glibc_satisfactory = x"yes"; then
2821 # bkoz XXX need to add checks to enable this
2822 # pme XXX here's a first pass at such a check
2823 if test x$enable_c_mbchar != xno; then
2831 # Using libio, but <libio.h> doesn't exist on the target system. . .
2833 # bkoz XXX need to add checks to enable this
2834 # pme XXX here's a first pass at such a check
2835 if test x$enable_c_mbchar != xno; then
2842 xstdio | x | xno | xnone | xyes)
2844 CSTDIO_H=config/c_io_stdio.h
2845 BASIC_FILE_H=config/basic_file_stdio.h
2846 BASIC_FILE_CC=config/basic_file_stdio.cc
2847 echo "$ac_t""stdio" 1>&6
2849 # We're not using stdio.
2854 echo "$enable_cstdio is an unknown io package" 1>&2
2862 # 2000-08-04 bkoz hack
2863 CCODECVT_C=config/c_io_libio_codecvt.c
2865 # 2000-08-04 bkoz hack
2869 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2870 GLIBCPP_BUILD_LIBIO_TRUE=
2871 GLIBCPP_BUILD_LIBIO_FALSE='#'
2873 GLIBCPP_BUILD_LIBIO_TRUE='#'
2874 GLIBCPP_BUILD_LIBIO_FALSE=
2878 if test "$need_libio" = yes; then
2879 GLIBCPP_NEED_LIBIO_TRUE=
2880 GLIBCPP_NEED_LIBIO_FALSE='#'
2882 GLIBCPP_NEED_LIBIO_TRUE='#'
2883 GLIBCPP_NEED_LIBIO_FALSE=
2887 if test "$need_wlibio" = yes; then
2888 GLIBCPP_NEED_WLIBIO_TRUE=
2889 GLIBCPP_NEED_WLIBIO_FALSE='#'
2891 GLIBCPP_NEED_WLIBIO_TRUE='#'
2892 GLIBCPP_NEED_WLIBIO_FALSE=
2894 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2895 libio_la=../libio/libio.la
2902 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2903 echo "configure:2904: checking for clocale to use" >&5
2904 # Check whether --enable-clocale or --disable-clocale was given.
2905 if test "${enable_clocale+set}" = set; then
2906 enableval="$enable_clocale"
2907 if test x$enable_clocale = xno; then
2908 enable_clocale=generic
2911 enable_clocale=generic
2915 enable_clocale_flag=$enable_clocale
2917 case x${enable_clocale_flag} in
2919 CLOCALE_H=config/c_locale_gnu.h
2920 CLOCALE_CC=config/c_locale_gnu.cc
2921 echo "$ac_t""gnu" 1>&6
2924 CLOCALE_H=config/c_locale_generic.h
2925 CLOCALE_CC=config/c_locale_generic.cc
2926 echo "$ac_t""generic" 1>&6
2929 echo "$enable_clocale is an unknown locale package" 1>&2
2937 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2938 if test "${enable_c_mbchar+set}" = set; then
2939 enableval="$enable_c_mbchar"
2940 case "$enableval" in
2941 yes) enable_c_mbchar=yes ;;
2942 no) enable_c_mbchar=no ;;
2943 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2950 # Check whether --enable-c99 or --disable-c99 was given.
2951 if test "${enable_c99+set}" = set; then
2952 enableval="$enable_c99"
2953 case "$enableval" in
2954 yes) enable_c99=yes ;;
2955 no) enable_c99=no ;;
2956 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
2964 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2965 ac_cpp='$CXXCPP $CPPFLAGS'
2966 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2967 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2968 cross_compiling=$ac_cv_prog_cxx_cross
2971 # Check for the existence of <math.h> functions used if C99 is enabled.
2973 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
2974 echo "configure:2975: checking for ISO C99 support in <math.h>" >&5
2975 cat > conftest.$ac_ext <<EOF
2976 #line 2977 "configure"
2977 #include "confdefs.h"
2983 if { (eval echo configure:2984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2986 echo "configure: failed program was:" >&5
2987 cat conftest.$ac_ext >&5
2992 cat > conftest.$ac_ext <<EOF
2993 #line 2994 "configure"
2994 #include "confdefs.h"
3000 if { (eval echo configure:3001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3003 echo "configure: failed program was:" >&5
3004 cat conftest.$ac_ext >&5
3009 cat > conftest.$ac_ext <<EOF
3010 #line 3011 "configure"
3011 #include "confdefs.h"
3017 if { (eval echo configure:3018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3020 echo "configure: failed program was:" >&5
3021 cat conftest.$ac_ext >&5
3026 cat > conftest.$ac_ext <<EOF
3027 #line 3028 "configure"
3028 #include "confdefs.h"
3034 if { (eval echo configure:3035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3037 echo "configure: failed program was:" >&5
3038 cat conftest.$ac_ext >&5
3043 cat > conftest.$ac_ext <<EOF
3044 #line 3045 "configure"
3045 #include "confdefs.h"
3051 if { (eval echo configure:3052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3054 echo "configure: failed program was:" >&5
3055 cat conftest.$ac_ext >&5
3060 cat > conftest.$ac_ext <<EOF
3061 #line 3062 "configure"
3062 #include "confdefs.h"
3068 if { (eval echo configure:3069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3071 echo "configure: failed program was:" >&5
3072 cat conftest.$ac_ext >&5
3077 cat > conftest.$ac_ext <<EOF
3078 #line 3079 "configure"
3079 #include "confdefs.h"
3085 if { (eval echo configure:3086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3088 echo "configure: failed program was:" >&5
3089 cat conftest.$ac_ext >&5
3094 cat > conftest.$ac_ext <<EOF
3095 #line 3096 "configure"
3096 #include "confdefs.h"
3099 isgreaterequal(0.0,0.0);
3102 if { (eval echo configure:3103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3105 echo "configure: failed program was:" >&5
3106 cat conftest.$ac_ext >&5
3111 cat > conftest.$ac_ext <<EOF
3112 #line 3113 "configure"
3113 #include "confdefs.h"
3119 if { (eval echo configure:3120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3122 echo "configure: failed program was:" >&5
3123 cat conftest.$ac_ext >&5
3128 cat > conftest.$ac_ext <<EOF
3129 #line 3130 "configure"
3130 #include "confdefs.h"
3133 islessequal(0.0,0.0);
3136 if { (eval echo configure:3137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3139 echo "configure: failed program was:" >&5
3140 cat conftest.$ac_ext >&5
3145 cat > conftest.$ac_ext <<EOF
3146 #line 3147 "configure"
3147 #include "confdefs.h"
3150 islessgreater(0.0,0.0);
3153 if { (eval echo configure:3154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3156 echo "configure: failed program was:" >&5
3157 cat conftest.$ac_ext >&5
3162 cat > conftest.$ac_ext <<EOF
3163 #line 3164 "configure"
3164 #include "confdefs.h"
3167 isunordered(0.0,0.0);
3170 if { (eval echo configure:3171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3173 echo "configure: failed program was:" >&5
3174 cat conftest.$ac_ext >&5
3179 echo "$ac_t""$ac_c99_math" 1>&6
3181 # Check for the existence in <stdio.h> of vscanf, et. al.
3183 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3184 echo "configure:3185: checking for ISO C99 support in <stdio.h>" >&5
3185 cat > conftest.$ac_ext <<EOF
3186 #line 3187 "configure"
3187 #include "confdefs.h"
3190 snprintf("12", 0, "%i");
3193 if { (eval echo configure:3194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3196 echo "configure: failed program was:" >&5
3197 cat conftest.$ac_ext >&5
3202 cat > conftest.$ac_ext <<EOF
3203 #line 3204 "configure"
3204 #include "confdefs.h"
3207 void foo(char* fmt, ...)
3208 {va_list args; va_start(args, fmt);
3209 vfscanf(stderr, "%i", args);}
3214 if { (eval echo configure:3215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3217 echo "configure: failed program was:" >&5
3218 cat conftest.$ac_ext >&5
3223 cat > conftest.$ac_ext <<EOF
3224 #line 3225 "configure"
3225 #include "confdefs.h"
3228 void foo(char* fmt, ...)
3229 {va_list args; va_start(args, fmt);
3230 vscanf("%i", args);}
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 void foo(char* fmt, ...)
3250 {va_list args; va_start(args, fmt);
3251 vsnprintf(fmt, 0, "%i", args);}
3256 if { (eval echo configure:3257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3259 echo "configure: failed program was:" >&5
3260 cat conftest.$ac_ext >&5
3265 cat > conftest.$ac_ext <<EOF
3266 #line 3267 "configure"
3267 #include "confdefs.h"
3270 void foo(char* fmt, ...)
3271 {va_list args; va_start(args, fmt);
3272 vsscanf(fmt, "%i", args);}
3277 if { (eval echo configure:3278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3280 echo "configure: failed program was:" >&5
3281 cat conftest.$ac_ext >&5
3286 echo "$ac_t""$ac_c99_stdio" 1>&6
3288 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3290 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3291 echo "configure:3292: checking for lldiv_t declaration" >&5
3292 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3293 echo $ac_n "(cached) $ac_c" 1>&6
3296 cat > conftest.$ac_ext <<EOF
3297 #line 3298 "configure"
3298 #include "confdefs.h"
3304 if { (eval echo configure:3305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3308 echo "configure: failed program was:" >&5
3309 cat conftest.$ac_ext >&5
3317 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3319 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3320 echo "configure:3321: checking for ISO C99 support in <stdlib.h>" >&5
3321 cat > conftest.$ac_ext <<EOF
3322 #line 3323 "configure"
3323 #include "confdefs.h"
3326 char* tmp; strtof("gnu", &tmp);
3329 if { (eval echo configure:3330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3332 echo "configure: failed program was:" >&5
3333 cat conftest.$ac_ext >&5
3338 cat > conftest.$ac_ext <<EOF
3339 #line 3340 "configure"
3340 #include "confdefs.h"
3343 char* tmp; strtold("gnu", &tmp);
3346 if { (eval echo configure:3347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3349 echo "configure: failed program was:" >&5
3350 cat conftest.$ac_ext >&5
3355 cat > conftest.$ac_ext <<EOF
3356 #line 3357 "configure"
3357 #include "confdefs.h"
3360 char* tmp; strtoll("gnu", &tmp, 10);
3363 if { (eval echo configure:3364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3366 echo "configure: failed program was:" >&5
3367 cat conftest.$ac_ext >&5
3372 cat > conftest.$ac_ext <<EOF
3373 #line 3374 "configure"
3374 #include "confdefs.h"
3377 char* tmp; strtoull("gnu", &tmp, 10);
3380 if { (eval echo configure:3381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3383 echo "configure: failed program was:" >&5
3384 cat conftest.$ac_ext >&5
3389 cat > conftest.$ac_ext <<EOF
3390 #line 3391 "configure"
3391 #include "confdefs.h"
3397 if { (eval echo configure:3398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3400 echo "configure: failed program was:" >&5
3401 cat conftest.$ac_ext >&5
3406 cat > conftest.$ac_ext <<EOF
3407 #line 3408 "configure"
3408 #include "confdefs.h"
3414 if { (eval echo configure:3415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3417 echo "configure: failed program was:" >&5
3418 cat conftest.$ac_ext >&5
3423 cat > conftest.$ac_ext <<EOF
3424 #line 3425 "configure"
3425 #include "confdefs.h"
3431 if { (eval echo configure:3432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3434 echo "configure: failed program was:" >&5
3435 cat conftest.$ac_ext >&5
3440 cat > conftest.$ac_ext <<EOF
3441 #line 3442 "configure"
3442 #include "confdefs.h"
3448 if { (eval echo configure:3449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3451 echo "configure: failed program was:" >&5
3452 cat conftest.$ac_ext >&5
3457 if test x"$ac_c99_lldiv_t" = x"no"; then
3460 echo "$ac_t""$ac_c99_stdlib" 1>&6
3462 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3463 # XXX the wchar.h checks should be rolled into the general C99 bits.
3465 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3466 echo "configure:3467: checking for additional ISO C99 support in <wchar.h>" >&5
3467 cat > conftest.$ac_ext <<EOF
3468 #line 3469 "configure"
3469 #include "confdefs.h"
3472 wcstold(L"10.0", NULL);
3475 if { (eval echo configure:3476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3478 echo "configure: failed program was:" >&5
3479 cat conftest.$ac_ext >&5
3484 cat > conftest.$ac_ext <<EOF
3485 #line 3486 "configure"
3486 #include "confdefs.h"
3489 wcstoll(L"10", NULL, 10);
3492 if { (eval echo configure:3493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3495 echo "configure: failed program was:" >&5
3496 cat conftest.$ac_ext >&5
3501 cat > conftest.$ac_ext <<EOF
3502 #line 3503 "configure"
3503 #include "confdefs.h"
3506 wcstoull(L"10", NULL, 10);
3509 if { (eval echo configure:3510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3512 echo "configure: failed program was:" >&5
3513 cat conftest.$ac_ext >&5
3518 echo "$ac_t""$ac_c99_wchar" 1>&6
3520 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3521 echo "configure:3522: checking for enabled ISO C99 support" >&5
3522 if test x"$ac_c99_math" = x"no" ||
3523 test x"$ac_c99_stdio" = x"no" ||
3524 test x"$ac_c99_stdlib" = x"no" ||
3525 test x"$ac_c99_wchar" = x"no"; then
3528 echo "$ac_t""$enable_c99" 1>&6
3530 # Option parsed, now set things appropriately
3531 if test x"$enable_c99" = x"yes"; then
3532 cat >> confdefs.h <<\EOF
3533 #define _GLIBCPP_USE_C99 1
3539 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3540 ac_cpp='$CPP $CPPFLAGS'
3541 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3542 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3543 cross_compiling=$ac_cv_prog_cc_cross
3547 # Check whether --enable-long-long or --disable-long-long was given.
3548 if test "${enable_long_long+set}" = set; then
3549 enableval="$enable_long_long"
3550 case "$enableval" in
3551 yes) enable_long_long=yes ;;
3552 no) enable_long_long=no ;;
3553 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3556 enable_long_long=yes
3559 # iostreams require strtoll, strtoull to compile. If the
3560 # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
3561 # go ahead and allow long long to be used.
3562 if test x"$enable_c99" = x"no"; then
3563 enable_long_long=no;
3566 # Option parsed, now set things appropriately
3567 echo $ac_n "checking for enabled long long support""... $ac_c" 1>&6
3568 echo "configure:3569: checking for enabled long long support" >&5
3569 if test x"$enable_long_long" = xyes; then
3570 cat >> confdefs.h <<\EOF
3571 #define _GLIBCPP_USE_LONG_LONG 1
3575 echo "$ac_t""$enable_long_long" 1>&6
3577 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3578 echo "configure:3579: checking for c header strategy to use" >&5
3579 # Check whether --enable-cheaders or --disable-cheaders was given.
3580 if test "${enable_cheaders+set}" = set; then
3581 enableval="$enable_cheaders"
3583 case "$enableval" in
3588 enable_cheaders=c_std
3591 enable_cheaders=c_shadow
3593 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3597 enable_cheaders=c_std
3600 echo "$ac_t""$enable_cheaders" 1>&6
3602 case "$enable_cheaders" in
3604 CSHADOW_FLAGS="-fno-builtin"
3605 C_INCLUDE_DIR='${top_srcdir}/include/c_shadow'
3606 cat >> confdefs.h <<\EOF
3607 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3613 C_INCLUDE_DIR='${top_srcdir}/include/c_std'
3617 C_INCLUDE_DIR='${top_srcdir}/include/c'
3625 if test "$enable_cheaders" = c_shadow; then
3626 GLIBCPP_USE_CSHADOW_TRUE=
3627 GLIBCPP_USE_CSHADOW_FALSE='#'
3629 GLIBCPP_USE_CSHADOW_TRUE='#'
3630 GLIBCPP_USE_CSHADOW_FALSE=
3634 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3635 echo "configure:3636: checking for thread model used by GCC" >&5
3636 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3637 echo "$ac_t""$target_thread_file" 1>&6
3642 if test $target_thread_file != single; then
3643 cat >> confdefs.h <<\EOF
3644 #define HAVE_GTHR_DEFAULT 1
3647 cat >> confdefs.h <<\EOF
3648 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3654 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3655 if test "${enable_cxx_flags+set}" = set; then
3656 enableval="$enable_cxx_flags"
3657 case "x$enableval" in
3659 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3661 enable_cxx_flags='' ;;
3663 enable_cxx_flags="$enableval" ;;
3666 enable_cxx_flags='none'
3670 if test "$enable_cxx_flags" = "none"; then
3671 enable_cxx_flags='';
3674 if test -n "$enable_cxx_flags"; then
3675 for f in $enable_cxx_flags; do
3679 *) # and we're trying to pass /what/ exactly?
3680 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3684 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3688 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3689 echo "configure:3690: checking for exception model to use" >&5
3692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3693 ac_cpp='$CXXCPP $CPPFLAGS'
3694 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3695 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3696 cross_compiling=$ac_cv_prog_cxx_cross
3698 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3699 if test "${enable_sjlj_exceptions+set}" = set; then
3700 enableval="$enable_sjlj_exceptions"
3703 cat > conftest.$ac_ext << EOF
3704 #line 3705 "configure"
3713 old_CXXFLAGS="$CXXFLAGS"
3715 if { (eval echo configure:3716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3716 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3717 enable_sjlj_exceptions=yes
3718 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3719 enable_sjlj_exceptions=no
3722 CXXFLAGS="$old_CXXFLAGS"
3726 if test x$enable_sjlj_exceptions = xyes; then
3727 cat >> confdefs.h <<\EOF
3728 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3731 ac_exception_model_name=sjlj
3732 elif test x$enable_sjlj_exceptions = xno; then
3733 ac_exception_model_name="call frame"
3735 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3739 ac_cpp='$CPP $CPPFLAGS'
3740 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3741 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3742 cross_compiling=$ac_cv_prog_cc_cross
3744 echo "$ac_t""$ac_exception_model_name" 1>&6
3747 if test -n "$with_cross_host"; then
3749 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3750 # may not work correctly, because the compiler may not be able to
3755 # If Canadian cross, then don't pick up tools from the build
3757 if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then
3765 case "$target_alias" in
3767 # Construct linux crosses by hand, eliminating bits that need ld...
3768 # Check for available headers.
3769 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3770 machine/endian.h machine/param.h sys/machine.h fp.h locale.h \
3773 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3774 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3775 echo "configure:3776: checking for $ac_hdr" >&5
3776 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3777 echo $ac_n "(cached) $ac_c" 1>&6
3779 cat > conftest.$ac_ext <<EOF
3780 #line 3781 "configure"
3781 #include "confdefs.h"
3784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3785 { (eval echo configure:3786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3787 if test -z "$ac_err"; then
3789 eval "ac_cv_header_$ac_safe=yes"
3792 echo "configure: failed program was:" >&5
3793 cat conftest.$ac_ext >&5
3795 eval "ac_cv_header_$ac_safe=no"
3799 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3800 echo "$ac_t""yes" 1>&6
3801 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3802 cat >> confdefs.h <<EOF
3803 #define $ac_tr_hdr 1
3807 echo "$ac_t""no" 1>&6
3812 # GLIBCPP_CHECK_COMPILER_FEATURES
3813 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3816 # If we're not using GNU ld, then there's no point in even trying these
3817 # tests. Check for that first. We should have already tested for gld
3818 # by now (in libtool), but require it now just to be safe...
3823 # Set --gc-sections.
3824 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3825 # GNU ld it is! Joy and bunny rabbits!
3827 # All these tests are for C++; save the language and the compiler flags.
3828 # Need to do this so that g++ won't try to link in libstdc++
3829 ac_test_CFLAGS="${CFLAGS+set}"
3830 ac_save_CFLAGS="$CFLAGS"
3831 CFLAGS='-x c++ -Wl,--gc-sections'
3833 # Check for -Wl,--gc-sections
3834 # XXX This test is broken at the moment, as symbols required for
3835 # linking are now in libsupc++ (not built yet.....). In addition,
3836 # this test has cored on solaris in the past. In addition,
3837 # --gc-sections doesn't really work at the moment (keeps on discarding
3838 # used sections, first .eh_frame and now some of the glibc sections for
3839 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3840 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3841 echo "configure:3842: checking for ld that supports -Wl,--gc-sections" >&5
3842 if test "$cross_compiling" = yes; then
3843 ac_sectionLDflags=yes
3845 cat > conftest.$ac_ext <<EOF
3846 #line 3847 "configure"
3847 #include "confdefs.h"
3857 if { (eval echo configure:3858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3859 ac_sectionLDflags=yes
3861 echo "configure: failed program was:" >&5
3862 cat conftest.$ac_ext >&5
3864 ac_sectionLFflags=no
3869 if test "$ac_test_CFLAGS" = set; then
3870 CFLAGS="$ac_save_CFLAGS"
3872 # this is the suspicious part
3875 if test "$ac_sectionLDflags" = "yes"; then
3876 SECTION_LDFLAGS='-Wl,--gc-sections'
3878 echo "$ac_t""$ac_sectionLDflags" 1>&6
3881 # Set linker optimization flags.
3882 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
3883 test x"$enable_debug" = x"no"; then
3884 OPT_LDFLAGS='-Wl,-O1'
3890 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3891 # GLIBCPP_CHECK_MATH_SUPPORT
3892 cat >> confdefs.h <<\EOF
3893 #define HAVE_ACOSF 1
3896 cat >> confdefs.h <<\EOF
3897 #define HAVE_ASINF 1
3900 cat >> confdefs.h <<\EOF
3901 #define HAVE_ATAN2F 1
3904 cat >> confdefs.h <<\EOF
3905 #define HAVE_ATANF 1
3908 cat >> confdefs.h <<\EOF
3909 #define HAVE_CEILF 1
3912 cat >> confdefs.h <<\EOF
3913 #define HAVE_COPYSIGN 1
3916 cat >> confdefs.h <<\EOF
3917 #define HAVE_COPYSIGNF 1
3920 cat >> confdefs.h <<\EOF
3924 cat >> confdefs.h <<\EOF
3925 #define HAVE_COSHF 1
3928 cat >> confdefs.h <<\EOF
3932 cat >> confdefs.h <<\EOF
3933 #define HAVE_FABSF 1
3936 cat >> confdefs.h <<\EOF
3937 #define HAVE_FINITE 1
3940 cat >> confdefs.h <<\EOF
3941 #define HAVE_FINITEF 1
3944 cat >> confdefs.h <<\EOF
3945 #define HAVE_FLOORF 1
3948 cat >> confdefs.h <<\EOF
3949 #define HAVE_FMODF 1
3952 cat >> confdefs.h <<\EOF
3953 #define HAVE_FREXPF 1
3956 cat >> confdefs.h <<\EOF
3957 #define HAVE_ISINF 1
3960 cat >> confdefs.h <<\EOF
3961 #define HAVE_ISINFF 1
3964 cat >> confdefs.h <<\EOF
3965 #define HAVE_ISNAN 1
3968 cat >> confdefs.h <<\EOF
3969 #define HAVE_ISNANF 1
3972 cat >> confdefs.h <<\EOF
3973 #define HAVE_LDEXPF 1
3976 cat >> confdefs.h <<\EOF
3977 #define HAVE_LOG10F 1
3980 cat >> confdefs.h <<\EOF
3984 cat >> confdefs.h <<\EOF
3985 #define HAVE_MODFF 1
3988 cat >> confdefs.h <<\EOF
3992 cat >> confdefs.h <<\EOF
3993 #define HAVE_SINCOS 1
3996 cat >> confdefs.h <<\EOF
3997 #define HAVE_SINCOSF 1
4000 cat >> confdefs.h <<\EOF
4004 cat >> confdefs.h <<\EOF
4005 #define HAVE_SINHF 1
4008 cat >> confdefs.h <<\EOF
4009 #define HAVE_SQRTF 1
4012 cat >> confdefs.h <<\EOF
4016 cat >> confdefs.h <<\EOF
4017 #define HAVE_TANHF 1
4021 # At some point, we should differentiate between architectures
4022 # like x86, which have long double versions, and alpha/powerpc/etc.,
4023 # which don't. For the time being, punt.
4024 if test x"long_double_math_on_this_cpu" = x"yes"; then
4025 cat >> confdefs.h <<\EOF
4026 #define HAVE_ACOSL 1
4029 cat >> confdefs.h <<\EOF
4030 #define HAVE_ASINL 1
4033 cat >> confdefs.h <<\EOF
4034 #define HAVE_ATAN2L 1
4037 cat >> confdefs.h <<\EOF
4038 #define HAVE_ATANL 1
4041 cat >> confdefs.h <<\EOF
4042 #define HAVE_CEILL 1
4045 cat >> confdefs.h <<\EOF
4046 #define HAVE_COPYSIGNL 1
4049 cat >> confdefs.h <<\EOF
4053 cat >> confdefs.h <<\EOF
4054 #define HAVE_COSHL 1
4057 cat >> confdefs.h <<\EOF
4061 cat >> confdefs.h <<\EOF
4062 #define HAVE_FABSL 1
4065 cat >> confdefs.h <<\EOF
4066 #define HAVE_FINITEL 1
4069 cat >> confdefs.h <<\EOF
4070 #define HAVE_FLOORL 1
4073 cat >> confdefs.h <<\EOF
4074 #define HAVE_FMODL 1
4077 cat >> confdefs.h <<\EOF
4078 #define HAVE_FREXPL 1
4081 cat >> confdefs.h <<\EOF
4082 #define HAVE_ISINFL 1
4085 cat >> confdefs.h <<\EOF
4086 #define HAVE_ISNANL 1
4089 cat >> confdefs.h <<\EOF
4090 #define HAVE_LDEXPL 1
4093 cat >> confdefs.h <<\EOF
4094 #define HAVE_LOG10L 1
4097 cat >> confdefs.h <<\EOF
4101 cat >> confdefs.h <<\EOF
4102 #define HAVE_MODFL 1
4105 cat >> confdefs.h <<\EOF
4109 cat >> confdefs.h <<\EOF
4110 #define HAVE_SINCOSL 1
4113 cat >> confdefs.h <<\EOF
4117 cat >> confdefs.h <<\EOF
4118 #define HAVE_SINHL 1
4121 cat >> confdefs.h <<\EOF
4122 #define HAVE_SQRTL 1
4125 cat >> confdefs.h <<\EOF
4129 cat >> confdefs.h <<\EOF
4130 #define HAVE_TANHL 1
4135 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4136 echo "configure:4137: checking for main in -lm" >&5
4137 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4138 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4139 echo $ac_n "(cached) $ac_c" 1>&6
4141 ac_save_LIBS="$LIBS"
4143 cat > conftest.$ac_ext <<EOF
4144 #line 4145 "configure"
4145 #include "confdefs.h"
4151 if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4153 eval "ac_cv_lib_$ac_lib_var=yes"
4155 echo "configure: failed program was:" >&5
4156 cat conftest.$ac_ext >&5
4158 eval "ac_cv_lib_$ac_lib_var=no"
4161 LIBS="$ac_save_LIBS"
4164 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4165 echo "$ac_t""yes" 1>&6
4166 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4167 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4168 cat >> confdefs.h <<EOF
4169 #define $ac_tr_lib 1
4175 echo "$ac_t""no" 1>&6
4178 for ac_func in nan hypot hypotf atan2f expf copysignf
4180 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4181 echo "configure:4182: checking for $ac_func" >&5
4182 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4183 echo $ac_n "(cached) $ac_c" 1>&6
4185 cat > conftest.$ac_ext <<EOF
4186 #line 4187 "configure"
4187 #include "confdefs.h"
4188 /* System header to define __stub macros and hopefully few prototypes,
4189 which can conflict with char $ac_func(); below. */
4191 /* Override any gcc2 internal prototype to avoid an error. */
4192 /* We use char because int might match the return type of a gcc2
4193 builtin and then its argument prototype would still apply. */
4198 /* The GNU C library defines this for functions which it implements
4199 to always fail with ENOSYS. Some functions are actually named
4200 something starting with __ and the normal name is an alias. */
4201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4209 if { (eval echo configure:4210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4211 eval "ac_cv_func_$ac_func=yes"
4213 echo "configure: failed program was:" >&5
4214 cat conftest.$ac_ext >&5
4216 eval "ac_cv_func_$ac_func=no"
4221 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4222 echo "$ac_t""yes" 1>&6
4223 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4224 cat >> confdefs.h <<EOF
4225 #define $ac_tr_func 1
4229 echo "$ac_t""no" 1>&6
4230 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4236 USE_COMPLEX_LONG_DOUBLE=no
4237 if test x$ac_cv_func_atan2l = x"yes" &&
4238 test x$ac_cv_func_copysignl = x"yes"; then
4239 USE_COMPLEX_LONG_DOUBLE=yes
4240 for ac_func in hypotl signbitl
4242 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4243 echo "configure:4244: checking for $ac_func" >&5
4244 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4245 echo $ac_n "(cached) $ac_c" 1>&6
4247 cat > conftest.$ac_ext <<EOF
4248 #line 4249 "configure"
4249 #include "confdefs.h"
4250 /* System header to define __stub macros and hopefully few prototypes,
4251 which can conflict with char $ac_func(); below. */
4253 /* Override any gcc2 internal prototype to avoid an error. */
4254 /* We use char because int might match the return type of a gcc2
4255 builtin and then its argument prototype would still apply. */
4260 /* The GNU C library defines this for functions which it implements
4261 to always fail with ENOSYS. Some functions are actually named
4262 something starting with __ and the normal name is an alias. */
4263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4271 if { (eval echo configure:4272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4273 eval "ac_cv_func_$ac_func=yes"
4275 echo "configure: failed program was:" >&5
4276 cat conftest.$ac_ext >&5
4278 eval "ac_cv_func_$ac_func=no"
4283 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4284 echo "$ac_t""yes" 1>&6
4285 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4286 cat >> confdefs.h <<EOF
4287 #define $ac_tr_func 1
4291 echo "$ac_t""no" 1>&6
4292 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4303 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4304 echo "configure:4305: checking for mbstate_t" >&5
4305 cat > conftest.$ac_ext <<EOF
4306 #line 4307 "configure"
4307 #include "confdefs.h"
4310 mbstate_t teststate;
4313 if { (eval echo configure:4314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4317 echo "configure: failed program was:" >&5
4318 cat conftest.$ac_ext >&5
4323 echo "$ac_t""$have_mbstate_t" 1>&6
4324 if test x"$have_mbstate_t" = xyes; then
4325 cat >> confdefs.h <<\EOF
4326 #define HAVE_MBSTATE_T 1
4331 for ac_hdr in wchar.h
4333 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4334 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4335 echo "configure:4336: checking for $ac_hdr" >&5
4336 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4337 echo $ac_n "(cached) $ac_c" 1>&6
4339 cat > conftest.$ac_ext <<EOF
4340 #line 4341 "configure"
4341 #include "confdefs.h"
4344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4345 { (eval echo configure:4346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4347 if test -z "$ac_err"; then
4349 eval "ac_cv_header_$ac_safe=yes"
4352 echo "configure: failed program was:" >&5
4353 cat conftest.$ac_ext >&5
4355 eval "ac_cv_header_$ac_safe=no"
4359 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4360 echo "$ac_t""yes" 1>&6
4361 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4362 cat >> confdefs.h <<EOF
4363 #define $ac_tr_hdr 1
4367 echo "$ac_t""no" 1>&6
4372 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4373 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4374 echo "configure:4375: checking for wctype.h" >&5
4375 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4376 echo $ac_n "(cached) $ac_c" 1>&6
4378 cat > conftest.$ac_ext <<EOF
4379 #line 4380 "configure"
4380 #include "confdefs.h"
4383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4384 { (eval echo configure:4385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4386 if test -z "$ac_err"; then
4388 eval "ac_cv_header_$ac_safe=yes"
4391 echo "configure: failed program was:" >&5
4392 cat conftest.$ac_ext >&5
4394 eval "ac_cv_header_$ac_safe=no"
4398 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4399 echo "$ac_t""yes" 1>&6
4402 echo "$ac_t""no" 1>&6
4407 if test x"$ac_has_wchar_h" = xyes &&
4408 test x"$ac_has_wctype_h" = xyes &&
4409 test x"$enable_c_mbchar" != xno; then
4411 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4412 echo "configure:4413: checking for WCHAR_MIN and WCHAR_MAX" >&5
4413 cat > conftest.$ac_ext <<EOF
4414 #line 4415 "configure"
4415 #include "confdefs.h"
4418 int i = WCHAR_MIN; int j = WCHAR_MAX;
4421 if { (eval echo configure:4422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4423 has_wchar_minmax=yes
4425 echo "configure: failed program was:" >&5
4426 cat conftest.$ac_ext >&5
4431 echo "$ac_t""$has_wchar_minmax" 1>&6
4433 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4434 echo "configure:4435: checking for WEOF" >&5
4435 cat > conftest.$ac_ext <<EOF
4436 #line 4437 "configure"
4437 #include "confdefs.h"
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""$has_weof" 1>&6
4458 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4460 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4461 echo "configure:4462: checking for $ac_func" >&5
4462 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4463 echo $ac_n "(cached) $ac_c" 1>&6
4465 cat > conftest.$ac_ext <<EOF
4466 #line 4467 "configure"
4467 #include "confdefs.h"
4468 /* System header to define __stub macros and hopefully few prototypes,
4469 which can conflict with char $ac_func(); below. */
4471 /* Override any gcc2 internal prototype to avoid an error. */
4472 /* We use char because int might match the return type of a gcc2
4473 builtin and then its argument prototype would still apply. */
4478 /* The GNU C library defines this for functions which it implements
4479 to always fail with ENOSYS. Some functions are actually named
4480 something starting with __ and the normal name is an alias. */
4481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4489 if { (eval echo configure:4490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4491 eval "ac_cv_func_$ac_func=yes"
4493 echo "configure: failed program was:" >&5
4494 cat conftest.$ac_ext >&5
4496 eval "ac_cv_func_$ac_func=no"
4501 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4502 echo "$ac_t""yes" 1>&6
4503 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4504 cat >> confdefs.h <<EOF
4505 #define $ac_tr_func 1
4509 echo "$ac_t""no" 1>&6
4516 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4517 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4518 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4519 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4520 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4521 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4524 echo "configure:4525: checking for $ac_func" >&5
4525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4526 echo $ac_n "(cached) $ac_c" 1>&6
4528 cat > conftest.$ac_ext <<EOF
4529 #line 4530 "configure"
4530 #include "confdefs.h"
4531 /* System header to define __stub macros and hopefully few prototypes,
4532 which can conflict with char $ac_func(); below. */
4534 /* Override any gcc2 internal prototype to avoid an error. */
4535 /* We use char because int might match the return type of a gcc2
4536 builtin and then its argument prototype would still apply. */
4541 /* The GNU C library defines this for functions which it implements
4542 to always fail with ENOSYS. Some functions are actually named
4543 something starting with __ and the normal name is an alias. */
4544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4552 if { (eval echo configure:4553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4554 eval "ac_cv_func_$ac_func=yes"
4556 echo "configure: failed program was:" >&5
4557 cat conftest.$ac_ext >&5
4559 eval "ac_cv_func_$ac_func=no"
4564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4565 echo "$ac_t""yes" 1>&6
4566 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4567 cat >> confdefs.h <<EOF
4568 #define $ac_tr_func 1
4572 echo "$ac_t""no" 1>&6
4579 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4580 echo "configure:4581: checking for ISO C99 wchar_t support" >&5
4581 if test x"$has_weof" = xyes &&
4582 test x"$has_wchar_minmax" = xyes &&
4583 test x"$ac_wfuncs" = xyes; then
4584 ac_isoC99_wchar_t=yes
4586 ac_isoC99_wchar_t=no
4588 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4590 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4591 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4592 echo "configure:4593: checking for iconv.h" >&5
4593 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4594 echo $ac_n "(cached) $ac_c" 1>&6
4596 cat > conftest.$ac_ext <<EOF
4597 #line 4598 "configure"
4598 #include "confdefs.h"
4601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4602 { (eval echo configure:4603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4604 if test -z "$ac_err"; then
4606 eval "ac_cv_header_$ac_safe=yes"
4609 echo "configure: failed program was:" >&5
4610 cat conftest.$ac_ext >&5
4612 eval "ac_cv_header_$ac_safe=no"
4616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4617 echo "$ac_t""yes" 1>&6
4620 echo "$ac_t""no" 1>&6
4624 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4625 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4626 echo "configure:4627: checking for langinfo.h" >&5
4627 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4628 echo $ac_n "(cached) $ac_c" 1>&6
4630 cat > conftest.$ac_ext <<EOF
4631 #line 4632 "configure"
4632 #include "confdefs.h"
4633 #include <langinfo.h>
4635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4636 { (eval echo configure:4637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4638 if test -z "$ac_err"; then
4640 eval "ac_cv_header_$ac_safe=yes"
4643 echo "configure: failed program was:" >&5
4644 cat conftest.$ac_ext >&5
4646 eval "ac_cv_header_$ac_safe=no"
4650 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4651 echo "$ac_t""yes" 1>&6
4652 ac_has_langinfo_h=yes
4654 echo "$ac_t""no" 1>&6
4655 ac_has_langinfo_h=no
4659 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4660 echo "configure:4661: checking for iconv in -liconv" >&5
4661 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4662 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4663 echo $ac_n "(cached) $ac_c" 1>&6
4665 ac_save_LIBS="$LIBS"
4666 LIBS="-liconv $LIBS"
4667 cat > conftest.$ac_ext <<EOF
4668 #line 4669 "configure"
4669 #include "confdefs.h"
4670 /* Override any gcc2 internal prototype to avoid an error. */
4671 /* We use char because int might match the return type of a gcc2
4672 builtin and then its argument prototype would still apply. */
4679 if { (eval echo configure:4680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4681 eval "ac_cv_lib_$ac_lib_var=yes"
4683 echo "configure: failed program was:" >&5
4684 cat conftest.$ac_ext >&5
4686 eval "ac_cv_lib_$ac_lib_var=no"
4689 LIBS="$ac_save_LIBS"
4692 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4693 echo "$ac_t""yes" 1>&6
4696 echo "$ac_t""no" 1>&6
4699 ac_save_LIBS="$LIBS"
4700 LIBS="$LIBS $libiconv"
4702 for ac_func in iconv_open iconv_close iconv nl_langinfo
4704 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4705 echo "configure:4706: checking for $ac_func" >&5
4706 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4707 echo $ac_n "(cached) $ac_c" 1>&6
4709 cat > conftest.$ac_ext <<EOF
4710 #line 4711 "configure"
4711 #include "confdefs.h"
4712 /* System header to define __stub macros and hopefully few prototypes,
4713 which can conflict with char $ac_func(); below. */
4715 /* Override any gcc2 internal prototype to avoid an error. */
4716 /* We use char because int might match the return type of a gcc2
4717 builtin and then its argument prototype would still apply. */
4722 /* The GNU C library defines this for functions which it implements
4723 to always fail with ENOSYS. Some functions are actually named
4724 something starting with __ and the normal name is an alias. */
4725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4733 if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4735 eval "ac_cv_func_$ac_func=yes"
4737 echo "configure: failed program was:" >&5
4738 cat conftest.$ac_ext >&5
4740 eval "ac_cv_func_$ac_func=no"
4745 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4746 echo "$ac_t""yes" 1>&6
4747 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4748 cat >> confdefs.h <<EOF
4749 #define $ac_tr_func 1
4754 echo "$ac_t""no" 1>&6
4760 LIBS="$ac_save_LIBS"
4762 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4763 echo "configure:4764: checking for XPG2 wchar_t support" >&5
4764 if test x"$ac_has_iconv_h" = xyes &&
4765 test x"$ac_has_langinfo_h" = xyes &&
4766 test x"$ac_XPG2funcs" = xyes; then
4771 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4773 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4774 echo "configure:4775: checking for enabled wchar_t specializations" >&5
4775 if test x"$ac_isoC99_wchar_t" = xyes &&
4776 test x"$ac_XPG2_wchar_t" = xyes; then
4777 cat >> confdefs.h <<\EOF
4778 #define _GLIBCPP_USE_WCHAR_T 1
4781 echo "$ac_t"""yes"" 1>&6
4783 echo "$ac_t"""no"" 1>&6
4786 echo "configure: warning: wchar_t support disabled." 1>&2
4789 os_include_dir="config/os/gnu-linux"
4790 # GLIBCPP_CHECK_STDLIB_SUPPORT
4791 cat >> confdefs.h <<\EOF
4792 #define HAVE_STRTOF 1
4795 cat >> confdefs.h <<\EOF
4796 #define HAVE_STRTOLD 1
4800 cat >> confdefs.h <<\EOF
4806 # We assume newlib. This lets us hard-code the functions we know
4808 cat >> confdefs.h <<\EOF
4809 #define HAVE_FINITE 1
4812 cat >> confdefs.h <<\EOF
4813 #define HAVE_ISNAN 1
4816 cat >> confdefs.h <<\EOF
4817 #define HAVE_ISNANF 1
4820 cat >> confdefs.h <<\EOF
4821 #define HAVE_ISINF 1
4824 cat >> confdefs.h <<\EOF
4825 #define HAVE_ISINFF 1
4829 os_include_dir="config/os/newlib"
4831 # need to check for faster f versions of math functions, ie sinf?
4836 # We are being configured natively. We can do more elaborate tests
4837 # that include AC_TRY_COMPILE now, as the linker is assumed to be
4844 # Check for available headers.
4845 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
4846 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
4848 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4849 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4850 echo "configure:4851: checking for $ac_hdr" >&5
4851 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4852 echo $ac_n "(cached) $ac_c" 1>&6
4854 cat > conftest.$ac_ext <<EOF
4855 #line 4856 "configure"
4856 #include "confdefs.h"
4859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4860 { (eval echo configure:4861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4861 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4862 if test -z "$ac_err"; then
4864 eval "ac_cv_header_$ac_safe=yes"
4867 echo "configure: failed program was:" >&5
4868 cat conftest.$ac_ext >&5
4870 eval "ac_cv_header_$ac_safe=no"
4874 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4875 echo "$ac_t""yes" 1>&6
4876 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4877 cat >> confdefs.h <<EOF
4878 #define $ac_tr_hdr 1
4882 echo "$ac_t""no" 1>&6
4888 # All these tests are for C++; save the language and the compiler flags.
4889 # The CXXFLAGS thing is suspicious, but based on similar bits previously
4890 # found in GLIBCPP_CONFIGURE.
4893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4894 ac_cpp='$CXXCPP $CPPFLAGS'
4895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4897 cross_compiling=$ac_cv_prog_cxx_cross
4899 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4900 ac_save_CXXFLAGS="$CXXFLAGS"
4902 # Check for maintainer-mode bits.
4903 if test x"$USE_MAINTAINER_MODE" = xno; then
4909 # Check for -ffunction-sections -fdata-sections
4910 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
4911 echo "configure:4912: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
4912 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
4913 cat > conftest.$ac_ext <<EOF
4914 #line 4915 "configure"
4915 #include "confdefs.h"
4922 if { (eval echo configure:4923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4926 echo "configure: failed program was:" >&5
4927 cat conftest.$ac_ext >&5
4932 if test "$ac_test_CXXFLAGS" = set; then
4933 CXXFLAGS="$ac_save_CXXFLAGS"
4935 # this is the suspicious part
4938 if test x"$ac_fdsections" = x"yes" &&
4939 test x"$enable_debug" = x"no"; then
4940 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4942 echo "$ac_t""$ac_fdsections" 1>&6
4945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4946 ac_cpp='$CPP $CPPFLAGS'
4947 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4948 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4949 cross_compiling=$ac_cv_prog_cc_cross
4955 # If we're not using GNU ld, then there's no point in even trying these
4956 # tests. Check for that first. We should have already tested for gld
4957 # by now (in libtool), but require it now just to be safe...
4962 # Set --gc-sections.
4963 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4964 # GNU ld it is! Joy and bunny rabbits!
4966 # All these tests are for C++; save the language and the compiler flags.
4967 # Need to do this so that g++ won't try to link in libstdc++
4968 ac_test_CFLAGS="${CFLAGS+set}"
4969 ac_save_CFLAGS="$CFLAGS"
4970 CFLAGS='-x c++ -Wl,--gc-sections'
4972 # Check for -Wl,--gc-sections
4973 # XXX This test is broken at the moment, as symbols required for
4974 # linking are now in libsupc++ (not built yet.....). In addition,
4975 # this test has cored on solaris in the past. In addition,
4976 # --gc-sections doesn't really work at the moment (keeps on discarding
4977 # used sections, first .eh_frame and now some of the glibc sections for
4978 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4979 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4980 echo "configure:4981: checking for ld that supports -Wl,--gc-sections" >&5
4981 if test "$cross_compiling" = yes; then
4982 ac_sectionLDflags=yes
4984 cat > conftest.$ac_ext <<EOF
4985 #line 4986 "configure"
4986 #include "confdefs.h"
4996 if { (eval echo configure:4997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4998 ac_sectionLDflags=yes
5000 echo "configure: failed program was:" >&5
5001 cat conftest.$ac_ext >&5
5003 ac_sectionLFflags=no
5008 if test "$ac_test_CFLAGS" = set; then
5009 CFLAGS="$ac_save_CFLAGS"
5011 # this is the suspicious part
5014 if test "$ac_sectionLDflags" = "yes"; then
5015 SECTION_LDFLAGS='-Wl,--gc-sections'
5017 echo "$ac_t""$ac_sectionLDflags" 1>&6
5020 # Set linker optimization flags.
5021 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
5022 test x"$enable_debug" = x"no"; then
5023 OPT_LDFLAGS='-Wl,-O1'
5031 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
5032 echo "configure:5033: checking for __builtin_abs declaration" >&5
5033 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
5034 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5035 echo $ac_n "(cached) $ac_c" 1>&6
5040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5041 ac_cpp='$CXXCPP $CPPFLAGS'
5042 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5043 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5044 cross_compiling=$ac_cv_prog_cxx_cross
5046 cat > conftest.$ac_ext <<EOF
5047 #line 5048 "configure"
5048 #include "confdefs.h"
5054 if { (eval echo configure:5055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5056 glibcpp_cv_func___builtin_abs_use=yes
5058 echo "configure: failed program was:" >&5
5059 cat conftest.$ac_ext >&5
5061 glibcpp_cv_func___builtin_abs_use=no
5065 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5066 ac_cpp='$CPP $CPPFLAGS'
5067 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5068 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5069 cross_compiling=$ac_cv_prog_cc_cross
5075 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5076 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
5077 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
5078 echo "configure:5079: checking for __builtin_abs linkage" >&5
5079 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
5080 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5081 echo $ac_n "(cached) $ac_c" 1>&6
5084 cat > conftest.$ac_ext <<EOF
5085 #line 5086 "configure"
5086 #include "confdefs.h"
5092 if { (eval echo configure:5093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5094 glibcpp_cv_func___builtin_abs_link=yes
5096 echo "configure: failed program was:" >&5
5097 cat conftest.$ac_ext >&5
5099 glibcpp_cv_func___builtin_abs_link=no
5106 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5107 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
5108 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5109 cat >> confdefs.h <<EOF
5110 #define ${ac_tr_func} 1
5117 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
5118 echo "configure:5119: checking for __builtin_fabsf declaration" >&5
5119 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
5120 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5121 echo $ac_n "(cached) $ac_c" 1>&6
5126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5127 ac_cpp='$CXXCPP $CPPFLAGS'
5128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5130 cross_compiling=$ac_cv_prog_cxx_cross
5132 cat > conftest.$ac_ext <<EOF
5133 #line 5134 "configure"
5134 #include "confdefs.h"
5140 if { (eval echo configure:5141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5142 glibcpp_cv_func___builtin_fabsf_use=yes
5144 echo "configure: failed program was:" >&5
5145 cat conftest.$ac_ext >&5
5147 glibcpp_cv_func___builtin_fabsf_use=no
5151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5152 ac_cpp='$CPP $CPPFLAGS'
5153 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5154 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5155 cross_compiling=$ac_cv_prog_cc_cross
5161 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5162 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
5163 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
5164 echo "configure:5165: checking for __builtin_fabsf linkage" >&5
5165 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
5166 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5167 echo $ac_n "(cached) $ac_c" 1>&6
5170 cat > conftest.$ac_ext <<EOF
5171 #line 5172 "configure"
5172 #include "confdefs.h"
5178 if { (eval echo configure:5179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5180 glibcpp_cv_func___builtin_fabsf_link=yes
5182 echo "configure: failed program was:" >&5
5183 cat conftest.$ac_ext >&5
5185 glibcpp_cv_func___builtin_fabsf_link=no
5192 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5193 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
5194 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5195 cat >> confdefs.h <<EOF
5196 #define ${ac_tr_func} 1
5203 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
5204 echo "configure:5205: checking for __builtin_fabs declaration" >&5
5205 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
5206 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5207 echo $ac_n "(cached) $ac_c" 1>&6
5212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5213 ac_cpp='$CXXCPP $CPPFLAGS'
5214 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5215 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5216 cross_compiling=$ac_cv_prog_cxx_cross
5218 cat > conftest.$ac_ext <<EOF
5219 #line 5220 "configure"
5220 #include "confdefs.h"
5226 if { (eval echo configure:5227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5228 glibcpp_cv_func___builtin_fabs_use=yes
5230 echo "configure: failed program was:" >&5
5231 cat conftest.$ac_ext >&5
5233 glibcpp_cv_func___builtin_fabs_use=no
5237 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5238 ac_cpp='$CPP $CPPFLAGS'
5239 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5240 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5241 cross_compiling=$ac_cv_prog_cc_cross
5247 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5248 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
5249 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
5250 echo "configure:5251: checking for __builtin_fabs linkage" >&5
5251 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
5252 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5253 echo $ac_n "(cached) $ac_c" 1>&6
5256 cat > conftest.$ac_ext <<EOF
5257 #line 5258 "configure"
5258 #include "confdefs.h"
5264 if { (eval echo configure:5265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5266 glibcpp_cv_func___builtin_fabs_link=yes
5268 echo "configure: failed program was:" >&5
5269 cat conftest.$ac_ext >&5
5271 glibcpp_cv_func___builtin_fabs_link=no
5278 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5279 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
5280 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5281 cat >> confdefs.h <<EOF
5282 #define ${ac_tr_func} 1
5289 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
5290 echo "configure:5291: checking for __builtin_fabsl declaration" >&5
5291 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
5292 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5293 echo $ac_n "(cached) $ac_c" 1>&6
5298 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5299 ac_cpp='$CXXCPP $CPPFLAGS'
5300 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5301 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5302 cross_compiling=$ac_cv_prog_cxx_cross
5304 cat > conftest.$ac_ext <<EOF
5305 #line 5306 "configure"
5306 #include "confdefs.h"
5312 if { (eval echo configure:5313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5314 glibcpp_cv_func___builtin_fabsl_use=yes
5316 echo "configure: failed program was:" >&5
5317 cat conftest.$ac_ext >&5
5319 glibcpp_cv_func___builtin_fabsl_use=no
5323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5324 ac_cpp='$CPP $CPPFLAGS'
5325 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5326 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5327 cross_compiling=$ac_cv_prog_cc_cross
5333 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5334 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
5335 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
5336 echo "configure:5337: checking for __builtin_fabsl linkage" >&5
5337 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
5338 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5339 echo $ac_n "(cached) $ac_c" 1>&6
5342 cat > conftest.$ac_ext <<EOF
5343 #line 5344 "configure"
5344 #include "confdefs.h"
5350 if { (eval echo configure:5351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5352 glibcpp_cv_func___builtin_fabsl_link=yes
5354 echo "configure: failed program was:" >&5
5355 cat conftest.$ac_ext >&5
5357 glibcpp_cv_func___builtin_fabsl_link=no
5364 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5365 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
5366 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5367 cat >> confdefs.h <<EOF
5368 #define ${ac_tr_func} 1
5375 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
5376 echo "configure:5377: checking for __builtin_labs declaration" >&5
5377 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
5378 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5379 echo $ac_n "(cached) $ac_c" 1>&6
5384 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5385 ac_cpp='$CXXCPP $CPPFLAGS'
5386 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5387 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5388 cross_compiling=$ac_cv_prog_cxx_cross
5390 cat > conftest.$ac_ext <<EOF
5391 #line 5392 "configure"
5392 #include "confdefs.h"
5398 if { (eval echo configure:5399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5400 glibcpp_cv_func___builtin_labs_use=yes
5402 echo "configure: failed program was:" >&5
5403 cat conftest.$ac_ext >&5
5405 glibcpp_cv_func___builtin_labs_use=no
5409 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5410 ac_cpp='$CPP $CPPFLAGS'
5411 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5412 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5413 cross_compiling=$ac_cv_prog_cc_cross
5419 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5420 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5421 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5422 echo "configure:5423: checking for __builtin_labs linkage" >&5
5423 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5424 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5425 echo $ac_n "(cached) $ac_c" 1>&6
5428 cat > conftest.$ac_ext <<EOF
5429 #line 5430 "configure"
5430 #include "confdefs.h"
5436 if { (eval echo configure:5437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5438 glibcpp_cv_func___builtin_labs_link=yes
5440 echo "configure: failed program was:" >&5
5441 cat conftest.$ac_ext >&5
5443 glibcpp_cv_func___builtin_labs_link=no
5450 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5451 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5452 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5453 cat >> confdefs.h <<EOF
5454 #define ${ac_tr_func} 1
5462 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5463 echo "configure:5464: checking for __builtin_sqrtf declaration" >&5
5464 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5465 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5466 echo $ac_n "(cached) $ac_c" 1>&6
5471 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5472 ac_cpp='$CXXCPP $CPPFLAGS'
5473 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5474 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5475 cross_compiling=$ac_cv_prog_cxx_cross
5477 cat > conftest.$ac_ext <<EOF
5478 #line 5479 "configure"
5479 #include "confdefs.h"
5485 if { (eval echo configure:5486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5487 glibcpp_cv_func___builtin_sqrtf_use=yes
5489 echo "configure: failed program was:" >&5
5490 cat conftest.$ac_ext >&5
5492 glibcpp_cv_func___builtin_sqrtf_use=no
5496 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5497 ac_cpp='$CPP $CPPFLAGS'
5498 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5499 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5500 cross_compiling=$ac_cv_prog_cc_cross
5506 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5507 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5508 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5509 echo "configure:5510: checking for __builtin_sqrtf linkage" >&5
5510 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5511 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5512 echo $ac_n "(cached) $ac_c" 1>&6
5515 cat > conftest.$ac_ext <<EOF
5516 #line 5517 "configure"
5517 #include "confdefs.h"
5523 if { (eval echo configure:5524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5525 glibcpp_cv_func___builtin_sqrtf_link=yes
5527 echo "configure: failed program was:" >&5
5528 cat conftest.$ac_ext >&5
5530 glibcpp_cv_func___builtin_sqrtf_link=no
5537 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5538 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5539 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5540 cat >> confdefs.h <<EOF
5541 #define ${ac_tr_func} 1
5548 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5549 echo "configure:5550: checking for __builtin_fsqrt declaration" >&5
5550 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5551 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5552 echo $ac_n "(cached) $ac_c" 1>&6
5557 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5558 ac_cpp='$CXXCPP $CPPFLAGS'
5559 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5560 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5561 cross_compiling=$ac_cv_prog_cxx_cross
5563 cat > conftest.$ac_ext <<EOF
5564 #line 5565 "configure"
5565 #include "confdefs.h"
5571 if { (eval echo configure:5572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5573 glibcpp_cv_func___builtin_fsqrt_use=yes
5575 echo "configure: failed program was:" >&5
5576 cat conftest.$ac_ext >&5
5578 glibcpp_cv_func___builtin_fsqrt_use=no
5582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5583 ac_cpp='$CPP $CPPFLAGS'
5584 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5585 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5586 cross_compiling=$ac_cv_prog_cc_cross
5592 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5593 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5594 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5595 echo "configure:5596: checking for __builtin_fsqrt linkage" >&5
5596 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5597 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5598 echo $ac_n "(cached) $ac_c" 1>&6
5601 cat > conftest.$ac_ext <<EOF
5602 #line 5603 "configure"
5603 #include "confdefs.h"
5609 if { (eval echo configure:5610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5611 glibcpp_cv_func___builtin_fsqrt_link=yes
5613 echo "configure: failed program was:" >&5
5614 cat conftest.$ac_ext >&5
5616 glibcpp_cv_func___builtin_fsqrt_link=no
5623 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5624 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5625 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5626 cat >> confdefs.h <<EOF
5627 #define ${ac_tr_func} 1
5634 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5635 echo "configure:5636: checking for __builtin_sqrtl declaration" >&5
5636 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5637 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5638 echo $ac_n "(cached) $ac_c" 1>&6
5643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5644 ac_cpp='$CXXCPP $CPPFLAGS'
5645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5647 cross_compiling=$ac_cv_prog_cxx_cross
5649 cat > conftest.$ac_ext <<EOF
5650 #line 5651 "configure"
5651 #include "confdefs.h"
5657 if { (eval echo configure:5658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5659 glibcpp_cv_func___builtin_sqrtl_use=yes
5661 echo "configure: failed program was:" >&5
5662 cat conftest.$ac_ext >&5
5664 glibcpp_cv_func___builtin_sqrtl_use=no
5668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5669 ac_cpp='$CPP $CPPFLAGS'
5670 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5671 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5672 cross_compiling=$ac_cv_prog_cc_cross
5678 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5679 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5680 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5681 echo "configure:5682: checking for __builtin_sqrtl linkage" >&5
5682 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5683 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5684 echo $ac_n "(cached) $ac_c" 1>&6
5687 cat > conftest.$ac_ext <<EOF
5688 #line 5689 "configure"
5689 #include "confdefs.h"
5695 if { (eval echo configure:5696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5697 glibcpp_cv_func___builtin_sqrtl_link=yes
5699 echo "configure: failed program was:" >&5
5700 cat conftest.$ac_ext >&5
5702 glibcpp_cv_func___builtin_sqrtl_link=no
5709 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5710 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5711 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5712 cat >> confdefs.h <<EOF
5713 #define ${ac_tr_func} 1
5721 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5722 echo "configure:5723: checking for __builtin_sinf declaration" >&5
5723 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5724 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5725 echo $ac_n "(cached) $ac_c" 1>&6
5730 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5731 ac_cpp='$CXXCPP $CPPFLAGS'
5732 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5733 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5734 cross_compiling=$ac_cv_prog_cxx_cross
5736 cat > conftest.$ac_ext <<EOF
5737 #line 5738 "configure"
5738 #include "confdefs.h"
5744 if { (eval echo configure:5745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5746 glibcpp_cv_func___builtin_sinf_use=yes
5748 echo "configure: failed program was:" >&5
5749 cat conftest.$ac_ext >&5
5751 glibcpp_cv_func___builtin_sinf_use=no
5755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5756 ac_cpp='$CPP $CPPFLAGS'
5757 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5758 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5759 cross_compiling=$ac_cv_prog_cc_cross
5765 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5766 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5767 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5768 echo "configure:5769: checking for __builtin_sinf linkage" >&5
5769 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5770 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5771 echo $ac_n "(cached) $ac_c" 1>&6
5774 cat > conftest.$ac_ext <<EOF
5775 #line 5776 "configure"
5776 #include "confdefs.h"
5782 if { (eval echo configure:5783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5784 glibcpp_cv_func___builtin_sinf_link=yes
5786 echo "configure: failed program was:" >&5
5787 cat conftest.$ac_ext >&5
5789 glibcpp_cv_func___builtin_sinf_link=no
5796 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5797 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
5798 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5799 cat >> confdefs.h <<EOF
5800 #define ${ac_tr_func} 1
5807 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
5808 echo "configure:5809: checking for __builtin_sin declaration" >&5
5809 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
5810 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5811 echo $ac_n "(cached) $ac_c" 1>&6
5816 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5817 ac_cpp='$CXXCPP $CPPFLAGS'
5818 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5819 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5820 cross_compiling=$ac_cv_prog_cxx_cross
5822 cat > conftest.$ac_ext <<EOF
5823 #line 5824 "configure"
5824 #include "confdefs.h"
5830 if { (eval echo configure:5831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5832 glibcpp_cv_func___builtin_sin_use=yes
5834 echo "configure: failed program was:" >&5
5835 cat conftest.$ac_ext >&5
5837 glibcpp_cv_func___builtin_sin_use=no
5841 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5842 ac_cpp='$CPP $CPPFLAGS'
5843 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5844 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5845 cross_compiling=$ac_cv_prog_cc_cross
5851 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
5852 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
5853 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
5854 echo "configure:5855: checking for __builtin_sin linkage" >&5
5855 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
5856 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
5857 echo $ac_n "(cached) $ac_c" 1>&6
5860 cat > conftest.$ac_ext <<EOF
5861 #line 5862 "configure"
5862 #include "confdefs.h"
5868 if { (eval echo configure:5869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5870 glibcpp_cv_func___builtin_sin_link=yes
5872 echo "configure: failed program was:" >&5
5873 cat conftest.$ac_ext >&5
5875 glibcpp_cv_func___builtin_sin_link=no
5882 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
5883 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
5884 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5885 cat >> confdefs.h <<EOF
5886 #define ${ac_tr_func} 1
5893 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
5894 echo "configure:5895: checking for __builtin_sinl declaration" >&5
5895 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
5896 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
5897 echo $ac_n "(cached) $ac_c" 1>&6
5902 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5903 ac_cpp='$CXXCPP $CPPFLAGS'
5904 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5905 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5906 cross_compiling=$ac_cv_prog_cxx_cross
5908 cat > conftest.$ac_ext <<EOF
5909 #line 5910 "configure"
5910 #include "confdefs.h"
5916 if { (eval echo configure:5917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5918 glibcpp_cv_func___builtin_sinl_use=yes
5920 echo "configure: failed program was:" >&5
5921 cat conftest.$ac_ext >&5
5923 glibcpp_cv_func___builtin_sinl_use=no
5927 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5928 ac_cpp='$CPP $CPPFLAGS'
5929 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5930 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5931 cross_compiling=$ac_cv_prog_cc_cross
5937 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
5938 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
5939 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
5940 echo "configure:5941: checking for __builtin_sinl linkage" >&5
5941 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
5942 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
5943 echo $ac_n "(cached) $ac_c" 1>&6
5946 cat > conftest.$ac_ext <<EOF
5947 #line 5948 "configure"
5948 #include "confdefs.h"
5954 if { (eval echo configure:5955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5956 glibcpp_cv_func___builtin_sinl_link=yes
5958 echo "configure: failed program was:" >&5
5959 cat conftest.$ac_ext >&5
5961 glibcpp_cv_func___builtin_sinl_link=no
5968 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
5969 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
5970 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5971 cat >> confdefs.h <<EOF
5972 #define ${ac_tr_func} 1
5980 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
5981 echo "configure:5982: checking for __builtin_cosf declaration" >&5
5982 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
5983 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
5984 echo $ac_n "(cached) $ac_c" 1>&6
5989 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5990 ac_cpp='$CXXCPP $CPPFLAGS'
5991 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5992 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5993 cross_compiling=$ac_cv_prog_cxx_cross
5995 cat > conftest.$ac_ext <<EOF
5996 #line 5997 "configure"
5997 #include "confdefs.h"
6003 if { (eval echo configure:6004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6005 glibcpp_cv_func___builtin_cosf_use=yes
6007 echo "configure: failed program was:" >&5
6008 cat conftest.$ac_ext >&5
6010 glibcpp_cv_func___builtin_cosf_use=no
6014 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6015 ac_cpp='$CPP $CPPFLAGS'
6016 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6017 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6018 cross_compiling=$ac_cv_prog_cc_cross
6024 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6025 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
6026 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
6027 echo "configure:6028: checking for __builtin_cosf linkage" >&5
6028 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
6029 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6030 echo $ac_n "(cached) $ac_c" 1>&6
6033 cat > conftest.$ac_ext <<EOF
6034 #line 6035 "configure"
6035 #include "confdefs.h"
6041 if { (eval echo configure:6042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6043 glibcpp_cv_func___builtin_cosf_link=yes
6045 echo "configure: failed program was:" >&5
6046 cat conftest.$ac_ext >&5
6048 glibcpp_cv_func___builtin_cosf_link=no
6055 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6056 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
6057 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6058 cat >> confdefs.h <<EOF
6059 #define ${ac_tr_func} 1
6066 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
6067 echo "configure:6068: checking for __builtin_cos declaration" >&5
6068 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
6069 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6070 echo $ac_n "(cached) $ac_c" 1>&6
6075 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6076 ac_cpp='$CXXCPP $CPPFLAGS'
6077 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6078 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6079 cross_compiling=$ac_cv_prog_cxx_cross
6081 cat > conftest.$ac_ext <<EOF
6082 #line 6083 "configure"
6083 #include "confdefs.h"
6089 if { (eval echo configure:6090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6091 glibcpp_cv_func___builtin_cos_use=yes
6093 echo "configure: failed program was:" >&5
6094 cat conftest.$ac_ext >&5
6096 glibcpp_cv_func___builtin_cos_use=no
6100 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6101 ac_cpp='$CPP $CPPFLAGS'
6102 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6103 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6104 cross_compiling=$ac_cv_prog_cc_cross
6110 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6111 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
6112 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
6113 echo "configure:6114: checking for __builtin_cos linkage" >&5
6114 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
6115 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6116 echo $ac_n "(cached) $ac_c" 1>&6
6119 cat > conftest.$ac_ext <<EOF
6120 #line 6121 "configure"
6121 #include "confdefs.h"
6127 if { (eval echo configure:6128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6129 glibcpp_cv_func___builtin_cos_link=yes
6131 echo "configure: failed program was:" >&5
6132 cat conftest.$ac_ext >&5
6134 glibcpp_cv_func___builtin_cos_link=no
6141 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6142 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
6143 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6144 cat >> confdefs.h <<EOF
6145 #define ${ac_tr_func} 1
6152 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
6153 echo "configure:6154: checking for __builtin_cosl declaration" >&5
6154 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
6155 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6156 echo $ac_n "(cached) $ac_c" 1>&6
6161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6162 ac_cpp='$CXXCPP $CPPFLAGS'
6163 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6164 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6165 cross_compiling=$ac_cv_prog_cxx_cross
6167 cat > conftest.$ac_ext <<EOF
6168 #line 6169 "configure"
6169 #include "confdefs.h"
6175 if { (eval echo configure:6176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6177 glibcpp_cv_func___builtin_cosl_use=yes
6179 echo "configure: failed program was:" >&5
6180 cat conftest.$ac_ext >&5
6182 glibcpp_cv_func___builtin_cosl_use=no
6186 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6187 ac_cpp='$CPP $CPPFLAGS'
6188 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6189 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6190 cross_compiling=$ac_cv_prog_cc_cross
6196 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6197 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
6198 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
6199 echo "configure:6200: checking for __builtin_cosl linkage" >&5
6200 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
6201 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6202 echo $ac_n "(cached) $ac_c" 1>&6
6205 cat > conftest.$ac_ext <<EOF
6206 #line 6207 "configure"
6207 #include "confdefs.h"
6213 if { (eval echo configure:6214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6215 glibcpp_cv_func___builtin_cosl_link=yes
6217 echo "configure: failed program was:" >&5
6218 cat conftest.$ac_ext >&5
6220 glibcpp_cv_func___builtin_cosl_link=no
6227 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6228 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
6229 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6230 cat >> confdefs.h <<EOF
6231 #define ${ac_tr_func} 1
6239 if test x$dummyvar = x"yes"; then
6240 cat >> confdefs.h <<\EOF
6241 #define HAVE___BUILTIN_ABS 1
6244 cat >> confdefs.h <<\EOF
6245 #define HAVE___BUILTIN_LABS 1
6248 cat >> confdefs.h <<\EOF
6249 #define HAVE___BUILTIN_COS 1
6252 cat >> confdefs.h <<\EOF
6253 #define HAVE___BUILTIN_COSF 1
6256 cat >> confdefs.h <<\EOF
6257 #define HAVE___BUILTIN_COSL 1
6260 cat >> confdefs.h <<\EOF
6261 #define HAVE___BUILTIN_FABS 1
6264 cat >> confdefs.h <<\EOF
6265 #define HAVE___BUILTIN_FABSF 1
6268 cat >> confdefs.h <<\EOF
6269 #define HAVE___BUILTIN_FABSL 1
6272 cat >> confdefs.h <<\EOF
6273 #define HAVE___BUILTIN_SIN 1
6276 cat >> confdefs.h <<\EOF
6277 #define HAVE___BUILTIN_SINF 1
6280 cat >> confdefs.h <<\EOF
6281 #define HAVE___BUILTIN_SINL 1
6284 cat >> confdefs.h <<\EOF
6285 #define HAVE___BUILTIN_FSQRT 1
6288 cat >> confdefs.h <<\EOF
6289 #define HAVE___BUILTIN_SQRTF 1
6292 cat >> confdefs.h <<\EOF
6293 #define HAVE___BUILTIN_SQRTL 1
6299 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6300 ac_save_CXXFLAGS="$CXXFLAGS"
6301 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
6303 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
6304 echo "configure:6305: checking for sin in -lm" >&5
6305 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
6306 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6307 echo $ac_n "(cached) $ac_c" 1>&6
6309 ac_save_LIBS="$LIBS"
6311 cat > conftest.$ac_ext <<EOF
6312 #line 6313 "configure"
6313 #include "confdefs.h"
6314 /* Override any gcc2 internal prototype to avoid an error. */
6315 /* We use char because int might match the return type of a gcc2
6316 builtin and then its argument prototype would still apply. */
6323 if { (eval echo configure:6324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6325 eval "ac_cv_lib_$ac_lib_var=yes"
6327 echo "configure: failed program was:" >&5
6328 cat conftest.$ac_ext >&5
6330 eval "ac_cv_lib_$ac_lib_var=no"
6333 LIBS="$ac_save_LIBS"
6336 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6337 echo "$ac_t""yes" 1>&6
6340 echo "$ac_t""no" 1>&6
6343 ac_save_LIBS="$LIBS"
6348 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
6349 echo "configure:6350: checking for isinf declaration" >&5
6350 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
6351 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6352 echo $ac_n "(cached) $ac_c" 1>&6
6357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6358 ac_cpp='$CXXCPP $CPPFLAGS'
6359 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6360 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6361 cross_compiling=$ac_cv_prog_cxx_cross
6363 cat > conftest.$ac_ext <<EOF
6364 #line 6365 "configure"
6365 #include "confdefs.h"
6367 #ifdef HAVE_IEEEFP_H
6375 if { (eval echo configure:6376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6377 glibcpp_cv_func_isinf_use=yes
6379 echo "configure: failed program was:" >&5
6380 cat conftest.$ac_ext >&5
6382 glibcpp_cv_func_isinf_use=no
6386 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6387 ac_cpp='$CPP $CPPFLAGS'
6388 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6389 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6390 cross_compiling=$ac_cv_prog_cc_cross
6396 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6398 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
6399 for ac_func in isinf
6401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6402 echo "configure:6403: checking for $ac_func" >&5
6403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6404 echo $ac_n "(cached) $ac_c" 1>&6
6406 cat > conftest.$ac_ext <<EOF
6407 #line 6408 "configure"
6408 #include "confdefs.h"
6409 /* System header to define __stub macros and hopefully few prototypes,
6410 which can conflict with char $ac_func(); below. */
6412 /* Override any gcc2 internal prototype to avoid an error. */
6413 /* We use char because int might match the return type of a gcc2
6414 builtin and then its argument prototype would still apply. */
6419 /* The GNU C library defines this for functions which it implements
6420 to always fail with ENOSYS. Some functions are actually named
6421 something starting with __ and the normal name is an alias. */
6422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6430 if { (eval echo configure:6431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6432 eval "ac_cv_func_$ac_func=yes"
6434 echo "configure: failed program was:" >&5
6435 cat conftest.$ac_ext >&5
6437 eval "ac_cv_func_$ac_func=no"
6442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6443 echo "$ac_t""yes" 1>&6
6444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6445 cat >> confdefs.h <<EOF
6446 #define $ac_tr_func 1
6450 echo "$ac_t""no" 1>&6
6456 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6457 echo "configure:6458: checking for _isinf declaration" >&5
6458 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6459 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6460 echo $ac_n "(cached) $ac_c" 1>&6
6465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6466 ac_cpp='$CXXCPP $CPPFLAGS'
6467 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6468 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6469 cross_compiling=$ac_cv_prog_cxx_cross
6471 cat > conftest.$ac_ext <<EOF
6472 #line 6473 "configure"
6473 #include "confdefs.h"
6475 #ifdef HAVE_IEEEFP_H
6483 if { (eval echo configure:6484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6485 glibcpp_cv_func__isinf_use=yes
6487 echo "configure: failed program was:" >&5
6488 cat conftest.$ac_ext >&5
6490 glibcpp_cv_func__isinf_use=no
6494 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6495 ac_cpp='$CPP $CPPFLAGS'
6496 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6497 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6498 cross_compiling=$ac_cv_prog_cc_cross
6504 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6506 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6507 for ac_func in _isinf
6509 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6510 echo "configure:6511: checking for $ac_func" >&5
6511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6512 echo $ac_n "(cached) $ac_c" 1>&6
6514 cat > conftest.$ac_ext <<EOF
6515 #line 6516 "configure"
6516 #include "confdefs.h"
6517 /* System header to define __stub macros and hopefully few prototypes,
6518 which can conflict with char $ac_func(); below. */
6520 /* Override any gcc2 internal prototype to avoid an error. */
6521 /* We use char because int might match the return type of a gcc2
6522 builtin and then its argument prototype would still apply. */
6527 /* The GNU C library defines this for functions which it implements
6528 to always fail with ENOSYS. Some functions are actually named
6529 something starting with __ and the normal name is an alias. */
6530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6538 if { (eval echo configure:6539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6540 eval "ac_cv_func_$ac_func=yes"
6542 echo "configure: failed program was:" >&5
6543 cat conftest.$ac_ext >&5
6545 eval "ac_cv_func_$ac_func=no"
6550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6551 echo "$ac_t""yes" 1>&6
6552 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6553 cat >> confdefs.h <<EOF
6554 #define $ac_tr_func 1
6558 echo "$ac_t""no" 1>&6
6567 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6568 echo "configure:6569: checking for isnan declaration" >&5
6569 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6570 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6571 echo $ac_n "(cached) $ac_c" 1>&6
6576 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6577 ac_cpp='$CXXCPP $CPPFLAGS'
6578 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6579 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6580 cross_compiling=$ac_cv_prog_cxx_cross
6582 cat > conftest.$ac_ext <<EOF
6583 #line 6584 "configure"
6584 #include "confdefs.h"
6586 #ifdef HAVE_IEEEFP_H
6594 if { (eval echo configure:6595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6596 glibcpp_cv_func_isnan_use=yes
6598 echo "configure: failed program was:" >&5
6599 cat conftest.$ac_ext >&5
6601 glibcpp_cv_func_isnan_use=no
6605 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6606 ac_cpp='$CPP $CPPFLAGS'
6607 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6608 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6609 cross_compiling=$ac_cv_prog_cc_cross
6615 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6617 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6618 for ac_func in isnan
6620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6621 echo "configure:6622: checking for $ac_func" >&5
6622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6623 echo $ac_n "(cached) $ac_c" 1>&6
6625 cat > conftest.$ac_ext <<EOF
6626 #line 6627 "configure"
6627 #include "confdefs.h"
6628 /* System header to define __stub macros and hopefully few prototypes,
6629 which can conflict with char $ac_func(); below. */
6631 /* Override any gcc2 internal prototype to avoid an error. */
6632 /* We use char because int might match the return type of a gcc2
6633 builtin and then its argument prototype would still apply. */
6638 /* The GNU C library defines this for functions which it implements
6639 to always fail with ENOSYS. Some functions are actually named
6640 something starting with __ and the normal name is an alias. */
6641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6649 if { (eval echo configure:6650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6651 eval "ac_cv_func_$ac_func=yes"
6653 echo "configure: failed program was:" >&5
6654 cat conftest.$ac_ext >&5
6656 eval "ac_cv_func_$ac_func=no"
6661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6662 echo "$ac_t""yes" 1>&6
6663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6664 cat >> confdefs.h <<EOF
6665 #define $ac_tr_func 1
6669 echo "$ac_t""no" 1>&6
6675 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6676 echo "configure:6677: checking for _isnan declaration" >&5
6677 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6678 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6679 echo $ac_n "(cached) $ac_c" 1>&6
6684 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6685 ac_cpp='$CXXCPP $CPPFLAGS'
6686 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6687 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6688 cross_compiling=$ac_cv_prog_cxx_cross
6690 cat > conftest.$ac_ext <<EOF
6691 #line 6692 "configure"
6692 #include "confdefs.h"
6694 #ifdef HAVE_IEEEFP_H
6702 if { (eval echo configure:6703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6704 glibcpp_cv_func__isnan_use=yes
6706 echo "configure: failed program was:" >&5
6707 cat conftest.$ac_ext >&5
6709 glibcpp_cv_func__isnan_use=no
6713 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6714 ac_cpp='$CPP $CPPFLAGS'
6715 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6716 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6717 cross_compiling=$ac_cv_prog_cc_cross
6723 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6725 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
6726 for ac_func in _isnan
6728 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6729 echo "configure:6730: checking for $ac_func" >&5
6730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6731 echo $ac_n "(cached) $ac_c" 1>&6
6733 cat > conftest.$ac_ext <<EOF
6734 #line 6735 "configure"
6735 #include "confdefs.h"
6736 /* System header to define __stub macros and hopefully few prototypes,
6737 which can conflict with char $ac_func(); below. */
6739 /* Override any gcc2 internal prototype to avoid an error. */
6740 /* We use char because int might match the return type of a gcc2
6741 builtin and then its argument prototype would still apply. */
6746 /* The GNU C library defines this for functions which it implements
6747 to always fail with ENOSYS. Some functions are actually named
6748 something starting with __ and the normal name is an alias. */
6749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6757 if { (eval echo configure:6758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6759 eval "ac_cv_func_$ac_func=yes"
6761 echo "configure: failed program was:" >&5
6762 cat conftest.$ac_ext >&5
6764 eval "ac_cv_func_$ac_func=no"
6769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6770 echo "$ac_t""yes" 1>&6
6771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6772 cat >> confdefs.h <<EOF
6773 #define $ac_tr_func 1
6777 echo "$ac_t""no" 1>&6
6786 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
6787 echo "configure:6788: checking for finite declaration" >&5
6788 if test x${glibcpp_cv_func_finite_use+set} != xset; then
6789 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6790 echo $ac_n "(cached) $ac_c" 1>&6
6795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6796 ac_cpp='$CXXCPP $CPPFLAGS'
6797 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6798 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6799 cross_compiling=$ac_cv_prog_cxx_cross
6801 cat > conftest.$ac_ext <<EOF
6802 #line 6803 "configure"
6803 #include "confdefs.h"
6805 #ifdef HAVE_IEEEFP_H
6813 if { (eval echo configure:6814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6815 glibcpp_cv_func_finite_use=yes
6817 echo "configure: failed program was:" >&5
6818 cat conftest.$ac_ext >&5
6820 glibcpp_cv_func_finite_use=no
6824 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6825 ac_cpp='$CPP $CPPFLAGS'
6826 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6827 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6828 cross_compiling=$ac_cv_prog_cc_cross
6834 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
6836 if test x$glibcpp_cv_func_finite_use = x"yes"; then
6837 for ac_func in finite
6839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6840 echo "configure:6841: checking for $ac_func" >&5
6841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6842 echo $ac_n "(cached) $ac_c" 1>&6
6844 cat > conftest.$ac_ext <<EOF
6845 #line 6846 "configure"
6846 #include "confdefs.h"
6847 /* System header to define __stub macros and hopefully few prototypes,
6848 which can conflict with char $ac_func(); below. */
6850 /* Override any gcc2 internal prototype to avoid an error. */
6851 /* We use char because int might match the return type of a gcc2
6852 builtin and then its argument prototype would still apply. */
6857 /* The GNU C library defines this for functions which it implements
6858 to always fail with ENOSYS. Some functions are actually named
6859 something starting with __ and the normal name is an alias. */
6860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6868 if { (eval echo configure:6869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6870 eval "ac_cv_func_$ac_func=yes"
6872 echo "configure: failed program was:" >&5
6873 cat conftest.$ac_ext >&5
6875 eval "ac_cv_func_$ac_func=no"
6880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6881 echo "$ac_t""yes" 1>&6
6882 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6883 cat >> confdefs.h <<EOF
6884 #define $ac_tr_func 1
6888 echo "$ac_t""no" 1>&6
6894 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
6895 echo "configure:6896: checking for _finite declaration" >&5
6896 if test x${glibcpp_cv_func__finite_use+set} != xset; then
6897 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
6898 echo $ac_n "(cached) $ac_c" 1>&6
6903 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6904 ac_cpp='$CXXCPP $CPPFLAGS'
6905 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6906 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6907 cross_compiling=$ac_cv_prog_cxx_cross
6909 cat > conftest.$ac_ext <<EOF
6910 #line 6911 "configure"
6911 #include "confdefs.h"
6913 #ifdef HAVE_IEEEFP_H
6921 if { (eval echo configure:6922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6923 glibcpp_cv_func__finite_use=yes
6925 echo "configure: failed program was:" >&5
6926 cat conftest.$ac_ext >&5
6928 glibcpp_cv_func__finite_use=no
6932 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6933 ac_cpp='$CPP $CPPFLAGS'
6934 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6935 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6936 cross_compiling=$ac_cv_prog_cc_cross
6942 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
6944 if test x$glibcpp_cv_func__finite_use = x"yes"; then
6945 for ac_func in _finite
6947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6948 echo "configure:6949: checking for $ac_func" >&5
6949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6950 echo $ac_n "(cached) $ac_c" 1>&6
6952 cat > conftest.$ac_ext <<EOF
6953 #line 6954 "configure"
6954 #include "confdefs.h"
6955 /* System header to define __stub macros and hopefully few prototypes,
6956 which can conflict with char $ac_func(); below. */
6958 /* Override any gcc2 internal prototype to avoid an error. */
6959 /* We use char because int might match the return type of a gcc2
6960 builtin and then its argument prototype would still apply. */
6965 /* The GNU C library defines this for functions which it implements
6966 to always fail with ENOSYS. Some functions are actually named
6967 something starting with __ and the normal name is an alias. */
6968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6976 if { (eval echo configure:6977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6978 eval "ac_cv_func_$ac_func=yes"
6980 echo "configure: failed program was:" >&5
6981 cat conftest.$ac_ext >&5
6983 eval "ac_cv_func_$ac_func=no"
6988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6989 echo "$ac_t""yes" 1>&6
6990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6991 cat >> confdefs.h <<EOF
6992 #define $ac_tr_func 1
6996 echo "$ac_t""no" 1>&6
7005 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
7006 echo "configure:7007: checking for copysign declaration" >&5
7007 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
7008 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7009 echo $ac_n "(cached) $ac_c" 1>&6
7014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7015 ac_cpp='$CXXCPP $CPPFLAGS'
7016 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7017 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7018 cross_compiling=$ac_cv_prog_cxx_cross
7020 cat > conftest.$ac_ext <<EOF
7021 #line 7022 "configure"
7022 #include "confdefs.h"
7028 if { (eval echo configure:7029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7030 glibcpp_cv_func_copysign_use=yes
7032 echo "configure: failed program was:" >&5
7033 cat conftest.$ac_ext >&5
7035 glibcpp_cv_func_copysign_use=no
7039 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7040 ac_cpp='$CPP $CPPFLAGS'
7041 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7042 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7043 cross_compiling=$ac_cv_prog_cc_cross
7049 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7051 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
7052 for ac_func in copysign
7054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7055 echo "configure:7056: checking for $ac_func" >&5
7056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7057 echo $ac_n "(cached) $ac_c" 1>&6
7059 cat > conftest.$ac_ext <<EOF
7060 #line 7061 "configure"
7061 #include "confdefs.h"
7062 /* System header to define __stub macros and hopefully few prototypes,
7063 which can conflict with char $ac_func(); below. */
7065 /* Override any gcc2 internal prototype to avoid an error. */
7066 /* We use char because int might match the return type of a gcc2
7067 builtin and then its argument prototype would still apply. */
7072 /* The GNU C library defines this for functions which it implements
7073 to always fail with ENOSYS. Some functions are actually named
7074 something starting with __ and the normal name is an alias. */
7075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7083 if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7085 eval "ac_cv_func_$ac_func=yes"
7087 echo "configure: failed program was:" >&5
7088 cat conftest.$ac_ext >&5
7090 eval "ac_cv_func_$ac_func=no"
7095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7096 echo "$ac_t""yes" 1>&6
7097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7098 cat >> confdefs.h <<EOF
7099 #define $ac_tr_func 1
7103 echo "$ac_t""no" 1>&6
7109 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
7110 echo "configure:7111: checking for _copysign declaration" >&5
7111 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
7112 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7113 echo $ac_n "(cached) $ac_c" 1>&6
7118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7119 ac_cpp='$CXXCPP $CPPFLAGS'
7120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7122 cross_compiling=$ac_cv_prog_cxx_cross
7124 cat > conftest.$ac_ext <<EOF
7125 #line 7126 "configure"
7126 #include "confdefs.h"
7132 if { (eval echo configure:7133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7134 glibcpp_cv_func__copysign_use=yes
7136 echo "configure: failed program was:" >&5
7137 cat conftest.$ac_ext >&5
7139 glibcpp_cv_func__copysign_use=no
7143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7144 ac_cpp='$CPP $CPPFLAGS'
7145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7147 cross_compiling=$ac_cv_prog_cc_cross
7153 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7155 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
7156 for ac_func in _copysign
7158 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7159 echo "configure:7160: checking for $ac_func" >&5
7160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7161 echo $ac_n "(cached) $ac_c" 1>&6
7163 cat > conftest.$ac_ext <<EOF
7164 #line 7165 "configure"
7165 #include "confdefs.h"
7166 /* System header to define __stub macros and hopefully few prototypes,
7167 which can conflict with char $ac_func(); below. */
7169 /* Override any gcc2 internal prototype to avoid an error. */
7170 /* We use char because int might match the return type of a gcc2
7171 builtin and then its argument prototype would still apply. */
7176 /* The GNU C library defines this for functions which it implements
7177 to always fail with ENOSYS. Some functions are actually named
7178 something starting with __ and the normal name is an alias. */
7179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7187 if { (eval echo configure:7188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7189 eval "ac_cv_func_$ac_func=yes"
7191 echo "configure: failed program was:" >&5
7192 cat conftest.$ac_ext >&5
7194 eval "ac_cv_func_$ac_func=no"
7199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7200 echo "$ac_t""yes" 1>&6
7201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7202 cat >> confdefs.h <<EOF
7203 #define $ac_tr_func 1
7207 echo "$ac_t""no" 1>&6
7216 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
7217 echo "configure:7218: checking for sincos declaration" >&5
7218 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
7219 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7220 echo $ac_n "(cached) $ac_c" 1>&6
7225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7226 ac_cpp='$CXXCPP $CPPFLAGS'
7227 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7228 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7229 cross_compiling=$ac_cv_prog_cxx_cross
7231 cat > conftest.$ac_ext <<EOF
7232 #line 7233 "configure"
7233 #include "confdefs.h"
7239 if { (eval echo configure:7240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7241 glibcpp_cv_func_sincos_use=yes
7243 echo "configure: failed program was:" >&5
7244 cat conftest.$ac_ext >&5
7246 glibcpp_cv_func_sincos_use=no
7250 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7251 ac_cpp='$CPP $CPPFLAGS'
7252 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7253 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7254 cross_compiling=$ac_cv_prog_cc_cross
7260 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7262 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
7263 for ac_func in sincos
7265 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7266 echo "configure:7267: checking for $ac_func" >&5
7267 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7268 echo $ac_n "(cached) $ac_c" 1>&6
7270 cat > conftest.$ac_ext <<EOF
7271 #line 7272 "configure"
7272 #include "confdefs.h"
7273 /* System header to define __stub macros and hopefully few prototypes,
7274 which can conflict with char $ac_func(); below. */
7276 /* Override any gcc2 internal prototype to avoid an error. */
7277 /* We use char because int might match the return type of a gcc2
7278 builtin and then its argument prototype would still apply. */
7283 /* The GNU C library defines this for functions which it implements
7284 to always fail with ENOSYS. Some functions are actually named
7285 something starting with __ and the normal name is an alias. */
7286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7294 if { (eval echo configure:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7296 eval "ac_cv_func_$ac_func=yes"
7298 echo "configure: failed program was:" >&5
7299 cat conftest.$ac_ext >&5
7301 eval "ac_cv_func_$ac_func=no"
7306 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7307 echo "$ac_t""yes" 1>&6
7308 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7309 cat >> confdefs.h <<EOF
7310 #define $ac_tr_func 1
7314 echo "$ac_t""no" 1>&6
7320 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
7321 echo "configure:7322: checking for _sincos declaration" >&5
7322 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
7323 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7324 echo $ac_n "(cached) $ac_c" 1>&6
7329 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7330 ac_cpp='$CXXCPP $CPPFLAGS'
7331 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7332 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7333 cross_compiling=$ac_cv_prog_cxx_cross
7335 cat > conftest.$ac_ext <<EOF
7336 #line 7337 "configure"
7337 #include "confdefs.h"
7343 if { (eval echo configure:7344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7345 glibcpp_cv_func__sincos_use=yes
7347 echo "configure: failed program was:" >&5
7348 cat conftest.$ac_ext >&5
7350 glibcpp_cv_func__sincos_use=no
7354 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7355 ac_cpp='$CPP $CPPFLAGS'
7356 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7357 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7358 cross_compiling=$ac_cv_prog_cc_cross
7364 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7366 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
7367 for ac_func in _sincos
7369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7370 echo "configure:7371: checking for $ac_func" >&5
7371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7372 echo $ac_n "(cached) $ac_c" 1>&6
7374 cat > conftest.$ac_ext <<EOF
7375 #line 7376 "configure"
7376 #include "confdefs.h"
7377 /* System header to define __stub macros and hopefully few prototypes,
7378 which can conflict with char $ac_func(); below. */
7380 /* Override any gcc2 internal prototype to avoid an error. */
7381 /* We use char because int might match the return type of a gcc2
7382 builtin and then its argument prototype would still apply. */
7387 /* The GNU C library defines this for functions which it implements
7388 to always fail with ENOSYS. Some functions are actually named
7389 something starting with __ and the normal name is an alias. */
7390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7398 if { (eval echo configure:7399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7400 eval "ac_cv_func_$ac_func=yes"
7402 echo "configure: failed program was:" >&5
7403 cat conftest.$ac_ext >&5
7405 eval "ac_cv_func_$ac_func=no"
7410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7411 echo "$ac_t""yes" 1>&6
7412 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7413 cat >> confdefs.h <<EOF
7414 #define $ac_tr_func 1
7418 echo "$ac_t""no" 1>&6
7427 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7428 echo "configure:7429: checking for fpclass declaration" >&5
7429 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7430 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7431 echo $ac_n "(cached) $ac_c" 1>&6
7436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7437 ac_cpp='$CXXCPP $CPPFLAGS'
7438 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7439 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7440 cross_compiling=$ac_cv_prog_cxx_cross
7442 cat > conftest.$ac_ext <<EOF
7443 #line 7444 "configure"
7444 #include "confdefs.h"
7446 #ifdef HAVE_IEEEFP_H
7454 if { (eval echo configure:7455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7456 glibcpp_cv_func_fpclass_use=yes
7458 echo "configure: failed program was:" >&5
7459 cat conftest.$ac_ext >&5
7461 glibcpp_cv_func_fpclass_use=no
7465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7466 ac_cpp='$CPP $CPPFLAGS'
7467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7469 cross_compiling=$ac_cv_prog_cc_cross
7475 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7477 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7478 for ac_func in fpclass
7480 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7481 echo "configure:7482: checking for $ac_func" >&5
7482 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7483 echo $ac_n "(cached) $ac_c" 1>&6
7485 cat > conftest.$ac_ext <<EOF
7486 #line 7487 "configure"
7487 #include "confdefs.h"
7488 /* System header to define __stub macros and hopefully few prototypes,
7489 which can conflict with char $ac_func(); below. */
7491 /* Override any gcc2 internal prototype to avoid an error. */
7492 /* We use char because int might match the return type of a gcc2
7493 builtin and then its argument prototype would still apply. */
7498 /* The GNU C library defines this for functions which it implements
7499 to always fail with ENOSYS. Some functions are actually named
7500 something starting with __ and the normal name is an alias. */
7501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7509 if { (eval echo configure:7510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7511 eval "ac_cv_func_$ac_func=yes"
7513 echo "configure: failed program was:" >&5
7514 cat conftest.$ac_ext >&5
7516 eval "ac_cv_func_$ac_func=no"
7521 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7522 echo "$ac_t""yes" 1>&6
7523 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7524 cat >> confdefs.h <<EOF
7525 #define $ac_tr_func 1
7529 echo "$ac_t""no" 1>&6
7535 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7536 echo "configure:7537: checking for _fpclass declaration" >&5
7537 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7538 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7539 echo $ac_n "(cached) $ac_c" 1>&6
7544 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7545 ac_cpp='$CXXCPP $CPPFLAGS'
7546 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7547 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7548 cross_compiling=$ac_cv_prog_cxx_cross
7550 cat > conftest.$ac_ext <<EOF
7551 #line 7552 "configure"
7552 #include "confdefs.h"
7554 #ifdef HAVE_IEEEFP_H
7562 if { (eval echo configure:7563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7564 glibcpp_cv_func__fpclass_use=yes
7566 echo "configure: failed program was:" >&5
7567 cat conftest.$ac_ext >&5
7569 glibcpp_cv_func__fpclass_use=no
7573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7574 ac_cpp='$CPP $CPPFLAGS'
7575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7577 cross_compiling=$ac_cv_prog_cc_cross
7583 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7585 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7586 for ac_func in _fpclass
7588 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7589 echo "configure:7590: checking for $ac_func" >&5
7590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7591 echo $ac_n "(cached) $ac_c" 1>&6
7593 cat > conftest.$ac_ext <<EOF
7594 #line 7595 "configure"
7595 #include "confdefs.h"
7596 /* System header to define __stub macros and hopefully few prototypes,
7597 which can conflict with char $ac_func(); below. */
7599 /* Override any gcc2 internal prototype to avoid an error. */
7600 /* We use char because int might match the return type of a gcc2
7601 builtin and then its argument prototype would still apply. */
7606 /* The GNU C library defines this for functions which it implements
7607 to always fail with ENOSYS. Some functions are actually named
7608 something starting with __ and the normal name is an alias. */
7609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7617 if { (eval echo configure:7618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7619 eval "ac_cv_func_$ac_func=yes"
7621 echo "configure: failed program was:" >&5
7622 cat conftest.$ac_ext >&5
7624 eval "ac_cv_func_$ac_func=no"
7629 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7630 echo "$ac_t""yes" 1>&6
7631 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7632 cat >> confdefs.h <<EOF
7633 #define $ac_tr_func 1
7637 echo "$ac_t""no" 1>&6
7646 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7647 echo "configure:7648: checking for qfpclass declaration" >&5
7648 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7649 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7650 echo $ac_n "(cached) $ac_c" 1>&6
7655 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7656 ac_cpp='$CXXCPP $CPPFLAGS'
7657 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7658 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7659 cross_compiling=$ac_cv_prog_cxx_cross
7661 cat > conftest.$ac_ext <<EOF
7662 #line 7663 "configure"
7663 #include "confdefs.h"
7665 #ifdef HAVE_IEEEFP_H
7673 if { (eval echo configure:7674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7675 glibcpp_cv_func_qfpclass_use=yes
7677 echo "configure: failed program was:" >&5
7678 cat conftest.$ac_ext >&5
7680 glibcpp_cv_func_qfpclass_use=no
7684 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7685 ac_cpp='$CPP $CPPFLAGS'
7686 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7687 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7688 cross_compiling=$ac_cv_prog_cc_cross
7694 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7696 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
7697 for ac_func in qfpclass
7699 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7700 echo "configure:7701: checking for $ac_func" >&5
7701 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7702 echo $ac_n "(cached) $ac_c" 1>&6
7704 cat > conftest.$ac_ext <<EOF
7705 #line 7706 "configure"
7706 #include "confdefs.h"
7707 /* System header to define __stub macros and hopefully few prototypes,
7708 which can conflict with char $ac_func(); below. */
7710 /* Override any gcc2 internal prototype to avoid an error. */
7711 /* We use char because int might match the return type of a gcc2
7712 builtin and then its argument prototype would still apply. */
7717 /* The GNU C library defines this for functions which it implements
7718 to always fail with ENOSYS. Some functions are actually named
7719 something starting with __ and the normal name is an alias. */
7720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7728 if { (eval echo configure:7729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7730 eval "ac_cv_func_$ac_func=yes"
7732 echo "configure: failed program was:" >&5
7733 cat conftest.$ac_ext >&5
7735 eval "ac_cv_func_$ac_func=no"
7740 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7741 echo "$ac_t""yes" 1>&6
7742 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7743 cat >> confdefs.h <<EOF
7744 #define $ac_tr_func 1
7748 echo "$ac_t""no" 1>&6
7754 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
7755 echo "configure:7756: checking for _qfpclass declaration" >&5
7756 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
7757 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7758 echo $ac_n "(cached) $ac_c" 1>&6
7763 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7764 ac_cpp='$CXXCPP $CPPFLAGS'
7765 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7766 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7767 cross_compiling=$ac_cv_prog_cxx_cross
7769 cat > conftest.$ac_ext <<EOF
7770 #line 7771 "configure"
7771 #include "confdefs.h"
7773 #ifdef HAVE_IEEEFP_H
7781 if { (eval echo configure:7782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7783 glibcpp_cv_func__qfpclass_use=yes
7785 echo "configure: failed program was:" >&5
7786 cat conftest.$ac_ext >&5
7788 glibcpp_cv_func__qfpclass_use=no
7792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7793 ac_cpp='$CPP $CPPFLAGS'
7794 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7795 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7796 cross_compiling=$ac_cv_prog_cc_cross
7802 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7804 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
7805 for ac_func in _qfpclass
7807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7808 echo "configure:7809: checking for $ac_func" >&5
7809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7810 echo $ac_n "(cached) $ac_c" 1>&6
7812 cat > conftest.$ac_ext <<EOF
7813 #line 7814 "configure"
7814 #include "confdefs.h"
7815 /* System header to define __stub macros and hopefully few prototypes,
7816 which can conflict with char $ac_func(); below. */
7818 /* Override any gcc2 internal prototype to avoid an error. */
7819 /* We use char because int might match the return type of a gcc2
7820 builtin and then its argument prototype would still apply. */
7825 /* The GNU C library defines this for functions which it implements
7826 to always fail with ENOSYS. Some functions are actually named
7827 something starting with __ and the normal name is an alias. */
7828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7836 if { (eval echo configure:7837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7838 eval "ac_cv_func_$ac_func=yes"
7840 echo "configure: failed program was:" >&5
7841 cat conftest.$ac_ext >&5
7843 eval "ac_cv_func_$ac_func=no"
7848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7849 echo "$ac_t""yes" 1>&6
7850 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7851 cat >> confdefs.h <<EOF
7852 #define $ac_tr_func 1
7856 echo "$ac_t""no" 1>&6
7865 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
7866 echo "configure:7867: checking for float trig functions" >&5
7867 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
7868 echo $ac_n "(cached) $ac_c" 1>&6
7873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7874 ac_cpp='$CXXCPP $CPPFLAGS'
7875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7877 cross_compiling=$ac_cv_prog_cxx_cross
7879 cat > conftest.$ac_ext <<EOF
7880 #line 7881 "configure"
7881 #include "confdefs.h"
7884 `for x in acosf asinf atanf \
7886 coshf sinhf tanhf; do echo "$x (0);"; done`
7889 if { (eval echo configure:7890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7891 glibcpp_cv_func_float_trig_use=yes
7893 echo "configure: failed program was:" >&5
7894 cat conftest.$ac_ext >&5
7896 glibcpp_cv_func_float_trig_use=no
7900 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7901 ac_cpp='$CPP $CPPFLAGS'
7902 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7903 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7904 cross_compiling=$ac_cv_prog_cc_cross
7908 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
7909 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
7910 for ac_func in acosf asinf atanf \
7914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7915 echo "configure:7916: checking for $ac_func" >&5
7916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7917 echo $ac_n "(cached) $ac_c" 1>&6
7919 cat > conftest.$ac_ext <<EOF
7920 #line 7921 "configure"
7921 #include "confdefs.h"
7922 /* System header to define __stub macros and hopefully few prototypes,
7923 which can conflict with char $ac_func(); below. */
7925 /* Override any gcc2 internal prototype to avoid an error. */
7926 /* We use char because int might match the return type of a gcc2
7927 builtin and then its argument prototype would still apply. */
7932 /* The GNU C library defines this for functions which it implements
7933 to always fail with ENOSYS. Some functions are actually named
7934 something starting with __ and the normal name is an alias. */
7935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7943 if { (eval echo configure:7944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7945 eval "ac_cv_func_$ac_func=yes"
7947 echo "configure: failed program was:" >&5
7948 cat conftest.$ac_ext >&5
7950 eval "ac_cv_func_$ac_func=no"
7955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7956 echo "$ac_t""yes" 1>&6
7957 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7958 cat >> confdefs.h <<EOF
7959 #define $ac_tr_func 1
7963 echo "$ac_t""no" 1>&6
7970 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
7971 echo "configure:7972: checking for float round functions" >&5
7972 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
7973 echo $ac_n "(cached) $ac_c" 1>&6
7978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7979 ac_cpp='$CXXCPP $CPPFLAGS'
7980 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7981 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7982 cross_compiling=$ac_cv_prog_cxx_cross
7984 cat > conftest.$ac_ext <<EOF
7985 #line 7986 "configure"
7986 #include "confdefs.h"
7989 `for x in ceilf floorf; do echo "$x (0);"; done`
7992 if { (eval echo configure:7993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7994 glibcpp_cv_func_float_round_use=yes
7996 echo "configure: failed program was:" >&5
7997 cat conftest.$ac_ext >&5
7999 glibcpp_cv_func_float_round_use=no
8003 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8004 ac_cpp='$CPP $CPPFLAGS'
8005 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8006 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8007 cross_compiling=$ac_cv_prog_cc_cross
8011 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8012 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
8013 for ac_func in ceilf floorf
8015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8016 echo "configure:8017: checking for $ac_func" >&5
8017 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8018 echo $ac_n "(cached) $ac_c" 1>&6
8020 cat > conftest.$ac_ext <<EOF
8021 #line 8022 "configure"
8022 #include "confdefs.h"
8023 /* System header to define __stub macros and hopefully few prototypes,
8024 which can conflict with char $ac_func(); below. */
8026 /* Override any gcc2 internal prototype to avoid an error. */
8027 /* We use char because int might match the return type of a gcc2
8028 builtin and then its argument prototype would still apply. */
8033 /* The GNU C library defines this for functions which it implements
8034 to always fail with ENOSYS. Some functions are actually named
8035 something starting with __ and the normal name is an alias. */
8036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8044 if { (eval echo configure:8045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8046 eval "ac_cv_func_$ac_func=yes"
8048 echo "configure: failed program was:" >&5
8049 cat conftest.$ac_ext >&5
8051 eval "ac_cv_func_$ac_func=no"
8056 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8057 echo "$ac_t""yes" 1>&6
8058 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8059 cat >> confdefs.h <<EOF
8060 #define $ac_tr_func 1
8064 echo "$ac_t""no" 1>&6
8072 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
8073 echo "configure:8074: checking for isnanf declaration" >&5
8074 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
8075 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8076 echo $ac_n "(cached) $ac_c" 1>&6
8081 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8082 ac_cpp='$CXXCPP $CPPFLAGS'
8083 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8084 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8085 cross_compiling=$ac_cv_prog_cxx_cross
8087 cat > conftest.$ac_ext <<EOF
8088 #line 8089 "configure"
8089 #include "confdefs.h"
8091 #ifdef HAVE_IEEEFP_H
8099 if { (eval echo configure:8100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8101 glibcpp_cv_func_isnanf_use=yes
8103 echo "configure: failed program was:" >&5
8104 cat conftest.$ac_ext >&5
8106 glibcpp_cv_func_isnanf_use=no
8110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8111 ac_cpp='$CPP $CPPFLAGS'
8112 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8113 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8114 cross_compiling=$ac_cv_prog_cc_cross
8120 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8122 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
8123 for ac_func in isnanf
8125 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8126 echo "configure:8127: checking for $ac_func" >&5
8127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8128 echo $ac_n "(cached) $ac_c" 1>&6
8130 cat > conftest.$ac_ext <<EOF
8131 #line 8132 "configure"
8132 #include "confdefs.h"
8133 /* System header to define __stub macros and hopefully few prototypes,
8134 which can conflict with char $ac_func(); below. */
8136 /* Override any gcc2 internal prototype to avoid an error. */
8137 /* We use char because int might match the return type of a gcc2
8138 builtin and then its argument prototype would still apply. */
8143 /* The GNU C library defines this for functions which it implements
8144 to always fail with ENOSYS. Some functions are actually named
8145 something starting with __ and the normal name is an alias. */
8146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8154 if { (eval echo configure:8155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8156 eval "ac_cv_func_$ac_func=yes"
8158 echo "configure: failed program was:" >&5
8159 cat conftest.$ac_ext >&5
8161 eval "ac_cv_func_$ac_func=no"
8166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8167 echo "$ac_t""yes" 1>&6
8168 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8169 cat >> confdefs.h <<EOF
8170 #define $ac_tr_func 1
8174 echo "$ac_t""no" 1>&6
8180 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
8181 echo "configure:8182: checking for _isnanf declaration" >&5
8182 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
8183 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8184 echo $ac_n "(cached) $ac_c" 1>&6
8189 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8190 ac_cpp='$CXXCPP $CPPFLAGS'
8191 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8192 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8193 cross_compiling=$ac_cv_prog_cxx_cross
8195 cat > conftest.$ac_ext <<EOF
8196 #line 8197 "configure"
8197 #include "confdefs.h"
8199 #ifdef HAVE_IEEEFP_H
8207 if { (eval echo configure:8208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8209 glibcpp_cv_func__isnanf_use=yes
8211 echo "configure: failed program was:" >&5
8212 cat conftest.$ac_ext >&5
8214 glibcpp_cv_func__isnanf_use=no
8218 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8219 ac_cpp='$CPP $CPPFLAGS'
8220 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8221 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8222 cross_compiling=$ac_cv_prog_cc_cross
8228 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8230 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
8231 for ac_func in _isnanf
8233 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8234 echo "configure:8235: checking for $ac_func" >&5
8235 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8236 echo $ac_n "(cached) $ac_c" 1>&6
8238 cat > conftest.$ac_ext <<EOF
8239 #line 8240 "configure"
8240 #include "confdefs.h"
8241 /* System header to define __stub macros and hopefully few prototypes,
8242 which can conflict with char $ac_func(); below. */
8244 /* Override any gcc2 internal prototype to avoid an error. */
8245 /* We use char because int might match the return type of a gcc2
8246 builtin and then its argument prototype would still apply. */
8251 /* The GNU C library defines this for functions which it implements
8252 to always fail with ENOSYS. Some functions are actually named
8253 something starting with __ and the normal name is an alias. */
8254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8262 if { (eval echo configure:8263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8264 eval "ac_cv_func_$ac_func=yes"
8266 echo "configure: failed program was:" >&5
8267 cat conftest.$ac_ext >&5
8269 eval "ac_cv_func_$ac_func=no"
8274 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8275 echo "$ac_t""yes" 1>&6
8276 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8277 cat >> confdefs.h <<EOF
8278 #define $ac_tr_func 1
8282 echo "$ac_t""no" 1>&6
8291 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
8292 echo "configure:8293: checking for isinff declaration" >&5
8293 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
8294 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8295 echo $ac_n "(cached) $ac_c" 1>&6
8300 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8301 ac_cpp='$CXXCPP $CPPFLAGS'
8302 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8303 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8304 cross_compiling=$ac_cv_prog_cxx_cross
8306 cat > conftest.$ac_ext <<EOF
8307 #line 8308 "configure"
8308 #include "confdefs.h"
8310 #ifdef HAVE_IEEEFP_H
8318 if { (eval echo configure:8319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8320 glibcpp_cv_func_isinff_use=yes
8322 echo "configure: failed program was:" >&5
8323 cat conftest.$ac_ext >&5
8325 glibcpp_cv_func_isinff_use=no
8329 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8330 ac_cpp='$CPP $CPPFLAGS'
8331 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8332 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8333 cross_compiling=$ac_cv_prog_cc_cross
8339 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8341 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
8342 for ac_func in isinff
8344 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8345 echo "configure:8346: checking for $ac_func" >&5
8346 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8347 echo $ac_n "(cached) $ac_c" 1>&6
8349 cat > conftest.$ac_ext <<EOF
8350 #line 8351 "configure"
8351 #include "confdefs.h"
8352 /* System header to define __stub macros and hopefully few prototypes,
8353 which can conflict with char $ac_func(); below. */
8355 /* Override any gcc2 internal prototype to avoid an error. */
8356 /* We use char because int might match the return type of a gcc2
8357 builtin and then its argument prototype would still apply. */
8362 /* The GNU C library defines this for functions which it implements
8363 to always fail with ENOSYS. Some functions are actually named
8364 something starting with __ and the normal name is an alias. */
8365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8373 if { (eval echo configure:8374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8375 eval "ac_cv_func_$ac_func=yes"
8377 echo "configure: failed program was:" >&5
8378 cat conftest.$ac_ext >&5
8380 eval "ac_cv_func_$ac_func=no"
8385 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8386 echo "$ac_t""yes" 1>&6
8387 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8388 cat >> confdefs.h <<EOF
8389 #define $ac_tr_func 1
8393 echo "$ac_t""no" 1>&6
8399 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
8400 echo "configure:8401: checking for _isinff declaration" >&5
8401 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
8402 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8403 echo $ac_n "(cached) $ac_c" 1>&6
8408 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8409 ac_cpp='$CXXCPP $CPPFLAGS'
8410 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8411 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8412 cross_compiling=$ac_cv_prog_cxx_cross
8414 cat > conftest.$ac_ext <<EOF
8415 #line 8416 "configure"
8416 #include "confdefs.h"
8418 #ifdef HAVE_IEEEFP_H
8426 if { (eval echo configure:8427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8428 glibcpp_cv_func__isinff_use=yes
8430 echo "configure: failed program was:" >&5
8431 cat conftest.$ac_ext >&5
8433 glibcpp_cv_func__isinff_use=no
8437 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8438 ac_cpp='$CPP $CPPFLAGS'
8439 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8440 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8441 cross_compiling=$ac_cv_prog_cc_cross
8447 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8449 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8450 for ac_func in _isinff
8452 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8453 echo "configure:8454: checking for $ac_func" >&5
8454 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8455 echo $ac_n "(cached) $ac_c" 1>&6
8457 cat > conftest.$ac_ext <<EOF
8458 #line 8459 "configure"
8459 #include "confdefs.h"
8460 /* System header to define __stub macros and hopefully few prototypes,
8461 which can conflict with char $ac_func(); below. */
8463 /* Override any gcc2 internal prototype to avoid an error. */
8464 /* We use char because int might match the return type of a gcc2
8465 builtin and then its argument prototype would still apply. */
8470 /* The GNU C library defines this for functions which it implements
8471 to always fail with ENOSYS. Some functions are actually named
8472 something starting with __ and the normal name is an alias. */
8473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8481 if { (eval echo configure:8482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8483 eval "ac_cv_func_$ac_func=yes"
8485 echo "configure: failed program was:" >&5
8486 cat conftest.$ac_ext >&5
8488 eval "ac_cv_func_$ac_func=no"
8493 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8494 echo "$ac_t""yes" 1>&6
8495 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8496 cat >> confdefs.h <<EOF
8497 #define $ac_tr_func 1
8501 echo "$ac_t""no" 1>&6
8510 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
8511 echo "configure:8512: checking for fabsf declaration" >&5
8512 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
8513 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8514 echo $ac_n "(cached) $ac_c" 1>&6
8519 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8520 ac_cpp='$CXXCPP $CPPFLAGS'
8521 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8522 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8523 cross_compiling=$ac_cv_prog_cxx_cross
8525 cat > conftest.$ac_ext <<EOF
8526 #line 8527 "configure"
8527 #include "confdefs.h"
8529 #ifdef HAVE_IEEEFP_H
8537 if { (eval echo configure:8538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8539 glibcpp_cv_func_fabsf_use=yes
8541 echo "configure: failed program was:" >&5
8542 cat conftest.$ac_ext >&5
8544 glibcpp_cv_func_fabsf_use=no
8548 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8549 ac_cpp='$CPP $CPPFLAGS'
8550 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8551 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8552 cross_compiling=$ac_cv_prog_cc_cross
8558 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8560 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
8561 for ac_func in fabsf
8563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8564 echo "configure:8565: checking for $ac_func" >&5
8565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8566 echo $ac_n "(cached) $ac_c" 1>&6
8568 cat > conftest.$ac_ext <<EOF
8569 #line 8570 "configure"
8570 #include "confdefs.h"
8571 /* System header to define __stub macros and hopefully few prototypes,
8572 which can conflict with char $ac_func(); below. */
8574 /* Override any gcc2 internal prototype to avoid an error. */
8575 /* We use char because int might match the return type of a gcc2
8576 builtin and then its argument prototype would still apply. */
8581 /* The GNU C library defines this for functions which it implements
8582 to always fail with ENOSYS. Some functions are actually named
8583 something starting with __ and the normal name is an alias. */
8584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8592 if { (eval echo configure:8593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8594 eval "ac_cv_func_$ac_func=yes"
8596 echo "configure: failed program was:" >&5
8597 cat conftest.$ac_ext >&5
8599 eval "ac_cv_func_$ac_func=no"
8604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8605 echo "$ac_t""yes" 1>&6
8606 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8607 cat >> confdefs.h <<EOF
8608 #define $ac_tr_func 1
8612 echo "$ac_t""no" 1>&6
8618 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
8619 echo "configure:8620: checking for _fabsf declaration" >&5
8620 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
8621 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
8622 echo $ac_n "(cached) $ac_c" 1>&6
8627 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8628 ac_cpp='$CXXCPP $CPPFLAGS'
8629 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8630 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8631 cross_compiling=$ac_cv_prog_cxx_cross
8633 cat > conftest.$ac_ext <<EOF
8634 #line 8635 "configure"
8635 #include "confdefs.h"
8637 #ifdef HAVE_IEEEFP_H
8645 if { (eval echo configure:8646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8647 glibcpp_cv_func__fabsf_use=yes
8649 echo "configure: failed program was:" >&5
8650 cat conftest.$ac_ext >&5
8652 glibcpp_cv_func__fabsf_use=no
8656 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8657 ac_cpp='$CPP $CPPFLAGS'
8658 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8659 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8660 cross_compiling=$ac_cv_prog_cc_cross
8666 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
8668 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
8669 for ac_func in _fabsf
8671 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8672 echo "configure:8673: checking for $ac_func" >&5
8673 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8674 echo $ac_n "(cached) $ac_c" 1>&6
8676 cat > conftest.$ac_ext <<EOF
8677 #line 8678 "configure"
8678 #include "confdefs.h"
8679 /* System header to define __stub macros and hopefully few prototypes,
8680 which can conflict with char $ac_func(); below. */
8682 /* Override any gcc2 internal prototype to avoid an error. */
8683 /* We use char because int might match the return type of a gcc2
8684 builtin and then its argument prototype would still apply. */
8689 /* The GNU C library defines this for functions which it implements
8690 to always fail with ENOSYS. Some functions are actually named
8691 something starting with __ and the normal name is an alias. */
8692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8700 if { (eval echo configure:8701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8702 eval "ac_cv_func_$ac_func=yes"
8704 echo "configure: failed program was:" >&5
8705 cat conftest.$ac_ext >&5
8707 eval "ac_cv_func_$ac_func=no"
8712 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8713 echo "$ac_t""yes" 1>&6
8714 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8715 cat >> confdefs.h <<EOF
8716 #define $ac_tr_func 1
8720 echo "$ac_t""no" 1>&6
8729 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
8730 echo "configure:8731: checking for fmodf declaration" >&5
8731 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
8732 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
8733 echo $ac_n "(cached) $ac_c" 1>&6
8738 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8739 ac_cpp='$CXXCPP $CPPFLAGS'
8740 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8741 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8742 cross_compiling=$ac_cv_prog_cxx_cross
8744 cat > conftest.$ac_ext <<EOF
8745 #line 8746 "configure"
8746 #include "confdefs.h"
8752 if { (eval echo configure:8753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8754 glibcpp_cv_func_fmodf_use=yes
8756 echo "configure: failed program was:" >&5
8757 cat conftest.$ac_ext >&5
8759 glibcpp_cv_func_fmodf_use=no
8763 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8764 ac_cpp='$CPP $CPPFLAGS'
8765 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8766 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8767 cross_compiling=$ac_cv_prog_cc_cross
8773 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
8775 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
8776 for ac_func in fmodf
8778 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8779 echo "configure:8780: checking for $ac_func" >&5
8780 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8781 echo $ac_n "(cached) $ac_c" 1>&6
8783 cat > conftest.$ac_ext <<EOF
8784 #line 8785 "configure"
8785 #include "confdefs.h"
8786 /* System header to define __stub macros and hopefully few prototypes,
8787 which can conflict with char $ac_func(); below. */
8789 /* Override any gcc2 internal prototype to avoid an error. */
8790 /* We use char because int might match the return type of a gcc2
8791 builtin and then its argument prototype would still apply. */
8796 /* The GNU C library defines this for functions which it implements
8797 to always fail with ENOSYS. Some functions are actually named
8798 something starting with __ and the normal name is an alias. */
8799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8807 if { (eval echo configure:8808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8809 eval "ac_cv_func_$ac_func=yes"
8811 echo "configure: failed program was:" >&5
8812 cat conftest.$ac_ext >&5
8814 eval "ac_cv_func_$ac_func=no"
8819 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8820 echo "$ac_t""yes" 1>&6
8821 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8822 cat >> confdefs.h <<EOF
8823 #define $ac_tr_func 1
8827 echo "$ac_t""no" 1>&6
8833 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
8834 echo "configure:8835: checking for _fmodf declaration" >&5
8835 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
8836 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
8837 echo $ac_n "(cached) $ac_c" 1>&6
8842 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8843 ac_cpp='$CXXCPP $CPPFLAGS'
8844 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8845 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8846 cross_compiling=$ac_cv_prog_cxx_cross
8848 cat > conftest.$ac_ext <<EOF
8849 #line 8850 "configure"
8850 #include "confdefs.h"
8856 if { (eval echo configure:8857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8858 glibcpp_cv_func__fmodf_use=yes
8860 echo "configure: failed program was:" >&5
8861 cat conftest.$ac_ext >&5
8863 glibcpp_cv_func__fmodf_use=no
8867 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8868 ac_cpp='$CPP $CPPFLAGS'
8869 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8870 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8871 cross_compiling=$ac_cv_prog_cc_cross
8877 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
8879 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
8880 for ac_func in _fmodf
8882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8883 echo "configure:8884: checking for $ac_func" >&5
8884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8885 echo $ac_n "(cached) $ac_c" 1>&6
8887 cat > conftest.$ac_ext <<EOF
8888 #line 8889 "configure"
8889 #include "confdefs.h"
8890 /* System header to define __stub macros and hopefully few prototypes,
8891 which can conflict with char $ac_func(); below. */
8893 /* Override any gcc2 internal prototype to avoid an error. */
8894 /* We use char because int might match the return type of a gcc2
8895 builtin and then its argument prototype would still apply. */
8900 /* The GNU C library defines this for functions which it implements
8901 to always fail with ENOSYS. Some functions are actually named
8902 something starting with __ and the normal name is an alias. */
8903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8911 if { (eval echo configure:8912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8913 eval "ac_cv_func_$ac_func=yes"
8915 echo "configure: failed program was:" >&5
8916 cat conftest.$ac_ext >&5
8918 eval "ac_cv_func_$ac_func=no"
8923 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8924 echo "$ac_t""yes" 1>&6
8925 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8926 cat >> confdefs.h <<EOF
8927 #define $ac_tr_func 1
8931 echo "$ac_t""no" 1>&6
8940 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
8941 echo "configure:8942: checking for frexpf declaration" >&5
8942 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
8943 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
8944 echo $ac_n "(cached) $ac_c" 1>&6
8949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8950 ac_cpp='$CXXCPP $CPPFLAGS'
8951 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8952 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8953 cross_compiling=$ac_cv_prog_cxx_cross
8955 cat > conftest.$ac_ext <<EOF
8956 #line 8957 "configure"
8957 #include "confdefs.h"
8963 if { (eval echo configure:8964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8965 glibcpp_cv_func_frexpf_use=yes
8967 echo "configure: failed program was:" >&5
8968 cat conftest.$ac_ext >&5
8970 glibcpp_cv_func_frexpf_use=no
8974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8975 ac_cpp='$CPP $CPPFLAGS'
8976 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8977 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8978 cross_compiling=$ac_cv_prog_cc_cross
8984 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
8986 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
8987 for ac_func in frexpf
8989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8990 echo "configure:8991: checking for $ac_func" >&5
8991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8992 echo $ac_n "(cached) $ac_c" 1>&6
8994 cat > conftest.$ac_ext <<EOF
8995 #line 8996 "configure"
8996 #include "confdefs.h"
8997 /* System header to define __stub macros and hopefully few prototypes,
8998 which can conflict with char $ac_func(); below. */
9000 /* Override any gcc2 internal prototype to avoid an error. */
9001 /* We use char because int might match the return type of a gcc2
9002 builtin and then its argument prototype would still apply. */
9007 /* The GNU C library defines this for functions which it implements
9008 to always fail with ENOSYS. Some functions are actually named
9009 something starting with __ and the normal name is an alias. */
9010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9018 if { (eval echo configure:9019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9020 eval "ac_cv_func_$ac_func=yes"
9022 echo "configure: failed program was:" >&5
9023 cat conftest.$ac_ext >&5
9025 eval "ac_cv_func_$ac_func=no"
9030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9031 echo "$ac_t""yes" 1>&6
9032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9033 cat >> confdefs.h <<EOF
9034 #define $ac_tr_func 1
9038 echo "$ac_t""no" 1>&6
9044 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
9045 echo "configure:9046: checking for _frexpf declaration" >&5
9046 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
9047 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9048 echo $ac_n "(cached) $ac_c" 1>&6
9053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9054 ac_cpp='$CXXCPP $CPPFLAGS'
9055 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9056 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9057 cross_compiling=$ac_cv_prog_cxx_cross
9059 cat > conftest.$ac_ext <<EOF
9060 #line 9061 "configure"
9061 #include "confdefs.h"
9067 if { (eval echo configure:9068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9069 glibcpp_cv_func__frexpf_use=yes
9071 echo "configure: failed program was:" >&5
9072 cat conftest.$ac_ext >&5
9074 glibcpp_cv_func__frexpf_use=no
9078 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9079 ac_cpp='$CPP $CPPFLAGS'
9080 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9081 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9082 cross_compiling=$ac_cv_prog_cc_cross
9088 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9090 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
9091 for ac_func in _frexpf
9093 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9094 echo "configure:9095: checking for $ac_func" >&5
9095 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9096 echo $ac_n "(cached) $ac_c" 1>&6
9098 cat > conftest.$ac_ext <<EOF
9099 #line 9100 "configure"
9100 #include "confdefs.h"
9101 /* System header to define __stub macros and hopefully few prototypes,
9102 which can conflict with char $ac_func(); below. */
9104 /* Override any gcc2 internal prototype to avoid an error. */
9105 /* We use char because int might match the return type of a gcc2
9106 builtin and then its argument prototype would still apply. */
9111 /* The GNU C library defines this for functions which it implements
9112 to always fail with ENOSYS. Some functions are actually named
9113 something starting with __ and the normal name is an alias. */
9114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9122 if { (eval echo configure:9123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9124 eval "ac_cv_func_$ac_func=yes"
9126 echo "configure: failed program was:" >&5
9127 cat conftest.$ac_ext >&5
9129 eval "ac_cv_func_$ac_func=no"
9134 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9135 echo "$ac_t""yes" 1>&6
9136 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9137 cat >> confdefs.h <<EOF
9138 #define $ac_tr_func 1
9142 echo "$ac_t""no" 1>&6
9151 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
9152 echo "configure:9153: checking for ldexpf declaration" >&5
9153 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
9154 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
9155 echo $ac_n "(cached) $ac_c" 1>&6
9160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9161 ac_cpp='$CXXCPP $CPPFLAGS'
9162 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9163 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9164 cross_compiling=$ac_cv_prog_cxx_cross
9166 cat > conftest.$ac_ext <<EOF
9167 #line 9168 "configure"
9168 #include "confdefs.h"
9174 if { (eval echo configure:9175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9176 glibcpp_cv_func_ldexpf_use=yes
9178 echo "configure: failed program was:" >&5
9179 cat conftest.$ac_ext >&5
9181 glibcpp_cv_func_ldexpf_use=no
9185 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9186 ac_cpp='$CPP $CPPFLAGS'
9187 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9188 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9189 cross_compiling=$ac_cv_prog_cc_cross
9195 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
9197 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
9198 for ac_func in ldexpf
9200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9201 echo "configure:9202: checking for $ac_func" >&5
9202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9203 echo $ac_n "(cached) $ac_c" 1>&6
9205 cat > conftest.$ac_ext <<EOF
9206 #line 9207 "configure"
9207 #include "confdefs.h"
9208 /* System header to define __stub macros and hopefully few prototypes,
9209 which can conflict with char $ac_func(); below. */
9211 /* Override any gcc2 internal prototype to avoid an error. */
9212 /* We use char because int might match the return type of a gcc2
9213 builtin and then its argument prototype would still apply. */
9218 /* The GNU C library defines this for functions which it implements
9219 to always fail with ENOSYS. Some functions are actually named
9220 something starting with __ and the normal name is an alias. */
9221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9229 if { (eval echo configure:9230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9231 eval "ac_cv_func_$ac_func=yes"
9233 echo "configure: failed program was:" >&5
9234 cat conftest.$ac_ext >&5
9236 eval "ac_cv_func_$ac_func=no"
9241 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9242 echo "$ac_t""yes" 1>&6
9243 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9244 cat >> confdefs.h <<EOF
9245 #define $ac_tr_func 1
9249 echo "$ac_t""no" 1>&6
9255 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
9256 echo "configure:9257: checking for _ldexpf declaration" >&5
9257 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
9258 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9259 echo $ac_n "(cached) $ac_c" 1>&6
9264 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9265 ac_cpp='$CXXCPP $CPPFLAGS'
9266 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9267 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9268 cross_compiling=$ac_cv_prog_cxx_cross
9270 cat > conftest.$ac_ext <<EOF
9271 #line 9272 "configure"
9272 #include "confdefs.h"
9278 if { (eval echo configure:9279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9280 glibcpp_cv_func__ldexpf_use=yes
9282 echo "configure: failed program was:" >&5
9283 cat conftest.$ac_ext >&5
9285 glibcpp_cv_func__ldexpf_use=no
9289 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9290 ac_cpp='$CPP $CPPFLAGS'
9291 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9292 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9293 cross_compiling=$ac_cv_prog_cc_cross
9299 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
9301 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
9302 for ac_func in _ldexpf
9304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9305 echo "configure:9306: checking for $ac_func" >&5
9306 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9307 echo $ac_n "(cached) $ac_c" 1>&6
9309 cat > conftest.$ac_ext <<EOF
9310 #line 9311 "configure"
9311 #include "confdefs.h"
9312 /* System header to define __stub macros and hopefully few prototypes,
9313 which can conflict with char $ac_func(); below. */
9315 /* Override any gcc2 internal prototype to avoid an error. */
9316 /* We use char because int might match the return type of a gcc2
9317 builtin and then its argument prototype would still apply. */
9322 /* The GNU C library defines this for functions which it implements
9323 to always fail with ENOSYS. Some functions are actually named
9324 something starting with __ and the normal name is an alias. */
9325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9333 if { (eval echo configure:9334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9335 eval "ac_cv_func_$ac_func=yes"
9337 echo "configure: failed program was:" >&5
9338 cat conftest.$ac_ext >&5
9340 eval "ac_cv_func_$ac_func=no"
9345 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9346 echo "$ac_t""yes" 1>&6
9347 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9348 cat >> confdefs.h <<EOF
9349 #define $ac_tr_func 1
9353 echo "$ac_t""no" 1>&6
9362 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
9363 echo "configure:9364: checking for logf declaration" >&5
9364 if test x${glibcpp_cv_func_logf_use+set} != xset; then
9365 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
9366 echo $ac_n "(cached) $ac_c" 1>&6
9371 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9372 ac_cpp='$CXXCPP $CPPFLAGS'
9373 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9374 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9375 cross_compiling=$ac_cv_prog_cxx_cross
9377 cat > conftest.$ac_ext <<EOF
9378 #line 9379 "configure"
9379 #include "confdefs.h"
9381 #ifdef HAVE_IEEEFP_H
9389 if { (eval echo configure:9390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9391 glibcpp_cv_func_logf_use=yes
9393 echo "configure: failed program was:" >&5
9394 cat conftest.$ac_ext >&5
9396 glibcpp_cv_func_logf_use=no
9400 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9401 ac_cpp='$CPP $CPPFLAGS'
9402 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9403 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9404 cross_compiling=$ac_cv_prog_cc_cross
9410 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
9412 if test x$glibcpp_cv_func_logf_use = x"yes"; then
9415 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9416 echo "configure:9417: checking for $ac_func" >&5
9417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9418 echo $ac_n "(cached) $ac_c" 1>&6
9420 cat > conftest.$ac_ext <<EOF
9421 #line 9422 "configure"
9422 #include "confdefs.h"
9423 /* System header to define __stub macros and hopefully few prototypes,
9424 which can conflict with char $ac_func(); below. */
9426 /* Override any gcc2 internal prototype to avoid an error. */
9427 /* We use char because int might match the return type of a gcc2
9428 builtin and then its argument prototype would still apply. */
9433 /* The GNU C library defines this for functions which it implements
9434 to always fail with ENOSYS. Some functions are actually named
9435 something starting with __ and the normal name is an alias. */
9436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9444 if { (eval echo configure:9445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9446 eval "ac_cv_func_$ac_func=yes"
9448 echo "configure: failed program was:" >&5
9449 cat conftest.$ac_ext >&5
9451 eval "ac_cv_func_$ac_func=no"
9456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9457 echo "$ac_t""yes" 1>&6
9458 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9459 cat >> confdefs.h <<EOF
9460 #define $ac_tr_func 1
9464 echo "$ac_t""no" 1>&6
9470 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
9471 echo "configure:9472: checking for _logf declaration" >&5
9472 if test x${glibcpp_cv_func__logf_use+set} != xset; then
9473 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
9474 echo $ac_n "(cached) $ac_c" 1>&6
9479 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9480 ac_cpp='$CXXCPP $CPPFLAGS'
9481 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9482 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9483 cross_compiling=$ac_cv_prog_cxx_cross
9485 cat > conftest.$ac_ext <<EOF
9486 #line 9487 "configure"
9487 #include "confdefs.h"
9489 #ifdef HAVE_IEEEFP_H
9497 if { (eval echo configure:9498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9499 glibcpp_cv_func__logf_use=yes
9501 echo "configure: failed program was:" >&5
9502 cat conftest.$ac_ext >&5
9504 glibcpp_cv_func__logf_use=no
9508 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9509 ac_cpp='$CPP $CPPFLAGS'
9510 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9511 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9512 cross_compiling=$ac_cv_prog_cc_cross
9518 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
9520 if test x$glibcpp_cv_func__logf_use = x"yes"; then
9521 for ac_func in _logf
9523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9524 echo "configure:9525: checking for $ac_func" >&5
9525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9526 echo $ac_n "(cached) $ac_c" 1>&6
9528 cat > conftest.$ac_ext <<EOF
9529 #line 9530 "configure"
9530 #include "confdefs.h"
9531 /* System header to define __stub macros and hopefully few prototypes,
9532 which can conflict with char $ac_func(); below. */
9534 /* Override any gcc2 internal prototype to avoid an error. */
9535 /* We use char because int might match the return type of a gcc2
9536 builtin and then its argument prototype would still apply. */
9541 /* The GNU C library defines this for functions which it implements
9542 to always fail with ENOSYS. Some functions are actually named
9543 something starting with __ and the normal name is an alias. */
9544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9552 if { (eval echo configure:9553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9554 eval "ac_cv_func_$ac_func=yes"
9556 echo "configure: failed program was:" >&5
9557 cat conftest.$ac_ext >&5
9559 eval "ac_cv_func_$ac_func=no"
9564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9565 echo "$ac_t""yes" 1>&6
9566 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9567 cat >> confdefs.h <<EOF
9568 #define $ac_tr_func 1
9572 echo "$ac_t""no" 1>&6
9581 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
9582 echo "configure:9583: checking for log10f declaration" >&5
9583 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
9584 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
9585 echo $ac_n "(cached) $ac_c" 1>&6
9590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9591 ac_cpp='$CXXCPP $CPPFLAGS'
9592 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9593 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9594 cross_compiling=$ac_cv_prog_cxx_cross
9596 cat > conftest.$ac_ext <<EOF
9597 #line 9598 "configure"
9598 #include "confdefs.h"
9600 #ifdef HAVE_IEEEFP_H
9608 if { (eval echo configure:9609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9610 glibcpp_cv_func_log10f_use=yes
9612 echo "configure: failed program was:" >&5
9613 cat conftest.$ac_ext >&5
9615 glibcpp_cv_func_log10f_use=no
9619 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9620 ac_cpp='$CPP $CPPFLAGS'
9621 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9622 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9623 cross_compiling=$ac_cv_prog_cc_cross
9629 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
9631 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
9632 for ac_func in log10f
9634 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9635 echo "configure:9636: checking for $ac_func" >&5
9636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9637 echo $ac_n "(cached) $ac_c" 1>&6
9639 cat > conftest.$ac_ext <<EOF
9640 #line 9641 "configure"
9641 #include "confdefs.h"
9642 /* System header to define __stub macros and hopefully few prototypes,
9643 which can conflict with char $ac_func(); below. */
9645 /* Override any gcc2 internal prototype to avoid an error. */
9646 /* We use char because int might match the return type of a gcc2
9647 builtin and then its argument prototype would still apply. */
9652 /* The GNU C library defines this for functions which it implements
9653 to always fail with ENOSYS. Some functions are actually named
9654 something starting with __ and the normal name is an alias. */
9655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9663 if { (eval echo configure:9664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9665 eval "ac_cv_func_$ac_func=yes"
9667 echo "configure: failed program was:" >&5
9668 cat conftest.$ac_ext >&5
9670 eval "ac_cv_func_$ac_func=no"
9675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9676 echo "$ac_t""yes" 1>&6
9677 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9678 cat >> confdefs.h <<EOF
9679 #define $ac_tr_func 1
9683 echo "$ac_t""no" 1>&6
9689 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
9690 echo "configure:9691: checking for _log10f declaration" >&5
9691 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
9692 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
9693 echo $ac_n "(cached) $ac_c" 1>&6
9698 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9699 ac_cpp='$CXXCPP $CPPFLAGS'
9700 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9701 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9702 cross_compiling=$ac_cv_prog_cxx_cross
9704 cat > conftest.$ac_ext <<EOF
9705 #line 9706 "configure"
9706 #include "confdefs.h"
9708 #ifdef HAVE_IEEEFP_H
9716 if { (eval echo configure:9717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9718 glibcpp_cv_func__log10f_use=yes
9720 echo "configure: failed program was:" >&5
9721 cat conftest.$ac_ext >&5
9723 glibcpp_cv_func__log10f_use=no
9727 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9728 ac_cpp='$CPP $CPPFLAGS'
9729 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9730 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9731 cross_compiling=$ac_cv_prog_cc_cross
9737 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
9739 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
9740 for ac_func in _log10f
9742 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9743 echo "configure:9744: checking for $ac_func" >&5
9744 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9745 echo $ac_n "(cached) $ac_c" 1>&6
9747 cat > conftest.$ac_ext <<EOF
9748 #line 9749 "configure"
9749 #include "confdefs.h"
9750 /* System header to define __stub macros and hopefully few prototypes,
9751 which can conflict with char $ac_func(); below. */
9753 /* Override any gcc2 internal prototype to avoid an error. */
9754 /* We use char because int might match the return type of a gcc2
9755 builtin and then its argument prototype would still apply. */
9760 /* The GNU C library defines this for functions which it implements
9761 to always fail with ENOSYS. Some functions are actually named
9762 something starting with __ and the normal name is an alias. */
9763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9771 if { (eval echo configure:9772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9773 eval "ac_cv_func_$ac_func=yes"
9775 echo "configure: failed program was:" >&5
9776 cat conftest.$ac_ext >&5
9778 eval "ac_cv_func_$ac_func=no"
9783 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9784 echo "$ac_t""yes" 1>&6
9785 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9786 cat >> confdefs.h <<EOF
9787 #define $ac_tr_func 1
9791 echo "$ac_t""no" 1>&6
9800 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
9801 echo "configure:9802: checking for modff declaration" >&5
9802 if test x${glibcpp_cv_func_modff_use+set} != xset; then
9803 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
9804 echo $ac_n "(cached) $ac_c" 1>&6
9809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9810 ac_cpp='$CXXCPP $CPPFLAGS'
9811 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9812 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9813 cross_compiling=$ac_cv_prog_cxx_cross
9815 cat > conftest.$ac_ext <<EOF
9816 #line 9817 "configure"
9817 #include "confdefs.h"
9823 if { (eval echo configure:9824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9825 glibcpp_cv_func_modff_use=yes
9827 echo "configure: failed program was:" >&5
9828 cat conftest.$ac_ext >&5
9830 glibcpp_cv_func_modff_use=no
9834 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9835 ac_cpp='$CPP $CPPFLAGS'
9836 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9837 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9838 cross_compiling=$ac_cv_prog_cc_cross
9844 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
9846 if test x$glibcpp_cv_func_modff_use = x"yes"; then
9847 for ac_func in modff
9849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9850 echo "configure:9851: checking for $ac_func" >&5
9851 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9852 echo $ac_n "(cached) $ac_c" 1>&6
9854 cat > conftest.$ac_ext <<EOF
9855 #line 9856 "configure"
9856 #include "confdefs.h"
9857 /* System header to define __stub macros and hopefully few prototypes,
9858 which can conflict with char $ac_func(); below. */
9860 /* Override any gcc2 internal prototype to avoid an error. */
9861 /* We use char because int might match the return type of a gcc2
9862 builtin and then its argument prototype would still apply. */
9867 /* The GNU C library defines this for functions which it implements
9868 to always fail with ENOSYS. Some functions are actually named
9869 something starting with __ and the normal name is an alias. */
9870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9878 if { (eval echo configure:9879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9880 eval "ac_cv_func_$ac_func=yes"
9882 echo "configure: failed program was:" >&5
9883 cat conftest.$ac_ext >&5
9885 eval "ac_cv_func_$ac_func=no"
9890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9891 echo "$ac_t""yes" 1>&6
9892 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9893 cat >> confdefs.h <<EOF
9894 #define $ac_tr_func 1
9898 echo "$ac_t""no" 1>&6
9904 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
9905 echo "configure:9906: checking for _modff declaration" >&5
9906 if test x${glibcpp_cv_func__modff_use+set} != xset; then
9907 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
9908 echo $ac_n "(cached) $ac_c" 1>&6
9913 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9914 ac_cpp='$CXXCPP $CPPFLAGS'
9915 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9916 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9917 cross_compiling=$ac_cv_prog_cxx_cross
9919 cat > conftest.$ac_ext <<EOF
9920 #line 9921 "configure"
9921 #include "confdefs.h"
9927 if { (eval echo configure:9928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9929 glibcpp_cv_func__modff_use=yes
9931 echo "configure: failed program was:" >&5
9932 cat conftest.$ac_ext >&5
9934 glibcpp_cv_func__modff_use=no
9938 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9939 ac_cpp='$CPP $CPPFLAGS'
9940 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9941 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9942 cross_compiling=$ac_cv_prog_cc_cross
9948 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
9950 if test x$glibcpp_cv_func__modff_use = x"yes"; then
9951 for ac_func in _modff
9953 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9954 echo "configure:9955: checking for $ac_func" >&5
9955 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9956 echo $ac_n "(cached) $ac_c" 1>&6
9958 cat > conftest.$ac_ext <<EOF
9959 #line 9960 "configure"
9960 #include "confdefs.h"
9961 /* System header to define __stub macros and hopefully few prototypes,
9962 which can conflict with char $ac_func(); below. */
9964 /* Override any gcc2 internal prototype to avoid an error. */
9965 /* We use char because int might match the return type of a gcc2
9966 builtin and then its argument prototype would still apply. */
9971 /* The GNU C library defines this for functions which it implements
9972 to always fail with ENOSYS. Some functions are actually named
9973 something starting with __ and the normal name is an alias. */
9974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9982 if { (eval echo configure:9983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9984 eval "ac_cv_func_$ac_func=yes"
9986 echo "configure: failed program was:" >&5
9987 cat conftest.$ac_ext >&5
9989 eval "ac_cv_func_$ac_func=no"
9994 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9995 echo "$ac_t""yes" 1>&6
9996 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9997 cat >> confdefs.h <<EOF
9998 #define $ac_tr_func 1
10002 echo "$ac_t""no" 1>&6
10011 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
10012 echo "configure:10013: checking for powf declaration" >&5
10013 if test x${glibcpp_cv_func_powf_use+set} != xset; then
10014 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10015 echo $ac_n "(cached) $ac_c" 1>&6
10020 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10021 ac_cpp='$CXXCPP $CPPFLAGS'
10022 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10023 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10024 cross_compiling=$ac_cv_prog_cxx_cross
10026 cat > conftest.$ac_ext <<EOF
10027 #line 10028 "configure"
10028 #include "confdefs.h"
10034 if { (eval echo configure:10035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10036 glibcpp_cv_func_powf_use=yes
10038 echo "configure: failed program was:" >&5
10039 cat conftest.$ac_ext >&5
10041 glibcpp_cv_func_powf_use=no
10045 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10046 ac_cpp='$CPP $CPPFLAGS'
10047 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10048 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10049 cross_compiling=$ac_cv_prog_cc_cross
10055 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10057 if test x$glibcpp_cv_func_powf_use = x"yes"; then
10058 for ac_func in powf
10060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10061 echo "configure:10062: checking for $ac_func" >&5
10062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10063 echo $ac_n "(cached) $ac_c" 1>&6
10065 cat > conftest.$ac_ext <<EOF
10066 #line 10067 "configure"
10067 #include "confdefs.h"
10068 /* System header to define __stub macros and hopefully few prototypes,
10069 which can conflict with char $ac_func(); below. */
10070 #include <assert.h>
10071 /* Override any gcc2 internal prototype to avoid an error. */
10072 /* We use char because int might match the return type of a gcc2
10073 builtin and then its argument prototype would still apply. */
10078 /* The GNU C library defines this for functions which it implements
10079 to always fail with ENOSYS. Some functions are actually named
10080 something starting with __ and the normal name is an alias. */
10081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10089 if { (eval echo configure:10090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10091 eval "ac_cv_func_$ac_func=yes"
10093 echo "configure: failed program was:" >&5
10094 cat conftest.$ac_ext >&5
10096 eval "ac_cv_func_$ac_func=no"
10101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10102 echo "$ac_t""yes" 1>&6
10103 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10104 cat >> confdefs.h <<EOF
10105 #define $ac_tr_func 1
10109 echo "$ac_t""no" 1>&6
10115 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
10116 echo "configure:10117: checking for _powf declaration" >&5
10117 if test x${glibcpp_cv_func__powf_use+set} != xset; then
10118 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10119 echo $ac_n "(cached) $ac_c" 1>&6
10124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10125 ac_cpp='$CXXCPP $CPPFLAGS'
10126 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10127 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10128 cross_compiling=$ac_cv_prog_cxx_cross
10130 cat > conftest.$ac_ext <<EOF
10131 #line 10132 "configure"
10132 #include "confdefs.h"
10138 if { (eval echo configure:10139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10140 glibcpp_cv_func__powf_use=yes
10142 echo "configure: failed program was:" >&5
10143 cat conftest.$ac_ext >&5
10145 glibcpp_cv_func__powf_use=no
10149 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10150 ac_cpp='$CPP $CPPFLAGS'
10151 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10152 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10153 cross_compiling=$ac_cv_prog_cc_cross
10159 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
10161 if test x$glibcpp_cv_func__powf_use = x"yes"; then
10162 for ac_func in _powf
10164 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10165 echo "configure:10166: checking for $ac_func" >&5
10166 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10167 echo $ac_n "(cached) $ac_c" 1>&6
10169 cat > conftest.$ac_ext <<EOF
10170 #line 10171 "configure"
10171 #include "confdefs.h"
10172 /* System header to define __stub macros and hopefully few prototypes,
10173 which can conflict with char $ac_func(); below. */
10174 #include <assert.h>
10175 /* Override any gcc2 internal prototype to avoid an error. */
10176 /* We use char because int might match the return type of a gcc2
10177 builtin and then its argument prototype would still apply. */
10182 /* The GNU C library defines this for functions which it implements
10183 to always fail with ENOSYS. Some functions are actually named
10184 something starting with __ and the normal name is an alias. */
10185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10193 if { (eval echo configure:10194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10195 eval "ac_cv_func_$ac_func=yes"
10197 echo "configure: failed program was:" >&5
10198 cat conftest.$ac_ext >&5
10200 eval "ac_cv_func_$ac_func=no"
10205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10206 echo "$ac_t""yes" 1>&6
10207 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10208 cat >> confdefs.h <<EOF
10209 #define $ac_tr_func 1
10213 echo "$ac_t""no" 1>&6
10222 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
10223 echo "configure:10224: checking for sqrtf declaration" >&5
10224 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
10225 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10226 echo $ac_n "(cached) $ac_c" 1>&6
10231 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10232 ac_cpp='$CXXCPP $CPPFLAGS'
10233 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10234 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10235 cross_compiling=$ac_cv_prog_cxx_cross
10237 cat > conftest.$ac_ext <<EOF
10238 #line 10239 "configure"
10239 #include "confdefs.h"
10241 #ifdef HAVE_IEEEFP_H
10242 #include <ieeefp.h>
10249 if { (eval echo configure:10250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10251 glibcpp_cv_func_sqrtf_use=yes
10253 echo "configure: failed program was:" >&5
10254 cat conftest.$ac_ext >&5
10256 glibcpp_cv_func_sqrtf_use=no
10260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10261 ac_cpp='$CPP $CPPFLAGS'
10262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10264 cross_compiling=$ac_cv_prog_cc_cross
10270 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10272 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
10273 for ac_func in sqrtf
10275 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10276 echo "configure:10277: checking for $ac_func" >&5
10277 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10278 echo $ac_n "(cached) $ac_c" 1>&6
10280 cat > conftest.$ac_ext <<EOF
10281 #line 10282 "configure"
10282 #include "confdefs.h"
10283 /* System header to define __stub macros and hopefully few prototypes,
10284 which can conflict with char $ac_func(); below. */
10285 #include <assert.h>
10286 /* Override any gcc2 internal prototype to avoid an error. */
10287 /* We use char because int might match the return type of a gcc2
10288 builtin and then its argument prototype would still apply. */
10293 /* The GNU C library defines this for functions which it implements
10294 to always fail with ENOSYS. Some functions are actually named
10295 something starting with __ and the normal name is an alias. */
10296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10304 if { (eval echo configure:10305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10306 eval "ac_cv_func_$ac_func=yes"
10308 echo "configure: failed program was:" >&5
10309 cat conftest.$ac_ext >&5
10311 eval "ac_cv_func_$ac_func=no"
10316 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10317 echo "$ac_t""yes" 1>&6
10318 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10319 cat >> confdefs.h <<EOF
10320 #define $ac_tr_func 1
10324 echo "$ac_t""no" 1>&6
10330 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
10331 echo "configure:10332: checking for _sqrtf declaration" >&5
10332 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
10333 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
10334 echo $ac_n "(cached) $ac_c" 1>&6
10339 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10340 ac_cpp='$CXXCPP $CPPFLAGS'
10341 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10342 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10343 cross_compiling=$ac_cv_prog_cxx_cross
10345 cat > conftest.$ac_ext <<EOF
10346 #line 10347 "configure"
10347 #include "confdefs.h"
10349 #ifdef HAVE_IEEEFP_H
10350 #include <ieeefp.h>
10357 if { (eval echo configure:10358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10359 glibcpp_cv_func__sqrtf_use=yes
10361 echo "configure: failed program was:" >&5
10362 cat conftest.$ac_ext >&5
10364 glibcpp_cv_func__sqrtf_use=no
10368 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10369 ac_cpp='$CPP $CPPFLAGS'
10370 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10371 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10372 cross_compiling=$ac_cv_prog_cc_cross
10378 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
10380 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
10381 for ac_func in _sqrtf
10383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10384 echo "configure:10385: checking for $ac_func" >&5
10385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10386 echo $ac_n "(cached) $ac_c" 1>&6
10388 cat > conftest.$ac_ext <<EOF
10389 #line 10390 "configure"
10390 #include "confdefs.h"
10391 /* System header to define __stub macros and hopefully few prototypes,
10392 which can conflict with char $ac_func(); below. */
10393 #include <assert.h>
10394 /* Override any gcc2 internal prototype to avoid an error. */
10395 /* We use char because int might match the return type of a gcc2
10396 builtin and then its argument prototype would still apply. */
10401 /* The GNU C library defines this for functions which it implements
10402 to always fail with ENOSYS. Some functions are actually named
10403 something starting with __ and the normal name is an alias. */
10404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10412 if { (eval echo configure:10413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10414 eval "ac_cv_func_$ac_func=yes"
10416 echo "configure: failed program was:" >&5
10417 cat conftest.$ac_ext >&5
10419 eval "ac_cv_func_$ac_func=no"
10424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10425 echo "$ac_t""yes" 1>&6
10426 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10427 cat >> confdefs.h <<EOF
10428 #define $ac_tr_func 1
10432 echo "$ac_t""no" 1>&6
10441 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
10442 echo "configure:10443: checking for sincosf declaration" >&5
10443 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
10444 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
10445 echo $ac_n "(cached) $ac_c" 1>&6
10450 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10451 ac_cpp='$CXXCPP $CPPFLAGS'
10452 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10453 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10454 cross_compiling=$ac_cv_prog_cxx_cross
10456 cat > conftest.$ac_ext <<EOF
10457 #line 10458 "configure"
10458 #include "confdefs.h"
10464 if { (eval echo configure:10465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10466 glibcpp_cv_func_sincosf_use=yes
10468 echo "configure: failed program was:" >&5
10469 cat conftest.$ac_ext >&5
10471 glibcpp_cv_func_sincosf_use=no
10475 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10476 ac_cpp='$CPP $CPPFLAGS'
10477 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10478 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10479 cross_compiling=$ac_cv_prog_cc_cross
10485 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
10487 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
10488 for ac_func in sincosf
10490 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10491 echo "configure:10492: checking for $ac_func" >&5
10492 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10493 echo $ac_n "(cached) $ac_c" 1>&6
10495 cat > conftest.$ac_ext <<EOF
10496 #line 10497 "configure"
10497 #include "confdefs.h"
10498 /* System header to define __stub macros and hopefully few prototypes,
10499 which can conflict with char $ac_func(); below. */
10500 #include <assert.h>
10501 /* Override any gcc2 internal prototype to avoid an error. */
10502 /* We use char because int might match the return type of a gcc2
10503 builtin and then its argument prototype would still apply. */
10508 /* The GNU C library defines this for functions which it implements
10509 to always fail with ENOSYS. Some functions are actually named
10510 something starting with __ and the normal name is an alias. */
10511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10519 if { (eval echo configure:10520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10521 eval "ac_cv_func_$ac_func=yes"
10523 echo "configure: failed program was:" >&5
10524 cat conftest.$ac_ext >&5
10526 eval "ac_cv_func_$ac_func=no"
10531 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10532 echo "$ac_t""yes" 1>&6
10533 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10534 cat >> confdefs.h <<EOF
10535 #define $ac_tr_func 1
10539 echo "$ac_t""no" 1>&6
10545 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
10546 echo "configure:10547: checking for _sincosf declaration" >&5
10547 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
10548 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
10549 echo $ac_n "(cached) $ac_c" 1>&6
10554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10555 ac_cpp='$CXXCPP $CPPFLAGS'
10556 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10557 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10558 cross_compiling=$ac_cv_prog_cxx_cross
10560 cat > conftest.$ac_ext <<EOF
10561 #line 10562 "configure"
10562 #include "confdefs.h"
10568 if { (eval echo configure:10569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10570 glibcpp_cv_func__sincosf_use=yes
10572 echo "configure: failed program was:" >&5
10573 cat conftest.$ac_ext >&5
10575 glibcpp_cv_func__sincosf_use=no
10579 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10580 ac_cpp='$CPP $CPPFLAGS'
10581 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10582 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10583 cross_compiling=$ac_cv_prog_cc_cross
10589 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
10591 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
10592 for ac_func in _sincosf
10594 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10595 echo "configure:10596: checking for $ac_func" >&5
10596 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10597 echo $ac_n "(cached) $ac_c" 1>&6
10599 cat > conftest.$ac_ext <<EOF
10600 #line 10601 "configure"
10601 #include "confdefs.h"
10602 /* System header to define __stub macros and hopefully few prototypes,
10603 which can conflict with char $ac_func(); below. */
10604 #include <assert.h>
10605 /* Override any gcc2 internal prototype to avoid an error. */
10606 /* We use char because int might match the return type of a gcc2
10607 builtin and then its argument prototype would still apply. */
10612 /* The GNU C library defines this for functions which it implements
10613 to always fail with ENOSYS. Some functions are actually named
10614 something starting with __ and the normal name is an alias. */
10615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10623 if { (eval echo configure:10624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10625 eval "ac_cv_func_$ac_func=yes"
10627 echo "configure: failed program was:" >&5
10628 cat conftest.$ac_ext >&5
10630 eval "ac_cv_func_$ac_func=no"
10635 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10636 echo "$ac_t""yes" 1>&6
10637 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10638 cat >> confdefs.h <<EOF
10639 #define $ac_tr_func 1
10643 echo "$ac_t""no" 1>&6
10652 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
10653 echo "configure:10654: checking for finitef declaration" >&5
10654 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
10655 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
10656 echo $ac_n "(cached) $ac_c" 1>&6
10661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10662 ac_cpp='$CXXCPP $CPPFLAGS'
10663 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10664 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10665 cross_compiling=$ac_cv_prog_cxx_cross
10667 cat > conftest.$ac_ext <<EOF
10668 #line 10669 "configure"
10669 #include "confdefs.h"
10671 #ifdef HAVE_IEEEFP_H
10672 #include <ieeefp.h>
10679 if { (eval echo configure:10680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10681 glibcpp_cv_func_finitef_use=yes
10683 echo "configure: failed program was:" >&5
10684 cat conftest.$ac_ext >&5
10686 glibcpp_cv_func_finitef_use=no
10690 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10691 ac_cpp='$CPP $CPPFLAGS'
10692 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10693 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10694 cross_compiling=$ac_cv_prog_cc_cross
10700 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
10702 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
10703 for ac_func in finitef
10705 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10706 echo "configure:10707: checking for $ac_func" >&5
10707 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10708 echo $ac_n "(cached) $ac_c" 1>&6
10710 cat > conftest.$ac_ext <<EOF
10711 #line 10712 "configure"
10712 #include "confdefs.h"
10713 /* System header to define __stub macros and hopefully few prototypes,
10714 which can conflict with char $ac_func(); below. */
10715 #include <assert.h>
10716 /* Override any gcc2 internal prototype to avoid an error. */
10717 /* We use char because int might match the return type of a gcc2
10718 builtin and then its argument prototype would still apply. */
10723 /* The GNU C library defines this for functions which it implements
10724 to always fail with ENOSYS. Some functions are actually named
10725 something starting with __ and the normal name is an alias. */
10726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10734 if { (eval echo configure:10735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10736 eval "ac_cv_func_$ac_func=yes"
10738 echo "configure: failed program was:" >&5
10739 cat conftest.$ac_ext >&5
10741 eval "ac_cv_func_$ac_func=no"
10746 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10747 echo "$ac_t""yes" 1>&6
10748 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10749 cat >> confdefs.h <<EOF
10750 #define $ac_tr_func 1
10754 echo "$ac_t""no" 1>&6
10760 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
10761 echo "configure:10762: checking for _finitef declaration" >&5
10762 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
10763 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
10764 echo $ac_n "(cached) $ac_c" 1>&6
10769 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10770 ac_cpp='$CXXCPP $CPPFLAGS'
10771 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10772 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10773 cross_compiling=$ac_cv_prog_cxx_cross
10775 cat > conftest.$ac_ext <<EOF
10776 #line 10777 "configure"
10777 #include "confdefs.h"
10779 #ifdef HAVE_IEEEFP_H
10780 #include <ieeefp.h>
10787 if { (eval echo configure:10788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10789 glibcpp_cv_func__finitef_use=yes
10791 echo "configure: failed program was:" >&5
10792 cat conftest.$ac_ext >&5
10794 glibcpp_cv_func__finitef_use=no
10798 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10799 ac_cpp='$CPP $CPPFLAGS'
10800 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10801 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10802 cross_compiling=$ac_cv_prog_cc_cross
10808 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
10810 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
10811 for ac_func in _finitef
10813 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10814 echo "configure:10815: checking for $ac_func" >&5
10815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10816 echo $ac_n "(cached) $ac_c" 1>&6
10818 cat > conftest.$ac_ext <<EOF
10819 #line 10820 "configure"
10820 #include "confdefs.h"
10821 /* System header to define __stub macros and hopefully few prototypes,
10822 which can conflict with char $ac_func(); below. */
10823 #include <assert.h>
10824 /* Override any gcc2 internal prototype to avoid an error. */
10825 /* We use char because int might match the return type of a gcc2
10826 builtin and then its argument prototype would still apply. */
10831 /* The GNU C library defines this for functions which it implements
10832 to always fail with ENOSYS. Some functions are actually named
10833 something starting with __ and the normal name is an alias. */
10834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10842 if { (eval echo configure:10843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10844 eval "ac_cv_func_$ac_func=yes"
10846 echo "configure: failed program was:" >&5
10847 cat conftest.$ac_ext >&5
10849 eval "ac_cv_func_$ac_func=no"
10854 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10855 echo "$ac_t""yes" 1>&6
10856 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10857 cat >> confdefs.h <<EOF
10858 #define $ac_tr_func 1
10862 echo "$ac_t""no" 1>&6
10871 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
10872 echo "configure:10873: checking for long double trig functions" >&5
10873 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
10874 echo $ac_n "(cached) $ac_c" 1>&6
10879 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10880 ac_cpp='$CXXCPP $CPPFLAGS'
10881 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10882 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10883 cross_compiling=$ac_cv_prog_cxx_cross
10885 cat > conftest.$ac_ext <<EOF
10886 #line 10887 "configure"
10887 #include "confdefs.h"
10890 `for x in acosl asinl atanl \
10892 coshl sinhl tanhl; do echo "$x (0);"; done`
10895 if { (eval echo configure:10896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10897 glibcpp_cv_func_long_double_trig_use=yes
10899 echo "configure: failed program was:" >&5
10900 cat conftest.$ac_ext >&5
10902 glibcpp_cv_func_long_double_trig_use=no
10906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10907 ac_cpp='$CPP $CPPFLAGS'
10908 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10909 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10910 cross_compiling=$ac_cv_prog_cc_cross
10914 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
10915 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
10916 for ac_func in acosl asinl atanl \
10920 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10921 echo "configure:10922: checking for $ac_func" >&5
10922 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10923 echo $ac_n "(cached) $ac_c" 1>&6
10925 cat > conftest.$ac_ext <<EOF
10926 #line 10927 "configure"
10927 #include "confdefs.h"
10928 /* System header to define __stub macros and hopefully few prototypes,
10929 which can conflict with char $ac_func(); below. */
10930 #include <assert.h>
10931 /* Override any gcc2 internal prototype to avoid an error. */
10932 /* We use char because int might match the return type of a gcc2
10933 builtin and then its argument prototype would still apply. */
10938 /* The GNU C library defines this for functions which it implements
10939 to always fail with ENOSYS. Some functions are actually named
10940 something starting with __ and the normal name is an alias. */
10941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10949 if { (eval echo configure:10950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10951 eval "ac_cv_func_$ac_func=yes"
10953 echo "configure: failed program was:" >&5
10954 cat conftest.$ac_ext >&5
10956 eval "ac_cv_func_$ac_func=no"
10961 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10962 echo "$ac_t""yes" 1>&6
10963 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10964 cat >> confdefs.h <<EOF
10965 #define $ac_tr_func 1
10969 echo "$ac_t""no" 1>&6
10976 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
10977 echo "configure:10978: checking for long double round functions" >&5
10978 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
10979 echo $ac_n "(cached) $ac_c" 1>&6
10984 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10985 ac_cpp='$CXXCPP $CPPFLAGS'
10986 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10987 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10988 cross_compiling=$ac_cv_prog_cxx_cross
10990 cat > conftest.$ac_ext <<EOF
10991 #line 10992 "configure"
10992 #include "confdefs.h"
10995 `for x in ceill floorl; do echo "$x (0);"; done`
10998 if { (eval echo configure:10999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11000 glibcpp_cv_func_long_double_round_use=yes
11002 echo "configure: failed program was:" >&5
11003 cat conftest.$ac_ext >&5
11005 glibcpp_cv_func_long_double_round_use=no
11009 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11010 ac_cpp='$CPP $CPPFLAGS'
11011 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11012 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11013 cross_compiling=$ac_cv_prog_cc_cross
11017 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11018 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
11019 for ac_func in ceill floorl
11021 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11022 echo "configure:11023: checking for $ac_func" >&5
11023 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11024 echo $ac_n "(cached) $ac_c" 1>&6
11026 cat > conftest.$ac_ext <<EOF
11027 #line 11028 "configure"
11028 #include "confdefs.h"
11029 /* System header to define __stub macros and hopefully few prototypes,
11030 which can conflict with char $ac_func(); below. */
11031 #include <assert.h>
11032 /* Override any gcc2 internal prototype to avoid an error. */
11033 /* We use char because int might match the return type of a gcc2
11034 builtin and then its argument prototype would still apply. */
11039 /* The GNU C library defines this for functions which it implements
11040 to always fail with ENOSYS. Some functions are actually named
11041 something starting with __ and the normal name is an alias. */
11042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11050 if { (eval echo configure:11051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11052 eval "ac_cv_func_$ac_func=yes"
11054 echo "configure: failed program was:" >&5
11055 cat conftest.$ac_ext >&5
11057 eval "ac_cv_func_$ac_func=no"
11062 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11063 echo "$ac_t""yes" 1>&6
11064 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11065 cat >> confdefs.h <<EOF
11066 #define $ac_tr_func 1
11070 echo "$ac_t""no" 1>&6
11078 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
11079 echo "configure:11080: checking for isnanl declaration" >&5
11080 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
11081 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11082 echo $ac_n "(cached) $ac_c" 1>&6
11087 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11088 ac_cpp='$CXXCPP $CPPFLAGS'
11089 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11090 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11091 cross_compiling=$ac_cv_prog_cxx_cross
11093 cat > conftest.$ac_ext <<EOF
11094 #line 11095 "configure"
11095 #include "confdefs.h"
11097 #ifdef HAVE_IEEEFP_H
11098 #include <ieeefp.h>
11105 if { (eval echo configure:11106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11107 glibcpp_cv_func_isnanl_use=yes
11109 echo "configure: failed program was:" >&5
11110 cat conftest.$ac_ext >&5
11112 glibcpp_cv_func_isnanl_use=no
11116 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11117 ac_cpp='$CPP $CPPFLAGS'
11118 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11119 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11120 cross_compiling=$ac_cv_prog_cc_cross
11126 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11128 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
11129 for ac_func in isnanl
11131 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11132 echo "configure:11133: checking for $ac_func" >&5
11133 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11134 echo $ac_n "(cached) $ac_c" 1>&6
11136 cat > conftest.$ac_ext <<EOF
11137 #line 11138 "configure"
11138 #include "confdefs.h"
11139 /* System header to define __stub macros and hopefully few prototypes,
11140 which can conflict with char $ac_func(); below. */
11141 #include <assert.h>
11142 /* Override any gcc2 internal prototype to avoid an error. */
11143 /* We use char because int might match the return type of a gcc2
11144 builtin and then its argument prototype would still apply. */
11149 /* The GNU C library defines this for functions which it implements
11150 to always fail with ENOSYS. Some functions are actually named
11151 something starting with __ and the normal name is an alias. */
11152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11160 if { (eval echo configure:11161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11162 eval "ac_cv_func_$ac_func=yes"
11164 echo "configure: failed program was:" >&5
11165 cat conftest.$ac_ext >&5
11167 eval "ac_cv_func_$ac_func=no"
11172 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11173 echo "$ac_t""yes" 1>&6
11174 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11175 cat >> confdefs.h <<EOF
11176 #define $ac_tr_func 1
11180 echo "$ac_t""no" 1>&6
11186 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
11187 echo "configure:11188: checking for _isnanl declaration" >&5
11188 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
11189 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
11190 echo $ac_n "(cached) $ac_c" 1>&6
11195 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11196 ac_cpp='$CXXCPP $CPPFLAGS'
11197 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11198 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11199 cross_compiling=$ac_cv_prog_cxx_cross
11201 cat > conftest.$ac_ext <<EOF
11202 #line 11203 "configure"
11203 #include "confdefs.h"
11205 #ifdef HAVE_IEEEFP_H
11206 #include <ieeefp.h>
11213 if { (eval echo configure:11214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11215 glibcpp_cv_func__isnanl_use=yes
11217 echo "configure: failed program was:" >&5
11218 cat conftest.$ac_ext >&5
11220 glibcpp_cv_func__isnanl_use=no
11224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11225 ac_cpp='$CPP $CPPFLAGS'
11226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11228 cross_compiling=$ac_cv_prog_cc_cross
11234 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11236 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
11237 for ac_func in _isnanl
11239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11240 echo "configure:11241: checking for $ac_func" >&5
11241 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11242 echo $ac_n "(cached) $ac_c" 1>&6
11244 cat > conftest.$ac_ext <<EOF
11245 #line 11246 "configure"
11246 #include "confdefs.h"
11247 /* System header to define __stub macros and hopefully few prototypes,
11248 which can conflict with char $ac_func(); below. */
11249 #include <assert.h>
11250 /* Override any gcc2 internal prototype to avoid an error. */
11251 /* We use char because int might match the return type of a gcc2
11252 builtin and then its argument prototype would still apply. */
11257 /* The GNU C library defines this for functions which it implements
11258 to always fail with ENOSYS. Some functions are actually named
11259 something starting with __ and the normal name is an alias. */
11260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11268 if { (eval echo configure:11269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11270 eval "ac_cv_func_$ac_func=yes"
11272 echo "configure: failed program was:" >&5
11273 cat conftest.$ac_ext >&5
11275 eval "ac_cv_func_$ac_func=no"
11280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11281 echo "$ac_t""yes" 1>&6
11282 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11283 cat >> confdefs.h <<EOF
11284 #define $ac_tr_func 1
11288 echo "$ac_t""no" 1>&6
11297 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
11298 echo "configure:11299: checking for isinfl declaration" >&5
11299 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
11300 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
11301 echo $ac_n "(cached) $ac_c" 1>&6
11306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11307 ac_cpp='$CXXCPP $CPPFLAGS'
11308 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11309 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11310 cross_compiling=$ac_cv_prog_cxx_cross
11312 cat > conftest.$ac_ext <<EOF
11313 #line 11314 "configure"
11314 #include "confdefs.h"
11316 #ifdef HAVE_IEEEFP_H
11317 #include <ieeefp.h>
11324 if { (eval echo configure:11325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11326 glibcpp_cv_func_isinfl_use=yes
11328 echo "configure: failed program was:" >&5
11329 cat conftest.$ac_ext >&5
11331 glibcpp_cv_func_isinfl_use=no
11335 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11336 ac_cpp='$CPP $CPPFLAGS'
11337 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11338 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11339 cross_compiling=$ac_cv_prog_cc_cross
11345 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
11347 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
11348 for ac_func in isinfl
11350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11351 echo "configure:11352: checking for $ac_func" >&5
11352 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11353 echo $ac_n "(cached) $ac_c" 1>&6
11355 cat > conftest.$ac_ext <<EOF
11356 #line 11357 "configure"
11357 #include "confdefs.h"
11358 /* System header to define __stub macros and hopefully few prototypes,
11359 which can conflict with char $ac_func(); below. */
11360 #include <assert.h>
11361 /* Override any gcc2 internal prototype to avoid an error. */
11362 /* We use char because int might match the return type of a gcc2
11363 builtin and then its argument prototype would still apply. */
11368 /* The GNU C library defines this for functions which it implements
11369 to always fail with ENOSYS. Some functions are actually named
11370 something starting with __ and the normal name is an alias. */
11371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11379 if { (eval echo configure:11380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11381 eval "ac_cv_func_$ac_func=yes"
11383 echo "configure: failed program was:" >&5
11384 cat conftest.$ac_ext >&5
11386 eval "ac_cv_func_$ac_func=no"
11391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11392 echo "$ac_t""yes" 1>&6
11393 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11394 cat >> confdefs.h <<EOF
11395 #define $ac_tr_func 1
11399 echo "$ac_t""no" 1>&6
11405 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
11406 echo "configure:11407: checking for _isinfl declaration" >&5
11407 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
11408 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
11409 echo $ac_n "(cached) $ac_c" 1>&6
11414 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11415 ac_cpp='$CXXCPP $CPPFLAGS'
11416 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11417 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11418 cross_compiling=$ac_cv_prog_cxx_cross
11420 cat > conftest.$ac_ext <<EOF
11421 #line 11422 "configure"
11422 #include "confdefs.h"
11424 #ifdef HAVE_IEEEFP_H
11425 #include <ieeefp.h>
11432 if { (eval echo configure:11433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11434 glibcpp_cv_func__isinfl_use=yes
11436 echo "configure: failed program was:" >&5
11437 cat conftest.$ac_ext >&5
11439 glibcpp_cv_func__isinfl_use=no
11443 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11444 ac_cpp='$CPP $CPPFLAGS'
11445 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11446 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11447 cross_compiling=$ac_cv_prog_cc_cross
11453 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
11455 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
11456 for ac_func in _isinfl
11458 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11459 echo "configure:11460: checking for $ac_func" >&5
11460 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11461 echo $ac_n "(cached) $ac_c" 1>&6
11463 cat > conftest.$ac_ext <<EOF
11464 #line 11465 "configure"
11465 #include "confdefs.h"
11466 /* System header to define __stub macros and hopefully few prototypes,
11467 which can conflict with char $ac_func(); below. */
11468 #include <assert.h>
11469 /* Override any gcc2 internal prototype to avoid an error. */
11470 /* We use char because int might match the return type of a gcc2
11471 builtin and then its argument prototype would still apply. */
11476 /* The GNU C library defines this for functions which it implements
11477 to always fail with ENOSYS. Some functions are actually named
11478 something starting with __ and the normal name is an alias. */
11479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11487 if { (eval echo configure:11488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11489 eval "ac_cv_func_$ac_func=yes"
11491 echo "configure: failed program was:" >&5
11492 cat conftest.$ac_ext >&5
11494 eval "ac_cv_func_$ac_func=no"
11499 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11500 echo "$ac_t""yes" 1>&6
11501 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11502 cat >> confdefs.h <<EOF
11503 #define $ac_tr_func 1
11507 echo "$ac_t""no" 1>&6
11516 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
11517 echo "configure:11518: checking for copysignl declaration" >&5
11518 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
11519 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
11520 echo $ac_n "(cached) $ac_c" 1>&6
11525 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11526 ac_cpp='$CXXCPP $CPPFLAGS'
11527 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11528 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11529 cross_compiling=$ac_cv_prog_cxx_cross
11531 cat > conftest.$ac_ext <<EOF
11532 #line 11533 "configure"
11533 #include "confdefs.h"
11539 if { (eval echo configure:11540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11541 glibcpp_cv_func_copysignl_use=yes
11543 echo "configure: failed program was:" >&5
11544 cat conftest.$ac_ext >&5
11546 glibcpp_cv_func_copysignl_use=no
11550 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11551 ac_cpp='$CPP $CPPFLAGS'
11552 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11553 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11554 cross_compiling=$ac_cv_prog_cc_cross
11560 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
11562 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
11563 for ac_func in copysignl
11565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11566 echo "configure:11567: checking for $ac_func" >&5
11567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11568 echo $ac_n "(cached) $ac_c" 1>&6
11570 cat > conftest.$ac_ext <<EOF
11571 #line 11572 "configure"
11572 #include "confdefs.h"
11573 /* System header to define __stub macros and hopefully few prototypes,
11574 which can conflict with char $ac_func(); below. */
11575 #include <assert.h>
11576 /* Override any gcc2 internal prototype to avoid an error. */
11577 /* We use char because int might match the return type of a gcc2
11578 builtin and then its argument prototype would still apply. */
11583 /* The GNU C library defines this for functions which it implements
11584 to always fail with ENOSYS. Some functions are actually named
11585 something starting with __ and the normal name is an alias. */
11586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11594 if { (eval echo configure:11595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11596 eval "ac_cv_func_$ac_func=yes"
11598 echo "configure: failed program was:" >&5
11599 cat conftest.$ac_ext >&5
11601 eval "ac_cv_func_$ac_func=no"
11606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11607 echo "$ac_t""yes" 1>&6
11608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11609 cat >> confdefs.h <<EOF
11610 #define $ac_tr_func 1
11614 echo "$ac_t""no" 1>&6
11620 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
11621 echo "configure:11622: checking for _copysignl declaration" >&5
11622 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
11623 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
11624 echo $ac_n "(cached) $ac_c" 1>&6
11629 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11630 ac_cpp='$CXXCPP $CPPFLAGS'
11631 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11632 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11633 cross_compiling=$ac_cv_prog_cxx_cross
11635 cat > conftest.$ac_ext <<EOF
11636 #line 11637 "configure"
11637 #include "confdefs.h"
11643 if { (eval echo configure:11644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11645 glibcpp_cv_func__copysignl_use=yes
11647 echo "configure: failed program was:" >&5
11648 cat conftest.$ac_ext >&5
11650 glibcpp_cv_func__copysignl_use=no
11654 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11655 ac_cpp='$CPP $CPPFLAGS'
11656 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11657 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11658 cross_compiling=$ac_cv_prog_cc_cross
11664 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
11666 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
11667 for ac_func in _copysignl
11669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11670 echo "configure:11671: checking for $ac_func" >&5
11671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11672 echo $ac_n "(cached) $ac_c" 1>&6
11674 cat > conftest.$ac_ext <<EOF
11675 #line 11676 "configure"
11676 #include "confdefs.h"
11677 /* System header to define __stub macros and hopefully few prototypes,
11678 which can conflict with char $ac_func(); below. */
11679 #include <assert.h>
11680 /* Override any gcc2 internal prototype to avoid an error. */
11681 /* We use char because int might match the return type of a gcc2
11682 builtin and then its argument prototype would still apply. */
11687 /* The GNU C library defines this for functions which it implements
11688 to always fail with ENOSYS. Some functions are actually named
11689 something starting with __ and the normal name is an alias. */
11690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11698 if { (eval echo configure:11699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11700 eval "ac_cv_func_$ac_func=yes"
11702 echo "configure: failed program was:" >&5
11703 cat conftest.$ac_ext >&5
11705 eval "ac_cv_func_$ac_func=no"
11710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11711 echo "$ac_t""yes" 1>&6
11712 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11713 cat >> confdefs.h <<EOF
11714 #define $ac_tr_func 1
11718 echo "$ac_t""no" 1>&6
11727 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
11728 echo "configure:11729: checking for atan2l declaration" >&5
11729 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
11730 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
11731 echo $ac_n "(cached) $ac_c" 1>&6
11736 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11737 ac_cpp='$CXXCPP $CPPFLAGS'
11738 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11739 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11740 cross_compiling=$ac_cv_prog_cxx_cross
11742 cat > conftest.$ac_ext <<EOF
11743 #line 11744 "configure"
11744 #include "confdefs.h"
11750 if { (eval echo configure:11751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11752 glibcpp_cv_func_atan2l_use=yes
11754 echo "configure: failed program was:" >&5
11755 cat conftest.$ac_ext >&5
11757 glibcpp_cv_func_atan2l_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
11771 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
11773 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
11774 for ac_func in atan2l
11776 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11777 echo "configure:11778: checking for $ac_func" >&5
11778 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11779 echo $ac_n "(cached) $ac_c" 1>&6
11781 cat > conftest.$ac_ext <<EOF
11782 #line 11783 "configure"
11783 #include "confdefs.h"
11784 /* System header to define __stub macros and hopefully few prototypes,
11785 which can conflict with char $ac_func(); below. */
11786 #include <assert.h>
11787 /* Override any gcc2 internal prototype to avoid an error. */
11788 /* We use char because int might match the return type of a gcc2
11789 builtin and then its argument prototype would still apply. */
11794 /* The GNU C library defines this for functions which it implements
11795 to always fail with ENOSYS. Some functions are actually named
11796 something starting with __ and the normal name is an alias. */
11797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11805 if { (eval echo configure:11806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11807 eval "ac_cv_func_$ac_func=yes"
11809 echo "configure: failed program was:" >&5
11810 cat conftest.$ac_ext >&5
11812 eval "ac_cv_func_$ac_func=no"
11817 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11818 echo "$ac_t""yes" 1>&6
11819 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11820 cat >> confdefs.h <<EOF
11821 #define $ac_tr_func 1
11825 echo "$ac_t""no" 1>&6
11831 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
11832 echo "configure:11833: checking for _atan2l declaration" >&5
11833 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
11834 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
11835 echo $ac_n "(cached) $ac_c" 1>&6
11840 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11841 ac_cpp='$CXXCPP $CPPFLAGS'
11842 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11843 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11844 cross_compiling=$ac_cv_prog_cxx_cross
11846 cat > conftest.$ac_ext <<EOF
11847 #line 11848 "configure"
11848 #include "confdefs.h"
11854 if { (eval echo configure:11855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11856 glibcpp_cv_func__atan2l_use=yes
11858 echo "configure: failed program was:" >&5
11859 cat conftest.$ac_ext >&5
11861 glibcpp_cv_func__atan2l_use=no
11865 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11866 ac_cpp='$CPP $CPPFLAGS'
11867 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11868 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11869 cross_compiling=$ac_cv_prog_cc_cross
11875 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
11877 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
11878 for ac_func in _atan2l
11880 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11881 echo "configure:11882: checking for $ac_func" >&5
11882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11883 echo $ac_n "(cached) $ac_c" 1>&6
11885 cat > conftest.$ac_ext <<EOF
11886 #line 11887 "configure"
11887 #include "confdefs.h"
11888 /* System header to define __stub macros and hopefully few prototypes,
11889 which can conflict with char $ac_func(); below. */
11890 #include <assert.h>
11891 /* Override any gcc2 internal prototype to avoid an error. */
11892 /* We use char because int might match the return type of a gcc2
11893 builtin and then its argument prototype would still apply. */
11898 /* The GNU C library defines this for functions which it implements
11899 to always fail with ENOSYS. Some functions are actually named
11900 something starting with __ and the normal name is an alias. */
11901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11909 if { (eval echo configure:11910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11911 eval "ac_cv_func_$ac_func=yes"
11913 echo "configure: failed program was:" >&5
11914 cat conftest.$ac_ext >&5
11916 eval "ac_cv_func_$ac_func=no"
11921 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11922 echo "$ac_t""yes" 1>&6
11923 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11924 cat >> confdefs.h <<EOF
11925 #define $ac_tr_func 1
11929 echo "$ac_t""no" 1>&6
11938 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
11939 echo "configure:11940: checking for expl declaration" >&5
11940 if test x${glibcpp_cv_func_expl_use+set} != xset; then
11941 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
11942 echo $ac_n "(cached) $ac_c" 1>&6
11947 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11948 ac_cpp='$CXXCPP $CPPFLAGS'
11949 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11950 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11951 cross_compiling=$ac_cv_prog_cxx_cross
11953 cat > conftest.$ac_ext <<EOF
11954 #line 11955 "configure"
11955 #include "confdefs.h"
11957 #ifdef HAVE_IEEEFP_H
11958 #include <ieeefp.h>
11965 if { (eval echo configure:11966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11967 glibcpp_cv_func_expl_use=yes
11969 echo "configure: failed program was:" >&5
11970 cat conftest.$ac_ext >&5
11972 glibcpp_cv_func_expl_use=no
11976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11977 ac_cpp='$CPP $CPPFLAGS'
11978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11979 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11980 cross_compiling=$ac_cv_prog_cc_cross
11986 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
11988 if test x$glibcpp_cv_func_expl_use = x"yes"; then
11989 for ac_func in expl
11991 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11992 echo "configure:11993: checking for $ac_func" >&5
11993 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11994 echo $ac_n "(cached) $ac_c" 1>&6
11996 cat > conftest.$ac_ext <<EOF
11997 #line 11998 "configure"
11998 #include "confdefs.h"
11999 /* System header to define __stub macros and hopefully few prototypes,
12000 which can conflict with char $ac_func(); below. */
12001 #include <assert.h>
12002 /* Override any gcc2 internal prototype to avoid an error. */
12003 /* We use char because int might match the return type of a gcc2
12004 builtin and then its argument prototype would still apply. */
12009 /* The GNU C library defines this for functions which it implements
12010 to always fail with ENOSYS. Some functions are actually named
12011 something starting with __ and the normal name is an alias. */
12012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12020 if { (eval echo configure:12021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12022 eval "ac_cv_func_$ac_func=yes"
12024 echo "configure: failed program was:" >&5
12025 cat conftest.$ac_ext >&5
12027 eval "ac_cv_func_$ac_func=no"
12032 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12033 echo "$ac_t""yes" 1>&6
12034 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12035 cat >> confdefs.h <<EOF
12036 #define $ac_tr_func 1
12040 echo "$ac_t""no" 1>&6
12046 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
12047 echo "configure:12048: checking for _expl declaration" >&5
12048 if test x${glibcpp_cv_func__expl_use+set} != xset; then
12049 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12050 echo $ac_n "(cached) $ac_c" 1>&6
12055 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12056 ac_cpp='$CXXCPP $CPPFLAGS'
12057 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12058 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12059 cross_compiling=$ac_cv_prog_cxx_cross
12061 cat > conftest.$ac_ext <<EOF
12062 #line 12063 "configure"
12063 #include "confdefs.h"
12065 #ifdef HAVE_IEEEFP_H
12066 #include <ieeefp.h>
12073 if { (eval echo configure:12074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12075 glibcpp_cv_func__expl_use=yes
12077 echo "configure: failed program was:" >&5
12078 cat conftest.$ac_ext >&5
12080 glibcpp_cv_func__expl_use=no
12084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12085 ac_cpp='$CPP $CPPFLAGS'
12086 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12087 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12088 cross_compiling=$ac_cv_prog_cc_cross
12094 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12096 if test x$glibcpp_cv_func__expl_use = x"yes"; then
12097 for ac_func in _expl
12099 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12100 echo "configure:12101: checking for $ac_func" >&5
12101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12102 echo $ac_n "(cached) $ac_c" 1>&6
12104 cat > conftest.$ac_ext <<EOF
12105 #line 12106 "configure"
12106 #include "confdefs.h"
12107 /* System header to define __stub macros and hopefully few prototypes,
12108 which can conflict with char $ac_func(); below. */
12109 #include <assert.h>
12110 /* Override any gcc2 internal prototype to avoid an error. */
12111 /* We use char because int might match the return type of a gcc2
12112 builtin and then its argument prototype would still apply. */
12117 /* The GNU C library defines this for functions which it implements
12118 to always fail with ENOSYS. Some functions are actually named
12119 something starting with __ and the normal name is an alias. */
12120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12128 if { (eval echo configure:12129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12130 eval "ac_cv_func_$ac_func=yes"
12132 echo "configure: failed program was:" >&5
12133 cat conftest.$ac_ext >&5
12135 eval "ac_cv_func_$ac_func=no"
12140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12141 echo "$ac_t""yes" 1>&6
12142 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12143 cat >> confdefs.h <<EOF
12144 #define $ac_tr_func 1
12148 echo "$ac_t""no" 1>&6
12157 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
12158 echo "configure:12159: checking for fabsl declaration" >&5
12159 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
12160 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
12161 echo $ac_n "(cached) $ac_c" 1>&6
12166 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12167 ac_cpp='$CXXCPP $CPPFLAGS'
12168 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12169 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12170 cross_compiling=$ac_cv_prog_cxx_cross
12172 cat > conftest.$ac_ext <<EOF
12173 #line 12174 "configure"
12174 #include "confdefs.h"
12176 #ifdef HAVE_IEEEFP_H
12177 #include <ieeefp.h>
12184 if { (eval echo configure:12185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12186 glibcpp_cv_func_fabsl_use=yes
12188 echo "configure: failed program was:" >&5
12189 cat conftest.$ac_ext >&5
12191 glibcpp_cv_func_fabsl_use=no
12195 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12196 ac_cpp='$CPP $CPPFLAGS'
12197 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12198 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12199 cross_compiling=$ac_cv_prog_cc_cross
12205 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
12207 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
12208 for ac_func in fabsl
12210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12211 echo "configure:12212: checking for $ac_func" >&5
12212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12213 echo $ac_n "(cached) $ac_c" 1>&6
12215 cat > conftest.$ac_ext <<EOF
12216 #line 12217 "configure"
12217 #include "confdefs.h"
12218 /* System header to define __stub macros and hopefully few prototypes,
12219 which can conflict with char $ac_func(); below. */
12220 #include <assert.h>
12221 /* Override any gcc2 internal prototype to avoid an error. */
12222 /* We use char because int might match the return type of a gcc2
12223 builtin and then its argument prototype would still apply. */
12228 /* The GNU C library defines this for functions which it implements
12229 to always fail with ENOSYS. Some functions are actually named
12230 something starting with __ and the normal name is an alias. */
12231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12239 if { (eval echo configure:12240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12241 eval "ac_cv_func_$ac_func=yes"
12243 echo "configure: failed program was:" >&5
12244 cat conftest.$ac_ext >&5
12246 eval "ac_cv_func_$ac_func=no"
12251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12252 echo "$ac_t""yes" 1>&6
12253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12254 cat >> confdefs.h <<EOF
12255 #define $ac_tr_func 1
12259 echo "$ac_t""no" 1>&6
12265 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
12266 echo "configure:12267: checking for _fabsl declaration" >&5
12267 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
12268 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12269 echo $ac_n "(cached) $ac_c" 1>&6
12274 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12275 ac_cpp='$CXXCPP $CPPFLAGS'
12276 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12277 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12278 cross_compiling=$ac_cv_prog_cxx_cross
12280 cat > conftest.$ac_ext <<EOF
12281 #line 12282 "configure"
12282 #include "confdefs.h"
12284 #ifdef HAVE_IEEEFP_H
12285 #include <ieeefp.h>
12292 if { (eval echo configure:12293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12294 glibcpp_cv_func__fabsl_use=yes
12296 echo "configure: failed program was:" >&5
12297 cat conftest.$ac_ext >&5
12299 glibcpp_cv_func__fabsl_use=no
12303 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12304 ac_cpp='$CPP $CPPFLAGS'
12305 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12306 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12307 cross_compiling=$ac_cv_prog_cc_cross
12313 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
12315 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
12316 for ac_func in _fabsl
12318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12319 echo "configure:12320: checking for $ac_func" >&5
12320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12321 echo $ac_n "(cached) $ac_c" 1>&6
12323 cat > conftest.$ac_ext <<EOF
12324 #line 12325 "configure"
12325 #include "confdefs.h"
12326 /* System header to define __stub macros and hopefully few prototypes,
12327 which can conflict with char $ac_func(); below. */
12328 #include <assert.h>
12329 /* Override any gcc2 internal prototype to avoid an error. */
12330 /* We use char because int might match the return type of a gcc2
12331 builtin and then its argument prototype would still apply. */
12336 /* The GNU C library defines this for functions which it implements
12337 to always fail with ENOSYS. Some functions are actually named
12338 something starting with __ and the normal name is an alias. */
12339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12347 if { (eval echo configure:12348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12349 eval "ac_cv_func_$ac_func=yes"
12351 echo "configure: failed program was:" >&5
12352 cat conftest.$ac_ext >&5
12354 eval "ac_cv_func_$ac_func=no"
12359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12360 echo "$ac_t""yes" 1>&6
12361 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12362 cat >> confdefs.h <<EOF
12363 #define $ac_tr_func 1
12367 echo "$ac_t""no" 1>&6
12376 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
12377 echo "configure:12378: checking for fmodl declaration" >&5
12378 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
12379 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
12380 echo $ac_n "(cached) $ac_c" 1>&6
12385 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12386 ac_cpp='$CXXCPP $CPPFLAGS'
12387 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12388 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12389 cross_compiling=$ac_cv_prog_cxx_cross
12391 cat > conftest.$ac_ext <<EOF
12392 #line 12393 "configure"
12393 #include "confdefs.h"
12399 if { (eval echo configure:12400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12401 glibcpp_cv_func_fmodl_use=yes
12403 echo "configure: failed program was:" >&5
12404 cat conftest.$ac_ext >&5
12406 glibcpp_cv_func_fmodl_use=no
12410 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12411 ac_cpp='$CPP $CPPFLAGS'
12412 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12413 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12414 cross_compiling=$ac_cv_prog_cc_cross
12420 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
12422 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
12423 for ac_func in fmodl
12425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12426 echo "configure:12427: checking for $ac_func" >&5
12427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12428 echo $ac_n "(cached) $ac_c" 1>&6
12430 cat > conftest.$ac_ext <<EOF
12431 #line 12432 "configure"
12432 #include "confdefs.h"
12433 /* System header to define __stub macros and hopefully few prototypes,
12434 which can conflict with char $ac_func(); below. */
12435 #include <assert.h>
12436 /* Override any gcc2 internal prototype to avoid an error. */
12437 /* We use char because int might match the return type of a gcc2
12438 builtin and then its argument prototype would still apply. */
12443 /* The GNU C library defines this for functions which it implements
12444 to always fail with ENOSYS. Some functions are actually named
12445 something starting with __ and the normal name is an alias. */
12446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12454 if { (eval echo configure:12455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12456 eval "ac_cv_func_$ac_func=yes"
12458 echo "configure: failed program was:" >&5
12459 cat conftest.$ac_ext >&5
12461 eval "ac_cv_func_$ac_func=no"
12466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12467 echo "$ac_t""yes" 1>&6
12468 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12469 cat >> confdefs.h <<EOF
12470 #define $ac_tr_func 1
12474 echo "$ac_t""no" 1>&6
12480 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
12481 echo "configure:12482: checking for _fmodl declaration" >&5
12482 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
12483 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
12484 echo $ac_n "(cached) $ac_c" 1>&6
12489 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12490 ac_cpp='$CXXCPP $CPPFLAGS'
12491 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12492 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12493 cross_compiling=$ac_cv_prog_cxx_cross
12495 cat > conftest.$ac_ext <<EOF
12496 #line 12497 "configure"
12497 #include "confdefs.h"
12503 if { (eval echo configure:12504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12505 glibcpp_cv_func__fmodl_use=yes
12507 echo "configure: failed program was:" >&5
12508 cat conftest.$ac_ext >&5
12510 glibcpp_cv_func__fmodl_use=no
12514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12515 ac_cpp='$CPP $CPPFLAGS'
12516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12518 cross_compiling=$ac_cv_prog_cc_cross
12524 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
12526 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
12527 for ac_func in _fmodl
12529 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12530 echo "configure:12531: checking for $ac_func" >&5
12531 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12532 echo $ac_n "(cached) $ac_c" 1>&6
12534 cat > conftest.$ac_ext <<EOF
12535 #line 12536 "configure"
12536 #include "confdefs.h"
12537 /* System header to define __stub macros and hopefully few prototypes,
12538 which can conflict with char $ac_func(); below. */
12539 #include <assert.h>
12540 /* Override any gcc2 internal prototype to avoid an error. */
12541 /* We use char because int might match the return type of a gcc2
12542 builtin and then its argument prototype would still apply. */
12547 /* The GNU C library defines this for functions which it implements
12548 to always fail with ENOSYS. Some functions are actually named
12549 something starting with __ and the normal name is an alias. */
12550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12558 if { (eval echo configure:12559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12560 eval "ac_cv_func_$ac_func=yes"
12562 echo "configure: failed program was:" >&5
12563 cat conftest.$ac_ext >&5
12565 eval "ac_cv_func_$ac_func=no"
12570 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12571 echo "$ac_t""yes" 1>&6
12572 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12573 cat >> confdefs.h <<EOF
12574 #define $ac_tr_func 1
12578 echo "$ac_t""no" 1>&6
12587 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
12588 echo "configure:12589: checking for frexpl declaration" >&5
12589 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
12590 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
12591 echo $ac_n "(cached) $ac_c" 1>&6
12596 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12597 ac_cpp='$CXXCPP $CPPFLAGS'
12598 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12599 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12600 cross_compiling=$ac_cv_prog_cxx_cross
12602 cat > conftest.$ac_ext <<EOF
12603 #line 12604 "configure"
12604 #include "confdefs.h"
12610 if { (eval echo configure:12611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12612 glibcpp_cv_func_frexpl_use=yes
12614 echo "configure: failed program was:" >&5
12615 cat conftest.$ac_ext >&5
12617 glibcpp_cv_func_frexpl_use=no
12621 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12622 ac_cpp='$CPP $CPPFLAGS'
12623 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12624 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12625 cross_compiling=$ac_cv_prog_cc_cross
12631 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
12633 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
12634 for ac_func in frexpl
12636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12637 echo "configure:12638: checking for $ac_func" >&5
12638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12639 echo $ac_n "(cached) $ac_c" 1>&6
12641 cat > conftest.$ac_ext <<EOF
12642 #line 12643 "configure"
12643 #include "confdefs.h"
12644 /* System header to define __stub macros and hopefully few prototypes,
12645 which can conflict with char $ac_func(); below. */
12646 #include <assert.h>
12647 /* Override any gcc2 internal prototype to avoid an error. */
12648 /* We use char because int might match the return type of a gcc2
12649 builtin and then its argument prototype would still apply. */
12654 /* The GNU C library defines this for functions which it implements
12655 to always fail with ENOSYS. Some functions are actually named
12656 something starting with __ and the normal name is an alias. */
12657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12665 if { (eval echo configure:12666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12667 eval "ac_cv_func_$ac_func=yes"
12669 echo "configure: failed program was:" >&5
12670 cat conftest.$ac_ext >&5
12672 eval "ac_cv_func_$ac_func=no"
12677 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12678 echo "$ac_t""yes" 1>&6
12679 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12680 cat >> confdefs.h <<EOF
12681 #define $ac_tr_func 1
12685 echo "$ac_t""no" 1>&6
12691 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
12692 echo "configure:12693: checking for _frexpl declaration" >&5
12693 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
12694 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
12695 echo $ac_n "(cached) $ac_c" 1>&6
12700 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12701 ac_cpp='$CXXCPP $CPPFLAGS'
12702 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12703 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12704 cross_compiling=$ac_cv_prog_cxx_cross
12706 cat > conftest.$ac_ext <<EOF
12707 #line 12708 "configure"
12708 #include "confdefs.h"
12714 if { (eval echo configure:12715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12716 glibcpp_cv_func__frexpl_use=yes
12718 echo "configure: failed program was:" >&5
12719 cat conftest.$ac_ext >&5
12721 glibcpp_cv_func__frexpl_use=no
12725 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12726 ac_cpp='$CPP $CPPFLAGS'
12727 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12728 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12729 cross_compiling=$ac_cv_prog_cc_cross
12735 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
12737 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
12738 for ac_func in _frexpl
12740 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12741 echo "configure:12742: checking for $ac_func" >&5
12742 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12743 echo $ac_n "(cached) $ac_c" 1>&6
12745 cat > conftest.$ac_ext <<EOF
12746 #line 12747 "configure"
12747 #include "confdefs.h"
12748 /* System header to define __stub macros and hopefully few prototypes,
12749 which can conflict with char $ac_func(); below. */
12750 #include <assert.h>
12751 /* Override any gcc2 internal prototype to avoid an error. */
12752 /* We use char because int might match the return type of a gcc2
12753 builtin and then its argument prototype would still apply. */
12758 /* The GNU C library defines this for functions which it implements
12759 to always fail with ENOSYS. Some functions are actually named
12760 something starting with __ and the normal name is an alias. */
12761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12769 if { (eval echo configure:12770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12771 eval "ac_cv_func_$ac_func=yes"
12773 echo "configure: failed program was:" >&5
12774 cat conftest.$ac_ext >&5
12776 eval "ac_cv_func_$ac_func=no"
12781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12782 echo "$ac_t""yes" 1>&6
12783 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12784 cat >> confdefs.h <<EOF
12785 #define $ac_tr_func 1
12789 echo "$ac_t""no" 1>&6
12798 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
12799 echo "configure:12800: checking for ldexpl declaration" >&5
12800 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
12801 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
12802 echo $ac_n "(cached) $ac_c" 1>&6
12807 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12808 ac_cpp='$CXXCPP $CPPFLAGS'
12809 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12810 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12811 cross_compiling=$ac_cv_prog_cxx_cross
12813 cat > conftest.$ac_ext <<EOF
12814 #line 12815 "configure"
12815 #include "confdefs.h"
12821 if { (eval echo configure:12822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12823 glibcpp_cv_func_ldexpl_use=yes
12825 echo "configure: failed program was:" >&5
12826 cat conftest.$ac_ext >&5
12828 glibcpp_cv_func_ldexpl_use=no
12832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12833 ac_cpp='$CPP $CPPFLAGS'
12834 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12835 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12836 cross_compiling=$ac_cv_prog_cc_cross
12842 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
12844 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
12845 for ac_func in ldexpl
12847 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12848 echo "configure:12849: checking for $ac_func" >&5
12849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12850 echo $ac_n "(cached) $ac_c" 1>&6
12852 cat > conftest.$ac_ext <<EOF
12853 #line 12854 "configure"
12854 #include "confdefs.h"
12855 /* System header to define __stub macros and hopefully few prototypes,
12856 which can conflict with char $ac_func(); below. */
12857 #include <assert.h>
12858 /* Override any gcc2 internal prototype to avoid an error. */
12859 /* We use char because int might match the return type of a gcc2
12860 builtin and then its argument prototype would still apply. */
12865 /* The GNU C library defines this for functions which it implements
12866 to always fail with ENOSYS. Some functions are actually named
12867 something starting with __ and the normal name is an alias. */
12868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12876 if { (eval echo configure:12877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12878 eval "ac_cv_func_$ac_func=yes"
12880 echo "configure: failed program was:" >&5
12881 cat conftest.$ac_ext >&5
12883 eval "ac_cv_func_$ac_func=no"
12888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12889 echo "$ac_t""yes" 1>&6
12890 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12891 cat >> confdefs.h <<EOF
12892 #define $ac_tr_func 1
12896 echo "$ac_t""no" 1>&6
12902 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
12903 echo "configure:12904: checking for _ldexpl declaration" >&5
12904 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
12905 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
12906 echo $ac_n "(cached) $ac_c" 1>&6
12911 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12912 ac_cpp='$CXXCPP $CPPFLAGS'
12913 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12914 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12915 cross_compiling=$ac_cv_prog_cxx_cross
12917 cat > conftest.$ac_ext <<EOF
12918 #line 12919 "configure"
12919 #include "confdefs.h"
12925 if { (eval echo configure:12926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12927 glibcpp_cv_func__ldexpl_use=yes
12929 echo "configure: failed program was:" >&5
12930 cat conftest.$ac_ext >&5
12932 glibcpp_cv_func__ldexpl_use=no
12936 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12937 ac_cpp='$CPP $CPPFLAGS'
12938 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12939 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12940 cross_compiling=$ac_cv_prog_cc_cross
12946 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
12948 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
12949 for ac_func in _ldexpl
12951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12952 echo "configure:12953: checking for $ac_func" >&5
12953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12954 echo $ac_n "(cached) $ac_c" 1>&6
12956 cat > conftest.$ac_ext <<EOF
12957 #line 12958 "configure"
12958 #include "confdefs.h"
12959 /* System header to define __stub macros and hopefully few prototypes,
12960 which can conflict with char $ac_func(); below. */
12961 #include <assert.h>
12962 /* Override any gcc2 internal prototype to avoid an error. */
12963 /* We use char because int might match the return type of a gcc2
12964 builtin and then its argument prototype would still apply. */
12969 /* The GNU C library defines this for functions which it implements
12970 to always fail with ENOSYS. Some functions are actually named
12971 something starting with __ and the normal name is an alias. */
12972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12980 if { (eval echo configure:12981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12982 eval "ac_cv_func_$ac_func=yes"
12984 echo "configure: failed program was:" >&5
12985 cat conftest.$ac_ext >&5
12987 eval "ac_cv_func_$ac_func=no"
12992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12993 echo "$ac_t""yes" 1>&6
12994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12995 cat >> confdefs.h <<EOF
12996 #define $ac_tr_func 1
13000 echo "$ac_t""no" 1>&6
13009 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
13010 echo "configure:13011: checking for logl declaration" >&5
13011 if test x${glibcpp_cv_func_logl_use+set} != xset; then
13012 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
13013 echo $ac_n "(cached) $ac_c" 1>&6
13018 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13019 ac_cpp='$CXXCPP $CPPFLAGS'
13020 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13021 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13022 cross_compiling=$ac_cv_prog_cxx_cross
13024 cat > conftest.$ac_ext <<EOF
13025 #line 13026 "configure"
13026 #include "confdefs.h"
13028 #ifdef HAVE_IEEEFP_H
13029 #include <ieeefp.h>
13036 if { (eval echo configure:13037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13038 glibcpp_cv_func_logl_use=yes
13040 echo "configure: failed program was:" >&5
13041 cat conftest.$ac_ext >&5
13043 glibcpp_cv_func_logl_use=no
13047 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13048 ac_cpp='$CPP $CPPFLAGS'
13049 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13050 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13051 cross_compiling=$ac_cv_prog_cc_cross
13057 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
13059 if test x$glibcpp_cv_func_logl_use = x"yes"; then
13060 for ac_func in logl
13062 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13063 echo "configure:13064: checking for $ac_func" >&5
13064 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13065 echo $ac_n "(cached) $ac_c" 1>&6
13067 cat > conftest.$ac_ext <<EOF
13068 #line 13069 "configure"
13069 #include "confdefs.h"
13070 /* System header to define __stub macros and hopefully few prototypes,
13071 which can conflict with char $ac_func(); below. */
13072 #include <assert.h>
13073 /* Override any gcc2 internal prototype to avoid an error. */
13074 /* We use char because int might match the return type of a gcc2
13075 builtin and then its argument prototype would still apply. */
13080 /* The GNU C library defines this for functions which it implements
13081 to always fail with ENOSYS. Some functions are actually named
13082 something starting with __ and the normal name is an alias. */
13083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13091 if { (eval echo configure:13092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13093 eval "ac_cv_func_$ac_func=yes"
13095 echo "configure: failed program was:" >&5
13096 cat conftest.$ac_ext >&5
13098 eval "ac_cv_func_$ac_func=no"
13103 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13104 echo "$ac_t""yes" 1>&6
13105 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13106 cat >> confdefs.h <<EOF
13107 #define $ac_tr_func 1
13111 echo "$ac_t""no" 1>&6
13117 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
13118 echo "configure:13119: checking for _logl declaration" >&5
13119 if test x${glibcpp_cv_func__logl_use+set} != xset; then
13120 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
13121 echo $ac_n "(cached) $ac_c" 1>&6
13126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13127 ac_cpp='$CXXCPP $CPPFLAGS'
13128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13130 cross_compiling=$ac_cv_prog_cxx_cross
13132 cat > conftest.$ac_ext <<EOF
13133 #line 13134 "configure"
13134 #include "confdefs.h"
13136 #ifdef HAVE_IEEEFP_H
13137 #include <ieeefp.h>
13144 if { (eval echo configure:13145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13146 glibcpp_cv_func__logl_use=yes
13148 echo "configure: failed program was:" >&5
13149 cat conftest.$ac_ext >&5
13151 glibcpp_cv_func__logl_use=no
13155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13156 ac_cpp='$CPP $CPPFLAGS'
13157 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13158 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13159 cross_compiling=$ac_cv_prog_cc_cross
13165 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
13167 if test x$glibcpp_cv_func__logl_use = x"yes"; then
13168 for ac_func in _logl
13170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13171 echo "configure:13172: checking for $ac_func" >&5
13172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13173 echo $ac_n "(cached) $ac_c" 1>&6
13175 cat > conftest.$ac_ext <<EOF
13176 #line 13177 "configure"
13177 #include "confdefs.h"
13178 /* System header to define __stub macros and hopefully few prototypes,
13179 which can conflict with char $ac_func(); below. */
13180 #include <assert.h>
13181 /* Override any gcc2 internal prototype to avoid an error. */
13182 /* We use char because int might match the return type of a gcc2
13183 builtin and then its argument prototype would still apply. */
13188 /* The GNU C library defines this for functions which it implements
13189 to always fail with ENOSYS. Some functions are actually named
13190 something starting with __ and the normal name is an alias. */
13191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13199 if { (eval echo configure:13200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13201 eval "ac_cv_func_$ac_func=yes"
13203 echo "configure: failed program was:" >&5
13204 cat conftest.$ac_ext >&5
13206 eval "ac_cv_func_$ac_func=no"
13211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13212 echo "$ac_t""yes" 1>&6
13213 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13214 cat >> confdefs.h <<EOF
13215 #define $ac_tr_func 1
13219 echo "$ac_t""no" 1>&6
13228 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
13229 echo "configure:13230: checking for log10l declaration" >&5
13230 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
13231 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
13232 echo $ac_n "(cached) $ac_c" 1>&6
13237 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13238 ac_cpp='$CXXCPP $CPPFLAGS'
13239 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13240 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13241 cross_compiling=$ac_cv_prog_cxx_cross
13243 cat > conftest.$ac_ext <<EOF
13244 #line 13245 "configure"
13245 #include "confdefs.h"
13247 #ifdef HAVE_IEEEFP_H
13248 #include <ieeefp.h>
13255 if { (eval echo configure:13256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13257 glibcpp_cv_func_log10l_use=yes
13259 echo "configure: failed program was:" >&5
13260 cat conftest.$ac_ext >&5
13262 glibcpp_cv_func_log10l_use=no
13266 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13267 ac_cpp='$CPP $CPPFLAGS'
13268 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13269 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13270 cross_compiling=$ac_cv_prog_cc_cross
13276 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
13278 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
13279 for ac_func in log10l
13281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13282 echo "configure:13283: checking for $ac_func" >&5
13283 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13284 echo $ac_n "(cached) $ac_c" 1>&6
13286 cat > conftest.$ac_ext <<EOF
13287 #line 13288 "configure"
13288 #include "confdefs.h"
13289 /* System header to define __stub macros and hopefully few prototypes,
13290 which can conflict with char $ac_func(); below. */
13291 #include <assert.h>
13292 /* Override any gcc2 internal prototype to avoid an error. */
13293 /* We use char because int might match the return type of a gcc2
13294 builtin and then its argument prototype would still apply. */
13299 /* The GNU C library defines this for functions which it implements
13300 to always fail with ENOSYS. Some functions are actually named
13301 something starting with __ and the normal name is an alias. */
13302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13310 if { (eval echo configure:13311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13312 eval "ac_cv_func_$ac_func=yes"
13314 echo "configure: failed program was:" >&5
13315 cat conftest.$ac_ext >&5
13317 eval "ac_cv_func_$ac_func=no"
13322 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13323 echo "$ac_t""yes" 1>&6
13324 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13325 cat >> confdefs.h <<EOF
13326 #define $ac_tr_func 1
13330 echo "$ac_t""no" 1>&6
13336 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
13337 echo "configure:13338: checking for _log10l declaration" >&5
13338 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
13339 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
13340 echo $ac_n "(cached) $ac_c" 1>&6
13345 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13346 ac_cpp='$CXXCPP $CPPFLAGS'
13347 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13348 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13349 cross_compiling=$ac_cv_prog_cxx_cross
13351 cat > conftest.$ac_ext <<EOF
13352 #line 13353 "configure"
13353 #include "confdefs.h"
13355 #ifdef HAVE_IEEEFP_H
13356 #include <ieeefp.h>
13363 if { (eval echo configure:13364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13365 glibcpp_cv_func__log10l_use=yes
13367 echo "configure: failed program was:" >&5
13368 cat conftest.$ac_ext >&5
13370 glibcpp_cv_func__log10l_use=no
13374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13375 ac_cpp='$CPP $CPPFLAGS'
13376 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13377 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13378 cross_compiling=$ac_cv_prog_cc_cross
13384 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
13386 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
13387 for ac_func in _log10l
13389 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13390 echo "configure:13391: checking for $ac_func" >&5
13391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13392 echo $ac_n "(cached) $ac_c" 1>&6
13394 cat > conftest.$ac_ext <<EOF
13395 #line 13396 "configure"
13396 #include "confdefs.h"
13397 /* System header to define __stub macros and hopefully few prototypes,
13398 which can conflict with char $ac_func(); below. */
13399 #include <assert.h>
13400 /* Override any gcc2 internal prototype to avoid an error. */
13401 /* We use char because int might match the return type of a gcc2
13402 builtin and then its argument prototype would still apply. */
13407 /* The GNU C library defines this for functions which it implements
13408 to always fail with ENOSYS. Some functions are actually named
13409 something starting with __ and the normal name is an alias. */
13410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13418 if { (eval echo configure:13419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13420 eval "ac_cv_func_$ac_func=yes"
13422 echo "configure: failed program was:" >&5
13423 cat conftest.$ac_ext >&5
13425 eval "ac_cv_func_$ac_func=no"
13430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13431 echo "$ac_t""yes" 1>&6
13432 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13433 cat >> confdefs.h <<EOF
13434 #define $ac_tr_func 1
13438 echo "$ac_t""no" 1>&6
13447 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
13448 echo "configure:13449: checking for modfl declaration" >&5
13449 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
13450 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
13451 echo $ac_n "(cached) $ac_c" 1>&6
13456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13457 ac_cpp='$CXXCPP $CPPFLAGS'
13458 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13459 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13460 cross_compiling=$ac_cv_prog_cxx_cross
13462 cat > conftest.$ac_ext <<EOF
13463 #line 13464 "configure"
13464 #include "confdefs.h"
13470 if { (eval echo configure:13471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13472 glibcpp_cv_func_modfl_use=yes
13474 echo "configure: failed program was:" >&5
13475 cat conftest.$ac_ext >&5
13477 glibcpp_cv_func_modfl_use=no
13481 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13482 ac_cpp='$CPP $CPPFLAGS'
13483 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13484 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13485 cross_compiling=$ac_cv_prog_cc_cross
13491 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
13493 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
13494 for ac_func in modfl
13496 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13497 echo "configure:13498: checking for $ac_func" >&5
13498 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13499 echo $ac_n "(cached) $ac_c" 1>&6
13501 cat > conftest.$ac_ext <<EOF
13502 #line 13503 "configure"
13503 #include "confdefs.h"
13504 /* System header to define __stub macros and hopefully few prototypes,
13505 which can conflict with char $ac_func(); below. */
13506 #include <assert.h>
13507 /* Override any gcc2 internal prototype to avoid an error. */
13508 /* We use char because int might match the return type of a gcc2
13509 builtin and then its argument prototype would still apply. */
13514 /* The GNU C library defines this for functions which it implements
13515 to always fail with ENOSYS. Some functions are actually named
13516 something starting with __ and the normal name is an alias. */
13517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13525 if { (eval echo configure:13526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13527 eval "ac_cv_func_$ac_func=yes"
13529 echo "configure: failed program was:" >&5
13530 cat conftest.$ac_ext >&5
13532 eval "ac_cv_func_$ac_func=no"
13537 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13538 echo "$ac_t""yes" 1>&6
13539 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13540 cat >> confdefs.h <<EOF
13541 #define $ac_tr_func 1
13545 echo "$ac_t""no" 1>&6
13551 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
13552 echo "configure:13553: checking for _modfl declaration" >&5
13553 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
13554 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13555 echo $ac_n "(cached) $ac_c" 1>&6
13560 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13561 ac_cpp='$CXXCPP $CPPFLAGS'
13562 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13563 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13564 cross_compiling=$ac_cv_prog_cxx_cross
13566 cat > conftest.$ac_ext <<EOF
13567 #line 13568 "configure"
13568 #include "confdefs.h"
13574 if { (eval echo configure:13575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13576 glibcpp_cv_func__modfl_use=yes
13578 echo "configure: failed program was:" >&5
13579 cat conftest.$ac_ext >&5
13581 glibcpp_cv_func__modfl_use=no
13585 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13586 ac_cpp='$CPP $CPPFLAGS'
13587 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13588 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13589 cross_compiling=$ac_cv_prog_cc_cross
13595 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13597 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
13598 for ac_func in _modfl
13600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13601 echo "configure:13602: checking for $ac_func" >&5
13602 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13603 echo $ac_n "(cached) $ac_c" 1>&6
13605 cat > conftest.$ac_ext <<EOF
13606 #line 13607 "configure"
13607 #include "confdefs.h"
13608 /* System header to define __stub macros and hopefully few prototypes,
13609 which can conflict with char $ac_func(); below. */
13610 #include <assert.h>
13611 /* Override any gcc2 internal prototype to avoid an error. */
13612 /* We use char because int might match the return type of a gcc2
13613 builtin and then its argument prototype would still apply. */
13618 /* The GNU C library defines this for functions which it implements
13619 to always fail with ENOSYS. Some functions are actually named
13620 something starting with __ and the normal name is an alias. */
13621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13629 if { (eval echo configure:13630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13631 eval "ac_cv_func_$ac_func=yes"
13633 echo "configure: failed program was:" >&5
13634 cat conftest.$ac_ext >&5
13636 eval "ac_cv_func_$ac_func=no"
13641 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13642 echo "$ac_t""yes" 1>&6
13643 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13644 cat >> confdefs.h <<EOF
13645 #define $ac_tr_func 1
13649 echo "$ac_t""no" 1>&6
13658 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
13659 echo "configure:13660: checking for powl declaration" >&5
13660 if test x${glibcpp_cv_func_powl_use+set} != xset; then
13661 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
13662 echo $ac_n "(cached) $ac_c" 1>&6
13667 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13668 ac_cpp='$CXXCPP $CPPFLAGS'
13669 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13670 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13671 cross_compiling=$ac_cv_prog_cxx_cross
13673 cat > conftest.$ac_ext <<EOF
13674 #line 13675 "configure"
13675 #include "confdefs.h"
13681 if { (eval echo configure:13682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13683 glibcpp_cv_func_powl_use=yes
13685 echo "configure: failed program was:" >&5
13686 cat conftest.$ac_ext >&5
13688 glibcpp_cv_func_powl_use=no
13692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13693 ac_cpp='$CPP $CPPFLAGS'
13694 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13695 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13696 cross_compiling=$ac_cv_prog_cc_cross
13702 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
13704 if test x$glibcpp_cv_func_powl_use = x"yes"; then
13705 for ac_func in powl
13707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13708 echo "configure:13709: checking for $ac_func" >&5
13709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13710 echo $ac_n "(cached) $ac_c" 1>&6
13712 cat > conftest.$ac_ext <<EOF
13713 #line 13714 "configure"
13714 #include "confdefs.h"
13715 /* System header to define __stub macros and hopefully few prototypes,
13716 which can conflict with char $ac_func(); below. */
13717 #include <assert.h>
13718 /* Override any gcc2 internal prototype to avoid an error. */
13719 /* We use char because int might match the return type of a gcc2
13720 builtin and then its argument prototype would still apply. */
13725 /* The GNU C library defines this for functions which it implements
13726 to always fail with ENOSYS. Some functions are actually named
13727 something starting with __ and the normal name is an alias. */
13728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13736 if { (eval echo configure:13737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13738 eval "ac_cv_func_$ac_func=yes"
13740 echo "configure: failed program was:" >&5
13741 cat conftest.$ac_ext >&5
13743 eval "ac_cv_func_$ac_func=no"
13748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13749 echo "$ac_t""yes" 1>&6
13750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13751 cat >> confdefs.h <<EOF
13752 #define $ac_tr_func 1
13756 echo "$ac_t""no" 1>&6
13762 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
13763 echo "configure:13764: checking for _powl declaration" >&5
13764 if test x${glibcpp_cv_func__powl_use+set} != xset; then
13765 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
13766 echo $ac_n "(cached) $ac_c" 1>&6
13771 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13772 ac_cpp='$CXXCPP $CPPFLAGS'
13773 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13774 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13775 cross_compiling=$ac_cv_prog_cxx_cross
13777 cat > conftest.$ac_ext <<EOF
13778 #line 13779 "configure"
13779 #include "confdefs.h"
13785 if { (eval echo configure:13786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13787 glibcpp_cv_func__powl_use=yes
13789 echo "configure: failed program was:" >&5
13790 cat conftest.$ac_ext >&5
13792 glibcpp_cv_func__powl_use=no
13796 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13797 ac_cpp='$CPP $CPPFLAGS'
13798 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13799 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13800 cross_compiling=$ac_cv_prog_cc_cross
13806 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
13808 if test x$glibcpp_cv_func__powl_use = x"yes"; then
13809 for ac_func in _powl
13811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13812 echo "configure:13813: checking for $ac_func" >&5
13813 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13814 echo $ac_n "(cached) $ac_c" 1>&6
13816 cat > conftest.$ac_ext <<EOF
13817 #line 13818 "configure"
13818 #include "confdefs.h"
13819 /* System header to define __stub macros and hopefully few prototypes,
13820 which can conflict with char $ac_func(); below. */
13821 #include <assert.h>
13822 /* Override any gcc2 internal prototype to avoid an error. */
13823 /* We use char because int might match the return type of a gcc2
13824 builtin and then its argument prototype would still apply. */
13829 /* The GNU C library defines this for functions which it implements
13830 to always fail with ENOSYS. Some functions are actually named
13831 something starting with __ and the normal name is an alias. */
13832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13840 if { (eval echo configure:13841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13842 eval "ac_cv_func_$ac_func=yes"
13844 echo "configure: failed program was:" >&5
13845 cat conftest.$ac_ext >&5
13847 eval "ac_cv_func_$ac_func=no"
13852 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13853 echo "$ac_t""yes" 1>&6
13854 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13855 cat >> confdefs.h <<EOF
13856 #define $ac_tr_func 1
13860 echo "$ac_t""no" 1>&6
13869 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
13870 echo "configure:13871: checking for sqrtl declaration" >&5
13871 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
13872 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
13873 echo $ac_n "(cached) $ac_c" 1>&6
13878 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13879 ac_cpp='$CXXCPP $CPPFLAGS'
13880 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13881 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13882 cross_compiling=$ac_cv_prog_cxx_cross
13884 cat > conftest.$ac_ext <<EOF
13885 #line 13886 "configure"
13886 #include "confdefs.h"
13888 #ifdef HAVE_IEEEFP_H
13889 #include <ieeefp.h>
13896 if { (eval echo configure:13897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13898 glibcpp_cv_func_sqrtl_use=yes
13900 echo "configure: failed program was:" >&5
13901 cat conftest.$ac_ext >&5
13903 glibcpp_cv_func_sqrtl_use=no
13907 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13908 ac_cpp='$CPP $CPPFLAGS'
13909 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13910 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13911 cross_compiling=$ac_cv_prog_cc_cross
13917 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
13919 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
13920 for ac_func in sqrtl
13922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13923 echo "configure:13924: checking for $ac_func" >&5
13924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13925 echo $ac_n "(cached) $ac_c" 1>&6
13927 cat > conftest.$ac_ext <<EOF
13928 #line 13929 "configure"
13929 #include "confdefs.h"
13930 /* System header to define __stub macros and hopefully few prototypes,
13931 which can conflict with char $ac_func(); below. */
13932 #include <assert.h>
13933 /* Override any gcc2 internal prototype to avoid an error. */
13934 /* We use char because int might match the return type of a gcc2
13935 builtin and then its argument prototype would still apply. */
13940 /* The GNU C library defines this for functions which it implements
13941 to always fail with ENOSYS. Some functions are actually named
13942 something starting with __ and the normal name is an alias. */
13943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13951 if { (eval echo configure:13952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13953 eval "ac_cv_func_$ac_func=yes"
13955 echo "configure: failed program was:" >&5
13956 cat conftest.$ac_ext >&5
13958 eval "ac_cv_func_$ac_func=no"
13963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13964 echo "$ac_t""yes" 1>&6
13965 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13966 cat >> confdefs.h <<EOF
13967 #define $ac_tr_func 1
13971 echo "$ac_t""no" 1>&6
13977 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
13978 echo "configure:13979: checking for _sqrtl declaration" >&5
13979 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
13980 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
13981 echo $ac_n "(cached) $ac_c" 1>&6
13986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13987 ac_cpp='$CXXCPP $CPPFLAGS'
13988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13990 cross_compiling=$ac_cv_prog_cxx_cross
13992 cat > conftest.$ac_ext <<EOF
13993 #line 13994 "configure"
13994 #include "confdefs.h"
13996 #ifdef HAVE_IEEEFP_H
13997 #include <ieeefp.h>
14004 if { (eval echo configure:14005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14006 glibcpp_cv_func__sqrtl_use=yes
14008 echo "configure: failed program was:" >&5
14009 cat conftest.$ac_ext >&5
14011 glibcpp_cv_func__sqrtl_use=no
14015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14016 ac_cpp='$CPP $CPPFLAGS'
14017 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14018 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14019 cross_compiling=$ac_cv_prog_cc_cross
14025 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
14027 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
14028 for ac_func in _sqrtl
14030 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14031 echo "configure:14032: checking for $ac_func" >&5
14032 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14033 echo $ac_n "(cached) $ac_c" 1>&6
14035 cat > conftest.$ac_ext <<EOF
14036 #line 14037 "configure"
14037 #include "confdefs.h"
14038 /* System header to define __stub macros and hopefully few prototypes,
14039 which can conflict with char $ac_func(); below. */
14040 #include <assert.h>
14041 /* Override any gcc2 internal prototype to avoid an error. */
14042 /* We use char because int might match the return type of a gcc2
14043 builtin and then its argument prototype would still apply. */
14048 /* The GNU C library defines this for functions which it implements
14049 to always fail with ENOSYS. Some functions are actually named
14050 something starting with __ and the normal name is an alias. */
14051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14059 if { (eval echo configure:14060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14061 eval "ac_cv_func_$ac_func=yes"
14063 echo "configure: failed program was:" >&5
14064 cat conftest.$ac_ext >&5
14066 eval "ac_cv_func_$ac_func=no"
14071 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14072 echo "$ac_t""yes" 1>&6
14073 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14074 cat >> confdefs.h <<EOF
14075 #define $ac_tr_func 1
14079 echo "$ac_t""no" 1>&6
14088 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
14089 echo "configure:14090: checking for sincosl declaration" >&5
14090 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
14091 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
14092 echo $ac_n "(cached) $ac_c" 1>&6
14097 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14098 ac_cpp='$CXXCPP $CPPFLAGS'
14099 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14100 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14101 cross_compiling=$ac_cv_prog_cxx_cross
14103 cat > conftest.$ac_ext <<EOF
14104 #line 14105 "configure"
14105 #include "confdefs.h"
14111 if { (eval echo configure:14112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14113 glibcpp_cv_func_sincosl_use=yes
14115 echo "configure: failed program was:" >&5
14116 cat conftest.$ac_ext >&5
14118 glibcpp_cv_func_sincosl_use=no
14122 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14123 ac_cpp='$CPP $CPPFLAGS'
14124 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14125 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14126 cross_compiling=$ac_cv_prog_cc_cross
14132 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
14134 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
14135 for ac_func in sincosl
14137 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14138 echo "configure:14139: checking for $ac_func" >&5
14139 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14140 echo $ac_n "(cached) $ac_c" 1>&6
14142 cat > conftest.$ac_ext <<EOF
14143 #line 14144 "configure"
14144 #include "confdefs.h"
14145 /* System header to define __stub macros and hopefully few prototypes,
14146 which can conflict with char $ac_func(); below. */
14147 #include <assert.h>
14148 /* Override any gcc2 internal prototype to avoid an error. */
14149 /* We use char because int might match the return type of a gcc2
14150 builtin and then its argument prototype would still apply. */
14155 /* The GNU C library defines this for functions which it implements
14156 to always fail with ENOSYS. Some functions are actually named
14157 something starting with __ and the normal name is an alias. */
14158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14166 if { (eval echo configure:14167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14168 eval "ac_cv_func_$ac_func=yes"
14170 echo "configure: failed program was:" >&5
14171 cat conftest.$ac_ext >&5
14173 eval "ac_cv_func_$ac_func=no"
14178 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14179 echo "$ac_t""yes" 1>&6
14180 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14181 cat >> confdefs.h <<EOF
14182 #define $ac_tr_func 1
14186 echo "$ac_t""no" 1>&6
14192 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
14193 echo "configure:14194: checking for _sincosl declaration" >&5
14194 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
14195 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
14196 echo $ac_n "(cached) $ac_c" 1>&6
14201 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14202 ac_cpp='$CXXCPP $CPPFLAGS'
14203 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14204 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14205 cross_compiling=$ac_cv_prog_cxx_cross
14207 cat > conftest.$ac_ext <<EOF
14208 #line 14209 "configure"
14209 #include "confdefs.h"
14215 if { (eval echo configure:14216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14217 glibcpp_cv_func__sincosl_use=yes
14219 echo "configure: failed program was:" >&5
14220 cat conftest.$ac_ext >&5
14222 glibcpp_cv_func__sincosl_use=no
14226 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14227 ac_cpp='$CPP $CPPFLAGS'
14228 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14229 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14230 cross_compiling=$ac_cv_prog_cc_cross
14236 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
14238 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
14239 for ac_func in _sincosl
14241 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14242 echo "configure:14243: checking for $ac_func" >&5
14243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14244 echo $ac_n "(cached) $ac_c" 1>&6
14246 cat > conftest.$ac_ext <<EOF
14247 #line 14248 "configure"
14248 #include "confdefs.h"
14249 /* System header to define __stub macros and hopefully few prototypes,
14250 which can conflict with char $ac_func(); below. */
14251 #include <assert.h>
14252 /* Override any gcc2 internal prototype to avoid an error. */
14253 /* We use char because int might match the return type of a gcc2
14254 builtin and then its argument prototype would still apply. */
14259 /* The GNU C library defines this for functions which it implements
14260 to always fail with ENOSYS. Some functions are actually named
14261 something starting with __ and the normal name is an alias. */
14262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14270 if { (eval echo configure:14271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14272 eval "ac_cv_func_$ac_func=yes"
14274 echo "configure: failed program was:" >&5
14275 cat conftest.$ac_ext >&5
14277 eval "ac_cv_func_$ac_func=no"
14282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14283 echo "$ac_t""yes" 1>&6
14284 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14285 cat >> confdefs.h <<EOF
14286 #define $ac_tr_func 1
14290 echo "$ac_t""no" 1>&6
14299 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
14300 echo "configure:14301: checking for finitel declaration" >&5
14301 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
14302 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
14303 echo $ac_n "(cached) $ac_c" 1>&6
14308 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14309 ac_cpp='$CXXCPP $CPPFLAGS'
14310 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14311 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14312 cross_compiling=$ac_cv_prog_cxx_cross
14314 cat > conftest.$ac_ext <<EOF
14315 #line 14316 "configure"
14316 #include "confdefs.h"
14318 #ifdef HAVE_IEEEFP_H
14319 #include <ieeefp.h>
14326 if { (eval echo configure:14327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14328 glibcpp_cv_func_finitel_use=yes
14330 echo "configure: failed program was:" >&5
14331 cat conftest.$ac_ext >&5
14333 glibcpp_cv_func_finitel_use=no
14337 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14338 ac_cpp='$CPP $CPPFLAGS'
14339 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14340 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14341 cross_compiling=$ac_cv_prog_cc_cross
14347 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
14349 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
14350 for ac_func in finitel
14352 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14353 echo "configure:14354: checking for $ac_func" >&5
14354 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14355 echo $ac_n "(cached) $ac_c" 1>&6
14357 cat > conftest.$ac_ext <<EOF
14358 #line 14359 "configure"
14359 #include "confdefs.h"
14360 /* System header to define __stub macros and hopefully few prototypes,
14361 which can conflict with char $ac_func(); below. */
14362 #include <assert.h>
14363 /* Override any gcc2 internal prototype to avoid an error. */
14364 /* We use char because int might match the return type of a gcc2
14365 builtin and then its argument prototype would still apply. */
14370 /* The GNU C library defines this for functions which it implements
14371 to always fail with ENOSYS. Some functions are actually named
14372 something starting with __ and the normal name is an alias. */
14373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14381 if { (eval echo configure:14382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14383 eval "ac_cv_func_$ac_func=yes"
14385 echo "configure: failed program was:" >&5
14386 cat conftest.$ac_ext >&5
14388 eval "ac_cv_func_$ac_func=no"
14393 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14394 echo "$ac_t""yes" 1>&6
14395 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14396 cat >> confdefs.h <<EOF
14397 #define $ac_tr_func 1
14401 echo "$ac_t""no" 1>&6
14407 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
14408 echo "configure:14409: checking for _finitel declaration" >&5
14409 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
14410 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
14411 echo $ac_n "(cached) $ac_c" 1>&6
14416 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14417 ac_cpp='$CXXCPP $CPPFLAGS'
14418 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14419 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14420 cross_compiling=$ac_cv_prog_cxx_cross
14422 cat > conftest.$ac_ext <<EOF
14423 #line 14424 "configure"
14424 #include "confdefs.h"
14426 #ifdef HAVE_IEEEFP_H
14427 #include <ieeefp.h>
14434 if { (eval echo configure:14435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14436 glibcpp_cv_func__finitel_use=yes
14438 echo "configure: failed program was:" >&5
14439 cat conftest.$ac_ext >&5
14441 glibcpp_cv_func__finitel_use=no
14445 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14446 ac_cpp='$CPP $CPPFLAGS'
14447 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14448 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14449 cross_compiling=$ac_cv_prog_cc_cross
14455 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14457 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
14458 for ac_func in _finitel
14460 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14461 echo "configure:14462: checking for $ac_func" >&5
14462 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14463 echo $ac_n "(cached) $ac_c" 1>&6
14465 cat > conftest.$ac_ext <<EOF
14466 #line 14467 "configure"
14467 #include "confdefs.h"
14468 /* System header to define __stub macros and hopefully few prototypes,
14469 which can conflict with char $ac_func(); below. */
14470 #include <assert.h>
14471 /* Override any gcc2 internal prototype to avoid an error. */
14472 /* We use char because int might match the return type of a gcc2
14473 builtin and then its argument prototype would still apply. */
14478 /* The GNU C library defines this for functions which it implements
14479 to always fail with ENOSYS. Some functions are actually named
14480 something starting with __ and the normal name is an alias. */
14481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14489 if { (eval echo configure:14490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14491 eval "ac_cv_func_$ac_func=yes"
14493 echo "configure: failed program was:" >&5
14494 cat conftest.$ac_ext >&5
14496 eval "ac_cv_func_$ac_func=no"
14501 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14502 echo "$ac_t""yes" 1>&6
14503 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14504 cat >> confdefs.h <<EOF
14505 #define $ac_tr_func 1
14509 echo "$ac_t""no" 1>&6
14519 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
14520 echo "configure:14521: checking for _float trig functions" >&5
14521 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
14522 echo $ac_n "(cached) $ac_c" 1>&6
14527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14528 ac_cpp='$CXXCPP $CPPFLAGS'
14529 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14530 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14531 cross_compiling=$ac_cv_prog_cxx_cross
14533 cat > conftest.$ac_ext <<EOF
14534 #line 14535 "configure"
14535 #include "confdefs.h"
14538 `for x in _acosf _asinf _atanf \
14539 _cosf _sinf _tanf \
14540 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
14543 if { (eval echo configure:14544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14545 glibcpp_cv_func__float_trig_use=yes
14547 echo "configure: failed program was:" >&5
14548 cat conftest.$ac_ext >&5
14550 glibcpp_cv_func__float_trig_use=no
14554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14555 ac_cpp='$CPP $CPPFLAGS'
14556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14558 cross_compiling=$ac_cv_prog_cc_cross
14562 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
14563 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
14564 for ac_func in _acosf _asinf _atanf \
14565 _cosf _sinf _tanf \
14566 _coshf _sinhf _tanhf
14568 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14569 echo "configure:14570: checking for $ac_func" >&5
14570 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14571 echo $ac_n "(cached) $ac_c" 1>&6
14573 cat > conftest.$ac_ext <<EOF
14574 #line 14575 "configure"
14575 #include "confdefs.h"
14576 /* System header to define __stub macros and hopefully few prototypes,
14577 which can conflict with char $ac_func(); below. */
14578 #include <assert.h>
14579 /* Override any gcc2 internal prototype to avoid an error. */
14580 /* We use char because int might match the return type of a gcc2
14581 builtin and then its argument prototype would still apply. */
14586 /* The GNU C library defines this for functions which it implements
14587 to always fail with ENOSYS. Some functions are actually named
14588 something starting with __ and the normal name is an alias. */
14589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14597 if { (eval echo configure:14598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14599 eval "ac_cv_func_$ac_func=yes"
14601 echo "configure: failed program was:" >&5
14602 cat conftest.$ac_ext >&5
14604 eval "ac_cv_func_$ac_func=no"
14609 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14610 echo "$ac_t""yes" 1>&6
14611 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14612 cat >> confdefs.h <<EOF
14613 #define $ac_tr_func 1
14617 echo "$ac_t""no" 1>&6
14624 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
14625 echo "configure:14626: checking for _float round functions" >&5
14626 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
14627 echo $ac_n "(cached) $ac_c" 1>&6
14632 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14633 ac_cpp='$CXXCPP $CPPFLAGS'
14634 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14635 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14636 cross_compiling=$ac_cv_prog_cxx_cross
14638 cat > conftest.$ac_ext <<EOF
14639 #line 14640 "configure"
14640 #include "confdefs.h"
14643 `for x in _ceilf _floorf; do echo "$x (0);"; done`
14646 if { (eval echo configure:14647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14648 glibcpp_cv_func__float_round_use=yes
14650 echo "configure: failed program was:" >&5
14651 cat conftest.$ac_ext >&5
14653 glibcpp_cv_func__float_round_use=no
14657 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14658 ac_cpp='$CPP $CPPFLAGS'
14659 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14660 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14661 cross_compiling=$ac_cv_prog_cc_cross
14665 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
14666 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
14667 for ac_func in _ceilf _floorf
14669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14670 echo "configure:14671: checking for $ac_func" >&5
14671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14672 echo $ac_n "(cached) $ac_c" 1>&6
14674 cat > conftest.$ac_ext <<EOF
14675 #line 14676 "configure"
14676 #include "confdefs.h"
14677 /* System header to define __stub macros and hopefully few prototypes,
14678 which can conflict with char $ac_func(); below. */
14679 #include <assert.h>
14680 /* Override any gcc2 internal prototype to avoid an error. */
14681 /* We use char because int might match the return type of a gcc2
14682 builtin and then its argument prototype would still apply. */
14687 /* The GNU C library defines this for functions which it implements
14688 to always fail with ENOSYS. Some functions are actually named
14689 something starting with __ and the normal name is an alias. */
14690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14698 if { (eval echo configure:14699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14700 eval "ac_cv_func_$ac_func=yes"
14702 echo "configure: failed program was:" >&5
14703 cat conftest.$ac_ext >&5
14705 eval "ac_cv_func_$ac_func=no"
14710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14711 echo "$ac_t""yes" 1>&6
14712 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14713 cat >> confdefs.h <<EOF
14714 #define $ac_tr_func 1
14718 echo "$ac_t""no" 1>&6
14726 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
14727 echo "configure:14728: checking for _long double trig functions" >&5
14728 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
14729 echo $ac_n "(cached) $ac_c" 1>&6
14734 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14735 ac_cpp='$CXXCPP $CPPFLAGS'
14736 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14737 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14738 cross_compiling=$ac_cv_prog_cxx_cross
14740 cat > conftest.$ac_ext <<EOF
14741 #line 14742 "configure"
14742 #include "confdefs.h"
14745 `for x in _acosl _asinl _atanl \
14746 _cosl _sinl _tanl \
14747 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
14750 if { (eval echo configure:14751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14752 glibcpp_cv_func__long_double_trig_use=yes
14754 echo "configure: failed program was:" >&5
14755 cat conftest.$ac_ext >&5
14757 glibcpp_cv_func__long_double_trig_use=no
14761 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14762 ac_cpp='$CPP $CPPFLAGS'
14763 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14764 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14765 cross_compiling=$ac_cv_prog_cc_cross
14769 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
14770 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
14771 for ac_func in _acosl _asinl _atanl \
14772 _cosl _sinl _tanl \
14773 _coshl _sinhl _tanhl
14775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14776 echo "configure:14777: checking for $ac_func" >&5
14777 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14778 echo $ac_n "(cached) $ac_c" 1>&6
14780 cat > conftest.$ac_ext <<EOF
14781 #line 14782 "configure"
14782 #include "confdefs.h"
14783 /* System header to define __stub macros and hopefully few prototypes,
14784 which can conflict with char $ac_func(); below. */
14785 #include <assert.h>
14786 /* Override any gcc2 internal prototype to avoid an error. */
14787 /* We use char because int might match the return type of a gcc2
14788 builtin and then its argument prototype would still apply. */
14793 /* The GNU C library defines this for functions which it implements
14794 to always fail with ENOSYS. Some functions are actually named
14795 something starting with __ and the normal name is an alias. */
14796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14804 if { (eval echo configure:14805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14806 eval "ac_cv_func_$ac_func=yes"
14808 echo "configure: failed program was:" >&5
14809 cat conftest.$ac_ext >&5
14811 eval "ac_cv_func_$ac_func=no"
14816 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14817 echo "$ac_t""yes" 1>&6
14818 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14819 cat >> confdefs.h <<EOF
14820 #define $ac_tr_func 1
14824 echo "$ac_t""no" 1>&6
14831 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
14832 echo "configure:14833: checking for _long double round functions" >&5
14833 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
14834 echo $ac_n "(cached) $ac_c" 1>&6
14839 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14840 ac_cpp='$CXXCPP $CPPFLAGS'
14841 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14842 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14843 cross_compiling=$ac_cv_prog_cxx_cross
14845 cat > conftest.$ac_ext <<EOF
14846 #line 14847 "configure"
14847 #include "confdefs.h"
14850 `for x in _ceill _floorl; do echo "$x (0);"; done`
14853 if { (eval echo configure:14854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14855 glibcpp_cv_func__long_double_round_use=yes
14857 echo "configure: failed program was:" >&5
14858 cat conftest.$ac_ext >&5
14860 glibcpp_cv_func__long_double_round_use=no
14864 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14865 ac_cpp='$CPP $CPPFLAGS'
14866 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14867 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14868 cross_compiling=$ac_cv_prog_cc_cross
14872 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
14873 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
14874 for ac_func in _ceill _floorl
14876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14877 echo "configure:14878: checking for $ac_func" >&5
14878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14879 echo $ac_n "(cached) $ac_c" 1>&6
14881 cat > conftest.$ac_ext <<EOF
14882 #line 14883 "configure"
14883 #include "confdefs.h"
14884 /* System header to define __stub macros and hopefully few prototypes,
14885 which can conflict with char $ac_func(); below. */
14886 #include <assert.h>
14887 /* Override any gcc2 internal prototype to avoid an error. */
14888 /* We use char because int might match the return type of a gcc2
14889 builtin and then its argument prototype would still apply. */
14894 /* The GNU C library defines this for functions which it implements
14895 to always fail with ENOSYS. Some functions are actually named
14896 something starting with __ and the normal name is an alias. */
14897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14905 if { (eval echo configure:14906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14907 eval "ac_cv_func_$ac_func=yes"
14909 echo "configure: failed program was:" >&5
14910 cat conftest.$ac_ext >&5
14912 eval "ac_cv_func_$ac_func=no"
14917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14918 echo "$ac_t""yes" 1>&6
14919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14920 cat >> confdefs.h <<EOF
14921 #define $ac_tr_func 1
14925 echo "$ac_t""no" 1>&6
14932 LIBS="$ac_save_LIBS"
14933 CXXFLAGS="$ac_save_CXXFLAGS"
14936 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
14937 echo "configure:14938: checking for main in -lm" >&5
14938 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
14939 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14940 echo $ac_n "(cached) $ac_c" 1>&6
14942 ac_save_LIBS="$LIBS"
14944 cat > conftest.$ac_ext <<EOF
14945 #line 14946 "configure"
14946 #include "confdefs.h"
14952 if { (eval echo configure:14953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14954 eval "ac_cv_lib_$ac_lib_var=yes"
14956 echo "configure: failed program was:" >&5
14957 cat conftest.$ac_ext >&5
14959 eval "ac_cv_lib_$ac_lib_var=no"
14962 LIBS="$ac_save_LIBS"
14965 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14966 echo "$ac_t""yes" 1>&6
14967 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
14968 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
14969 cat >> confdefs.h <<EOF
14970 #define $ac_tr_lib 1
14976 echo "$ac_t""no" 1>&6
14979 for ac_func in nan hypot hypotf atan2f expf copysignf
14981 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14982 echo "configure:14983: checking for $ac_func" >&5
14983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14984 echo $ac_n "(cached) $ac_c" 1>&6
14986 cat > conftest.$ac_ext <<EOF
14987 #line 14988 "configure"
14988 #include "confdefs.h"
14989 /* System header to define __stub macros and hopefully few prototypes,
14990 which can conflict with char $ac_func(); below. */
14991 #include <assert.h>
14992 /* Override any gcc2 internal prototype to avoid an error. */
14993 /* We use char because int might match the return type of a gcc2
14994 builtin and then its argument prototype would still apply. */
14999 /* The GNU C library defines this for functions which it implements
15000 to always fail with ENOSYS. Some functions are actually named
15001 something starting with __ and the normal name is an alias. */
15002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15010 if { (eval echo configure:15011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15012 eval "ac_cv_func_$ac_func=yes"
15014 echo "configure: failed program was:" >&5
15015 cat conftest.$ac_ext >&5
15017 eval "ac_cv_func_$ac_func=no"
15022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15023 echo "$ac_t""yes" 1>&6
15024 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15025 cat >> confdefs.h <<EOF
15026 #define $ac_tr_func 1
15030 echo "$ac_t""no" 1>&6
15031 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15037 USE_COMPLEX_LONG_DOUBLE=no
15038 if test x$ac_cv_func_atan2l = x"yes" &&
15039 test x$ac_cv_func_copysignl = x"yes"; then
15040 USE_COMPLEX_LONG_DOUBLE=yes
15041 for ac_func in hypotl signbitl
15043 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15044 echo "configure:15045: checking for $ac_func" >&5
15045 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15046 echo $ac_n "(cached) $ac_c" 1>&6
15048 cat > conftest.$ac_ext <<EOF
15049 #line 15050 "configure"
15050 #include "confdefs.h"
15051 /* System header to define __stub macros and hopefully few prototypes,
15052 which can conflict with char $ac_func(); below. */
15053 #include <assert.h>
15054 /* Override any gcc2 internal prototype to avoid an error. */
15055 /* We use char because int might match the return type of a gcc2
15056 builtin and then its argument prototype would still apply. */
15061 /* The GNU C library defines this for functions which it implements
15062 to always fail with ENOSYS. Some functions are actually named
15063 something starting with __ and the normal name is an alias. */
15064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15072 if { (eval echo configure:15073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15074 eval "ac_cv_func_$ac_func=yes"
15076 echo "configure: failed program was:" >&5
15077 cat conftest.$ac_ext >&5
15079 eval "ac_cv_func_$ac_func=no"
15084 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15085 echo "$ac_t""yes" 1>&6
15086 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15087 cat >> confdefs.h <<EOF
15088 #define $ac_tr_func 1
15092 echo "$ac_t""no" 1>&6
15093 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15104 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
15105 echo "configure:15106: checking for mbstate_t" >&5
15106 cat > conftest.$ac_ext <<EOF
15107 #line 15108 "configure"
15108 #include "confdefs.h"
15111 mbstate_t teststate;
15114 if { (eval echo configure:15115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15118 echo "configure: failed program was:" >&5
15119 cat conftest.$ac_ext >&5
15124 echo "$ac_t""$have_mbstate_t" 1>&6
15125 if test x"$have_mbstate_t" = xyes; then
15126 cat >> confdefs.h <<\EOF
15127 #define HAVE_MBSTATE_T 1
15132 for ac_hdr in wchar.h
15134 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15135 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15136 echo "configure:15137: checking for $ac_hdr" >&5
15137 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15138 echo $ac_n "(cached) $ac_c" 1>&6
15140 cat > conftest.$ac_ext <<EOF
15141 #line 15142 "configure"
15142 #include "confdefs.h"
15145 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15146 { (eval echo configure:15147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15147 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15148 if test -z "$ac_err"; then
15150 eval "ac_cv_header_$ac_safe=yes"
15153 echo "configure: failed program was:" >&5
15154 cat conftest.$ac_ext >&5
15156 eval "ac_cv_header_$ac_safe=no"
15160 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15161 echo "$ac_t""yes" 1>&6
15162 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15163 cat >> confdefs.h <<EOF
15164 #define $ac_tr_hdr 1
15168 echo "$ac_t""no" 1>&6
15173 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
15174 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
15175 echo "configure:15176: checking for wctype.h" >&5
15176 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15177 echo $ac_n "(cached) $ac_c" 1>&6
15179 cat > conftest.$ac_ext <<EOF
15180 #line 15181 "configure"
15181 #include "confdefs.h"
15182 #include <wctype.h>
15184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15185 { (eval echo configure:15186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15187 if test -z "$ac_err"; then
15189 eval "ac_cv_header_$ac_safe=yes"
15192 echo "configure: failed program was:" >&5
15193 cat conftest.$ac_ext >&5
15195 eval "ac_cv_header_$ac_safe=no"
15199 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15200 echo "$ac_t""yes" 1>&6
15201 ac_has_wctype_h=yes
15203 echo "$ac_t""no" 1>&6
15208 if test x"$ac_has_wchar_h" = xyes &&
15209 test x"$ac_has_wctype_h" = xyes &&
15210 test x"$enable_c_mbchar" != xno; then
15212 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
15213 echo "configure:15214: checking for WCHAR_MIN and WCHAR_MAX" >&5
15214 cat > conftest.$ac_ext <<EOF
15215 #line 15216 "configure"
15216 #include "confdefs.h"
15219 int i = WCHAR_MIN; int j = WCHAR_MAX;
15222 if { (eval echo configure:15223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15224 has_wchar_minmax=yes
15226 echo "configure: failed program was:" >&5
15227 cat conftest.$ac_ext >&5
15229 has_wchar_minmax=no
15232 echo "$ac_t""$has_wchar_minmax" 1>&6
15234 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
15235 echo "configure:15236: checking for WEOF" >&5
15236 cat > conftest.$ac_ext <<EOF
15237 #line 15238 "configure"
15238 #include "confdefs.h"
15241 #include <stddef.h>
15246 if { (eval echo configure:15247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15250 echo "configure: failed program was:" >&5
15251 cat conftest.$ac_ext >&5
15256 echo "$ac_t""$has_weof" 1>&6
15259 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
15261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15262 echo "configure:15263: checking for $ac_func" >&5
15263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15264 echo $ac_n "(cached) $ac_c" 1>&6
15266 cat > conftest.$ac_ext <<EOF
15267 #line 15268 "configure"
15268 #include "confdefs.h"
15269 /* System header to define __stub macros and hopefully few prototypes,
15270 which can conflict with char $ac_func(); below. */
15271 #include <assert.h>
15272 /* Override any gcc2 internal prototype to avoid an error. */
15273 /* We use char because int might match the return type of a gcc2
15274 builtin and then its argument prototype would still apply. */
15279 /* The GNU C library defines this for functions which it implements
15280 to always fail with ENOSYS. Some functions are actually named
15281 something starting with __ and the normal name is an alias. */
15282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15290 if { (eval echo configure:15291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15292 eval "ac_cv_func_$ac_func=yes"
15294 echo "configure: failed program was:" >&5
15295 cat conftest.$ac_ext >&5
15297 eval "ac_cv_func_$ac_func=no"
15302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15303 echo "$ac_t""yes" 1>&6
15304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15305 cat >> confdefs.h <<EOF
15306 #define $ac_tr_func 1
15310 echo "$ac_t""no" 1>&6
15317 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
15318 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
15319 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
15320 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
15321 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
15322 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
15324 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15325 echo "configure:15326: checking for $ac_func" >&5
15326 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15327 echo $ac_n "(cached) $ac_c" 1>&6
15329 cat > conftest.$ac_ext <<EOF
15330 #line 15331 "configure"
15331 #include "confdefs.h"
15332 /* System header to define __stub macros and hopefully few prototypes,
15333 which can conflict with char $ac_func(); below. */
15334 #include <assert.h>
15335 /* Override any gcc2 internal prototype to avoid an error. */
15336 /* We use char because int might match the return type of a gcc2
15337 builtin and then its argument prototype would still apply. */
15342 /* The GNU C library defines this for functions which it implements
15343 to always fail with ENOSYS. Some functions are actually named
15344 something starting with __ and the normal name is an alias. */
15345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15353 if { (eval echo configure:15354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15355 eval "ac_cv_func_$ac_func=yes"
15357 echo "configure: failed program was:" >&5
15358 cat conftest.$ac_ext >&5
15360 eval "ac_cv_func_$ac_func=no"
15365 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15366 echo "$ac_t""yes" 1>&6
15367 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15368 cat >> confdefs.h <<EOF
15369 #define $ac_tr_func 1
15373 echo "$ac_t""no" 1>&6
15380 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
15381 echo "configure:15382: checking for ISO C99 wchar_t support" >&5
15382 if test x"$has_weof" = xyes &&
15383 test x"$has_wchar_minmax" = xyes &&
15384 test x"$ac_wfuncs" = xyes; then
15385 ac_isoC99_wchar_t=yes
15387 ac_isoC99_wchar_t=no
15389 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
15391 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
15392 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
15393 echo "configure:15394: checking for iconv.h" >&5
15394 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15395 echo $ac_n "(cached) $ac_c" 1>&6
15397 cat > conftest.$ac_ext <<EOF
15398 #line 15399 "configure"
15399 #include "confdefs.h"
15402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15403 { (eval echo configure:15404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15405 if test -z "$ac_err"; then
15407 eval "ac_cv_header_$ac_safe=yes"
15410 echo "configure: failed program was:" >&5
15411 cat conftest.$ac_ext >&5
15413 eval "ac_cv_header_$ac_safe=no"
15417 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15418 echo "$ac_t""yes" 1>&6
15421 echo "$ac_t""no" 1>&6
15425 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
15426 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
15427 echo "configure:15428: checking for langinfo.h" >&5
15428 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15429 echo $ac_n "(cached) $ac_c" 1>&6
15431 cat > conftest.$ac_ext <<EOF
15432 #line 15433 "configure"
15433 #include "confdefs.h"
15434 #include <langinfo.h>
15436 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15437 { (eval echo configure:15438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15438 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15439 if test -z "$ac_err"; then
15441 eval "ac_cv_header_$ac_safe=yes"
15444 echo "configure: failed program was:" >&5
15445 cat conftest.$ac_ext >&5
15447 eval "ac_cv_header_$ac_safe=no"
15451 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15452 echo "$ac_t""yes" 1>&6
15453 ac_has_langinfo_h=yes
15455 echo "$ac_t""no" 1>&6
15456 ac_has_langinfo_h=no
15460 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
15461 echo "configure:15462: checking for iconv in -liconv" >&5
15462 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
15463 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15464 echo $ac_n "(cached) $ac_c" 1>&6
15466 ac_save_LIBS="$LIBS"
15467 LIBS="-liconv $LIBS"
15468 cat > conftest.$ac_ext <<EOF
15469 #line 15470 "configure"
15470 #include "confdefs.h"
15471 /* Override any gcc2 internal prototype to avoid an error. */
15472 /* We use char because int might match the return type of a gcc2
15473 builtin and then its argument prototype would still apply. */
15480 if { (eval echo configure:15481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15482 eval "ac_cv_lib_$ac_lib_var=yes"
15484 echo "configure: failed program was:" >&5
15485 cat conftest.$ac_ext >&5
15487 eval "ac_cv_lib_$ac_lib_var=no"
15490 LIBS="$ac_save_LIBS"
15493 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15494 echo "$ac_t""yes" 1>&6
15497 echo "$ac_t""no" 1>&6
15500 ac_save_LIBS="$LIBS"
15501 LIBS="$LIBS $libiconv"
15503 for ac_func in iconv_open iconv_close iconv nl_langinfo
15505 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15506 echo "configure:15507: checking for $ac_func" >&5
15507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15508 echo $ac_n "(cached) $ac_c" 1>&6
15510 cat > conftest.$ac_ext <<EOF
15511 #line 15512 "configure"
15512 #include "confdefs.h"
15513 /* System header to define __stub macros and hopefully few prototypes,
15514 which can conflict with char $ac_func(); below. */
15515 #include <assert.h>
15516 /* Override any gcc2 internal prototype to avoid an error. */
15517 /* We use char because int might match the return type of a gcc2
15518 builtin and then its argument prototype would still apply. */
15523 /* The GNU C library defines this for functions which it implements
15524 to always fail with ENOSYS. Some functions are actually named
15525 something starting with __ and the normal name is an alias. */
15526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15534 if { (eval echo configure:15535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15536 eval "ac_cv_func_$ac_func=yes"
15538 echo "configure: failed program was:" >&5
15539 cat conftest.$ac_ext >&5
15541 eval "ac_cv_func_$ac_func=no"
15546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15547 echo "$ac_t""yes" 1>&6
15548 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15549 cat >> confdefs.h <<EOF
15550 #define $ac_tr_func 1
15555 echo "$ac_t""no" 1>&6
15561 LIBS="$ac_save_LIBS"
15563 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
15564 echo "configure:15565: checking for XPG2 wchar_t support" >&5
15565 if test x"$ac_has_iconv_h" = xyes &&
15566 test x"$ac_has_langinfo_h" = xyes &&
15567 test x"$ac_XPG2funcs" = xyes; then
15568 ac_XPG2_wchar_t=yes
15572 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
15574 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
15575 echo "configure:15576: checking for enabled wchar_t specializations" >&5
15576 if test x"$ac_isoC99_wchar_t" = xyes &&
15577 test x"$ac_XPG2_wchar_t" = xyes; then
15578 cat >> confdefs.h <<\EOF
15579 #define _GLIBCPP_USE_WCHAR_T 1
15582 echo "$ac_t"""yes"" 1>&6
15584 echo "$ac_t"""no"" 1>&6
15587 echo "configure: warning: wchar_t support disabled." 1>&2
15591 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15592 ac_save_CXXFLAGS="$CXXFLAGS"
15593 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
15596 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
15597 echo "configure:15598: checking for strtold declaration" >&5
15598 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
15599 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
15600 echo $ac_n "(cached) $ac_c" 1>&6
15605 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15606 ac_cpp='$CXXCPP $CPPFLAGS'
15607 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15608 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15609 cross_compiling=$ac_cv_prog_cxx_cross
15611 cat > conftest.$ac_ext <<EOF
15612 #line 15613 "configure"
15613 #include "confdefs.h"
15614 #include <stdlib.h>
15619 if { (eval echo configure:15620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15621 glibcpp_cv_func_strtold_use=yes
15623 echo "configure: failed program was:" >&5
15624 cat conftest.$ac_ext >&5
15626 glibcpp_cv_func_strtold_use=no
15630 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15631 ac_cpp='$CPP $CPPFLAGS'
15632 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15633 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15634 cross_compiling=$ac_cv_prog_cc_cross
15640 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
15641 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
15642 for ac_func in strtold
15644 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15645 echo "configure:15646: checking for $ac_func" >&5
15646 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15647 echo $ac_n "(cached) $ac_c" 1>&6
15649 cat > conftest.$ac_ext <<EOF
15650 #line 15651 "configure"
15651 #include "confdefs.h"
15652 /* System header to define __stub macros and hopefully few prototypes,
15653 which can conflict with char $ac_func(); below. */
15654 #include <assert.h>
15655 /* Override any gcc2 internal prototype to avoid an error. */
15656 /* We use char because int might match the return type of a gcc2
15657 builtin and then its argument prototype would still apply. */
15662 /* The GNU C library defines this for functions which it implements
15663 to always fail with ENOSYS. Some functions are actually named
15664 something starting with __ and the normal name is an alias. */
15665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15673 if { (eval echo configure:15674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15675 eval "ac_cv_func_$ac_func=yes"
15677 echo "configure: failed program was:" >&5
15678 cat conftest.$ac_ext >&5
15680 eval "ac_cv_func_$ac_func=no"
15685 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15686 echo "$ac_t""yes" 1>&6
15687 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15688 cat >> confdefs.h <<EOF
15689 #define $ac_tr_func 1
15693 echo "$ac_t""no" 1>&6
15699 for ac_func in drand48
15701 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15702 echo "configure:15703: checking for $ac_func" >&5
15703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15704 echo $ac_n "(cached) $ac_c" 1>&6
15706 cat > conftest.$ac_ext <<EOF
15707 #line 15708 "configure"
15708 #include "confdefs.h"
15709 /* System header to define __stub macros and hopefully few prototypes,
15710 which can conflict with char $ac_func(); below. */
15711 #include <assert.h>
15712 /* Override any gcc2 internal prototype to avoid an error. */
15713 /* We use char because int might match the return type of a gcc2
15714 builtin and then its argument prototype would still apply. */
15719 /* The GNU C library defines this for functions which it implements
15720 to always fail with ENOSYS. Some functions are actually named
15721 something starting with __ and the normal name is an alias. */
15722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15730 if { (eval echo configure:15731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15732 eval "ac_cv_func_$ac_func=yes"
15734 echo "configure: failed program was:" >&5
15735 cat conftest.$ac_ext >&5
15737 eval "ac_cv_func_$ac_func=no"
15742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15743 echo "$ac_t""yes" 1>&6
15744 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15745 cat >> confdefs.h <<EOF
15746 #define $ac_tr_func 1
15750 echo "$ac_t""no" 1>&6
15755 CXXFLAGS="$ac_save_CXXFLAGS"
15758 cat > conftest.$ac_ext <<EOF
15759 #line 15760 "configure"
15760 #include "confdefs.h"
15762 #include <setjmp.h>
15765 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
15768 if { (eval echo configure:15769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15770 cat >> confdefs.h <<\EOF
15771 #define HAVE_SIGSETJMP 1
15775 echo "configure: failed program was:" >&5
15776 cat conftest.$ac_ext >&5
15780 for ac_hdr in unistd.h
15782 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15783 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15784 echo "configure:15785: checking for $ac_hdr" >&5
15785 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15786 echo $ac_n "(cached) $ac_c" 1>&6
15788 cat > conftest.$ac_ext <<EOF
15789 #line 15790 "configure"
15790 #include "confdefs.h"
15793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15794 { (eval echo configure:15795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15796 if test -z "$ac_err"; then
15798 eval "ac_cv_header_$ac_safe=yes"
15801 echo "configure: failed program was:" >&5
15802 cat conftest.$ac_ext >&5
15804 eval "ac_cv_header_$ac_safe=no"
15808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15809 echo "$ac_t""yes" 1>&6
15810 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15811 cat >> confdefs.h <<EOF
15812 #define $ac_tr_hdr 1
15816 echo "$ac_t""no" 1>&6
15820 for ac_func in getpagesize
15822 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15823 echo "configure:15824: checking for $ac_func" >&5
15824 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15825 echo $ac_n "(cached) $ac_c" 1>&6
15827 cat > conftest.$ac_ext <<EOF
15828 #line 15829 "configure"
15829 #include "confdefs.h"
15830 /* System header to define __stub macros and hopefully few prototypes,
15831 which can conflict with char $ac_func(); below. */
15832 #include <assert.h>
15833 /* Override any gcc2 internal prototype to avoid an error. */
15834 /* We use char because int might match the return type of a gcc2
15835 builtin and then its argument prototype would still apply. */
15840 /* The GNU C library defines this for functions which it implements
15841 to always fail with ENOSYS. Some functions are actually named
15842 something starting with __ and the normal name is an alias. */
15843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15851 if { (eval echo configure:15852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15853 eval "ac_cv_func_$ac_func=yes"
15855 echo "configure: failed program was:" >&5
15856 cat conftest.$ac_ext >&5
15858 eval "ac_cv_func_$ac_func=no"
15863 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15864 echo "$ac_t""yes" 1>&6
15865 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15866 cat >> confdefs.h <<EOF
15867 #define $ac_tr_func 1
15871 echo "$ac_t""no" 1>&6
15875 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
15876 echo "configure:15877: checking for working mmap" >&5
15877 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
15878 echo $ac_n "(cached) $ac_c" 1>&6
15880 if test "$cross_compiling" = yes; then
15881 ac_cv_func_mmap_fixed_mapped=no
15883 cat > conftest.$ac_ext <<EOF
15884 #line 15885 "configure"
15885 #include "confdefs.h"
15887 /* Thanks to Mike Haertel and Jim Avera for this test.
15888 Here is a matrix of mmap possibilities:
15889 mmap private not fixed
15890 mmap private fixed at somewhere currently unmapped
15891 mmap private fixed at somewhere already mapped
15892 mmap shared not fixed
15893 mmap shared fixed at somewhere currently unmapped
15894 mmap shared fixed at somewhere already mapped
15895 For private mappings, we should verify that changes cannot be read()
15896 back from the file, nor mmap's back from the file at a different
15897 address. (There have been systems where private was not correctly
15898 implemented like the infamous i386 svr4.0, and systems where the
15899 VM page cache was not coherent with the filesystem buffer cache
15900 like early versions of FreeBSD and possibly contemporary NetBSD.)
15901 For shared mappings, we should conversely verify that changes get
15902 propogated back to all the places they're supposed to be.
15904 Grep wants private fixed already mapped.
15905 The main things grep needs to know about mmap are:
15906 * does it exist and is it safe to write into the mmap'd area
15907 * how to use it (BSD variants) */
15908 #include <sys/types.h>
15910 #include <sys/mman.h>
15912 /* This mess was copied from the GNU getpagesize.h. */
15913 #ifndef HAVE_GETPAGESIZE
15914 # ifdef HAVE_UNISTD_H
15915 # include <unistd.h>
15918 /* Assume that all systems that can run configure have sys/param.h. */
15919 # ifndef HAVE_SYS_PARAM_H
15920 # define HAVE_SYS_PARAM_H 1
15923 # ifdef _SC_PAGESIZE
15924 # define getpagesize() sysconf(_SC_PAGESIZE)
15925 # else /* no _SC_PAGESIZE */
15926 # ifdef HAVE_SYS_PARAM_H
15927 # include <sys/param.h>
15928 # ifdef EXEC_PAGESIZE
15929 # define getpagesize() EXEC_PAGESIZE
15930 # else /* no EXEC_PAGESIZE */
15932 # define getpagesize() NBPG * CLSIZE
15935 # endif /* no CLSIZE */
15936 # else /* no NBPG */
15938 # define getpagesize() NBPC
15939 # else /* no NBPC */
15941 # define getpagesize() PAGESIZE
15942 # endif /* PAGESIZE */
15943 # endif /* no NBPC */
15944 # endif /* no NBPG */
15945 # endif /* no EXEC_PAGESIZE */
15946 # else /* no HAVE_SYS_PARAM_H */
15947 # define getpagesize() 8192 /* punt totally */
15948 # endif /* no HAVE_SYS_PARAM_H */
15949 # endif /* no _SC_PAGESIZE */
15951 #endif /* no HAVE_GETPAGESIZE */
15954 extern "C" { void *malloc(unsigned); }
15962 char *data, *data2, *data3;
15966 pagesize = getpagesize();
15969 * First, make a file with some known garbage in it.
15971 data = malloc(pagesize);
15974 for (i = 0; i < pagesize; ++i)
15975 *(data + i) = rand();
15977 fd = creat("conftestmmap", 0600);
15980 if (write(fd, data, pagesize) != pagesize)
15985 * Next, try to mmap the file at a fixed address which
15986 * already has something else allocated at it. If we can,
15987 * also make sure that we see the same garbage.
15989 fd = open("conftestmmap", O_RDWR);
15992 data2 = malloc(2 * pagesize);
15995 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
15996 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
15997 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15999 for (i = 0; i < pagesize; ++i)
16000 if (*(data + i) != *(data2 + i))
16004 * Finally, make sure that changes to the mapped area
16005 * do not percolate back to the file as seen by read().
16006 * (This is a bug on some variants of i386 svr4.0.)
16008 for (i = 0; i < pagesize; ++i)
16009 *(data2 + i) = *(data2 + i) + 1;
16010 data3 = malloc(pagesize);
16013 if (read(fd, data3, pagesize) != pagesize)
16015 for (i = 0; i < pagesize; ++i)
16016 if (*(data + i) != *(data3 + i))
16019 unlink("conftestmmap");
16024 if { (eval echo configure:16025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
16026 ac_cv_func_mmap_fixed_mapped=yes
16028 echo "configure: failed program was:" >&5
16029 cat conftest.$ac_ext >&5
16031 ac_cv_func_mmap_fixed_mapped=no
16038 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
16039 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16040 cat >> confdefs.h <<\EOF
16041 #define HAVE_MMAP 1
16048 # Now that ctype is determined for all possible targets, we can do this...
16056 if test "$NULL_TARGET" = yes; then
16058 NULL_TARGET_FALSE='#'
16060 NULL_TARGET_TRUE='#'
16065 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
16074 if test "$CANADIAN" = yes; then
16082 cat > confcache <<\EOF
16083 # This file is a shell script that caches the results of configure
16084 # tests run on this system so they can be shared between configure
16085 # scripts and configure runs. It is not useful on other systems.
16086 # If it contains results you don't want to keep, you may remove or edit it.
16088 # By default, configure uses ./config.cache as the cache file,
16089 # creating it if it does not exist already. You can give configure
16090 # the --cache-file=FILE option to use a different cache file; that is
16091 # what configure does when it calls configure scripts in
16092 # subdirectories, so they share the cache.
16093 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16094 # config.status only pays attention to the cache file if you give it the
16095 # --recheck option to rerun configure.
16098 # The following way of writing the cache mishandles newlines in values,
16099 # but we know of no workaround that is simple, portable, and efficient.
16100 # So, don't put newlines in cache variables' values.
16101 # Ultrix sh set writes to stderr and can't be redirected directly,
16102 # and sets the high bit in the cache file unless we assign to the vars.
16104 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16106 # `set' does not quote correctly, so add quotes (double-quote substitution
16107 # turns \\\\ into \\, and sed turns \\ into \).
16109 -e "s/'/'\\\\''/g" \
16110 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16113 # `set' quotes correctly as required by POSIX, so do not add quotes.
16114 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16117 if cmp -s $cache_file confcache; then
16120 if test -w $cache_file; then
16121 echo "updating cache $cache_file"
16122 cat confcache > $cache_file
16124 echo "not updating unwritable cache $cache_file"
16130 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
16131 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
16132 echo "configure:16133: checking for locale.h" >&5
16133 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16134 echo $ac_n "(cached) $ac_c" 1>&6
16136 cat > conftest.$ac_ext <<EOF
16137 #line 16138 "configure"
16138 #include "confdefs.h"
16139 #include <locale.h>
16141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16142 { (eval echo configure:16143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16143 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16144 if test -z "$ac_err"; then
16146 eval "ac_cv_header_$ac_safe=yes"
16149 echo "configure: failed program was:" >&5
16150 cat conftest.$ac_ext >&5
16152 eval "ac_cv_header_$ac_safe=no"
16156 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16157 echo "$ac_t""yes" 1>&6
16159 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
16160 echo "configure:16161: checking for LC_MESSAGES" >&5
16161 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16162 echo $ac_n "(cached) $ac_c" 1>&6
16164 cat > conftest.$ac_ext <<EOF
16165 #line 16166 "configure"
16166 #include "confdefs.h"
16167 #include <locale.h>
16172 if { (eval echo configure:16173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16174 ac_cv_val_LC_MESSAGES=yes
16176 echo "configure: failed program was:" >&5
16177 cat conftest.$ac_ext >&5
16179 ac_cv_val_LC_MESSAGES=no
16184 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16185 if test $ac_cv_val_LC_MESSAGES = yes; then
16186 cat >> confdefs.h <<\EOF
16187 #define HAVE_LC_MESSAGES 1
16193 echo "$ac_t""no" 1>&6
16198 if test "${multilib}" = "yes"; then
16199 multilib_arg="--enable-multilib"
16205 # Generate the various Makefiles, include files, and scripts.
16207 # Needed so that g++ can find the correct include subdir automatically.
16210 # Export all the install information
16213 glibcpp_toolexecdir=no
16214 glibcpp_toolexeclibdir=no
16216 # Export build and source directories.
16217 # These need to be absolute paths, yet at the same time need to
16218 # canonicalize only relative paths, because then amd will not unmount
16219 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
16220 glibcpp_builddir=`pwd`
16222 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
16223 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
16225 glibcpp_prefixdir=${prefix}
16227 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
16228 echo "configure:16229: checking for interface version number" >&5
16229 libstdcxx_interface=$INTERFACE
16230 echo "$ac_t""$libstdcxx_interface" 1>&6
16232 # Process the option --with-gxx-include-dir=<path to include-files directory>
16233 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
16234 echo "configure:16235: checking for --with-gxx-include-dir" >&5
16235 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
16236 if test "${with_gxx_include_dir+set}" = set; then
16237 withval="$with_gxx_include_dir"
16238 case "${withval}" in
16240 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
16247 gxx_include_dir=${withval}
16254 echo "$ac_t""$gxx_include_dir" 1>&6
16256 # Process the option "--enable-version-specific-runtime-libs"
16257 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
16258 echo "configure:16259: checking for --enable-version-specific-runtime-libs" >&5
16259 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
16260 if test "${enable_version_specific_runtime_libs+set}" = set; then
16261 enableval="$enable_version_specific_runtime_libs"
16262 version_specific_libs=yes
16263 # Need the gcc compiler version to know where to install libraries
16264 # and header files if --enable-version-specific-runtime-libs option
16266 gcc_version_trigger=${srcdir}/../gcc/version.c
16267 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
16268 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
16269 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
16270 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16271 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
16274 version_specific_libs=no
16277 echo "$ac_t""$version_specific_libs" 1>&6
16279 # Default case for install directory for include files.
16280 if test x"$version_specific_libs" = x"no" \
16281 && test x"$gxx_include_dir" = x"no"; then
16282 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
16285 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
16286 # Install a library built with a cross compiler in tooldir, not libdir.
16287 if test x"$glibcpp_toolexecdir" = x"no"; then
16288 if test -n "$with_cross_host" &&
16289 test x"$with_cross_host" != x"no"; then
16290 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
16291 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
16293 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16294 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
16298 echo $ac_n "checking for install location""... $ac_c" 1>&6
16299 echo "configure:16300: checking for install location" >&5
16300 echo "$ac_t""$gxx_include_dir" 1>&6
16310 # Export all the include and flag information to makefiles.
16312 # Root level of the include sources.
16313 GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
16315 # Can either use include/c or include/c_std to grab "C" headers. This
16316 # variable is set to the include directory currently in use.
16317 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_CHEADERS
16319 # Passed down for canadian crosses.
16320 if test x"$CANADIAN" = xyes; then
16321 TOPLEVEL_INCLUDES='-I$(includedir)'
16324 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
16326 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
16328 #if GLIBCPP_NEED_LIBIO
16329 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
16331 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
16334 #if GLIBCPP_USE_CSHADOW
16335 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
16336 # -I$(top_blddir)/cshadow'
16338 CSTD_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
16341 # Now, export this to all the little Makefiles....
16350 # Optimization flags that are probably a good idea for thrill-seekers. Just
16351 # uncomment the lines below and make, everything else is ready to go...
16352 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
16356 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
16360 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
16361 grep "enable shared" > /dev/null; then
16362 LIBSUPCXX_PICFLAGS=-prefer-pic
16364 LIBSUPCXX_PICFLAGS=
16368 # This should be done by mkincludedir, but hack around it now.
16370 echo "checking for $blddir/include"
16372 if test ! -d "$blddir/include"; then
16373 mkdir "$blddir/include"
16376 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
16377 # and libsupc++/Makefile.am so that multilib installs will end up
16378 # installed in the correct place. To work around this not being passed
16379 # down from config-ml.in -> top_srcdir/Makefile.am ->
16380 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
16382 cat > confcache <<\EOF
16383 # This file is a shell script that caches the results of configure
16384 # tests run on this system so they can be shared between configure
16385 # scripts and configure runs. It is not useful on other systems.
16386 # If it contains results you don't want to keep, you may remove or edit it.
16388 # By default, configure uses ./config.cache as the cache file,
16389 # creating it if it does not exist already. You can give configure
16390 # the --cache-file=FILE option to use a different cache file; that is
16391 # what configure does when it calls configure scripts in
16392 # subdirectories, so they share the cache.
16393 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16394 # config.status only pays attention to the cache file if you give it the
16395 # --recheck option to rerun configure.
16398 # The following way of writing the cache mishandles newlines in values,
16399 # but we know of no workaround that is simple, portable, and efficient.
16400 # So, don't put newlines in cache variables' values.
16401 # Ultrix sh set writes to stderr and can't be redirected directly,
16402 # and sets the high bit in the cache file unless we assign to the vars.
16404 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16406 # `set' does not quote correctly, so add quotes (double-quote substitution
16407 # turns \\\\ into \\, and sed turns \\ into \).
16409 -e "s/'/'\\\\''/g" \
16410 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16413 # `set' quotes correctly as required by POSIX, so do not add quotes.
16414 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16417 if cmp -s $cache_file confcache; then
16420 if test -w $cache_file; then
16421 echo "updating cache $cache_file"
16422 cat confcache > $cache_file
16424 echo "not updating unwritable cache $cache_file"
16429 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16431 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16432 # Let make expand exec_prefix.
16433 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16435 # Any assignment to VPATH causes Sun make to only execute
16436 # the first set of double-colon rules, so remove it if not needed.
16437 # If there is a colon in the path, we need to keep it.
16438 if test "x$srcdir" = x.; then
16439 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
16442 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16444 DEFS=-DHAVE_CONFIG_H
16446 # Without the "./", some shells look in PATH for config.status.
16447 : ${CONFIG_STATUS=./config.status}
16449 echo creating $CONFIG_STATUS
16450 rm -f $CONFIG_STATUS
16451 cat > $CONFIG_STATUS <<EOF
16453 # Generated automatically by configure.
16454 # Run this file to recreate the current configuration.
16455 # This directory was configured as follows,
16456 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16458 # $0 $ac_configure_args
16460 # Compiler output produced by configure, useful for debugging
16461 # configure, is in ./config.log if it exists.
16463 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
16466 case "\$ac_option" in
16467 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16468 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16469 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16470 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16471 echo "$CONFIG_STATUS generated by autoconf version 2.13"
16473 -help | --help | --hel | --he | --h)
16474 echo "\$ac_cs_usage"; exit 0 ;;
16475 *) echo "\$ac_cs_usage"; exit 1 ;;
16479 ac_given_srcdir=$srcdir
16480 ac_given_INSTALL="$INSTALL"
16482 trap 'rm -fr `echo "Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
16484 cat >> $CONFIG_STATUS <<EOF
16486 # Protect against being on the right side of a sed subst in config.status.
16487 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16488 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16492 s%@CFLAGS@%$CFLAGS%g
16493 s%@CPPFLAGS@%$CPPFLAGS%g
16494 s%@CXXFLAGS@%$CXXFLAGS%g
16495 s%@FFLAGS@%$FFLAGS%g
16497 s%@LDFLAGS@%$LDFLAGS%g
16499 s%@exec_prefix@%$exec_prefix%g
16500 s%@prefix@%$prefix%g
16501 s%@program_transform_name@%$program_transform_name%g
16502 s%@bindir@%$bindir%g
16503 s%@sbindir@%$sbindir%g
16504 s%@libexecdir@%$libexecdir%g
16505 s%@datadir@%$datadir%g
16506 s%@sysconfdir@%$sysconfdir%g
16507 s%@sharedstatedir@%$sharedstatedir%g
16508 s%@localstatedir@%$localstatedir%g
16509 s%@libdir@%$libdir%g
16510 s%@includedir@%$includedir%g
16511 s%@oldincludedir@%$oldincludedir%g
16512 s%@infodir@%$infodir%g
16513 s%@mandir@%$mandir%g
16514 s%@toplevel_srcdir@%$toplevel_srcdir%g
16516 s%@host_alias@%$host_alias%g
16517 s%@host_cpu@%$host_cpu%g
16518 s%@host_vendor@%$host_vendor%g
16519 s%@host_os@%$host_os%g
16520 s%@target@%$target%g
16521 s%@target_alias@%$target_alias%g
16522 s%@target_cpu@%$target_cpu%g
16523 s%@target_vendor@%$target_vendor%g
16524 s%@target_os@%$target_os%g
16526 s%@build_alias@%$build_alias%g
16527 s%@build_cpu@%$build_cpu%g
16528 s%@build_vendor@%$build_vendor%g
16529 s%@build_os@%$build_os%g
16530 s%@glibcpp_basedir@%$glibcpp_basedir%g
16531 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16532 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16533 s%@INSTALL_DATA@%$INSTALL_DATA%g
16534 s%@PACKAGE@%$PACKAGE%g
16535 s%@VERSION@%$VERSION%g
16536 s%@ACLOCAL@%$ACLOCAL%g
16537 s%@AUTOCONF@%$AUTOCONF%g
16538 s%@AUTOMAKE@%$AUTOMAKE%g
16539 s%@AUTOHEADER@%$AUTOHEADER%g
16540 s%@MAKEINFO@%$MAKEINFO%g
16541 s%@SET_MAKE@%$SET_MAKE%g
16543 s%@glibcpp_CXX@%$glibcpp_CXX%g
16546 s%@RANLIB@%$RANLIB%g
16547 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
16548 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
16550 s%@EXEEXT@%$EXEEXT%g
16552 s%@OBJEXT@%$OBJEXT%g
16554 s%@LIBTOOL@%$LIBTOOL%g
16555 s%@CXXCPP@%$CXXCPP%g
16556 s%@enable_shared@%$enable_shared%g
16557 s%@enable_static@%$enable_static%g
16558 s%@ifGNUmake@%$ifGNUmake%g
16559 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
16561 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
16562 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
16563 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
16564 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
16565 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
16566 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
16567 s%@libio_la@%$libio_la%g
16568 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
16569 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
16570 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
16571 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
16572 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
16573 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
16574 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
16575 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
16576 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
16577 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
16578 s%@WERROR@%$WERROR%g
16579 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
16580 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
16581 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
16582 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
16583 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
16584 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
16585 s%@glibcpp_builddir@%$glibcpp_builddir%g
16586 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
16587 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
16588 s%@gxx_include_dir@%$gxx_include_dir%g
16589 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
16590 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
16591 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
16592 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
16593 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
16594 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
16595 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
16596 s%@CSTD_INCLUDES@%$CSTD_INCLUDES%g
16597 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
16598 s%@WARN_FLAGS@%$WARN_FLAGS%g
16599 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
16604 cat >> $CONFIG_STATUS <<\EOF
16606 # Split the substitutions into bite-sized pieces for seds with
16607 # small command number limits, like on Digital OSF/1 and HP-UX.
16608 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
16609 ac_file=1 # Number of current file.
16610 ac_beg=1 # First line for current file.
16611 ac_end=$ac_max_sed_cmds # Line after last line for current file.
16614 while $ac_more_lines; do
16615 if test $ac_beg -gt 1; then
16616 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
16618 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
16620 if test ! -s conftest.s$ac_file; then
16621 ac_more_lines=false
16622 rm -f conftest.s$ac_file
16624 if test -z "$ac_sed_cmds"; then
16625 ac_sed_cmds="sed -f conftest.s$ac_file"
16627 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
16629 ac_file=`expr $ac_file + 1`
16631 ac_end=`expr $ac_end + $ac_max_sed_cmds`
16634 if test -z "$ac_sed_cmds"; then
16639 cat >> $CONFIG_STATUS <<EOF
16641 CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile mkcheck testsuite_flags"}
16643 cat >> $CONFIG_STATUS <<\EOF
16644 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
16645 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16647 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16648 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16649 *) ac_file_in="${ac_file}.in" ;;
16652 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
16654 # Remove last slash and all that follows it. Not all systems have dirname.
16655 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16656 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16657 # The file is in a subdirectory.
16658 test ! -d "$ac_dir" && mkdir "$ac_dir"
16659 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
16660 # A "../" for each directory in $ac_dir_suffix.
16661 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
16663 ac_dir_suffix= ac_dots=
16666 case "$ac_given_srcdir" in
16668 if test -z "$ac_dots"; then top_srcdir=.
16669 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
16670 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
16671 *) # Relative path.
16672 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16673 top_srcdir="$ac_dots$ac_given_srcdir" ;;
16676 case "$ac_given_INSTALL" in
16677 [/$]*) INSTALL="$ac_given_INSTALL" ;;
16678 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
16681 echo creating "$ac_file"
16683 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
16685 *Makefile*) ac_comsub="1i\\
16686 # $configure_input" ;;
16690 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16692 s%@configure_input@%$configure_input%g
16693 s%@srcdir@%$srcdir%g
16694 s%@top_srcdir@%$top_srcdir%g
16695 s%@INSTALL@%$INSTALL%g
16696 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
16700 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16701 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16703 # ac_d sets the value in "#define NAME VALUE" lines.
16704 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16705 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
16708 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
16709 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16710 ac_uB='\([ ]\)%\1#\2define\3'
16713 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16714 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16715 ac_eB='$%\1#\2define\3'
16719 if test "${CONFIG_HEADERS+set}" != set; then
16721 cat >> $CONFIG_STATUS <<EOF
16722 CONFIG_HEADERS="config.h"
16724 cat >> $CONFIG_STATUS <<\EOF
16726 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
16727 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16729 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16730 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16731 *) ac_file_in="${ac_file}.in" ;;
16734 echo creating $ac_file
16736 rm -f conftest.frag conftest.in conftest.out
16737 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16738 cat $ac_file_inputs > conftest.in
16742 # Transform confdefs.h into a sed script conftest.vals that substitutes
16743 # the proper values into config.h.in to produce config.h. And first:
16744 # Protect against being on the right side of a sed subst in config.status.
16745 # Protect against being in an unquoted here document in config.status.
16746 rm -f conftest.vals
16747 cat > conftest.hdr <<\EOF
16750 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
16754 sed -n -f conftest.hdr confdefs.h > conftest.vals
16757 # This sed command replaces #undef with comments. This is necessary, for
16758 # example, in the case of _POSIX_SOURCE, which is predefined and required
16759 # on some systems where configure will not decide to define it.
16760 cat >> conftest.vals <<\EOF
16761 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
16764 # Break up conftest.vals because some shells have a limit on
16765 # the size of here documents, and old seds have small limits too.
16767 rm -f conftest.tail
16770 ac_lines=`grep -c . conftest.vals`
16771 # grep -c gives empty output for an empty file on some AIX systems.
16772 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
16773 # Write a limited-size here document to conftest.frag.
16774 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
16775 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
16777 sed -f conftest.frag conftest.in > conftest.out
16779 mv conftest.out conftest.in
16780 ' >> $CONFIG_STATUS
16781 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
16782 rm -f conftest.vals
16783 mv conftest.tail conftest.vals
16785 rm -f conftest.vals
16787 cat >> $CONFIG_STATUS <<\EOF
16788 rm -f conftest.frag conftest.h
16789 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
16790 cat conftest.in >> conftest.h
16792 if cmp -s $ac_file conftest.h 2>/dev/null; then
16793 echo "$ac_file is unchanged"
16796 # Remove last slash and all that follows it. Not all systems have dirname.
16797 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16798 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16799 # The file is in a subdirectory.
16800 test ! -d "$ac_dir" && mkdir "$ac_dir"
16803 mv conftest.h $ac_file
16809 cat >> $CONFIG_STATUS <<EOF
16810 ac_sources="$os_include_dir/bits/os_defines.h $CSTDIO_H $BASIC_FILE_H $BASIC_FILE_CC $CCODECVT_C $CLOCALE_H $CLOCALE_CC $toprel/gcc/gthr.h $toprel/gcc/gthr-single.h $toprel/gcc/gthr-$target_thread_file.h $os_include_dir/bits/ctype_base.h $os_include_dir/bits/ctype_inline.h $os_include_dir/bits/ctype_noninline.h $ATOMICITYH/bits/atomicity.h"
16811 ac_dests="include/bits/os_defines.h include/bits/c++io.h include/bits/basic_file_model.h src/basic_file.cc libio/c_codecvt.c include/bits/c++locale.h src/c++locale.cc include/bits/gthr.h-in include/bits/gthr-single.h-in include/bits/gthr-default.h-in \
16812 include/bits/ctype_base.h \
16813 include/bits/ctype_inline.h \
16814 include/bits/ctype_noninline.h include/bits/atomicity.h"
16817 cat >> $CONFIG_STATUS <<\EOF
16818 srcdir=$ac_given_srcdir
16819 while test -n "$ac_sources"; do
16820 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
16821 set $ac_sources; ac_source=$1; shift; ac_sources=$*
16823 echo "linking $srcdir/$ac_source to $ac_dest"
16825 if test ! -r $srcdir/$ac_source; then
16826 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
16830 # Make relative symlinks.
16831 # Remove last slash and all that follows it. Not all systems have dirname.
16832 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
16833 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
16834 # The dest file is in a subdirectory.
16835 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
16836 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
16837 # A "../" for each directory in $ac_dest_dir_suffix.
16838 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
16840 ac_dest_dir_suffix= ac_dots=
16844 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
16845 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
16848 # Make a symlink if possible; otherwise try a hard link.
16849 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
16850 ln $srcdir/$ac_source $ac_dest; then :
16852 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
16856 cat >> $CONFIG_STATUS <<EOF
16862 with_multisubdir=${with_multisubdir}
16863 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16864 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16865 glibcpp_basedir=${glibcpp_basedir}
16870 cat >> $CONFIG_STATUS <<\EOF
16871 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
16873 rm -f $d/gthr.h $d/gthr-single.h $d/gthr-default.h
16874 sed '/^#/s/\([A-Z_][A-Z_]*\)/_GLIBCPP_\1/g' <$d/gthr.h-in \
16875 | sed 's,"gthr-,"bits/gthr-,' >$d/gthr.h
16876 sed 's/\(UNUSED\)/_GLIBCPP_\1/g' <$d/gthr-single.h-in \
16877 | sed 's/\(GCC[A-Z_]*_H\)/_GLIBCPP_\1/g' >$d/gthr-single.h
16878 sed 's/\(UNUSED\)/_GLIBCPP_\1/g' <$d/gthr-default.h-in \
16879 | sed 's/\(GCC[A-Z_]*_H\)/_GLIBCPP_\1/g' \
16880 | sed 's/\([A-Z_]*WEAK\)/_GLIBCPP_\1/g' >$d/gthr-default.h
16881 if test -n "$CONFIG_FILES"; then
16882 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
16883 grep '^MULTISUBDIR =' Makefile >> src/Makefile
16884 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
16887 chmod +x testsuite_flags
16891 chmod +x $CONFIG_STATUS
16892 rm -fr confdefs* $ac_clean_files
16893 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
16897 # Generate bits/c++config.h
16898 # NB: This must be the first generated file as others include it. . .
16899 $srcdir/mkc++config $blddir $srcdir
16901 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
16902 if test ! -f stamp-limits; then
16903 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
16904 if test ! -f include/bits/std_limits.h; then
16905 echo "mknumeric_limits failed to execute properly: exiting"
16913 # Sanity checking & User-visible messages.
16914 # Checks down here, otherwise they get scrolled off before
16915 # the user will notice.
16917 # Trying to get more people to read documentation. Possibly remove
16918 # check and warn all the time. There is no "informational" AC_MSG_
16919 # macro, so these are going to be printed even when --quiet/--silent
16921 if test ! -f stamp-sanity-warned; then
16922 touch stamp-sanity-warned
16924 echo "Please make certain that you read the installation information here:"
16925 echo " faster => ${srcdir}/docs/install.html"
16926 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
16928 echo "and the configuration information here:"
16929 echo " faster => ${srcdir}/docs/configopts.html"
16930 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
16932 echo "before proceeding with ${_cv_gnu_make_command}."