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" || test x"$build" != x"$host"; then
3749 # We are being configured with some form of cross compiler.
3750 # mknumeric_limits may not work correctly, either because the
3751 # compiler may not run on this machine, may not be able to link
3752 # executables, or may produce executables we can't run on this
3756 # If Canadian cross, then don't pick up tools from the build
3758 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
3764 case "$target_alias" in
3766 # Construct linux crosses by hand, eliminating bits that need ld...
3767 # Check for available headers.
3768 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3769 machine/endian.h machine/param.h sys/machine.h fp.h locale.h \
3772 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3773 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3774 echo "configure:3775: checking for $ac_hdr" >&5
3775 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3776 echo $ac_n "(cached) $ac_c" 1>&6
3778 cat > conftest.$ac_ext <<EOF
3779 #line 3780 "configure"
3780 #include "confdefs.h"
3783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3784 { (eval echo configure:3785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3786 if test -z "$ac_err"; then
3788 eval "ac_cv_header_$ac_safe=yes"
3791 echo "configure: failed program was:" >&5
3792 cat conftest.$ac_ext >&5
3794 eval "ac_cv_header_$ac_safe=no"
3798 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3799 echo "$ac_t""yes" 1>&6
3800 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3801 cat >> confdefs.h <<EOF
3802 #define $ac_tr_hdr 1
3806 echo "$ac_t""no" 1>&6
3811 # GLIBCPP_CHECK_COMPILER_FEATURES
3812 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3815 # If we're not using GNU ld, then there's no point in even trying these
3816 # tests. Check for that first. We should have already tested for gld
3817 # by now (in libtool), but require it now just to be safe...
3822 # Set --gc-sections.
3823 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3824 # GNU ld it is! Joy and bunny rabbits!
3826 # All these tests are for C++; save the language and the compiler flags.
3827 # Need to do this so that g++ won't try to link in libstdc++
3828 ac_test_CFLAGS="${CFLAGS+set}"
3829 ac_save_CFLAGS="$CFLAGS"
3830 CFLAGS='-x c++ -Wl,--gc-sections'
3832 # Check for -Wl,--gc-sections
3833 # XXX This test is broken at the moment, as symbols required for
3834 # linking are now in libsupc++ (not built yet.....). In addition,
3835 # this test has cored on solaris in the past. In addition,
3836 # --gc-sections doesn't really work at the moment (keeps on discarding
3837 # used sections, first .eh_frame and now some of the glibc sections for
3838 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3839 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3840 echo "configure:3841: checking for ld that supports -Wl,--gc-sections" >&5
3841 if test "$cross_compiling" = yes; then
3842 ac_sectionLDflags=yes
3844 cat > conftest.$ac_ext <<EOF
3845 #line 3846 "configure"
3846 #include "confdefs.h"
3856 if { (eval echo configure:3857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3858 ac_sectionLDflags=yes
3860 echo "configure: failed program was:" >&5
3861 cat conftest.$ac_ext >&5
3863 ac_sectionLFflags=no
3868 if test "$ac_test_CFLAGS" = set; then
3869 CFLAGS="$ac_save_CFLAGS"
3871 # this is the suspicious part
3874 if test "$ac_sectionLDflags" = "yes"; then
3875 SECTION_LDFLAGS='-Wl,--gc-sections'
3877 echo "$ac_t""$ac_sectionLDflags" 1>&6
3880 # Set linker optimization flags.
3881 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
3882 test x"$enable_debug" = x"no"; then
3883 OPT_LDFLAGS='-Wl,-O1'
3889 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3890 # GLIBCPP_CHECK_MATH_SUPPORT
3891 cat >> confdefs.h <<\EOF
3892 #define HAVE_ACOSF 1
3895 cat >> confdefs.h <<\EOF
3896 #define HAVE_ASINF 1
3899 cat >> confdefs.h <<\EOF
3900 #define HAVE_ATAN2F 1
3903 cat >> confdefs.h <<\EOF
3904 #define HAVE_ATANF 1
3907 cat >> confdefs.h <<\EOF
3908 #define HAVE_CEILF 1
3911 cat >> confdefs.h <<\EOF
3912 #define HAVE_COPYSIGN 1
3915 cat >> confdefs.h <<\EOF
3916 #define HAVE_COPYSIGNF 1
3919 cat >> confdefs.h <<\EOF
3923 cat >> confdefs.h <<\EOF
3924 #define HAVE_COSHF 1
3927 cat >> confdefs.h <<\EOF
3931 cat >> confdefs.h <<\EOF
3932 #define HAVE_FABSF 1
3935 cat >> confdefs.h <<\EOF
3936 #define HAVE_FINITE 1
3939 cat >> confdefs.h <<\EOF
3940 #define HAVE_FINITEF 1
3943 cat >> confdefs.h <<\EOF
3944 #define HAVE_FLOORF 1
3947 cat >> confdefs.h <<\EOF
3948 #define HAVE_FMODF 1
3951 cat >> confdefs.h <<\EOF
3952 #define HAVE_FREXPF 1
3955 cat >> confdefs.h <<\EOF
3956 #define HAVE_ISINF 1
3959 cat >> confdefs.h <<\EOF
3960 #define HAVE_ISINFF 1
3963 cat >> confdefs.h <<\EOF
3964 #define HAVE_ISNAN 1
3967 cat >> confdefs.h <<\EOF
3968 #define HAVE_ISNANF 1
3971 cat >> confdefs.h <<\EOF
3972 #define HAVE_LDEXPF 1
3975 cat >> confdefs.h <<\EOF
3976 #define HAVE_LOG10F 1
3979 cat >> confdefs.h <<\EOF
3983 cat >> confdefs.h <<\EOF
3984 #define HAVE_MODFF 1
3987 cat >> confdefs.h <<\EOF
3991 cat >> confdefs.h <<\EOF
3992 #define HAVE_SINCOS 1
3995 cat >> confdefs.h <<\EOF
3996 #define HAVE_SINCOSF 1
3999 cat >> confdefs.h <<\EOF
4003 cat >> confdefs.h <<\EOF
4004 #define HAVE_SINHF 1
4007 cat >> confdefs.h <<\EOF
4008 #define HAVE_SQRTF 1
4011 cat >> confdefs.h <<\EOF
4015 cat >> confdefs.h <<\EOF
4016 #define HAVE_TANHF 1
4020 # At some point, we should differentiate between architectures
4021 # like x86, which have long double versions, and alpha/powerpc/etc.,
4022 # which don't. For the time being, punt.
4023 if test x"long_double_math_on_this_cpu" = x"yes"; then
4024 cat >> confdefs.h <<\EOF
4025 #define HAVE_ACOSL 1
4028 cat >> confdefs.h <<\EOF
4029 #define HAVE_ASINL 1
4032 cat >> confdefs.h <<\EOF
4033 #define HAVE_ATAN2L 1
4036 cat >> confdefs.h <<\EOF
4037 #define HAVE_ATANL 1
4040 cat >> confdefs.h <<\EOF
4041 #define HAVE_CEILL 1
4044 cat >> confdefs.h <<\EOF
4045 #define HAVE_COPYSIGNL 1
4048 cat >> confdefs.h <<\EOF
4052 cat >> confdefs.h <<\EOF
4053 #define HAVE_COSHL 1
4056 cat >> confdefs.h <<\EOF
4060 cat >> confdefs.h <<\EOF
4061 #define HAVE_FABSL 1
4064 cat >> confdefs.h <<\EOF
4065 #define HAVE_FINITEL 1
4068 cat >> confdefs.h <<\EOF
4069 #define HAVE_FLOORL 1
4072 cat >> confdefs.h <<\EOF
4073 #define HAVE_FMODL 1
4076 cat >> confdefs.h <<\EOF
4077 #define HAVE_FREXPL 1
4080 cat >> confdefs.h <<\EOF
4081 #define HAVE_ISINFL 1
4084 cat >> confdefs.h <<\EOF
4085 #define HAVE_ISNANL 1
4088 cat >> confdefs.h <<\EOF
4089 #define HAVE_LDEXPL 1
4092 cat >> confdefs.h <<\EOF
4093 #define HAVE_LOG10L 1
4096 cat >> confdefs.h <<\EOF
4100 cat >> confdefs.h <<\EOF
4101 #define HAVE_MODFL 1
4104 cat >> confdefs.h <<\EOF
4108 cat >> confdefs.h <<\EOF
4109 #define HAVE_SINCOSL 1
4112 cat >> confdefs.h <<\EOF
4116 cat >> confdefs.h <<\EOF
4117 #define HAVE_SINHL 1
4120 cat >> confdefs.h <<\EOF
4121 #define HAVE_SQRTL 1
4124 cat >> confdefs.h <<\EOF
4128 cat >> confdefs.h <<\EOF
4129 #define HAVE_TANHL 1
4134 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4135 echo "configure:4136: checking for main in -lm" >&5
4136 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4137 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4138 echo $ac_n "(cached) $ac_c" 1>&6
4140 ac_save_LIBS="$LIBS"
4142 cat > conftest.$ac_ext <<EOF
4143 #line 4144 "configure"
4144 #include "confdefs.h"
4150 if { (eval echo configure:4151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4152 eval "ac_cv_lib_$ac_lib_var=yes"
4154 echo "configure: failed program was:" >&5
4155 cat conftest.$ac_ext >&5
4157 eval "ac_cv_lib_$ac_lib_var=no"
4160 LIBS="$ac_save_LIBS"
4163 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4164 echo "$ac_t""yes" 1>&6
4165 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4166 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4167 cat >> confdefs.h <<EOF
4168 #define $ac_tr_lib 1
4174 echo "$ac_t""no" 1>&6
4177 for ac_func in nan hypot hypotf copysignf
4179 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4180 echo "configure:4181: checking for $ac_func" >&5
4181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4182 echo $ac_n "(cached) $ac_c" 1>&6
4184 cat > conftest.$ac_ext <<EOF
4185 #line 4186 "configure"
4186 #include "confdefs.h"
4187 /* System header to define __stub macros and hopefully few prototypes,
4188 which can conflict with char $ac_func(); below. */
4190 /* Override any gcc2 internal prototype to avoid an error. */
4191 /* We use char because int might match the return type of a gcc2
4192 builtin and then its argument prototype would still apply. */
4197 /* The GNU C library defines this for functions which it implements
4198 to always fail with ENOSYS. Some functions are actually named
4199 something starting with __ and the normal name is an alias. */
4200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4208 if { (eval echo configure:4209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4210 eval "ac_cv_func_$ac_func=yes"
4212 echo "configure: failed program was:" >&5
4213 cat conftest.$ac_ext >&5
4215 eval "ac_cv_func_$ac_func=no"
4220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4221 echo "$ac_t""yes" 1>&6
4222 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4223 cat >> confdefs.h <<EOF
4224 #define $ac_tr_func 1
4228 echo "$ac_t""no" 1>&6
4229 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4235 USE_COMPLEX_LONG_DOUBLE=no
4236 if test x$ac_cv_func_atan2l = x"yes" &&
4237 test x$ac_cv_func_copysignl = x"yes"; then
4238 USE_COMPLEX_LONG_DOUBLE=yes
4239 for ac_func in hypotl signbitl
4241 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4242 echo "configure:4243: checking for $ac_func" >&5
4243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4244 echo $ac_n "(cached) $ac_c" 1>&6
4246 cat > conftest.$ac_ext <<EOF
4247 #line 4248 "configure"
4248 #include "confdefs.h"
4249 /* System header to define __stub macros and hopefully few prototypes,
4250 which can conflict with char $ac_func(); below. */
4252 /* Override any gcc2 internal prototype to avoid an error. */
4253 /* We use char because int might match the return type of a gcc2
4254 builtin and then its argument prototype would still apply. */
4259 /* The GNU C library defines this for functions which it implements
4260 to always fail with ENOSYS. Some functions are actually named
4261 something starting with __ and the normal name is an alias. */
4262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4270 if { (eval echo configure:4271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4272 eval "ac_cv_func_$ac_func=yes"
4274 echo "configure: failed program was:" >&5
4275 cat conftest.$ac_ext >&5
4277 eval "ac_cv_func_$ac_func=no"
4282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4283 echo "$ac_t""yes" 1>&6
4284 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4285 cat >> confdefs.h <<EOF
4286 #define $ac_tr_func 1
4290 echo "$ac_t""no" 1>&6
4291 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4302 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4303 echo "configure:4304: checking for mbstate_t" >&5
4304 cat > conftest.$ac_ext <<EOF
4305 #line 4306 "configure"
4306 #include "confdefs.h"
4309 mbstate_t teststate;
4312 if { (eval echo configure:4313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4316 echo "configure: failed program was:" >&5
4317 cat conftest.$ac_ext >&5
4322 echo "$ac_t""$have_mbstate_t" 1>&6
4323 if test x"$have_mbstate_t" = xyes; then
4324 cat >> confdefs.h <<\EOF
4325 #define HAVE_MBSTATE_T 1
4330 for ac_hdr in wchar.h
4332 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4333 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4334 echo "configure:4335: checking for $ac_hdr" >&5
4335 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4336 echo $ac_n "(cached) $ac_c" 1>&6
4338 cat > conftest.$ac_ext <<EOF
4339 #line 4340 "configure"
4340 #include "confdefs.h"
4343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4344 { (eval echo configure:4345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4346 if test -z "$ac_err"; then
4348 eval "ac_cv_header_$ac_safe=yes"
4351 echo "configure: failed program was:" >&5
4352 cat conftest.$ac_ext >&5
4354 eval "ac_cv_header_$ac_safe=no"
4358 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4359 echo "$ac_t""yes" 1>&6
4360 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4361 cat >> confdefs.h <<EOF
4362 #define $ac_tr_hdr 1
4366 echo "$ac_t""no" 1>&6
4371 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4372 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4373 echo "configure:4374: checking for wctype.h" >&5
4374 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4375 echo $ac_n "(cached) $ac_c" 1>&6
4377 cat > conftest.$ac_ext <<EOF
4378 #line 4379 "configure"
4379 #include "confdefs.h"
4382 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4383 { (eval echo configure:4384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4384 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4385 if test -z "$ac_err"; then
4387 eval "ac_cv_header_$ac_safe=yes"
4390 echo "configure: failed program was:" >&5
4391 cat conftest.$ac_ext >&5
4393 eval "ac_cv_header_$ac_safe=no"
4397 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4398 echo "$ac_t""yes" 1>&6
4401 echo "$ac_t""no" 1>&6
4406 if test x"$ac_has_wchar_h" = xyes &&
4407 test x"$ac_has_wctype_h" = xyes &&
4408 test x"$enable_c_mbchar" != xno; then
4410 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4411 echo "configure:4412: checking for WCHAR_MIN and WCHAR_MAX" >&5
4412 cat > conftest.$ac_ext <<EOF
4413 #line 4414 "configure"
4414 #include "confdefs.h"
4417 int i = WCHAR_MIN; int j = WCHAR_MAX;
4420 if { (eval echo configure:4421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4422 has_wchar_minmax=yes
4424 echo "configure: failed program was:" >&5
4425 cat conftest.$ac_ext >&5
4430 echo "$ac_t""$has_wchar_minmax" 1>&6
4432 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4433 echo "configure:4434: checking for WEOF" >&5
4434 cat > conftest.$ac_ext <<EOF
4435 #line 4436 "configure"
4436 #include "confdefs.h"
4444 if { (eval echo configure:4445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4448 echo "configure: failed program was:" >&5
4449 cat conftest.$ac_ext >&5
4454 echo "$ac_t""$has_weof" 1>&6
4457 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4460 echo "configure:4461: checking for $ac_func" >&5
4461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4462 echo $ac_n "(cached) $ac_c" 1>&6
4464 cat > conftest.$ac_ext <<EOF
4465 #line 4466 "configure"
4466 #include "confdefs.h"
4467 /* System header to define __stub macros and hopefully few prototypes,
4468 which can conflict with char $ac_func(); below. */
4470 /* Override any gcc2 internal prototype to avoid an error. */
4471 /* We use char because int might match the return type of a gcc2
4472 builtin and then its argument prototype would still apply. */
4477 /* The GNU C library defines this for functions which it implements
4478 to always fail with ENOSYS. Some functions are actually named
4479 something starting with __ and the normal name is an alias. */
4480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4488 if { (eval echo configure:4489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4490 eval "ac_cv_func_$ac_func=yes"
4492 echo "configure: failed program was:" >&5
4493 cat conftest.$ac_ext >&5
4495 eval "ac_cv_func_$ac_func=no"
4500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4501 echo "$ac_t""yes" 1>&6
4502 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4503 cat >> confdefs.h <<EOF
4504 #define $ac_tr_func 1
4508 echo "$ac_t""no" 1>&6
4515 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4516 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4517 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4518 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4519 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4520 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4522 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4523 echo "configure:4524: checking for $ac_func" >&5
4524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4525 echo $ac_n "(cached) $ac_c" 1>&6
4527 cat > conftest.$ac_ext <<EOF
4528 #line 4529 "configure"
4529 #include "confdefs.h"
4530 /* System header to define __stub macros and hopefully few prototypes,
4531 which can conflict with char $ac_func(); below. */
4533 /* Override any gcc2 internal prototype to avoid an error. */
4534 /* We use char because int might match the return type of a gcc2
4535 builtin and then its argument prototype would still apply. */
4540 /* The GNU C library defines this for functions which it implements
4541 to always fail with ENOSYS. Some functions are actually named
4542 something starting with __ and the normal name is an alias. */
4543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4551 if { (eval echo configure:4552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4553 eval "ac_cv_func_$ac_func=yes"
4555 echo "configure: failed program was:" >&5
4556 cat conftest.$ac_ext >&5
4558 eval "ac_cv_func_$ac_func=no"
4563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4564 echo "$ac_t""yes" 1>&6
4565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4566 cat >> confdefs.h <<EOF
4567 #define $ac_tr_func 1
4571 echo "$ac_t""no" 1>&6
4578 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4579 echo "configure:4580: checking for ISO C99 wchar_t support" >&5
4580 if test x"$has_weof" = xyes &&
4581 test x"$has_wchar_minmax" = xyes &&
4582 test x"$ac_wfuncs" = xyes; then
4583 ac_isoC99_wchar_t=yes
4585 ac_isoC99_wchar_t=no
4587 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4589 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4590 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4591 echo "configure:4592: checking for iconv.h" >&5
4592 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4593 echo $ac_n "(cached) $ac_c" 1>&6
4595 cat > conftest.$ac_ext <<EOF
4596 #line 4597 "configure"
4597 #include "confdefs.h"
4600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4601 { (eval echo configure:4602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4603 if test -z "$ac_err"; then
4605 eval "ac_cv_header_$ac_safe=yes"
4608 echo "configure: failed program was:" >&5
4609 cat conftest.$ac_ext >&5
4611 eval "ac_cv_header_$ac_safe=no"
4615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4616 echo "$ac_t""yes" 1>&6
4619 echo "$ac_t""no" 1>&6
4623 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4624 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4625 echo "configure:4626: checking for langinfo.h" >&5
4626 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4627 echo $ac_n "(cached) $ac_c" 1>&6
4629 cat > conftest.$ac_ext <<EOF
4630 #line 4631 "configure"
4631 #include "confdefs.h"
4632 #include <langinfo.h>
4634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4635 { (eval echo configure:4636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4636 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4637 if test -z "$ac_err"; then
4639 eval "ac_cv_header_$ac_safe=yes"
4642 echo "configure: failed program was:" >&5
4643 cat conftest.$ac_ext >&5
4645 eval "ac_cv_header_$ac_safe=no"
4649 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4650 echo "$ac_t""yes" 1>&6
4651 ac_has_langinfo_h=yes
4653 echo "$ac_t""no" 1>&6
4654 ac_has_langinfo_h=no
4658 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4659 echo "configure:4660: checking for iconv in -liconv" >&5
4660 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4661 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4662 echo $ac_n "(cached) $ac_c" 1>&6
4664 ac_save_LIBS="$LIBS"
4665 LIBS="-liconv $LIBS"
4666 cat > conftest.$ac_ext <<EOF
4667 #line 4668 "configure"
4668 #include "confdefs.h"
4669 /* Override any gcc2 internal prototype to avoid an error. */
4670 /* We use char because int might match the return type of a gcc2
4671 builtin and then its argument prototype would still apply. */
4678 if { (eval echo configure:4679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4680 eval "ac_cv_lib_$ac_lib_var=yes"
4682 echo "configure: failed program was:" >&5
4683 cat conftest.$ac_ext >&5
4685 eval "ac_cv_lib_$ac_lib_var=no"
4688 LIBS="$ac_save_LIBS"
4691 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4692 echo "$ac_t""yes" 1>&6
4695 echo "$ac_t""no" 1>&6
4698 ac_save_LIBS="$LIBS"
4699 LIBS="$LIBS $libiconv"
4701 for ac_func in iconv_open iconv_close iconv nl_langinfo
4703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4704 echo "configure:4705: checking for $ac_func" >&5
4705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4706 echo $ac_n "(cached) $ac_c" 1>&6
4708 cat > conftest.$ac_ext <<EOF
4709 #line 4710 "configure"
4710 #include "confdefs.h"
4711 /* System header to define __stub macros and hopefully few prototypes,
4712 which can conflict with char $ac_func(); below. */
4714 /* Override any gcc2 internal prototype to avoid an error. */
4715 /* We use char because int might match the return type of a gcc2
4716 builtin and then its argument prototype would still apply. */
4721 /* The GNU C library defines this for functions which it implements
4722 to always fail with ENOSYS. Some functions are actually named
4723 something starting with __ and the normal name is an alias. */
4724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4732 if { (eval echo configure:4733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4734 eval "ac_cv_func_$ac_func=yes"
4736 echo "configure: failed program was:" >&5
4737 cat conftest.$ac_ext >&5
4739 eval "ac_cv_func_$ac_func=no"
4744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4745 echo "$ac_t""yes" 1>&6
4746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4747 cat >> confdefs.h <<EOF
4748 #define $ac_tr_func 1
4753 echo "$ac_t""no" 1>&6
4759 LIBS="$ac_save_LIBS"
4761 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4762 echo "configure:4763: checking for XPG2 wchar_t support" >&5
4763 if test x"$ac_has_iconv_h" = xyes &&
4764 test x"$ac_has_langinfo_h" = xyes &&
4765 test x"$ac_XPG2funcs" = xyes; then
4770 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4772 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4773 echo "configure:4774: checking for enabled wchar_t specializations" >&5
4774 if test x"$ac_isoC99_wchar_t" = xyes &&
4775 test x"$ac_XPG2_wchar_t" = xyes; then
4776 cat >> confdefs.h <<\EOF
4777 #define _GLIBCPP_USE_WCHAR_T 1
4780 echo "$ac_t"""yes"" 1>&6
4782 echo "$ac_t"""no"" 1>&6
4785 echo "configure: warning: wchar_t support disabled." 1>&2
4788 os_include_dir="config/os/gnu-linux"
4789 # GLIBCPP_CHECK_STDLIB_SUPPORT
4790 cat >> confdefs.h <<\EOF
4791 #define HAVE_STRTOF 1
4794 cat >> confdefs.h <<\EOF
4795 #define HAVE_STRTOLD 1
4799 cat >> confdefs.h <<\EOF
4805 # We assume newlib. This lets us hard-code the functions we know
4807 cat >> confdefs.h <<\EOF
4808 #define HAVE_FINITE 1
4811 cat >> confdefs.h <<\EOF
4812 #define HAVE_ISNAN 1
4815 cat >> confdefs.h <<\EOF
4816 #define HAVE_ISNANF 1
4819 cat >> confdefs.h <<\EOF
4820 #define HAVE_ISINF 1
4823 cat >> confdefs.h <<\EOF
4824 #define HAVE_ISINFF 1
4828 os_include_dir="config/os/newlib"
4830 # need to check for faster f versions of math functions, ie sinf?
4835 # We are being configured natively. We can do more elaborate tests
4836 # that include AC_TRY_COMPILE now, as the linker is assumed to be
4841 # Check for available headers.
4842 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
4843 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
4845 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4846 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4847 echo "configure:4848: checking for $ac_hdr" >&5
4848 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4849 echo $ac_n "(cached) $ac_c" 1>&6
4851 cat > conftest.$ac_ext <<EOF
4852 #line 4853 "configure"
4853 #include "confdefs.h"
4856 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4857 { (eval echo configure:4858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4858 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4859 if test -z "$ac_err"; then
4861 eval "ac_cv_header_$ac_safe=yes"
4864 echo "configure: failed program was:" >&5
4865 cat conftest.$ac_ext >&5
4867 eval "ac_cv_header_$ac_safe=no"
4871 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4872 echo "$ac_t""yes" 1>&6
4873 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4874 cat >> confdefs.h <<EOF
4875 #define $ac_tr_hdr 1
4879 echo "$ac_t""no" 1>&6
4885 # All these tests are for C++; save the language and the compiler flags.
4886 # The CXXFLAGS thing is suspicious, but based on similar bits previously
4887 # found in GLIBCPP_CONFIGURE.
4890 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4891 ac_cpp='$CXXCPP $CPPFLAGS'
4892 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4893 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4894 cross_compiling=$ac_cv_prog_cxx_cross
4896 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4897 ac_save_CXXFLAGS="$CXXFLAGS"
4899 # Check for maintainer-mode bits.
4900 if test x"$USE_MAINTAINER_MODE" = xno; then
4906 # Check for -ffunction-sections -fdata-sections
4907 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
4908 echo "configure:4909: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
4909 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
4910 cat > conftest.$ac_ext <<EOF
4911 #line 4912 "configure"
4912 #include "confdefs.h"
4919 if { (eval echo configure:4920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4923 echo "configure: failed program was:" >&5
4924 cat conftest.$ac_ext >&5
4929 if test "$ac_test_CXXFLAGS" = set; then
4930 CXXFLAGS="$ac_save_CXXFLAGS"
4932 # this is the suspicious part
4935 if test x"$ac_fdsections" = x"yes" &&
4936 test x"$enable_debug" = x"no"; then
4937 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4939 echo "$ac_t""$ac_fdsections" 1>&6
4942 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4943 ac_cpp='$CPP $CPPFLAGS'
4944 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4945 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4946 cross_compiling=$ac_cv_prog_cc_cross
4952 # If we're not using GNU ld, then there's no point in even trying these
4953 # tests. Check for that first. We should have already tested for gld
4954 # by now (in libtool), but require it now just to be safe...
4959 # Set --gc-sections.
4960 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4961 # GNU ld it is! Joy and bunny rabbits!
4963 # All these tests are for C++; save the language and the compiler flags.
4964 # Need to do this so that g++ won't try to link in libstdc++
4965 ac_test_CFLAGS="${CFLAGS+set}"
4966 ac_save_CFLAGS="$CFLAGS"
4967 CFLAGS='-x c++ -Wl,--gc-sections'
4969 # Check for -Wl,--gc-sections
4970 # XXX This test is broken at the moment, as symbols required for
4971 # linking are now in libsupc++ (not built yet.....). In addition,
4972 # this test has cored on solaris in the past. In addition,
4973 # --gc-sections doesn't really work at the moment (keeps on discarding
4974 # used sections, first .eh_frame and now some of the glibc sections for
4975 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4976 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4977 echo "configure:4978: checking for ld that supports -Wl,--gc-sections" >&5
4978 if test "$cross_compiling" = yes; then
4979 ac_sectionLDflags=yes
4981 cat > conftest.$ac_ext <<EOF
4982 #line 4983 "configure"
4983 #include "confdefs.h"
4993 if { (eval echo configure:4994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4995 ac_sectionLDflags=yes
4997 echo "configure: failed program was:" >&5
4998 cat conftest.$ac_ext >&5
5000 ac_sectionLFflags=no
5005 if test "$ac_test_CFLAGS" = set; then
5006 CFLAGS="$ac_save_CFLAGS"
5008 # this is the suspicious part
5011 if test "$ac_sectionLDflags" = "yes"; then
5012 SECTION_LDFLAGS='-Wl,--gc-sections'
5014 echo "$ac_t""$ac_sectionLDflags" 1>&6
5017 # Set linker optimization flags.
5018 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
5019 test x"$enable_debug" = x"no"; then
5020 OPT_LDFLAGS='-Wl,-O1'
5028 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
5029 echo "configure:5030: checking for __builtin_abs declaration" >&5
5030 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
5031 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5032 echo $ac_n "(cached) $ac_c" 1>&6
5037 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5038 ac_cpp='$CXXCPP $CPPFLAGS'
5039 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5040 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5041 cross_compiling=$ac_cv_prog_cxx_cross
5043 cat > conftest.$ac_ext <<EOF
5044 #line 5045 "configure"
5045 #include "confdefs.h"
5051 if { (eval echo configure:5052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5053 glibcpp_cv_func___builtin_abs_use=yes
5055 echo "configure: failed program was:" >&5
5056 cat conftest.$ac_ext >&5
5058 glibcpp_cv_func___builtin_abs_use=no
5062 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5063 ac_cpp='$CPP $CPPFLAGS'
5064 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5065 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5066 cross_compiling=$ac_cv_prog_cc_cross
5072 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5073 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
5074 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
5075 echo "configure:5076: checking for __builtin_abs linkage" >&5
5076 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
5077 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5078 echo $ac_n "(cached) $ac_c" 1>&6
5081 cat > conftest.$ac_ext <<EOF
5082 #line 5083 "configure"
5083 #include "confdefs.h"
5089 if { (eval echo configure:5090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5091 glibcpp_cv_func___builtin_abs_link=yes
5093 echo "configure: failed program was:" >&5
5094 cat conftest.$ac_ext >&5
5096 glibcpp_cv_func___builtin_abs_link=no
5103 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5104 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
5105 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5106 cat >> confdefs.h <<EOF
5107 #define ${ac_tr_func} 1
5114 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
5115 echo "configure:5116: checking for __builtin_fabsf declaration" >&5
5116 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
5117 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5118 echo $ac_n "(cached) $ac_c" 1>&6
5123 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5124 ac_cpp='$CXXCPP $CPPFLAGS'
5125 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5126 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5127 cross_compiling=$ac_cv_prog_cxx_cross
5129 cat > conftest.$ac_ext <<EOF
5130 #line 5131 "configure"
5131 #include "confdefs.h"
5137 if { (eval echo configure:5138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5139 glibcpp_cv_func___builtin_fabsf_use=yes
5141 echo "configure: failed program was:" >&5
5142 cat conftest.$ac_ext >&5
5144 glibcpp_cv_func___builtin_fabsf_use=no
5148 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5149 ac_cpp='$CPP $CPPFLAGS'
5150 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5151 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5152 cross_compiling=$ac_cv_prog_cc_cross
5158 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5159 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
5160 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
5161 echo "configure:5162: checking for __builtin_fabsf linkage" >&5
5162 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
5163 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5164 echo $ac_n "(cached) $ac_c" 1>&6
5167 cat > conftest.$ac_ext <<EOF
5168 #line 5169 "configure"
5169 #include "confdefs.h"
5175 if { (eval echo configure:5176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5177 glibcpp_cv_func___builtin_fabsf_link=yes
5179 echo "configure: failed program was:" >&5
5180 cat conftest.$ac_ext >&5
5182 glibcpp_cv_func___builtin_fabsf_link=no
5189 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5190 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
5191 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5192 cat >> confdefs.h <<EOF
5193 #define ${ac_tr_func} 1
5200 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
5201 echo "configure:5202: checking for __builtin_fabs declaration" >&5
5202 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
5203 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5204 echo $ac_n "(cached) $ac_c" 1>&6
5209 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5210 ac_cpp='$CXXCPP $CPPFLAGS'
5211 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5212 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5213 cross_compiling=$ac_cv_prog_cxx_cross
5215 cat > conftest.$ac_ext <<EOF
5216 #line 5217 "configure"
5217 #include "confdefs.h"
5223 if { (eval echo configure:5224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5225 glibcpp_cv_func___builtin_fabs_use=yes
5227 echo "configure: failed program was:" >&5
5228 cat conftest.$ac_ext >&5
5230 glibcpp_cv_func___builtin_fabs_use=no
5234 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5235 ac_cpp='$CPP $CPPFLAGS'
5236 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5237 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5238 cross_compiling=$ac_cv_prog_cc_cross
5244 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5245 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
5246 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
5247 echo "configure:5248: checking for __builtin_fabs linkage" >&5
5248 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
5249 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5250 echo $ac_n "(cached) $ac_c" 1>&6
5253 cat > conftest.$ac_ext <<EOF
5254 #line 5255 "configure"
5255 #include "confdefs.h"
5261 if { (eval echo configure:5262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5263 glibcpp_cv_func___builtin_fabs_link=yes
5265 echo "configure: failed program was:" >&5
5266 cat conftest.$ac_ext >&5
5268 glibcpp_cv_func___builtin_fabs_link=no
5275 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5276 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
5277 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5278 cat >> confdefs.h <<EOF
5279 #define ${ac_tr_func} 1
5286 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
5287 echo "configure:5288: checking for __builtin_fabsl declaration" >&5
5288 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
5289 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5290 echo $ac_n "(cached) $ac_c" 1>&6
5295 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5296 ac_cpp='$CXXCPP $CPPFLAGS'
5297 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5298 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5299 cross_compiling=$ac_cv_prog_cxx_cross
5301 cat > conftest.$ac_ext <<EOF
5302 #line 5303 "configure"
5303 #include "confdefs.h"
5309 if { (eval echo configure:5310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5311 glibcpp_cv_func___builtin_fabsl_use=yes
5313 echo "configure: failed program was:" >&5
5314 cat conftest.$ac_ext >&5
5316 glibcpp_cv_func___builtin_fabsl_use=no
5320 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5321 ac_cpp='$CPP $CPPFLAGS'
5322 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5323 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5324 cross_compiling=$ac_cv_prog_cc_cross
5330 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5331 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
5332 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
5333 echo "configure:5334: checking for __builtin_fabsl linkage" >&5
5334 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
5335 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5336 echo $ac_n "(cached) $ac_c" 1>&6
5339 cat > conftest.$ac_ext <<EOF
5340 #line 5341 "configure"
5341 #include "confdefs.h"
5347 if { (eval echo configure:5348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5349 glibcpp_cv_func___builtin_fabsl_link=yes
5351 echo "configure: failed program was:" >&5
5352 cat conftest.$ac_ext >&5
5354 glibcpp_cv_func___builtin_fabsl_link=no
5361 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5362 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
5363 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5364 cat >> confdefs.h <<EOF
5365 #define ${ac_tr_func} 1
5372 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
5373 echo "configure:5374: checking for __builtin_labs declaration" >&5
5374 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
5375 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5376 echo $ac_n "(cached) $ac_c" 1>&6
5381 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5382 ac_cpp='$CXXCPP $CPPFLAGS'
5383 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5384 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5385 cross_compiling=$ac_cv_prog_cxx_cross
5387 cat > conftest.$ac_ext <<EOF
5388 #line 5389 "configure"
5389 #include "confdefs.h"
5395 if { (eval echo configure:5396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5397 glibcpp_cv_func___builtin_labs_use=yes
5399 echo "configure: failed program was:" >&5
5400 cat conftest.$ac_ext >&5
5402 glibcpp_cv_func___builtin_labs_use=no
5406 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5407 ac_cpp='$CPP $CPPFLAGS'
5408 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5409 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5410 cross_compiling=$ac_cv_prog_cc_cross
5416 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5417 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5418 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5419 echo "configure:5420: checking for __builtin_labs linkage" >&5
5420 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5421 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5422 echo $ac_n "(cached) $ac_c" 1>&6
5425 cat > conftest.$ac_ext <<EOF
5426 #line 5427 "configure"
5427 #include "confdefs.h"
5433 if { (eval echo configure:5434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5435 glibcpp_cv_func___builtin_labs_link=yes
5437 echo "configure: failed program was:" >&5
5438 cat conftest.$ac_ext >&5
5440 glibcpp_cv_func___builtin_labs_link=no
5447 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5448 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5449 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5450 cat >> confdefs.h <<EOF
5451 #define ${ac_tr_func} 1
5459 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5460 echo "configure:5461: checking for __builtin_sqrtf declaration" >&5
5461 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5462 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5463 echo $ac_n "(cached) $ac_c" 1>&6
5468 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5469 ac_cpp='$CXXCPP $CPPFLAGS'
5470 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5471 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5472 cross_compiling=$ac_cv_prog_cxx_cross
5474 cat > conftest.$ac_ext <<EOF
5475 #line 5476 "configure"
5476 #include "confdefs.h"
5482 if { (eval echo configure:5483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5484 glibcpp_cv_func___builtin_sqrtf_use=yes
5486 echo "configure: failed program was:" >&5
5487 cat conftest.$ac_ext >&5
5489 glibcpp_cv_func___builtin_sqrtf_use=no
5493 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5494 ac_cpp='$CPP $CPPFLAGS'
5495 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5496 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5497 cross_compiling=$ac_cv_prog_cc_cross
5503 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5504 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5505 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5506 echo "configure:5507: checking for __builtin_sqrtf linkage" >&5
5507 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5508 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5509 echo $ac_n "(cached) $ac_c" 1>&6
5512 cat > conftest.$ac_ext <<EOF
5513 #line 5514 "configure"
5514 #include "confdefs.h"
5520 if { (eval echo configure:5521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5522 glibcpp_cv_func___builtin_sqrtf_link=yes
5524 echo "configure: failed program was:" >&5
5525 cat conftest.$ac_ext >&5
5527 glibcpp_cv_func___builtin_sqrtf_link=no
5534 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5535 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5536 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5537 cat >> confdefs.h <<EOF
5538 #define ${ac_tr_func} 1
5545 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5546 echo "configure:5547: checking for __builtin_fsqrt declaration" >&5
5547 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5548 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5549 echo $ac_n "(cached) $ac_c" 1>&6
5554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5555 ac_cpp='$CXXCPP $CPPFLAGS'
5556 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5557 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5558 cross_compiling=$ac_cv_prog_cxx_cross
5560 cat > conftest.$ac_ext <<EOF
5561 #line 5562 "configure"
5562 #include "confdefs.h"
5568 if { (eval echo configure:5569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5570 glibcpp_cv_func___builtin_fsqrt_use=yes
5572 echo "configure: failed program was:" >&5
5573 cat conftest.$ac_ext >&5
5575 glibcpp_cv_func___builtin_fsqrt_use=no
5579 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5580 ac_cpp='$CPP $CPPFLAGS'
5581 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5582 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5583 cross_compiling=$ac_cv_prog_cc_cross
5589 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5590 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5591 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5592 echo "configure:5593: checking for __builtin_fsqrt linkage" >&5
5593 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5594 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5595 echo $ac_n "(cached) $ac_c" 1>&6
5598 cat > conftest.$ac_ext <<EOF
5599 #line 5600 "configure"
5600 #include "confdefs.h"
5606 if { (eval echo configure:5607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5608 glibcpp_cv_func___builtin_fsqrt_link=yes
5610 echo "configure: failed program was:" >&5
5611 cat conftest.$ac_ext >&5
5613 glibcpp_cv_func___builtin_fsqrt_link=no
5620 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5621 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5622 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5623 cat >> confdefs.h <<EOF
5624 #define ${ac_tr_func} 1
5631 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5632 echo "configure:5633: checking for __builtin_sqrtl declaration" >&5
5633 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5634 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5635 echo $ac_n "(cached) $ac_c" 1>&6
5640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5641 ac_cpp='$CXXCPP $CPPFLAGS'
5642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5644 cross_compiling=$ac_cv_prog_cxx_cross
5646 cat > conftest.$ac_ext <<EOF
5647 #line 5648 "configure"
5648 #include "confdefs.h"
5654 if { (eval echo configure:5655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5656 glibcpp_cv_func___builtin_sqrtl_use=yes
5658 echo "configure: failed program was:" >&5
5659 cat conftest.$ac_ext >&5
5661 glibcpp_cv_func___builtin_sqrtl_use=no
5665 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5666 ac_cpp='$CPP $CPPFLAGS'
5667 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5668 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5669 cross_compiling=$ac_cv_prog_cc_cross
5675 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5676 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5677 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5678 echo "configure:5679: checking for __builtin_sqrtl linkage" >&5
5679 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5680 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5681 echo $ac_n "(cached) $ac_c" 1>&6
5684 cat > conftest.$ac_ext <<EOF
5685 #line 5686 "configure"
5686 #include "confdefs.h"
5692 if { (eval echo configure:5693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5694 glibcpp_cv_func___builtin_sqrtl_link=yes
5696 echo "configure: failed program was:" >&5
5697 cat conftest.$ac_ext >&5
5699 glibcpp_cv_func___builtin_sqrtl_link=no
5706 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5707 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5708 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5709 cat >> confdefs.h <<EOF
5710 #define ${ac_tr_func} 1
5718 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5719 echo "configure:5720: checking for __builtin_sinf declaration" >&5
5720 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5721 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5722 echo $ac_n "(cached) $ac_c" 1>&6
5727 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5728 ac_cpp='$CXXCPP $CPPFLAGS'
5729 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5730 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5731 cross_compiling=$ac_cv_prog_cxx_cross
5733 cat > conftest.$ac_ext <<EOF
5734 #line 5735 "configure"
5735 #include "confdefs.h"
5741 if { (eval echo configure:5742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5743 glibcpp_cv_func___builtin_sinf_use=yes
5745 echo "configure: failed program was:" >&5
5746 cat conftest.$ac_ext >&5
5748 glibcpp_cv_func___builtin_sinf_use=no
5752 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5753 ac_cpp='$CPP $CPPFLAGS'
5754 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5755 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5756 cross_compiling=$ac_cv_prog_cc_cross
5762 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5763 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5764 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5765 echo "configure:5766: checking for __builtin_sinf linkage" >&5
5766 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5767 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5768 echo $ac_n "(cached) $ac_c" 1>&6
5771 cat > conftest.$ac_ext <<EOF
5772 #line 5773 "configure"
5773 #include "confdefs.h"
5779 if { (eval echo configure:5780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5781 glibcpp_cv_func___builtin_sinf_link=yes
5783 echo "configure: failed program was:" >&5
5784 cat conftest.$ac_ext >&5
5786 glibcpp_cv_func___builtin_sinf_link=no
5793 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5794 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
5795 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5796 cat >> confdefs.h <<EOF
5797 #define ${ac_tr_func} 1
5804 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
5805 echo "configure:5806: checking for __builtin_sin declaration" >&5
5806 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
5807 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5808 echo $ac_n "(cached) $ac_c" 1>&6
5813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5814 ac_cpp='$CXXCPP $CPPFLAGS'
5815 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5816 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5817 cross_compiling=$ac_cv_prog_cxx_cross
5819 cat > conftest.$ac_ext <<EOF
5820 #line 5821 "configure"
5821 #include "confdefs.h"
5827 if { (eval echo configure:5828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5829 glibcpp_cv_func___builtin_sin_use=yes
5831 echo "configure: failed program was:" >&5
5832 cat conftest.$ac_ext >&5
5834 glibcpp_cv_func___builtin_sin_use=no
5838 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5839 ac_cpp='$CPP $CPPFLAGS'
5840 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5841 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5842 cross_compiling=$ac_cv_prog_cc_cross
5848 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
5849 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
5850 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
5851 echo "configure:5852: checking for __builtin_sin linkage" >&5
5852 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
5853 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
5854 echo $ac_n "(cached) $ac_c" 1>&6
5857 cat > conftest.$ac_ext <<EOF
5858 #line 5859 "configure"
5859 #include "confdefs.h"
5865 if { (eval echo configure:5866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5867 glibcpp_cv_func___builtin_sin_link=yes
5869 echo "configure: failed program was:" >&5
5870 cat conftest.$ac_ext >&5
5872 glibcpp_cv_func___builtin_sin_link=no
5879 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
5880 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
5881 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5882 cat >> confdefs.h <<EOF
5883 #define ${ac_tr_func} 1
5890 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
5891 echo "configure:5892: checking for __builtin_sinl declaration" >&5
5892 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
5893 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
5894 echo $ac_n "(cached) $ac_c" 1>&6
5899 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5900 ac_cpp='$CXXCPP $CPPFLAGS'
5901 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5902 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5903 cross_compiling=$ac_cv_prog_cxx_cross
5905 cat > conftest.$ac_ext <<EOF
5906 #line 5907 "configure"
5907 #include "confdefs.h"
5913 if { (eval echo configure:5914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5915 glibcpp_cv_func___builtin_sinl_use=yes
5917 echo "configure: failed program was:" >&5
5918 cat conftest.$ac_ext >&5
5920 glibcpp_cv_func___builtin_sinl_use=no
5924 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5925 ac_cpp='$CPP $CPPFLAGS'
5926 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5927 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5928 cross_compiling=$ac_cv_prog_cc_cross
5934 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
5935 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
5936 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
5937 echo "configure:5938: checking for __builtin_sinl linkage" >&5
5938 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
5939 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
5940 echo $ac_n "(cached) $ac_c" 1>&6
5943 cat > conftest.$ac_ext <<EOF
5944 #line 5945 "configure"
5945 #include "confdefs.h"
5951 if { (eval echo configure:5952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5953 glibcpp_cv_func___builtin_sinl_link=yes
5955 echo "configure: failed program was:" >&5
5956 cat conftest.$ac_ext >&5
5958 glibcpp_cv_func___builtin_sinl_link=no
5965 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
5966 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
5967 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5968 cat >> confdefs.h <<EOF
5969 #define ${ac_tr_func} 1
5977 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
5978 echo "configure:5979: checking for __builtin_cosf declaration" >&5
5979 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
5980 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
5981 echo $ac_n "(cached) $ac_c" 1>&6
5986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5987 ac_cpp='$CXXCPP $CPPFLAGS'
5988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5990 cross_compiling=$ac_cv_prog_cxx_cross
5992 cat > conftest.$ac_ext <<EOF
5993 #line 5994 "configure"
5994 #include "confdefs.h"
6000 if { (eval echo configure:6001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6002 glibcpp_cv_func___builtin_cosf_use=yes
6004 echo "configure: failed program was:" >&5
6005 cat conftest.$ac_ext >&5
6007 glibcpp_cv_func___builtin_cosf_use=no
6011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6012 ac_cpp='$CPP $CPPFLAGS'
6013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6015 cross_compiling=$ac_cv_prog_cc_cross
6021 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6022 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
6023 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
6024 echo "configure:6025: checking for __builtin_cosf linkage" >&5
6025 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
6026 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6027 echo $ac_n "(cached) $ac_c" 1>&6
6030 cat > conftest.$ac_ext <<EOF
6031 #line 6032 "configure"
6032 #include "confdefs.h"
6038 if { (eval echo configure:6039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6040 glibcpp_cv_func___builtin_cosf_link=yes
6042 echo "configure: failed program was:" >&5
6043 cat conftest.$ac_ext >&5
6045 glibcpp_cv_func___builtin_cosf_link=no
6052 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6053 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
6054 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6055 cat >> confdefs.h <<EOF
6056 #define ${ac_tr_func} 1
6063 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
6064 echo "configure:6065: checking for __builtin_cos declaration" >&5
6065 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
6066 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6067 echo $ac_n "(cached) $ac_c" 1>&6
6072 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6073 ac_cpp='$CXXCPP $CPPFLAGS'
6074 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6075 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6076 cross_compiling=$ac_cv_prog_cxx_cross
6078 cat > conftest.$ac_ext <<EOF
6079 #line 6080 "configure"
6080 #include "confdefs.h"
6086 if { (eval echo configure:6087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6088 glibcpp_cv_func___builtin_cos_use=yes
6090 echo "configure: failed program was:" >&5
6091 cat conftest.$ac_ext >&5
6093 glibcpp_cv_func___builtin_cos_use=no
6097 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6098 ac_cpp='$CPP $CPPFLAGS'
6099 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6100 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6101 cross_compiling=$ac_cv_prog_cc_cross
6107 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6108 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
6109 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
6110 echo "configure:6111: checking for __builtin_cos linkage" >&5
6111 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
6112 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6113 echo $ac_n "(cached) $ac_c" 1>&6
6116 cat > conftest.$ac_ext <<EOF
6117 #line 6118 "configure"
6118 #include "confdefs.h"
6124 if { (eval echo configure:6125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6126 glibcpp_cv_func___builtin_cos_link=yes
6128 echo "configure: failed program was:" >&5
6129 cat conftest.$ac_ext >&5
6131 glibcpp_cv_func___builtin_cos_link=no
6138 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6139 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
6140 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6141 cat >> confdefs.h <<EOF
6142 #define ${ac_tr_func} 1
6149 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
6150 echo "configure:6151: checking for __builtin_cosl declaration" >&5
6151 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
6152 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6153 echo $ac_n "(cached) $ac_c" 1>&6
6158 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6159 ac_cpp='$CXXCPP $CPPFLAGS'
6160 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6161 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6162 cross_compiling=$ac_cv_prog_cxx_cross
6164 cat > conftest.$ac_ext <<EOF
6165 #line 6166 "configure"
6166 #include "confdefs.h"
6172 if { (eval echo configure:6173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6174 glibcpp_cv_func___builtin_cosl_use=yes
6176 echo "configure: failed program was:" >&5
6177 cat conftest.$ac_ext >&5
6179 glibcpp_cv_func___builtin_cosl_use=no
6183 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6184 ac_cpp='$CPP $CPPFLAGS'
6185 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6186 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6187 cross_compiling=$ac_cv_prog_cc_cross
6193 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6194 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
6195 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
6196 echo "configure:6197: checking for __builtin_cosl linkage" >&5
6197 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
6198 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6199 echo $ac_n "(cached) $ac_c" 1>&6
6202 cat > conftest.$ac_ext <<EOF
6203 #line 6204 "configure"
6204 #include "confdefs.h"
6210 if { (eval echo configure:6211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6212 glibcpp_cv_func___builtin_cosl_link=yes
6214 echo "configure: failed program was:" >&5
6215 cat conftest.$ac_ext >&5
6217 glibcpp_cv_func___builtin_cosl_link=no
6224 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6225 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
6226 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6227 cat >> confdefs.h <<EOF
6228 #define ${ac_tr_func} 1
6236 if test x$dummyvar = x"yes"; then
6237 cat >> confdefs.h <<\EOF
6238 #define HAVE___BUILTIN_ABS 1
6241 cat >> confdefs.h <<\EOF
6242 #define HAVE___BUILTIN_LABS 1
6245 cat >> confdefs.h <<\EOF
6246 #define HAVE___BUILTIN_COS 1
6249 cat >> confdefs.h <<\EOF
6250 #define HAVE___BUILTIN_COSF 1
6253 cat >> confdefs.h <<\EOF
6254 #define HAVE___BUILTIN_COSL 1
6257 cat >> confdefs.h <<\EOF
6258 #define HAVE___BUILTIN_FABS 1
6261 cat >> confdefs.h <<\EOF
6262 #define HAVE___BUILTIN_FABSF 1
6265 cat >> confdefs.h <<\EOF
6266 #define HAVE___BUILTIN_FABSL 1
6269 cat >> confdefs.h <<\EOF
6270 #define HAVE___BUILTIN_SIN 1
6273 cat >> confdefs.h <<\EOF
6274 #define HAVE___BUILTIN_SINF 1
6277 cat >> confdefs.h <<\EOF
6278 #define HAVE___BUILTIN_SINL 1
6281 cat >> confdefs.h <<\EOF
6282 #define HAVE___BUILTIN_FSQRT 1
6285 cat >> confdefs.h <<\EOF
6286 #define HAVE___BUILTIN_SQRTF 1
6289 cat >> confdefs.h <<\EOF
6290 #define HAVE___BUILTIN_SQRTL 1
6296 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6297 ac_save_CXXFLAGS="$CXXFLAGS"
6298 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
6300 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
6301 echo "configure:6302: checking for sin in -lm" >&5
6302 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
6303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6304 echo $ac_n "(cached) $ac_c" 1>&6
6306 ac_save_LIBS="$LIBS"
6308 cat > conftest.$ac_ext <<EOF
6309 #line 6310 "configure"
6310 #include "confdefs.h"
6311 /* Override any gcc2 internal prototype to avoid an error. */
6312 /* We use char because int might match the return type of a gcc2
6313 builtin and then its argument prototype would still apply. */
6320 if { (eval echo configure:6321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6322 eval "ac_cv_lib_$ac_lib_var=yes"
6324 echo "configure: failed program was:" >&5
6325 cat conftest.$ac_ext >&5
6327 eval "ac_cv_lib_$ac_lib_var=no"
6330 LIBS="$ac_save_LIBS"
6333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6334 echo "$ac_t""yes" 1>&6
6337 echo "$ac_t""no" 1>&6
6340 ac_save_LIBS="$LIBS"
6345 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
6346 echo "configure:6347: checking for isinf declaration" >&5
6347 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
6348 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6349 echo $ac_n "(cached) $ac_c" 1>&6
6354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6355 ac_cpp='$CXXCPP $CPPFLAGS'
6356 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6357 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6358 cross_compiling=$ac_cv_prog_cxx_cross
6360 cat > conftest.$ac_ext <<EOF
6361 #line 6362 "configure"
6362 #include "confdefs.h"
6364 #ifdef HAVE_IEEEFP_H
6372 if { (eval echo configure:6373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6374 glibcpp_cv_func_isinf_use=yes
6376 echo "configure: failed program was:" >&5
6377 cat conftest.$ac_ext >&5
6379 glibcpp_cv_func_isinf_use=no
6383 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6384 ac_cpp='$CPP $CPPFLAGS'
6385 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6386 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6387 cross_compiling=$ac_cv_prog_cc_cross
6393 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6395 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
6396 for ac_func in isinf
6398 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6399 echo "configure:6400: checking for $ac_func" >&5
6400 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6401 echo $ac_n "(cached) $ac_c" 1>&6
6403 cat > conftest.$ac_ext <<EOF
6404 #line 6405 "configure"
6405 #include "confdefs.h"
6406 /* System header to define __stub macros and hopefully few prototypes,
6407 which can conflict with char $ac_func(); below. */
6409 /* Override any gcc2 internal prototype to avoid an error. */
6410 /* We use char because int might match the return type of a gcc2
6411 builtin and then its argument prototype would still apply. */
6416 /* The GNU C library defines this for functions which it implements
6417 to always fail with ENOSYS. Some functions are actually named
6418 something starting with __ and the normal name is an alias. */
6419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6427 if { (eval echo configure:6428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6429 eval "ac_cv_func_$ac_func=yes"
6431 echo "configure: failed program was:" >&5
6432 cat conftest.$ac_ext >&5
6434 eval "ac_cv_func_$ac_func=no"
6439 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6440 echo "$ac_t""yes" 1>&6
6441 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6442 cat >> confdefs.h <<EOF
6443 #define $ac_tr_func 1
6447 echo "$ac_t""no" 1>&6
6453 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6454 echo "configure:6455: checking for _isinf declaration" >&5
6455 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6456 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6457 echo $ac_n "(cached) $ac_c" 1>&6
6462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6463 ac_cpp='$CXXCPP $CPPFLAGS'
6464 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6465 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6466 cross_compiling=$ac_cv_prog_cxx_cross
6468 cat > conftest.$ac_ext <<EOF
6469 #line 6470 "configure"
6470 #include "confdefs.h"
6472 #ifdef HAVE_IEEEFP_H
6480 if { (eval echo configure:6481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6482 glibcpp_cv_func__isinf_use=yes
6484 echo "configure: failed program was:" >&5
6485 cat conftest.$ac_ext >&5
6487 glibcpp_cv_func__isinf_use=no
6491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6492 ac_cpp='$CPP $CPPFLAGS'
6493 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6494 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6495 cross_compiling=$ac_cv_prog_cc_cross
6501 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6503 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6504 for ac_func in _isinf
6506 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6507 echo "configure:6508: checking for $ac_func" >&5
6508 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6509 echo $ac_n "(cached) $ac_c" 1>&6
6511 cat > conftest.$ac_ext <<EOF
6512 #line 6513 "configure"
6513 #include "confdefs.h"
6514 /* System header to define __stub macros and hopefully few prototypes,
6515 which can conflict with char $ac_func(); below. */
6517 /* Override any gcc2 internal prototype to avoid an error. */
6518 /* We use char because int might match the return type of a gcc2
6519 builtin and then its argument prototype would still apply. */
6524 /* The GNU C library defines this for functions which it implements
6525 to always fail with ENOSYS. Some functions are actually named
6526 something starting with __ and the normal name is an alias. */
6527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6535 if { (eval echo configure:6536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6537 eval "ac_cv_func_$ac_func=yes"
6539 echo "configure: failed program was:" >&5
6540 cat conftest.$ac_ext >&5
6542 eval "ac_cv_func_$ac_func=no"
6547 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6548 echo "$ac_t""yes" 1>&6
6549 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6550 cat >> confdefs.h <<EOF
6551 #define $ac_tr_func 1
6555 echo "$ac_t""no" 1>&6
6564 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6565 echo "configure:6566: checking for isnan declaration" >&5
6566 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6567 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6568 echo $ac_n "(cached) $ac_c" 1>&6
6573 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6574 ac_cpp='$CXXCPP $CPPFLAGS'
6575 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6576 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6577 cross_compiling=$ac_cv_prog_cxx_cross
6579 cat > conftest.$ac_ext <<EOF
6580 #line 6581 "configure"
6581 #include "confdefs.h"
6583 #ifdef HAVE_IEEEFP_H
6591 if { (eval echo configure:6592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6593 glibcpp_cv_func_isnan_use=yes
6595 echo "configure: failed program was:" >&5
6596 cat conftest.$ac_ext >&5
6598 glibcpp_cv_func_isnan_use=no
6602 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6603 ac_cpp='$CPP $CPPFLAGS'
6604 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6605 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6606 cross_compiling=$ac_cv_prog_cc_cross
6612 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6614 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6615 for ac_func in isnan
6617 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6618 echo "configure:6619: checking for $ac_func" >&5
6619 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6620 echo $ac_n "(cached) $ac_c" 1>&6
6622 cat > conftest.$ac_ext <<EOF
6623 #line 6624 "configure"
6624 #include "confdefs.h"
6625 /* System header to define __stub macros and hopefully few prototypes,
6626 which can conflict with char $ac_func(); below. */
6628 /* Override any gcc2 internal prototype to avoid an error. */
6629 /* We use char because int might match the return type of a gcc2
6630 builtin and then its argument prototype would still apply. */
6635 /* The GNU C library defines this for functions which it implements
6636 to always fail with ENOSYS. Some functions are actually named
6637 something starting with __ and the normal name is an alias. */
6638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6646 if { (eval echo configure:6647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6648 eval "ac_cv_func_$ac_func=yes"
6650 echo "configure: failed program was:" >&5
6651 cat conftest.$ac_ext >&5
6653 eval "ac_cv_func_$ac_func=no"
6658 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6659 echo "$ac_t""yes" 1>&6
6660 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6661 cat >> confdefs.h <<EOF
6662 #define $ac_tr_func 1
6666 echo "$ac_t""no" 1>&6
6672 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6673 echo "configure:6674: checking for _isnan declaration" >&5
6674 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6675 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6676 echo $ac_n "(cached) $ac_c" 1>&6
6681 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6682 ac_cpp='$CXXCPP $CPPFLAGS'
6683 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6684 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6685 cross_compiling=$ac_cv_prog_cxx_cross
6687 cat > conftest.$ac_ext <<EOF
6688 #line 6689 "configure"
6689 #include "confdefs.h"
6691 #ifdef HAVE_IEEEFP_H
6699 if { (eval echo configure:6700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6701 glibcpp_cv_func__isnan_use=yes
6703 echo "configure: failed program was:" >&5
6704 cat conftest.$ac_ext >&5
6706 glibcpp_cv_func__isnan_use=no
6710 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6711 ac_cpp='$CPP $CPPFLAGS'
6712 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6713 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6714 cross_compiling=$ac_cv_prog_cc_cross
6720 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6722 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
6723 for ac_func in _isnan
6725 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6726 echo "configure:6727: checking for $ac_func" >&5
6727 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6728 echo $ac_n "(cached) $ac_c" 1>&6
6730 cat > conftest.$ac_ext <<EOF
6731 #line 6732 "configure"
6732 #include "confdefs.h"
6733 /* System header to define __stub macros and hopefully few prototypes,
6734 which can conflict with char $ac_func(); below. */
6736 /* Override any gcc2 internal prototype to avoid an error. */
6737 /* We use char because int might match the return type of a gcc2
6738 builtin and then its argument prototype would still apply. */
6743 /* The GNU C library defines this for functions which it implements
6744 to always fail with ENOSYS. Some functions are actually named
6745 something starting with __ and the normal name is an alias. */
6746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6754 if { (eval echo configure:6755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6756 eval "ac_cv_func_$ac_func=yes"
6758 echo "configure: failed program was:" >&5
6759 cat conftest.$ac_ext >&5
6761 eval "ac_cv_func_$ac_func=no"
6766 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6767 echo "$ac_t""yes" 1>&6
6768 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6769 cat >> confdefs.h <<EOF
6770 #define $ac_tr_func 1
6774 echo "$ac_t""no" 1>&6
6783 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
6784 echo "configure:6785: checking for finite declaration" >&5
6785 if test x${glibcpp_cv_func_finite_use+set} != xset; then
6786 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6787 echo $ac_n "(cached) $ac_c" 1>&6
6792 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6793 ac_cpp='$CXXCPP $CPPFLAGS'
6794 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6795 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6796 cross_compiling=$ac_cv_prog_cxx_cross
6798 cat > conftest.$ac_ext <<EOF
6799 #line 6800 "configure"
6800 #include "confdefs.h"
6802 #ifdef HAVE_IEEEFP_H
6810 if { (eval echo configure:6811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6812 glibcpp_cv_func_finite_use=yes
6814 echo "configure: failed program was:" >&5
6815 cat conftest.$ac_ext >&5
6817 glibcpp_cv_func_finite_use=no
6821 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6822 ac_cpp='$CPP $CPPFLAGS'
6823 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6824 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6825 cross_compiling=$ac_cv_prog_cc_cross
6831 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
6833 if test x$glibcpp_cv_func_finite_use = x"yes"; then
6834 for ac_func in finite
6836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6837 echo "configure:6838: checking for $ac_func" >&5
6838 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6839 echo $ac_n "(cached) $ac_c" 1>&6
6841 cat > conftest.$ac_ext <<EOF
6842 #line 6843 "configure"
6843 #include "confdefs.h"
6844 /* System header to define __stub macros and hopefully few prototypes,
6845 which can conflict with char $ac_func(); below. */
6847 /* Override any gcc2 internal prototype to avoid an error. */
6848 /* We use char because int might match the return type of a gcc2
6849 builtin and then its argument prototype would still apply. */
6854 /* The GNU C library defines this for functions which it implements
6855 to always fail with ENOSYS. Some functions are actually named
6856 something starting with __ and the normal name is an alias. */
6857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6865 if { (eval echo configure:6866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6867 eval "ac_cv_func_$ac_func=yes"
6869 echo "configure: failed program was:" >&5
6870 cat conftest.$ac_ext >&5
6872 eval "ac_cv_func_$ac_func=no"
6877 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6878 echo "$ac_t""yes" 1>&6
6879 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6880 cat >> confdefs.h <<EOF
6881 #define $ac_tr_func 1
6885 echo "$ac_t""no" 1>&6
6891 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
6892 echo "configure:6893: checking for _finite declaration" >&5
6893 if test x${glibcpp_cv_func__finite_use+set} != xset; then
6894 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
6895 echo $ac_n "(cached) $ac_c" 1>&6
6900 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6901 ac_cpp='$CXXCPP $CPPFLAGS'
6902 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6903 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6904 cross_compiling=$ac_cv_prog_cxx_cross
6906 cat > conftest.$ac_ext <<EOF
6907 #line 6908 "configure"
6908 #include "confdefs.h"
6910 #ifdef HAVE_IEEEFP_H
6918 if { (eval echo configure:6919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6920 glibcpp_cv_func__finite_use=yes
6922 echo "configure: failed program was:" >&5
6923 cat conftest.$ac_ext >&5
6925 glibcpp_cv_func__finite_use=no
6929 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6930 ac_cpp='$CPP $CPPFLAGS'
6931 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6932 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6933 cross_compiling=$ac_cv_prog_cc_cross
6939 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
6941 if test x$glibcpp_cv_func__finite_use = x"yes"; then
6942 for ac_func in _finite
6944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6945 echo "configure:6946: checking for $ac_func" >&5
6946 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6947 echo $ac_n "(cached) $ac_c" 1>&6
6949 cat > conftest.$ac_ext <<EOF
6950 #line 6951 "configure"
6951 #include "confdefs.h"
6952 /* System header to define __stub macros and hopefully few prototypes,
6953 which can conflict with char $ac_func(); below. */
6955 /* Override any gcc2 internal prototype to avoid an error. */
6956 /* We use char because int might match the return type of a gcc2
6957 builtin and then its argument prototype would still apply. */
6962 /* The GNU C library defines this for functions which it implements
6963 to always fail with ENOSYS. Some functions are actually named
6964 something starting with __ and the normal name is an alias. */
6965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6973 if { (eval echo configure:6974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6975 eval "ac_cv_func_$ac_func=yes"
6977 echo "configure: failed program was:" >&5
6978 cat conftest.$ac_ext >&5
6980 eval "ac_cv_func_$ac_func=no"
6985 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6986 echo "$ac_t""yes" 1>&6
6987 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6988 cat >> confdefs.h <<EOF
6989 #define $ac_tr_func 1
6993 echo "$ac_t""no" 1>&6
7002 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
7003 echo "configure:7004: checking for copysign declaration" >&5
7004 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
7005 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7006 echo $ac_n "(cached) $ac_c" 1>&6
7011 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7012 ac_cpp='$CXXCPP $CPPFLAGS'
7013 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7014 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7015 cross_compiling=$ac_cv_prog_cxx_cross
7017 cat > conftest.$ac_ext <<EOF
7018 #line 7019 "configure"
7019 #include "confdefs.h"
7025 if { (eval echo configure:7026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7027 glibcpp_cv_func_copysign_use=yes
7029 echo "configure: failed program was:" >&5
7030 cat conftest.$ac_ext >&5
7032 glibcpp_cv_func_copysign_use=no
7036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7037 ac_cpp='$CPP $CPPFLAGS'
7038 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7039 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7040 cross_compiling=$ac_cv_prog_cc_cross
7046 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7048 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
7049 for ac_func in copysign
7051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7052 echo "configure:7053: checking for $ac_func" >&5
7053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7054 echo $ac_n "(cached) $ac_c" 1>&6
7056 cat > conftest.$ac_ext <<EOF
7057 #line 7058 "configure"
7058 #include "confdefs.h"
7059 /* System header to define __stub macros and hopefully few prototypes,
7060 which can conflict with char $ac_func(); below. */
7062 /* Override any gcc2 internal prototype to avoid an error. */
7063 /* We use char because int might match the return type of a gcc2
7064 builtin and then its argument prototype would still apply. */
7069 /* The GNU C library defines this for functions which it implements
7070 to always fail with ENOSYS. Some functions are actually named
7071 something starting with __ and the normal name is an alias. */
7072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7080 if { (eval echo configure:7081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7082 eval "ac_cv_func_$ac_func=yes"
7084 echo "configure: failed program was:" >&5
7085 cat conftest.$ac_ext >&5
7087 eval "ac_cv_func_$ac_func=no"
7092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7093 echo "$ac_t""yes" 1>&6
7094 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7095 cat >> confdefs.h <<EOF
7096 #define $ac_tr_func 1
7100 echo "$ac_t""no" 1>&6
7106 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
7107 echo "configure:7108: checking for _copysign declaration" >&5
7108 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
7109 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7110 echo $ac_n "(cached) $ac_c" 1>&6
7115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7116 ac_cpp='$CXXCPP $CPPFLAGS'
7117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7119 cross_compiling=$ac_cv_prog_cxx_cross
7121 cat > conftest.$ac_ext <<EOF
7122 #line 7123 "configure"
7123 #include "confdefs.h"
7129 if { (eval echo configure:7130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7131 glibcpp_cv_func__copysign_use=yes
7133 echo "configure: failed program was:" >&5
7134 cat conftest.$ac_ext >&5
7136 glibcpp_cv_func__copysign_use=no
7140 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7141 ac_cpp='$CPP $CPPFLAGS'
7142 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7143 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7144 cross_compiling=$ac_cv_prog_cc_cross
7150 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7152 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
7153 for ac_func in _copysign
7155 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7156 echo "configure:7157: checking for $ac_func" >&5
7157 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7158 echo $ac_n "(cached) $ac_c" 1>&6
7160 cat > conftest.$ac_ext <<EOF
7161 #line 7162 "configure"
7162 #include "confdefs.h"
7163 /* System header to define __stub macros and hopefully few prototypes,
7164 which can conflict with char $ac_func(); below. */
7166 /* Override any gcc2 internal prototype to avoid an error. */
7167 /* We use char because int might match the return type of a gcc2
7168 builtin and then its argument prototype would still apply. */
7173 /* The GNU C library defines this for functions which it implements
7174 to always fail with ENOSYS. Some functions are actually named
7175 something starting with __ and the normal name is an alias. */
7176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7184 if { (eval echo configure:7185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7186 eval "ac_cv_func_$ac_func=yes"
7188 echo "configure: failed program was:" >&5
7189 cat conftest.$ac_ext >&5
7191 eval "ac_cv_func_$ac_func=no"
7196 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7197 echo "$ac_t""yes" 1>&6
7198 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7199 cat >> confdefs.h <<EOF
7200 #define $ac_tr_func 1
7204 echo "$ac_t""no" 1>&6
7213 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
7214 echo "configure:7215: checking for sincos declaration" >&5
7215 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
7216 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7217 echo $ac_n "(cached) $ac_c" 1>&6
7222 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7223 ac_cpp='$CXXCPP $CPPFLAGS'
7224 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7225 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7226 cross_compiling=$ac_cv_prog_cxx_cross
7228 cat > conftest.$ac_ext <<EOF
7229 #line 7230 "configure"
7230 #include "confdefs.h"
7236 if { (eval echo configure:7237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7238 glibcpp_cv_func_sincos_use=yes
7240 echo "configure: failed program was:" >&5
7241 cat conftest.$ac_ext >&5
7243 glibcpp_cv_func_sincos_use=no
7247 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7248 ac_cpp='$CPP $CPPFLAGS'
7249 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7250 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7251 cross_compiling=$ac_cv_prog_cc_cross
7257 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7259 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
7260 for ac_func in sincos
7262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7263 echo "configure:7264: checking for $ac_func" >&5
7264 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7265 echo $ac_n "(cached) $ac_c" 1>&6
7267 cat > conftest.$ac_ext <<EOF
7268 #line 7269 "configure"
7269 #include "confdefs.h"
7270 /* System header to define __stub macros and hopefully few prototypes,
7271 which can conflict with char $ac_func(); below. */
7273 /* Override any gcc2 internal prototype to avoid an error. */
7274 /* We use char because int might match the return type of a gcc2
7275 builtin and then its argument prototype would still apply. */
7280 /* The GNU C library defines this for functions which it implements
7281 to always fail with ENOSYS. Some functions are actually named
7282 something starting with __ and the normal name is an alias. */
7283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7291 if { (eval echo configure:7292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7293 eval "ac_cv_func_$ac_func=yes"
7295 echo "configure: failed program was:" >&5
7296 cat conftest.$ac_ext >&5
7298 eval "ac_cv_func_$ac_func=no"
7303 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7304 echo "$ac_t""yes" 1>&6
7305 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7306 cat >> confdefs.h <<EOF
7307 #define $ac_tr_func 1
7311 echo "$ac_t""no" 1>&6
7317 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
7318 echo "configure:7319: checking for _sincos declaration" >&5
7319 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
7320 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7321 echo $ac_n "(cached) $ac_c" 1>&6
7326 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7327 ac_cpp='$CXXCPP $CPPFLAGS'
7328 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7329 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7330 cross_compiling=$ac_cv_prog_cxx_cross
7332 cat > conftest.$ac_ext <<EOF
7333 #line 7334 "configure"
7334 #include "confdefs.h"
7340 if { (eval echo configure:7341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7342 glibcpp_cv_func__sincos_use=yes
7344 echo "configure: failed program was:" >&5
7345 cat conftest.$ac_ext >&5
7347 glibcpp_cv_func__sincos_use=no
7351 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7352 ac_cpp='$CPP $CPPFLAGS'
7353 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7354 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7355 cross_compiling=$ac_cv_prog_cc_cross
7361 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7363 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
7364 for ac_func in _sincos
7366 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7367 echo "configure:7368: checking for $ac_func" >&5
7368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7369 echo $ac_n "(cached) $ac_c" 1>&6
7371 cat > conftest.$ac_ext <<EOF
7372 #line 7373 "configure"
7373 #include "confdefs.h"
7374 /* System header to define __stub macros and hopefully few prototypes,
7375 which can conflict with char $ac_func(); below. */
7377 /* Override any gcc2 internal prototype to avoid an error. */
7378 /* We use char because int might match the return type of a gcc2
7379 builtin and then its argument prototype would still apply. */
7384 /* The GNU C library defines this for functions which it implements
7385 to always fail with ENOSYS. Some functions are actually named
7386 something starting with __ and the normal name is an alias. */
7387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7395 if { (eval echo configure:7396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7397 eval "ac_cv_func_$ac_func=yes"
7399 echo "configure: failed program was:" >&5
7400 cat conftest.$ac_ext >&5
7402 eval "ac_cv_func_$ac_func=no"
7407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7408 echo "$ac_t""yes" 1>&6
7409 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7410 cat >> confdefs.h <<EOF
7411 #define $ac_tr_func 1
7415 echo "$ac_t""no" 1>&6
7424 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7425 echo "configure:7426: checking for fpclass declaration" >&5
7426 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7427 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7428 echo $ac_n "(cached) $ac_c" 1>&6
7433 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7434 ac_cpp='$CXXCPP $CPPFLAGS'
7435 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7436 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7437 cross_compiling=$ac_cv_prog_cxx_cross
7439 cat > conftest.$ac_ext <<EOF
7440 #line 7441 "configure"
7441 #include "confdefs.h"
7443 #ifdef HAVE_IEEEFP_H
7451 if { (eval echo configure:7452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7453 glibcpp_cv_func_fpclass_use=yes
7455 echo "configure: failed program was:" >&5
7456 cat conftest.$ac_ext >&5
7458 glibcpp_cv_func_fpclass_use=no
7462 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7463 ac_cpp='$CPP $CPPFLAGS'
7464 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7465 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7466 cross_compiling=$ac_cv_prog_cc_cross
7472 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7474 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7475 for ac_func in fpclass
7477 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7478 echo "configure:7479: checking for $ac_func" >&5
7479 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7480 echo $ac_n "(cached) $ac_c" 1>&6
7482 cat > conftest.$ac_ext <<EOF
7483 #line 7484 "configure"
7484 #include "confdefs.h"
7485 /* System header to define __stub macros and hopefully few prototypes,
7486 which can conflict with char $ac_func(); below. */
7488 /* Override any gcc2 internal prototype to avoid an error. */
7489 /* We use char because int might match the return type of a gcc2
7490 builtin and then its argument prototype would still apply. */
7495 /* The GNU C library defines this for functions which it implements
7496 to always fail with ENOSYS. Some functions are actually named
7497 something starting with __ and the normal name is an alias. */
7498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7506 if { (eval echo configure:7507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7508 eval "ac_cv_func_$ac_func=yes"
7510 echo "configure: failed program was:" >&5
7511 cat conftest.$ac_ext >&5
7513 eval "ac_cv_func_$ac_func=no"
7518 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7519 echo "$ac_t""yes" 1>&6
7520 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7521 cat >> confdefs.h <<EOF
7522 #define $ac_tr_func 1
7526 echo "$ac_t""no" 1>&6
7532 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7533 echo "configure:7534: checking for _fpclass declaration" >&5
7534 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7535 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7536 echo $ac_n "(cached) $ac_c" 1>&6
7541 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7542 ac_cpp='$CXXCPP $CPPFLAGS'
7543 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7544 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7545 cross_compiling=$ac_cv_prog_cxx_cross
7547 cat > conftest.$ac_ext <<EOF
7548 #line 7549 "configure"
7549 #include "confdefs.h"
7551 #ifdef HAVE_IEEEFP_H
7559 if { (eval echo configure:7560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7561 glibcpp_cv_func__fpclass_use=yes
7563 echo "configure: failed program was:" >&5
7564 cat conftest.$ac_ext >&5
7566 glibcpp_cv_func__fpclass_use=no
7570 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7571 ac_cpp='$CPP $CPPFLAGS'
7572 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7573 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7574 cross_compiling=$ac_cv_prog_cc_cross
7580 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7582 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7583 for ac_func in _fpclass
7585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7586 echo "configure:7587: checking for $ac_func" >&5
7587 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7588 echo $ac_n "(cached) $ac_c" 1>&6
7590 cat > conftest.$ac_ext <<EOF
7591 #line 7592 "configure"
7592 #include "confdefs.h"
7593 /* System header to define __stub macros and hopefully few prototypes,
7594 which can conflict with char $ac_func(); below. */
7596 /* Override any gcc2 internal prototype to avoid an error. */
7597 /* We use char because int might match the return type of a gcc2
7598 builtin and then its argument prototype would still apply. */
7603 /* The GNU C library defines this for functions which it implements
7604 to always fail with ENOSYS. Some functions are actually named
7605 something starting with __ and the normal name is an alias. */
7606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7614 if { (eval echo configure:7615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7616 eval "ac_cv_func_$ac_func=yes"
7618 echo "configure: failed program was:" >&5
7619 cat conftest.$ac_ext >&5
7621 eval "ac_cv_func_$ac_func=no"
7626 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7627 echo "$ac_t""yes" 1>&6
7628 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7629 cat >> confdefs.h <<EOF
7630 #define $ac_tr_func 1
7634 echo "$ac_t""no" 1>&6
7643 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7644 echo "configure:7645: checking for qfpclass declaration" >&5
7645 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7646 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7647 echo $ac_n "(cached) $ac_c" 1>&6
7652 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7653 ac_cpp='$CXXCPP $CPPFLAGS'
7654 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7655 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7656 cross_compiling=$ac_cv_prog_cxx_cross
7658 cat > conftest.$ac_ext <<EOF
7659 #line 7660 "configure"
7660 #include "confdefs.h"
7662 #ifdef HAVE_IEEEFP_H
7670 if { (eval echo configure:7671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7672 glibcpp_cv_func_qfpclass_use=yes
7674 echo "configure: failed program was:" >&5
7675 cat conftest.$ac_ext >&5
7677 glibcpp_cv_func_qfpclass_use=no
7681 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7682 ac_cpp='$CPP $CPPFLAGS'
7683 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7684 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7685 cross_compiling=$ac_cv_prog_cc_cross
7691 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7693 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
7694 for ac_func in qfpclass
7696 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7697 echo "configure:7698: checking for $ac_func" >&5
7698 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7699 echo $ac_n "(cached) $ac_c" 1>&6
7701 cat > conftest.$ac_ext <<EOF
7702 #line 7703 "configure"
7703 #include "confdefs.h"
7704 /* System header to define __stub macros and hopefully few prototypes,
7705 which can conflict with char $ac_func(); below. */
7707 /* Override any gcc2 internal prototype to avoid an error. */
7708 /* We use char because int might match the return type of a gcc2
7709 builtin and then its argument prototype would still apply. */
7714 /* The GNU C library defines this for functions which it implements
7715 to always fail with ENOSYS. Some functions are actually named
7716 something starting with __ and the normal name is an alias. */
7717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7725 if { (eval echo configure:7726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7727 eval "ac_cv_func_$ac_func=yes"
7729 echo "configure: failed program was:" >&5
7730 cat conftest.$ac_ext >&5
7732 eval "ac_cv_func_$ac_func=no"
7737 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7738 echo "$ac_t""yes" 1>&6
7739 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7740 cat >> confdefs.h <<EOF
7741 #define $ac_tr_func 1
7745 echo "$ac_t""no" 1>&6
7751 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
7752 echo "configure:7753: checking for _qfpclass declaration" >&5
7753 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
7754 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7755 echo $ac_n "(cached) $ac_c" 1>&6
7760 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7761 ac_cpp='$CXXCPP $CPPFLAGS'
7762 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7763 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7764 cross_compiling=$ac_cv_prog_cxx_cross
7766 cat > conftest.$ac_ext <<EOF
7767 #line 7768 "configure"
7768 #include "confdefs.h"
7770 #ifdef HAVE_IEEEFP_H
7778 if { (eval echo configure:7779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7780 glibcpp_cv_func__qfpclass_use=yes
7782 echo "configure: failed program was:" >&5
7783 cat conftest.$ac_ext >&5
7785 glibcpp_cv_func__qfpclass_use=no
7789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7790 ac_cpp='$CPP $CPPFLAGS'
7791 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7792 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7793 cross_compiling=$ac_cv_prog_cc_cross
7799 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7801 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
7802 for ac_func in _qfpclass
7804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7805 echo "configure:7806: checking for $ac_func" >&5
7806 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7807 echo $ac_n "(cached) $ac_c" 1>&6
7809 cat > conftest.$ac_ext <<EOF
7810 #line 7811 "configure"
7811 #include "confdefs.h"
7812 /* System header to define __stub macros and hopefully few prototypes,
7813 which can conflict with char $ac_func(); below. */
7815 /* Override any gcc2 internal prototype to avoid an error. */
7816 /* We use char because int might match the return type of a gcc2
7817 builtin and then its argument prototype would still apply. */
7822 /* The GNU C library defines this for functions which it implements
7823 to always fail with ENOSYS. Some functions are actually named
7824 something starting with __ and the normal name is an alias. */
7825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7833 if { (eval echo configure:7834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7835 eval "ac_cv_func_$ac_func=yes"
7837 echo "configure: failed program was:" >&5
7838 cat conftest.$ac_ext >&5
7840 eval "ac_cv_func_$ac_func=no"
7845 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7846 echo "$ac_t""yes" 1>&6
7847 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7848 cat >> confdefs.h <<EOF
7849 #define $ac_tr_func 1
7853 echo "$ac_t""no" 1>&6
7862 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
7863 echo "configure:7864: checking for float trig functions" >&5
7864 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
7865 echo $ac_n "(cached) $ac_c" 1>&6
7870 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7871 ac_cpp='$CXXCPP $CPPFLAGS'
7872 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7873 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7874 cross_compiling=$ac_cv_prog_cxx_cross
7876 cat > conftest.$ac_ext <<EOF
7877 #line 7878 "configure"
7878 #include "confdefs.h"
7881 `for x in acosf asinf atanf \
7883 coshf sinhf tanhf; do echo "$x (0);"; done`
7886 if { (eval echo configure:7887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7888 glibcpp_cv_func_float_trig_use=yes
7890 echo "configure: failed program was:" >&5
7891 cat conftest.$ac_ext >&5
7893 glibcpp_cv_func_float_trig_use=no
7897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7898 ac_cpp='$CPP $CPPFLAGS'
7899 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7900 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7901 cross_compiling=$ac_cv_prog_cc_cross
7905 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
7906 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
7907 for ac_func in acosf asinf atanf \
7911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7912 echo "configure:7913: checking for $ac_func" >&5
7913 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7914 echo $ac_n "(cached) $ac_c" 1>&6
7916 cat > conftest.$ac_ext <<EOF
7917 #line 7918 "configure"
7918 #include "confdefs.h"
7919 /* System header to define __stub macros and hopefully few prototypes,
7920 which can conflict with char $ac_func(); below. */
7922 /* Override any gcc2 internal prototype to avoid an error. */
7923 /* We use char because int might match the return type of a gcc2
7924 builtin and then its argument prototype would still apply. */
7929 /* The GNU C library defines this for functions which it implements
7930 to always fail with ENOSYS. Some functions are actually named
7931 something starting with __ and the normal name is an alias. */
7932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7940 if { (eval echo configure:7941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7942 eval "ac_cv_func_$ac_func=yes"
7944 echo "configure: failed program was:" >&5
7945 cat conftest.$ac_ext >&5
7947 eval "ac_cv_func_$ac_func=no"
7952 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7953 echo "$ac_t""yes" 1>&6
7954 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7955 cat >> confdefs.h <<EOF
7956 #define $ac_tr_func 1
7960 echo "$ac_t""no" 1>&6
7967 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
7968 echo "configure:7969: checking for float round functions" >&5
7969 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
7970 echo $ac_n "(cached) $ac_c" 1>&6
7975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7976 ac_cpp='$CXXCPP $CPPFLAGS'
7977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7979 cross_compiling=$ac_cv_prog_cxx_cross
7981 cat > conftest.$ac_ext <<EOF
7982 #line 7983 "configure"
7983 #include "confdefs.h"
7986 `for x in ceilf floorf; do echo "$x (0);"; done`
7989 if { (eval echo configure:7990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7991 glibcpp_cv_func_float_round_use=yes
7993 echo "configure: failed program was:" >&5
7994 cat conftest.$ac_ext >&5
7996 glibcpp_cv_func_float_round_use=no
8000 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8001 ac_cpp='$CPP $CPPFLAGS'
8002 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8003 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8004 cross_compiling=$ac_cv_prog_cc_cross
8008 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8009 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
8010 for ac_func in ceilf floorf
8012 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8013 echo "configure:8014: checking for $ac_func" >&5
8014 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8015 echo $ac_n "(cached) $ac_c" 1>&6
8017 cat > conftest.$ac_ext <<EOF
8018 #line 8019 "configure"
8019 #include "confdefs.h"
8020 /* System header to define __stub macros and hopefully few prototypes,
8021 which can conflict with char $ac_func(); below. */
8023 /* Override any gcc2 internal prototype to avoid an error. */
8024 /* We use char because int might match the return type of a gcc2
8025 builtin and then its argument prototype would still apply. */
8030 /* The GNU C library defines this for functions which it implements
8031 to always fail with ENOSYS. Some functions are actually named
8032 something starting with __ and the normal name is an alias. */
8033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8041 if { (eval echo configure:8042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8043 eval "ac_cv_func_$ac_func=yes"
8045 echo "configure: failed program was:" >&5
8046 cat conftest.$ac_ext >&5
8048 eval "ac_cv_func_$ac_func=no"
8053 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8054 echo "$ac_t""yes" 1>&6
8055 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8056 cat >> confdefs.h <<EOF
8057 #define $ac_tr_func 1
8061 echo "$ac_t""no" 1>&6
8069 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
8070 echo "configure:8071: checking for isnanf declaration" >&5
8071 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
8072 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8073 echo $ac_n "(cached) $ac_c" 1>&6
8078 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8079 ac_cpp='$CXXCPP $CPPFLAGS'
8080 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8081 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8082 cross_compiling=$ac_cv_prog_cxx_cross
8084 cat > conftest.$ac_ext <<EOF
8085 #line 8086 "configure"
8086 #include "confdefs.h"
8088 #ifdef HAVE_IEEEFP_H
8096 if { (eval echo configure:8097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8098 glibcpp_cv_func_isnanf_use=yes
8100 echo "configure: failed program was:" >&5
8101 cat conftest.$ac_ext >&5
8103 glibcpp_cv_func_isnanf_use=no
8107 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8108 ac_cpp='$CPP $CPPFLAGS'
8109 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8110 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8111 cross_compiling=$ac_cv_prog_cc_cross
8117 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8119 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
8120 for ac_func in isnanf
8122 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8123 echo "configure:8124: checking for $ac_func" >&5
8124 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8125 echo $ac_n "(cached) $ac_c" 1>&6
8127 cat > conftest.$ac_ext <<EOF
8128 #line 8129 "configure"
8129 #include "confdefs.h"
8130 /* System header to define __stub macros and hopefully few prototypes,
8131 which can conflict with char $ac_func(); below. */
8133 /* Override any gcc2 internal prototype to avoid an error. */
8134 /* We use char because int might match the return type of a gcc2
8135 builtin and then its argument prototype would still apply. */
8140 /* The GNU C library defines this for functions which it implements
8141 to always fail with ENOSYS. Some functions are actually named
8142 something starting with __ and the normal name is an alias. */
8143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8151 if { (eval echo configure:8152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8153 eval "ac_cv_func_$ac_func=yes"
8155 echo "configure: failed program was:" >&5
8156 cat conftest.$ac_ext >&5
8158 eval "ac_cv_func_$ac_func=no"
8163 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8164 echo "$ac_t""yes" 1>&6
8165 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8166 cat >> confdefs.h <<EOF
8167 #define $ac_tr_func 1
8171 echo "$ac_t""no" 1>&6
8177 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
8178 echo "configure:8179: checking for _isnanf declaration" >&5
8179 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
8180 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8181 echo $ac_n "(cached) $ac_c" 1>&6
8186 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8187 ac_cpp='$CXXCPP $CPPFLAGS'
8188 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8189 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8190 cross_compiling=$ac_cv_prog_cxx_cross
8192 cat > conftest.$ac_ext <<EOF
8193 #line 8194 "configure"
8194 #include "confdefs.h"
8196 #ifdef HAVE_IEEEFP_H
8204 if { (eval echo configure:8205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8206 glibcpp_cv_func__isnanf_use=yes
8208 echo "configure: failed program was:" >&5
8209 cat conftest.$ac_ext >&5
8211 glibcpp_cv_func__isnanf_use=no
8215 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8216 ac_cpp='$CPP $CPPFLAGS'
8217 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8218 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8219 cross_compiling=$ac_cv_prog_cc_cross
8225 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8227 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
8228 for ac_func in _isnanf
8230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8231 echo "configure:8232: checking for $ac_func" >&5
8232 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8233 echo $ac_n "(cached) $ac_c" 1>&6
8235 cat > conftest.$ac_ext <<EOF
8236 #line 8237 "configure"
8237 #include "confdefs.h"
8238 /* System header to define __stub macros and hopefully few prototypes,
8239 which can conflict with char $ac_func(); below. */
8241 /* Override any gcc2 internal prototype to avoid an error. */
8242 /* We use char because int might match the return type of a gcc2
8243 builtin and then its argument prototype would still apply. */
8248 /* The GNU C library defines this for functions which it implements
8249 to always fail with ENOSYS. Some functions are actually named
8250 something starting with __ and the normal name is an alias. */
8251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8259 if { (eval echo configure:8260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8261 eval "ac_cv_func_$ac_func=yes"
8263 echo "configure: failed program was:" >&5
8264 cat conftest.$ac_ext >&5
8266 eval "ac_cv_func_$ac_func=no"
8271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8272 echo "$ac_t""yes" 1>&6
8273 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8274 cat >> confdefs.h <<EOF
8275 #define $ac_tr_func 1
8279 echo "$ac_t""no" 1>&6
8288 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
8289 echo "configure:8290: checking for isinff declaration" >&5
8290 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
8291 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8292 echo $ac_n "(cached) $ac_c" 1>&6
8297 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8298 ac_cpp='$CXXCPP $CPPFLAGS'
8299 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8300 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8301 cross_compiling=$ac_cv_prog_cxx_cross
8303 cat > conftest.$ac_ext <<EOF
8304 #line 8305 "configure"
8305 #include "confdefs.h"
8307 #ifdef HAVE_IEEEFP_H
8315 if { (eval echo configure:8316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8317 glibcpp_cv_func_isinff_use=yes
8319 echo "configure: failed program was:" >&5
8320 cat conftest.$ac_ext >&5
8322 glibcpp_cv_func_isinff_use=no
8326 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8327 ac_cpp='$CPP $CPPFLAGS'
8328 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8329 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8330 cross_compiling=$ac_cv_prog_cc_cross
8336 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8338 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
8339 for ac_func in isinff
8341 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8342 echo "configure:8343: checking for $ac_func" >&5
8343 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8344 echo $ac_n "(cached) $ac_c" 1>&6
8346 cat > conftest.$ac_ext <<EOF
8347 #line 8348 "configure"
8348 #include "confdefs.h"
8349 /* System header to define __stub macros and hopefully few prototypes,
8350 which can conflict with char $ac_func(); below. */
8352 /* Override any gcc2 internal prototype to avoid an error. */
8353 /* We use char because int might match the return type of a gcc2
8354 builtin and then its argument prototype would still apply. */
8359 /* The GNU C library defines this for functions which it implements
8360 to always fail with ENOSYS. Some functions are actually named
8361 something starting with __ and the normal name is an alias. */
8362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8370 if { (eval echo configure:8371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8372 eval "ac_cv_func_$ac_func=yes"
8374 echo "configure: failed program was:" >&5
8375 cat conftest.$ac_ext >&5
8377 eval "ac_cv_func_$ac_func=no"
8382 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8383 echo "$ac_t""yes" 1>&6
8384 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8385 cat >> confdefs.h <<EOF
8386 #define $ac_tr_func 1
8390 echo "$ac_t""no" 1>&6
8396 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
8397 echo "configure:8398: checking for _isinff declaration" >&5
8398 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
8399 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8400 echo $ac_n "(cached) $ac_c" 1>&6
8405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8406 ac_cpp='$CXXCPP $CPPFLAGS'
8407 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8408 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8409 cross_compiling=$ac_cv_prog_cxx_cross
8411 cat > conftest.$ac_ext <<EOF
8412 #line 8413 "configure"
8413 #include "confdefs.h"
8415 #ifdef HAVE_IEEEFP_H
8423 if { (eval echo configure:8424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8425 glibcpp_cv_func__isinff_use=yes
8427 echo "configure: failed program was:" >&5
8428 cat conftest.$ac_ext >&5
8430 glibcpp_cv_func__isinff_use=no
8434 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8435 ac_cpp='$CPP $CPPFLAGS'
8436 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8437 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8438 cross_compiling=$ac_cv_prog_cc_cross
8444 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8446 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8447 for ac_func in _isinff
8449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8450 echo "configure:8451: checking for $ac_func" >&5
8451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8452 echo $ac_n "(cached) $ac_c" 1>&6
8454 cat > conftest.$ac_ext <<EOF
8455 #line 8456 "configure"
8456 #include "confdefs.h"
8457 /* System header to define __stub macros and hopefully few prototypes,
8458 which can conflict with char $ac_func(); below. */
8460 /* Override any gcc2 internal prototype to avoid an error. */
8461 /* We use char because int might match the return type of a gcc2
8462 builtin and then its argument prototype would still apply. */
8467 /* The GNU C library defines this for functions which it implements
8468 to always fail with ENOSYS. Some functions are actually named
8469 something starting with __ and the normal name is an alias. */
8470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8478 if { (eval echo configure:8479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8480 eval "ac_cv_func_$ac_func=yes"
8482 echo "configure: failed program was:" >&5
8483 cat conftest.$ac_ext >&5
8485 eval "ac_cv_func_$ac_func=no"
8490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8491 echo "$ac_t""yes" 1>&6
8492 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8493 cat >> confdefs.h <<EOF
8494 #define $ac_tr_func 1
8498 echo "$ac_t""no" 1>&6
8507 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
8508 echo "configure:8509: checking for fabsf declaration" >&5
8509 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
8510 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8511 echo $ac_n "(cached) $ac_c" 1>&6
8516 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8517 ac_cpp='$CXXCPP $CPPFLAGS'
8518 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8519 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8520 cross_compiling=$ac_cv_prog_cxx_cross
8522 cat > conftest.$ac_ext <<EOF
8523 #line 8524 "configure"
8524 #include "confdefs.h"
8526 #ifdef HAVE_IEEEFP_H
8534 if { (eval echo configure:8535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8536 glibcpp_cv_func_fabsf_use=yes
8538 echo "configure: failed program was:" >&5
8539 cat conftest.$ac_ext >&5
8541 glibcpp_cv_func_fabsf_use=no
8545 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8546 ac_cpp='$CPP $CPPFLAGS'
8547 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8548 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8549 cross_compiling=$ac_cv_prog_cc_cross
8555 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8557 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
8558 for ac_func in fabsf
8560 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8561 echo "configure:8562: checking for $ac_func" >&5
8562 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8563 echo $ac_n "(cached) $ac_c" 1>&6
8565 cat > conftest.$ac_ext <<EOF
8566 #line 8567 "configure"
8567 #include "confdefs.h"
8568 /* System header to define __stub macros and hopefully few prototypes,
8569 which can conflict with char $ac_func(); below. */
8571 /* Override any gcc2 internal prototype to avoid an error. */
8572 /* We use char because int might match the return type of a gcc2
8573 builtin and then its argument prototype would still apply. */
8578 /* The GNU C library defines this for functions which it implements
8579 to always fail with ENOSYS. Some functions are actually named
8580 something starting with __ and the normal name is an alias. */
8581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8589 if { (eval echo configure:8590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8591 eval "ac_cv_func_$ac_func=yes"
8593 echo "configure: failed program was:" >&5
8594 cat conftest.$ac_ext >&5
8596 eval "ac_cv_func_$ac_func=no"
8601 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8602 echo "$ac_t""yes" 1>&6
8603 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8604 cat >> confdefs.h <<EOF
8605 #define $ac_tr_func 1
8609 echo "$ac_t""no" 1>&6
8615 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
8616 echo "configure:8617: checking for _fabsf declaration" >&5
8617 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
8618 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
8619 echo $ac_n "(cached) $ac_c" 1>&6
8624 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8625 ac_cpp='$CXXCPP $CPPFLAGS'
8626 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8627 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8628 cross_compiling=$ac_cv_prog_cxx_cross
8630 cat > conftest.$ac_ext <<EOF
8631 #line 8632 "configure"
8632 #include "confdefs.h"
8634 #ifdef HAVE_IEEEFP_H
8642 if { (eval echo configure:8643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8644 glibcpp_cv_func__fabsf_use=yes
8646 echo "configure: failed program was:" >&5
8647 cat conftest.$ac_ext >&5
8649 glibcpp_cv_func__fabsf_use=no
8653 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8654 ac_cpp='$CPP $CPPFLAGS'
8655 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8656 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8657 cross_compiling=$ac_cv_prog_cc_cross
8663 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
8665 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
8666 for ac_func in _fabsf
8668 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8669 echo "configure:8670: checking for $ac_func" >&5
8670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8671 echo $ac_n "(cached) $ac_c" 1>&6
8673 cat > conftest.$ac_ext <<EOF
8674 #line 8675 "configure"
8675 #include "confdefs.h"
8676 /* System header to define __stub macros and hopefully few prototypes,
8677 which can conflict with char $ac_func(); below. */
8679 /* Override any gcc2 internal prototype to avoid an error. */
8680 /* We use char because int might match the return type of a gcc2
8681 builtin and then its argument prototype would still apply. */
8686 /* The GNU C library defines this for functions which it implements
8687 to always fail with ENOSYS. Some functions are actually named
8688 something starting with __ and the normal name is an alias. */
8689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8697 if { (eval echo configure:8698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8699 eval "ac_cv_func_$ac_func=yes"
8701 echo "configure: failed program was:" >&5
8702 cat conftest.$ac_ext >&5
8704 eval "ac_cv_func_$ac_func=no"
8709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8710 echo "$ac_t""yes" 1>&6
8711 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8712 cat >> confdefs.h <<EOF
8713 #define $ac_tr_func 1
8717 echo "$ac_t""no" 1>&6
8726 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
8727 echo "configure:8728: checking for fmodf declaration" >&5
8728 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
8729 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
8730 echo $ac_n "(cached) $ac_c" 1>&6
8735 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8736 ac_cpp='$CXXCPP $CPPFLAGS'
8737 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8738 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8739 cross_compiling=$ac_cv_prog_cxx_cross
8741 cat > conftest.$ac_ext <<EOF
8742 #line 8743 "configure"
8743 #include "confdefs.h"
8749 if { (eval echo configure:8750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8751 glibcpp_cv_func_fmodf_use=yes
8753 echo "configure: failed program was:" >&5
8754 cat conftest.$ac_ext >&5
8756 glibcpp_cv_func_fmodf_use=no
8760 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8761 ac_cpp='$CPP $CPPFLAGS'
8762 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8763 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8764 cross_compiling=$ac_cv_prog_cc_cross
8770 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
8772 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
8773 for ac_func in fmodf
8775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8776 echo "configure:8777: checking for $ac_func" >&5
8777 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8778 echo $ac_n "(cached) $ac_c" 1>&6
8780 cat > conftest.$ac_ext <<EOF
8781 #line 8782 "configure"
8782 #include "confdefs.h"
8783 /* System header to define __stub macros and hopefully few prototypes,
8784 which can conflict with char $ac_func(); below. */
8786 /* Override any gcc2 internal prototype to avoid an error. */
8787 /* We use char because int might match the return type of a gcc2
8788 builtin and then its argument prototype would still apply. */
8793 /* The GNU C library defines this for functions which it implements
8794 to always fail with ENOSYS. Some functions are actually named
8795 something starting with __ and the normal name is an alias. */
8796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8804 if { (eval echo configure:8805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8806 eval "ac_cv_func_$ac_func=yes"
8808 echo "configure: failed program was:" >&5
8809 cat conftest.$ac_ext >&5
8811 eval "ac_cv_func_$ac_func=no"
8816 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8817 echo "$ac_t""yes" 1>&6
8818 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8819 cat >> confdefs.h <<EOF
8820 #define $ac_tr_func 1
8824 echo "$ac_t""no" 1>&6
8830 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
8831 echo "configure:8832: checking for _fmodf declaration" >&5
8832 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
8833 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
8834 echo $ac_n "(cached) $ac_c" 1>&6
8839 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8840 ac_cpp='$CXXCPP $CPPFLAGS'
8841 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8842 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8843 cross_compiling=$ac_cv_prog_cxx_cross
8845 cat > conftest.$ac_ext <<EOF
8846 #line 8847 "configure"
8847 #include "confdefs.h"
8853 if { (eval echo configure:8854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8855 glibcpp_cv_func__fmodf_use=yes
8857 echo "configure: failed program was:" >&5
8858 cat conftest.$ac_ext >&5
8860 glibcpp_cv_func__fmodf_use=no
8864 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8865 ac_cpp='$CPP $CPPFLAGS'
8866 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8867 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8868 cross_compiling=$ac_cv_prog_cc_cross
8874 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
8876 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
8877 for ac_func in _fmodf
8879 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8880 echo "configure:8881: checking for $ac_func" >&5
8881 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8882 echo $ac_n "(cached) $ac_c" 1>&6
8884 cat > conftest.$ac_ext <<EOF
8885 #line 8886 "configure"
8886 #include "confdefs.h"
8887 /* System header to define __stub macros and hopefully few prototypes,
8888 which can conflict with char $ac_func(); below. */
8890 /* Override any gcc2 internal prototype to avoid an error. */
8891 /* We use char because int might match the return type of a gcc2
8892 builtin and then its argument prototype would still apply. */
8897 /* The GNU C library defines this for functions which it implements
8898 to always fail with ENOSYS. Some functions are actually named
8899 something starting with __ and the normal name is an alias. */
8900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8908 if { (eval echo configure:8909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8910 eval "ac_cv_func_$ac_func=yes"
8912 echo "configure: failed program was:" >&5
8913 cat conftest.$ac_ext >&5
8915 eval "ac_cv_func_$ac_func=no"
8920 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8921 echo "$ac_t""yes" 1>&6
8922 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8923 cat >> confdefs.h <<EOF
8924 #define $ac_tr_func 1
8928 echo "$ac_t""no" 1>&6
8937 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
8938 echo "configure:8939: checking for frexpf declaration" >&5
8939 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
8940 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
8941 echo $ac_n "(cached) $ac_c" 1>&6
8946 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8947 ac_cpp='$CXXCPP $CPPFLAGS'
8948 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8949 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8950 cross_compiling=$ac_cv_prog_cxx_cross
8952 cat > conftest.$ac_ext <<EOF
8953 #line 8954 "configure"
8954 #include "confdefs.h"
8960 if { (eval echo configure:8961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8962 glibcpp_cv_func_frexpf_use=yes
8964 echo "configure: failed program was:" >&5
8965 cat conftest.$ac_ext >&5
8967 glibcpp_cv_func_frexpf_use=no
8971 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8972 ac_cpp='$CPP $CPPFLAGS'
8973 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8974 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8975 cross_compiling=$ac_cv_prog_cc_cross
8981 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
8983 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
8984 for ac_func in frexpf
8986 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8987 echo "configure:8988: checking for $ac_func" >&5
8988 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8989 echo $ac_n "(cached) $ac_c" 1>&6
8991 cat > conftest.$ac_ext <<EOF
8992 #line 8993 "configure"
8993 #include "confdefs.h"
8994 /* System header to define __stub macros and hopefully few prototypes,
8995 which can conflict with char $ac_func(); below. */
8997 /* Override any gcc2 internal prototype to avoid an error. */
8998 /* We use char because int might match the return type of a gcc2
8999 builtin and then its argument prototype would still apply. */
9004 /* The GNU C library defines this for functions which it implements
9005 to always fail with ENOSYS. Some functions are actually named
9006 something starting with __ and the normal name is an alias. */
9007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9015 if { (eval echo configure:9016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9017 eval "ac_cv_func_$ac_func=yes"
9019 echo "configure: failed program was:" >&5
9020 cat conftest.$ac_ext >&5
9022 eval "ac_cv_func_$ac_func=no"
9027 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9028 echo "$ac_t""yes" 1>&6
9029 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9030 cat >> confdefs.h <<EOF
9031 #define $ac_tr_func 1
9035 echo "$ac_t""no" 1>&6
9041 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
9042 echo "configure:9043: checking for _frexpf declaration" >&5
9043 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
9044 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9045 echo $ac_n "(cached) $ac_c" 1>&6
9050 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9051 ac_cpp='$CXXCPP $CPPFLAGS'
9052 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9053 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9054 cross_compiling=$ac_cv_prog_cxx_cross
9056 cat > conftest.$ac_ext <<EOF
9057 #line 9058 "configure"
9058 #include "confdefs.h"
9064 if { (eval echo configure:9065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9066 glibcpp_cv_func__frexpf_use=yes
9068 echo "configure: failed program was:" >&5
9069 cat conftest.$ac_ext >&5
9071 glibcpp_cv_func__frexpf_use=no
9075 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9076 ac_cpp='$CPP $CPPFLAGS'
9077 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9078 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9079 cross_compiling=$ac_cv_prog_cc_cross
9085 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9087 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
9088 for ac_func in _frexpf
9090 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9091 echo "configure:9092: checking for $ac_func" >&5
9092 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9093 echo $ac_n "(cached) $ac_c" 1>&6
9095 cat > conftest.$ac_ext <<EOF
9096 #line 9097 "configure"
9097 #include "confdefs.h"
9098 /* System header to define __stub macros and hopefully few prototypes,
9099 which can conflict with char $ac_func(); below. */
9101 /* Override any gcc2 internal prototype to avoid an error. */
9102 /* We use char because int might match the return type of a gcc2
9103 builtin and then its argument prototype would still apply. */
9108 /* The GNU C library defines this for functions which it implements
9109 to always fail with ENOSYS. Some functions are actually named
9110 something starting with __ and the normal name is an alias. */
9111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9119 if { (eval echo configure:9120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9121 eval "ac_cv_func_$ac_func=yes"
9123 echo "configure: failed program was:" >&5
9124 cat conftest.$ac_ext >&5
9126 eval "ac_cv_func_$ac_func=no"
9131 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9132 echo "$ac_t""yes" 1>&6
9133 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9134 cat >> confdefs.h <<EOF
9135 #define $ac_tr_func 1
9139 echo "$ac_t""no" 1>&6
9148 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
9149 echo "configure:9150: checking for ldexpf declaration" >&5
9150 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
9151 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
9152 echo $ac_n "(cached) $ac_c" 1>&6
9157 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9158 ac_cpp='$CXXCPP $CPPFLAGS'
9159 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9160 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9161 cross_compiling=$ac_cv_prog_cxx_cross
9163 cat > conftest.$ac_ext <<EOF
9164 #line 9165 "configure"
9165 #include "confdefs.h"
9171 if { (eval echo configure:9172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9173 glibcpp_cv_func_ldexpf_use=yes
9175 echo "configure: failed program was:" >&5
9176 cat conftest.$ac_ext >&5
9178 glibcpp_cv_func_ldexpf_use=no
9182 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9183 ac_cpp='$CPP $CPPFLAGS'
9184 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9185 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9186 cross_compiling=$ac_cv_prog_cc_cross
9192 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
9194 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
9195 for ac_func in ldexpf
9197 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9198 echo "configure:9199: checking for $ac_func" >&5
9199 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9200 echo $ac_n "(cached) $ac_c" 1>&6
9202 cat > conftest.$ac_ext <<EOF
9203 #line 9204 "configure"
9204 #include "confdefs.h"
9205 /* System header to define __stub macros and hopefully few prototypes,
9206 which can conflict with char $ac_func(); below. */
9208 /* Override any gcc2 internal prototype to avoid an error. */
9209 /* We use char because int might match the return type of a gcc2
9210 builtin and then its argument prototype would still apply. */
9215 /* The GNU C library defines this for functions which it implements
9216 to always fail with ENOSYS. Some functions are actually named
9217 something starting with __ and the normal name is an alias. */
9218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9226 if { (eval echo configure:9227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9228 eval "ac_cv_func_$ac_func=yes"
9230 echo "configure: failed program was:" >&5
9231 cat conftest.$ac_ext >&5
9233 eval "ac_cv_func_$ac_func=no"
9238 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9239 echo "$ac_t""yes" 1>&6
9240 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9241 cat >> confdefs.h <<EOF
9242 #define $ac_tr_func 1
9246 echo "$ac_t""no" 1>&6
9252 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
9253 echo "configure:9254: checking for _ldexpf declaration" >&5
9254 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
9255 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9256 echo $ac_n "(cached) $ac_c" 1>&6
9261 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9262 ac_cpp='$CXXCPP $CPPFLAGS'
9263 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9264 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9265 cross_compiling=$ac_cv_prog_cxx_cross
9267 cat > conftest.$ac_ext <<EOF
9268 #line 9269 "configure"
9269 #include "confdefs.h"
9275 if { (eval echo configure:9276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9277 glibcpp_cv_func__ldexpf_use=yes
9279 echo "configure: failed program was:" >&5
9280 cat conftest.$ac_ext >&5
9282 glibcpp_cv_func__ldexpf_use=no
9286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9287 ac_cpp='$CPP $CPPFLAGS'
9288 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9289 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9290 cross_compiling=$ac_cv_prog_cc_cross
9296 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
9298 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
9299 for ac_func in _ldexpf
9301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9302 echo "configure:9303: checking for $ac_func" >&5
9303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9304 echo $ac_n "(cached) $ac_c" 1>&6
9306 cat > conftest.$ac_ext <<EOF
9307 #line 9308 "configure"
9308 #include "confdefs.h"
9309 /* System header to define __stub macros and hopefully few prototypes,
9310 which can conflict with char $ac_func(); below. */
9312 /* Override any gcc2 internal prototype to avoid an error. */
9313 /* We use char because int might match the return type of a gcc2
9314 builtin and then its argument prototype would still apply. */
9319 /* The GNU C library defines this for functions which it implements
9320 to always fail with ENOSYS. Some functions are actually named
9321 something starting with __ and the normal name is an alias. */
9322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9330 if { (eval echo configure:9331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9332 eval "ac_cv_func_$ac_func=yes"
9334 echo "configure: failed program was:" >&5
9335 cat conftest.$ac_ext >&5
9337 eval "ac_cv_func_$ac_func=no"
9342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9343 echo "$ac_t""yes" 1>&6
9344 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9345 cat >> confdefs.h <<EOF
9346 #define $ac_tr_func 1
9350 echo "$ac_t""no" 1>&6
9359 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
9360 echo "configure:9361: checking for logf declaration" >&5
9361 if test x${glibcpp_cv_func_logf_use+set} != xset; then
9362 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
9363 echo $ac_n "(cached) $ac_c" 1>&6
9368 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9369 ac_cpp='$CXXCPP $CPPFLAGS'
9370 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9371 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9372 cross_compiling=$ac_cv_prog_cxx_cross
9374 cat > conftest.$ac_ext <<EOF
9375 #line 9376 "configure"
9376 #include "confdefs.h"
9378 #ifdef HAVE_IEEEFP_H
9386 if { (eval echo configure:9387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9388 glibcpp_cv_func_logf_use=yes
9390 echo "configure: failed program was:" >&5
9391 cat conftest.$ac_ext >&5
9393 glibcpp_cv_func_logf_use=no
9397 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9398 ac_cpp='$CPP $CPPFLAGS'
9399 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9400 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9401 cross_compiling=$ac_cv_prog_cc_cross
9407 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
9409 if test x$glibcpp_cv_func_logf_use = x"yes"; then
9412 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9413 echo "configure:9414: checking for $ac_func" >&5
9414 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9415 echo $ac_n "(cached) $ac_c" 1>&6
9417 cat > conftest.$ac_ext <<EOF
9418 #line 9419 "configure"
9419 #include "confdefs.h"
9420 /* System header to define __stub macros and hopefully few prototypes,
9421 which can conflict with char $ac_func(); below. */
9423 /* Override any gcc2 internal prototype to avoid an error. */
9424 /* We use char because int might match the return type of a gcc2
9425 builtin and then its argument prototype would still apply. */
9430 /* The GNU C library defines this for functions which it implements
9431 to always fail with ENOSYS. Some functions are actually named
9432 something starting with __ and the normal name is an alias. */
9433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9441 if { (eval echo configure:9442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9443 eval "ac_cv_func_$ac_func=yes"
9445 echo "configure: failed program was:" >&5
9446 cat conftest.$ac_ext >&5
9448 eval "ac_cv_func_$ac_func=no"
9453 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9454 echo "$ac_t""yes" 1>&6
9455 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9456 cat >> confdefs.h <<EOF
9457 #define $ac_tr_func 1
9461 echo "$ac_t""no" 1>&6
9467 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
9468 echo "configure:9469: checking for _logf declaration" >&5
9469 if test x${glibcpp_cv_func__logf_use+set} != xset; then
9470 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
9471 echo $ac_n "(cached) $ac_c" 1>&6
9476 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9477 ac_cpp='$CXXCPP $CPPFLAGS'
9478 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9479 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9480 cross_compiling=$ac_cv_prog_cxx_cross
9482 cat > conftest.$ac_ext <<EOF
9483 #line 9484 "configure"
9484 #include "confdefs.h"
9486 #ifdef HAVE_IEEEFP_H
9494 if { (eval echo configure:9495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9496 glibcpp_cv_func__logf_use=yes
9498 echo "configure: failed program was:" >&5
9499 cat conftest.$ac_ext >&5
9501 glibcpp_cv_func__logf_use=no
9505 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9506 ac_cpp='$CPP $CPPFLAGS'
9507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9509 cross_compiling=$ac_cv_prog_cc_cross
9515 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
9517 if test x$glibcpp_cv_func__logf_use = x"yes"; then
9518 for ac_func in _logf
9520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9521 echo "configure:9522: checking for $ac_func" >&5
9522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9523 echo $ac_n "(cached) $ac_c" 1>&6
9525 cat > conftest.$ac_ext <<EOF
9526 #line 9527 "configure"
9527 #include "confdefs.h"
9528 /* System header to define __stub macros and hopefully few prototypes,
9529 which can conflict with char $ac_func(); below. */
9531 /* Override any gcc2 internal prototype to avoid an error. */
9532 /* We use char because int might match the return type of a gcc2
9533 builtin and then its argument prototype would still apply. */
9538 /* The GNU C library defines this for functions which it implements
9539 to always fail with ENOSYS. Some functions are actually named
9540 something starting with __ and the normal name is an alias. */
9541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9549 if { (eval echo configure:9550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9551 eval "ac_cv_func_$ac_func=yes"
9553 echo "configure: failed program was:" >&5
9554 cat conftest.$ac_ext >&5
9556 eval "ac_cv_func_$ac_func=no"
9561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9562 echo "$ac_t""yes" 1>&6
9563 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9564 cat >> confdefs.h <<EOF
9565 #define $ac_tr_func 1
9569 echo "$ac_t""no" 1>&6
9578 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
9579 echo "configure:9580: checking for log10f declaration" >&5
9580 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
9581 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
9582 echo $ac_n "(cached) $ac_c" 1>&6
9587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9588 ac_cpp='$CXXCPP $CPPFLAGS'
9589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9591 cross_compiling=$ac_cv_prog_cxx_cross
9593 cat > conftest.$ac_ext <<EOF
9594 #line 9595 "configure"
9595 #include "confdefs.h"
9597 #ifdef HAVE_IEEEFP_H
9605 if { (eval echo configure:9606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9607 glibcpp_cv_func_log10f_use=yes
9609 echo "configure: failed program was:" >&5
9610 cat conftest.$ac_ext >&5
9612 glibcpp_cv_func_log10f_use=no
9616 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9617 ac_cpp='$CPP $CPPFLAGS'
9618 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9619 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9620 cross_compiling=$ac_cv_prog_cc_cross
9626 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
9628 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
9629 for ac_func in log10f
9631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9632 echo "configure:9633: checking for $ac_func" >&5
9633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9634 echo $ac_n "(cached) $ac_c" 1>&6
9636 cat > conftest.$ac_ext <<EOF
9637 #line 9638 "configure"
9638 #include "confdefs.h"
9639 /* System header to define __stub macros and hopefully few prototypes,
9640 which can conflict with char $ac_func(); below. */
9642 /* Override any gcc2 internal prototype to avoid an error. */
9643 /* We use char because int might match the return type of a gcc2
9644 builtin and then its argument prototype would still apply. */
9649 /* The GNU C library defines this for functions which it implements
9650 to always fail with ENOSYS. Some functions are actually named
9651 something starting with __ and the normal name is an alias. */
9652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9660 if { (eval echo configure:9661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9662 eval "ac_cv_func_$ac_func=yes"
9664 echo "configure: failed program was:" >&5
9665 cat conftest.$ac_ext >&5
9667 eval "ac_cv_func_$ac_func=no"
9672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9673 echo "$ac_t""yes" 1>&6
9674 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9675 cat >> confdefs.h <<EOF
9676 #define $ac_tr_func 1
9680 echo "$ac_t""no" 1>&6
9686 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
9687 echo "configure:9688: checking for _log10f declaration" >&5
9688 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
9689 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
9690 echo $ac_n "(cached) $ac_c" 1>&6
9695 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9696 ac_cpp='$CXXCPP $CPPFLAGS'
9697 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9698 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9699 cross_compiling=$ac_cv_prog_cxx_cross
9701 cat > conftest.$ac_ext <<EOF
9702 #line 9703 "configure"
9703 #include "confdefs.h"
9705 #ifdef HAVE_IEEEFP_H
9713 if { (eval echo configure:9714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9715 glibcpp_cv_func__log10f_use=yes
9717 echo "configure: failed program was:" >&5
9718 cat conftest.$ac_ext >&5
9720 glibcpp_cv_func__log10f_use=no
9724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9725 ac_cpp='$CPP $CPPFLAGS'
9726 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9727 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9728 cross_compiling=$ac_cv_prog_cc_cross
9734 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
9736 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
9737 for ac_func in _log10f
9739 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9740 echo "configure:9741: checking for $ac_func" >&5
9741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9742 echo $ac_n "(cached) $ac_c" 1>&6
9744 cat > conftest.$ac_ext <<EOF
9745 #line 9746 "configure"
9746 #include "confdefs.h"
9747 /* System header to define __stub macros and hopefully few prototypes,
9748 which can conflict with char $ac_func(); below. */
9750 /* Override any gcc2 internal prototype to avoid an error. */
9751 /* We use char because int might match the return type of a gcc2
9752 builtin and then its argument prototype would still apply. */
9757 /* The GNU C library defines this for functions which it implements
9758 to always fail with ENOSYS. Some functions are actually named
9759 something starting with __ and the normal name is an alias. */
9760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9768 if { (eval echo configure:9769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9770 eval "ac_cv_func_$ac_func=yes"
9772 echo "configure: failed program was:" >&5
9773 cat conftest.$ac_ext >&5
9775 eval "ac_cv_func_$ac_func=no"
9780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9781 echo "$ac_t""yes" 1>&6
9782 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9783 cat >> confdefs.h <<EOF
9784 #define $ac_tr_func 1
9788 echo "$ac_t""no" 1>&6
9797 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
9798 echo "configure:9799: checking for modff declaration" >&5
9799 if test x${glibcpp_cv_func_modff_use+set} != xset; then
9800 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
9801 echo $ac_n "(cached) $ac_c" 1>&6
9806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9807 ac_cpp='$CXXCPP $CPPFLAGS'
9808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9810 cross_compiling=$ac_cv_prog_cxx_cross
9812 cat > conftest.$ac_ext <<EOF
9813 #line 9814 "configure"
9814 #include "confdefs.h"
9820 if { (eval echo configure:9821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9822 glibcpp_cv_func_modff_use=yes
9824 echo "configure: failed program was:" >&5
9825 cat conftest.$ac_ext >&5
9827 glibcpp_cv_func_modff_use=no
9831 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9832 ac_cpp='$CPP $CPPFLAGS'
9833 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9834 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9835 cross_compiling=$ac_cv_prog_cc_cross
9841 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
9843 if test x$glibcpp_cv_func_modff_use = x"yes"; then
9844 for ac_func in modff
9846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9847 echo "configure:9848: checking for $ac_func" >&5
9848 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9849 echo $ac_n "(cached) $ac_c" 1>&6
9851 cat > conftest.$ac_ext <<EOF
9852 #line 9853 "configure"
9853 #include "confdefs.h"
9854 /* System header to define __stub macros and hopefully few prototypes,
9855 which can conflict with char $ac_func(); below. */
9857 /* Override any gcc2 internal prototype to avoid an error. */
9858 /* We use char because int might match the return type of a gcc2
9859 builtin and then its argument prototype would still apply. */
9864 /* The GNU C library defines this for functions which it implements
9865 to always fail with ENOSYS. Some functions are actually named
9866 something starting with __ and the normal name is an alias. */
9867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9875 if { (eval echo configure:9876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9877 eval "ac_cv_func_$ac_func=yes"
9879 echo "configure: failed program was:" >&5
9880 cat conftest.$ac_ext >&5
9882 eval "ac_cv_func_$ac_func=no"
9887 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9888 echo "$ac_t""yes" 1>&6
9889 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9890 cat >> confdefs.h <<EOF
9891 #define $ac_tr_func 1
9895 echo "$ac_t""no" 1>&6
9901 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
9902 echo "configure:9903: checking for _modff declaration" >&5
9903 if test x${glibcpp_cv_func__modff_use+set} != xset; then
9904 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
9905 echo $ac_n "(cached) $ac_c" 1>&6
9910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9911 ac_cpp='$CXXCPP $CPPFLAGS'
9912 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9913 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9914 cross_compiling=$ac_cv_prog_cxx_cross
9916 cat > conftest.$ac_ext <<EOF
9917 #line 9918 "configure"
9918 #include "confdefs.h"
9924 if { (eval echo configure:9925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9926 glibcpp_cv_func__modff_use=yes
9928 echo "configure: failed program was:" >&5
9929 cat conftest.$ac_ext >&5
9931 glibcpp_cv_func__modff_use=no
9935 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9936 ac_cpp='$CPP $CPPFLAGS'
9937 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9938 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9939 cross_compiling=$ac_cv_prog_cc_cross
9945 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
9947 if test x$glibcpp_cv_func__modff_use = x"yes"; then
9948 for ac_func in _modff
9950 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9951 echo "configure:9952: checking for $ac_func" >&5
9952 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9953 echo $ac_n "(cached) $ac_c" 1>&6
9955 cat > conftest.$ac_ext <<EOF
9956 #line 9957 "configure"
9957 #include "confdefs.h"
9958 /* System header to define __stub macros and hopefully few prototypes,
9959 which can conflict with char $ac_func(); below. */
9961 /* Override any gcc2 internal prototype to avoid an error. */
9962 /* We use char because int might match the return type of a gcc2
9963 builtin and then its argument prototype would still apply. */
9968 /* The GNU C library defines this for functions which it implements
9969 to always fail with ENOSYS. Some functions are actually named
9970 something starting with __ and the normal name is an alias. */
9971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9979 if { (eval echo configure:9980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9981 eval "ac_cv_func_$ac_func=yes"
9983 echo "configure: failed program was:" >&5
9984 cat conftest.$ac_ext >&5
9986 eval "ac_cv_func_$ac_func=no"
9991 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9992 echo "$ac_t""yes" 1>&6
9993 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9994 cat >> confdefs.h <<EOF
9995 #define $ac_tr_func 1
9999 echo "$ac_t""no" 1>&6
10008 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
10009 echo "configure:10010: checking for powf declaration" >&5
10010 if test x${glibcpp_cv_func_powf_use+set} != xset; then
10011 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10012 echo $ac_n "(cached) $ac_c" 1>&6
10017 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10018 ac_cpp='$CXXCPP $CPPFLAGS'
10019 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10020 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10021 cross_compiling=$ac_cv_prog_cxx_cross
10023 cat > conftest.$ac_ext <<EOF
10024 #line 10025 "configure"
10025 #include "confdefs.h"
10031 if { (eval echo configure:10032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10033 glibcpp_cv_func_powf_use=yes
10035 echo "configure: failed program was:" >&5
10036 cat conftest.$ac_ext >&5
10038 glibcpp_cv_func_powf_use=no
10042 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10043 ac_cpp='$CPP $CPPFLAGS'
10044 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10045 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10046 cross_compiling=$ac_cv_prog_cc_cross
10052 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10054 if test x$glibcpp_cv_func_powf_use = x"yes"; then
10055 for ac_func in powf
10057 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10058 echo "configure:10059: checking for $ac_func" >&5
10059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10060 echo $ac_n "(cached) $ac_c" 1>&6
10062 cat > conftest.$ac_ext <<EOF
10063 #line 10064 "configure"
10064 #include "confdefs.h"
10065 /* System header to define __stub macros and hopefully few prototypes,
10066 which can conflict with char $ac_func(); below. */
10067 #include <assert.h>
10068 /* Override any gcc2 internal prototype to avoid an error. */
10069 /* We use char because int might match the return type of a gcc2
10070 builtin and then its argument prototype would still apply. */
10075 /* The GNU C library defines this for functions which it implements
10076 to always fail with ENOSYS. Some functions are actually named
10077 something starting with __ and the normal name is an alias. */
10078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10086 if { (eval echo configure:10087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10088 eval "ac_cv_func_$ac_func=yes"
10090 echo "configure: failed program was:" >&5
10091 cat conftest.$ac_ext >&5
10093 eval "ac_cv_func_$ac_func=no"
10098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10099 echo "$ac_t""yes" 1>&6
10100 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10101 cat >> confdefs.h <<EOF
10102 #define $ac_tr_func 1
10106 echo "$ac_t""no" 1>&6
10112 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
10113 echo "configure:10114: checking for _powf declaration" >&5
10114 if test x${glibcpp_cv_func__powf_use+set} != xset; then
10115 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10116 echo $ac_n "(cached) $ac_c" 1>&6
10121 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10122 ac_cpp='$CXXCPP $CPPFLAGS'
10123 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10124 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10125 cross_compiling=$ac_cv_prog_cxx_cross
10127 cat > conftest.$ac_ext <<EOF
10128 #line 10129 "configure"
10129 #include "confdefs.h"
10135 if { (eval echo configure:10136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10137 glibcpp_cv_func__powf_use=yes
10139 echo "configure: failed program was:" >&5
10140 cat conftest.$ac_ext >&5
10142 glibcpp_cv_func__powf_use=no
10146 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10147 ac_cpp='$CPP $CPPFLAGS'
10148 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10149 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10150 cross_compiling=$ac_cv_prog_cc_cross
10156 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
10158 if test x$glibcpp_cv_func__powf_use = x"yes"; then
10159 for ac_func in _powf
10161 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10162 echo "configure:10163: checking for $ac_func" >&5
10163 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10164 echo $ac_n "(cached) $ac_c" 1>&6
10166 cat > conftest.$ac_ext <<EOF
10167 #line 10168 "configure"
10168 #include "confdefs.h"
10169 /* System header to define __stub macros and hopefully few prototypes,
10170 which can conflict with char $ac_func(); below. */
10171 #include <assert.h>
10172 /* Override any gcc2 internal prototype to avoid an error. */
10173 /* We use char because int might match the return type of a gcc2
10174 builtin and then its argument prototype would still apply. */
10179 /* The GNU C library defines this for functions which it implements
10180 to always fail with ENOSYS. Some functions are actually named
10181 something starting with __ and the normal name is an alias. */
10182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10190 if { (eval echo configure:10191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10192 eval "ac_cv_func_$ac_func=yes"
10194 echo "configure: failed program was:" >&5
10195 cat conftest.$ac_ext >&5
10197 eval "ac_cv_func_$ac_func=no"
10202 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10203 echo "$ac_t""yes" 1>&6
10204 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10205 cat >> confdefs.h <<EOF
10206 #define $ac_tr_func 1
10210 echo "$ac_t""no" 1>&6
10219 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
10220 echo "configure:10221: checking for sqrtf declaration" >&5
10221 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
10222 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10223 echo $ac_n "(cached) $ac_c" 1>&6
10228 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10229 ac_cpp='$CXXCPP $CPPFLAGS'
10230 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10231 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10232 cross_compiling=$ac_cv_prog_cxx_cross
10234 cat > conftest.$ac_ext <<EOF
10235 #line 10236 "configure"
10236 #include "confdefs.h"
10238 #ifdef HAVE_IEEEFP_H
10239 #include <ieeefp.h>
10246 if { (eval echo configure:10247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10248 glibcpp_cv_func_sqrtf_use=yes
10250 echo "configure: failed program was:" >&5
10251 cat conftest.$ac_ext >&5
10253 glibcpp_cv_func_sqrtf_use=no
10257 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10258 ac_cpp='$CPP $CPPFLAGS'
10259 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10260 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10261 cross_compiling=$ac_cv_prog_cc_cross
10267 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10269 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
10270 for ac_func in sqrtf
10272 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10273 echo "configure:10274: checking for $ac_func" >&5
10274 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10275 echo $ac_n "(cached) $ac_c" 1>&6
10277 cat > conftest.$ac_ext <<EOF
10278 #line 10279 "configure"
10279 #include "confdefs.h"
10280 /* System header to define __stub macros and hopefully few prototypes,
10281 which can conflict with char $ac_func(); below. */
10282 #include <assert.h>
10283 /* Override any gcc2 internal prototype to avoid an error. */
10284 /* We use char because int might match the return type of a gcc2
10285 builtin and then its argument prototype would still apply. */
10290 /* The GNU C library defines this for functions which it implements
10291 to always fail with ENOSYS. Some functions are actually named
10292 something starting with __ and the normal name is an alias. */
10293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10301 if { (eval echo configure:10302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10303 eval "ac_cv_func_$ac_func=yes"
10305 echo "configure: failed program was:" >&5
10306 cat conftest.$ac_ext >&5
10308 eval "ac_cv_func_$ac_func=no"
10313 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10314 echo "$ac_t""yes" 1>&6
10315 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10316 cat >> confdefs.h <<EOF
10317 #define $ac_tr_func 1
10321 echo "$ac_t""no" 1>&6
10327 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
10328 echo "configure:10329: checking for _sqrtf declaration" >&5
10329 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
10330 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
10331 echo $ac_n "(cached) $ac_c" 1>&6
10336 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10337 ac_cpp='$CXXCPP $CPPFLAGS'
10338 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10339 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10340 cross_compiling=$ac_cv_prog_cxx_cross
10342 cat > conftest.$ac_ext <<EOF
10343 #line 10344 "configure"
10344 #include "confdefs.h"
10346 #ifdef HAVE_IEEEFP_H
10347 #include <ieeefp.h>
10354 if { (eval echo configure:10355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10356 glibcpp_cv_func__sqrtf_use=yes
10358 echo "configure: failed program was:" >&5
10359 cat conftest.$ac_ext >&5
10361 glibcpp_cv_func__sqrtf_use=no
10365 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10366 ac_cpp='$CPP $CPPFLAGS'
10367 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10368 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10369 cross_compiling=$ac_cv_prog_cc_cross
10375 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
10377 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
10378 for ac_func in _sqrtf
10380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10381 echo "configure:10382: checking for $ac_func" >&5
10382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10383 echo $ac_n "(cached) $ac_c" 1>&6
10385 cat > conftest.$ac_ext <<EOF
10386 #line 10387 "configure"
10387 #include "confdefs.h"
10388 /* System header to define __stub macros and hopefully few prototypes,
10389 which can conflict with char $ac_func(); below. */
10390 #include <assert.h>
10391 /* Override any gcc2 internal prototype to avoid an error. */
10392 /* We use char because int might match the return type of a gcc2
10393 builtin and then its argument prototype would still apply. */
10398 /* The GNU C library defines this for functions which it implements
10399 to always fail with ENOSYS. Some functions are actually named
10400 something starting with __ and the normal name is an alias. */
10401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10409 if { (eval echo configure:10410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10411 eval "ac_cv_func_$ac_func=yes"
10413 echo "configure: failed program was:" >&5
10414 cat conftest.$ac_ext >&5
10416 eval "ac_cv_func_$ac_func=no"
10421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10422 echo "$ac_t""yes" 1>&6
10423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10424 cat >> confdefs.h <<EOF
10425 #define $ac_tr_func 1
10429 echo "$ac_t""no" 1>&6
10438 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
10439 echo "configure:10440: checking for sincosf declaration" >&5
10440 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
10441 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
10442 echo $ac_n "(cached) $ac_c" 1>&6
10447 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10448 ac_cpp='$CXXCPP $CPPFLAGS'
10449 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10450 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10451 cross_compiling=$ac_cv_prog_cxx_cross
10453 cat > conftest.$ac_ext <<EOF
10454 #line 10455 "configure"
10455 #include "confdefs.h"
10461 if { (eval echo configure:10462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10463 glibcpp_cv_func_sincosf_use=yes
10465 echo "configure: failed program was:" >&5
10466 cat conftest.$ac_ext >&5
10468 glibcpp_cv_func_sincosf_use=no
10472 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10473 ac_cpp='$CPP $CPPFLAGS'
10474 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10475 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10476 cross_compiling=$ac_cv_prog_cc_cross
10482 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
10484 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
10485 for ac_func in sincosf
10487 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10488 echo "configure:10489: checking for $ac_func" >&5
10489 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10490 echo $ac_n "(cached) $ac_c" 1>&6
10492 cat > conftest.$ac_ext <<EOF
10493 #line 10494 "configure"
10494 #include "confdefs.h"
10495 /* System header to define __stub macros and hopefully few prototypes,
10496 which can conflict with char $ac_func(); below. */
10497 #include <assert.h>
10498 /* Override any gcc2 internal prototype to avoid an error. */
10499 /* We use char because int might match the return type of a gcc2
10500 builtin and then its argument prototype would still apply. */
10505 /* The GNU C library defines this for functions which it implements
10506 to always fail with ENOSYS. Some functions are actually named
10507 something starting with __ and the normal name is an alias. */
10508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10516 if { (eval echo configure:10517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10518 eval "ac_cv_func_$ac_func=yes"
10520 echo "configure: failed program was:" >&5
10521 cat conftest.$ac_ext >&5
10523 eval "ac_cv_func_$ac_func=no"
10528 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10529 echo "$ac_t""yes" 1>&6
10530 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10531 cat >> confdefs.h <<EOF
10532 #define $ac_tr_func 1
10536 echo "$ac_t""no" 1>&6
10542 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
10543 echo "configure:10544: checking for _sincosf declaration" >&5
10544 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
10545 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
10546 echo $ac_n "(cached) $ac_c" 1>&6
10551 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10552 ac_cpp='$CXXCPP $CPPFLAGS'
10553 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10554 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10555 cross_compiling=$ac_cv_prog_cxx_cross
10557 cat > conftest.$ac_ext <<EOF
10558 #line 10559 "configure"
10559 #include "confdefs.h"
10565 if { (eval echo configure:10566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10567 glibcpp_cv_func__sincosf_use=yes
10569 echo "configure: failed program was:" >&5
10570 cat conftest.$ac_ext >&5
10572 glibcpp_cv_func__sincosf_use=no
10576 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10577 ac_cpp='$CPP $CPPFLAGS'
10578 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10579 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10580 cross_compiling=$ac_cv_prog_cc_cross
10586 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
10588 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
10589 for ac_func in _sincosf
10591 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10592 echo "configure:10593: checking for $ac_func" >&5
10593 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10594 echo $ac_n "(cached) $ac_c" 1>&6
10596 cat > conftest.$ac_ext <<EOF
10597 #line 10598 "configure"
10598 #include "confdefs.h"
10599 /* System header to define __stub macros and hopefully few prototypes,
10600 which can conflict with char $ac_func(); below. */
10601 #include <assert.h>
10602 /* Override any gcc2 internal prototype to avoid an error. */
10603 /* We use char because int might match the return type of a gcc2
10604 builtin and then its argument prototype would still apply. */
10609 /* The GNU C library defines this for functions which it implements
10610 to always fail with ENOSYS. Some functions are actually named
10611 something starting with __ and the normal name is an alias. */
10612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10620 if { (eval echo configure:10621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10622 eval "ac_cv_func_$ac_func=yes"
10624 echo "configure: failed program was:" >&5
10625 cat conftest.$ac_ext >&5
10627 eval "ac_cv_func_$ac_func=no"
10632 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10633 echo "$ac_t""yes" 1>&6
10634 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10635 cat >> confdefs.h <<EOF
10636 #define $ac_tr_func 1
10640 echo "$ac_t""no" 1>&6
10649 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
10650 echo "configure:10651: checking for finitef declaration" >&5
10651 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
10652 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
10653 echo $ac_n "(cached) $ac_c" 1>&6
10658 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10659 ac_cpp='$CXXCPP $CPPFLAGS'
10660 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10661 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10662 cross_compiling=$ac_cv_prog_cxx_cross
10664 cat > conftest.$ac_ext <<EOF
10665 #line 10666 "configure"
10666 #include "confdefs.h"
10668 #ifdef HAVE_IEEEFP_H
10669 #include <ieeefp.h>
10676 if { (eval echo configure:10677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10678 glibcpp_cv_func_finitef_use=yes
10680 echo "configure: failed program was:" >&5
10681 cat conftest.$ac_ext >&5
10683 glibcpp_cv_func_finitef_use=no
10687 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10688 ac_cpp='$CPP $CPPFLAGS'
10689 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10690 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10691 cross_compiling=$ac_cv_prog_cc_cross
10697 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
10699 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
10700 for ac_func in finitef
10702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10703 echo "configure:10704: checking for $ac_func" >&5
10704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10705 echo $ac_n "(cached) $ac_c" 1>&6
10707 cat > conftest.$ac_ext <<EOF
10708 #line 10709 "configure"
10709 #include "confdefs.h"
10710 /* System header to define __stub macros and hopefully few prototypes,
10711 which can conflict with char $ac_func(); below. */
10712 #include <assert.h>
10713 /* Override any gcc2 internal prototype to avoid an error. */
10714 /* We use char because int might match the return type of a gcc2
10715 builtin and then its argument prototype would still apply. */
10720 /* The GNU C library defines this for functions which it implements
10721 to always fail with ENOSYS. Some functions are actually named
10722 something starting with __ and the normal name is an alias. */
10723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10731 if { (eval echo configure:10732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10733 eval "ac_cv_func_$ac_func=yes"
10735 echo "configure: failed program was:" >&5
10736 cat conftest.$ac_ext >&5
10738 eval "ac_cv_func_$ac_func=no"
10743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10744 echo "$ac_t""yes" 1>&6
10745 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10746 cat >> confdefs.h <<EOF
10747 #define $ac_tr_func 1
10751 echo "$ac_t""no" 1>&6
10757 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
10758 echo "configure:10759: checking for _finitef declaration" >&5
10759 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
10760 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
10761 echo $ac_n "(cached) $ac_c" 1>&6
10766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10767 ac_cpp='$CXXCPP $CPPFLAGS'
10768 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10769 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10770 cross_compiling=$ac_cv_prog_cxx_cross
10772 cat > conftest.$ac_ext <<EOF
10773 #line 10774 "configure"
10774 #include "confdefs.h"
10776 #ifdef HAVE_IEEEFP_H
10777 #include <ieeefp.h>
10784 if { (eval echo configure:10785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10786 glibcpp_cv_func__finitef_use=yes
10788 echo "configure: failed program was:" >&5
10789 cat conftest.$ac_ext >&5
10791 glibcpp_cv_func__finitef_use=no
10795 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10796 ac_cpp='$CPP $CPPFLAGS'
10797 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10798 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10799 cross_compiling=$ac_cv_prog_cc_cross
10805 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
10807 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
10808 for ac_func in _finitef
10810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10811 echo "configure:10812: checking for $ac_func" >&5
10812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10813 echo $ac_n "(cached) $ac_c" 1>&6
10815 cat > conftest.$ac_ext <<EOF
10816 #line 10817 "configure"
10817 #include "confdefs.h"
10818 /* System header to define __stub macros and hopefully few prototypes,
10819 which can conflict with char $ac_func(); below. */
10820 #include <assert.h>
10821 /* Override any gcc2 internal prototype to avoid an error. */
10822 /* We use char because int might match the return type of a gcc2
10823 builtin and then its argument prototype would still apply. */
10828 /* The GNU C library defines this for functions which it implements
10829 to always fail with ENOSYS. Some functions are actually named
10830 something starting with __ and the normal name is an alias. */
10831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10839 if { (eval echo configure:10840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10841 eval "ac_cv_func_$ac_func=yes"
10843 echo "configure: failed program was:" >&5
10844 cat conftest.$ac_ext >&5
10846 eval "ac_cv_func_$ac_func=no"
10851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10852 echo "$ac_t""yes" 1>&6
10853 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10854 cat >> confdefs.h <<EOF
10855 #define $ac_tr_func 1
10859 echo "$ac_t""no" 1>&6
10868 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
10869 echo "configure:10870: checking for long double trig functions" >&5
10870 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
10871 echo $ac_n "(cached) $ac_c" 1>&6
10876 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10877 ac_cpp='$CXXCPP $CPPFLAGS'
10878 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10879 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10880 cross_compiling=$ac_cv_prog_cxx_cross
10882 cat > conftest.$ac_ext <<EOF
10883 #line 10884 "configure"
10884 #include "confdefs.h"
10887 `for x in acosl asinl atanl \
10889 coshl sinhl tanhl; do echo "$x (0);"; done`
10892 if { (eval echo configure:10893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10894 glibcpp_cv_func_long_double_trig_use=yes
10896 echo "configure: failed program was:" >&5
10897 cat conftest.$ac_ext >&5
10899 glibcpp_cv_func_long_double_trig_use=no
10903 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10904 ac_cpp='$CPP $CPPFLAGS'
10905 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10906 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10907 cross_compiling=$ac_cv_prog_cc_cross
10911 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
10912 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
10913 for ac_func in acosl asinl atanl \
10917 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10918 echo "configure:10919: checking for $ac_func" >&5
10919 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10920 echo $ac_n "(cached) $ac_c" 1>&6
10922 cat > conftest.$ac_ext <<EOF
10923 #line 10924 "configure"
10924 #include "confdefs.h"
10925 /* System header to define __stub macros and hopefully few prototypes,
10926 which can conflict with char $ac_func(); below. */
10927 #include <assert.h>
10928 /* Override any gcc2 internal prototype to avoid an error. */
10929 /* We use char because int might match the return type of a gcc2
10930 builtin and then its argument prototype would still apply. */
10935 /* The GNU C library defines this for functions which it implements
10936 to always fail with ENOSYS. Some functions are actually named
10937 something starting with __ and the normal name is an alias. */
10938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10946 if { (eval echo configure:10947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10948 eval "ac_cv_func_$ac_func=yes"
10950 echo "configure: failed program was:" >&5
10951 cat conftest.$ac_ext >&5
10953 eval "ac_cv_func_$ac_func=no"
10958 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10959 echo "$ac_t""yes" 1>&6
10960 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10961 cat >> confdefs.h <<EOF
10962 #define $ac_tr_func 1
10966 echo "$ac_t""no" 1>&6
10973 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
10974 echo "configure:10975: checking for long double round functions" >&5
10975 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
10976 echo $ac_n "(cached) $ac_c" 1>&6
10981 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10982 ac_cpp='$CXXCPP $CPPFLAGS'
10983 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10984 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10985 cross_compiling=$ac_cv_prog_cxx_cross
10987 cat > conftest.$ac_ext <<EOF
10988 #line 10989 "configure"
10989 #include "confdefs.h"
10992 `for x in ceill floorl; do echo "$x (0);"; done`
10995 if { (eval echo configure:10996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10997 glibcpp_cv_func_long_double_round_use=yes
10999 echo "configure: failed program was:" >&5
11000 cat conftest.$ac_ext >&5
11002 glibcpp_cv_func_long_double_round_use=no
11006 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11007 ac_cpp='$CPP $CPPFLAGS'
11008 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11009 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11010 cross_compiling=$ac_cv_prog_cc_cross
11014 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11015 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
11016 for ac_func in ceill floorl
11018 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11019 echo "configure:11020: checking for $ac_func" >&5
11020 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11021 echo $ac_n "(cached) $ac_c" 1>&6
11023 cat > conftest.$ac_ext <<EOF
11024 #line 11025 "configure"
11025 #include "confdefs.h"
11026 /* System header to define __stub macros and hopefully few prototypes,
11027 which can conflict with char $ac_func(); below. */
11028 #include <assert.h>
11029 /* Override any gcc2 internal prototype to avoid an error. */
11030 /* We use char because int might match the return type of a gcc2
11031 builtin and then its argument prototype would still apply. */
11036 /* The GNU C library defines this for functions which it implements
11037 to always fail with ENOSYS. Some functions are actually named
11038 something starting with __ and the normal name is an alias. */
11039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11047 if { (eval echo configure:11048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11049 eval "ac_cv_func_$ac_func=yes"
11051 echo "configure: failed program was:" >&5
11052 cat conftest.$ac_ext >&5
11054 eval "ac_cv_func_$ac_func=no"
11059 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11060 echo "$ac_t""yes" 1>&6
11061 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11062 cat >> confdefs.h <<EOF
11063 #define $ac_tr_func 1
11067 echo "$ac_t""no" 1>&6
11075 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
11076 echo "configure:11077: checking for isnanl declaration" >&5
11077 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
11078 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11079 echo $ac_n "(cached) $ac_c" 1>&6
11084 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11085 ac_cpp='$CXXCPP $CPPFLAGS'
11086 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11087 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11088 cross_compiling=$ac_cv_prog_cxx_cross
11090 cat > conftest.$ac_ext <<EOF
11091 #line 11092 "configure"
11092 #include "confdefs.h"
11094 #ifdef HAVE_IEEEFP_H
11095 #include <ieeefp.h>
11102 if { (eval echo configure:11103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11104 glibcpp_cv_func_isnanl_use=yes
11106 echo "configure: failed program was:" >&5
11107 cat conftest.$ac_ext >&5
11109 glibcpp_cv_func_isnanl_use=no
11113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11114 ac_cpp='$CPP $CPPFLAGS'
11115 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11116 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11117 cross_compiling=$ac_cv_prog_cc_cross
11123 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11125 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
11126 for ac_func in isnanl
11128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11129 echo "configure:11130: checking for $ac_func" >&5
11130 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11131 echo $ac_n "(cached) $ac_c" 1>&6
11133 cat > conftest.$ac_ext <<EOF
11134 #line 11135 "configure"
11135 #include "confdefs.h"
11136 /* System header to define __stub macros and hopefully few prototypes,
11137 which can conflict with char $ac_func(); below. */
11138 #include <assert.h>
11139 /* Override any gcc2 internal prototype to avoid an error. */
11140 /* We use char because int might match the return type of a gcc2
11141 builtin and then its argument prototype would still apply. */
11146 /* The GNU C library defines this for functions which it implements
11147 to always fail with ENOSYS. Some functions are actually named
11148 something starting with __ and the normal name is an alias. */
11149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11157 if { (eval echo configure:11158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11159 eval "ac_cv_func_$ac_func=yes"
11161 echo "configure: failed program was:" >&5
11162 cat conftest.$ac_ext >&5
11164 eval "ac_cv_func_$ac_func=no"
11169 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11170 echo "$ac_t""yes" 1>&6
11171 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11172 cat >> confdefs.h <<EOF
11173 #define $ac_tr_func 1
11177 echo "$ac_t""no" 1>&6
11183 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
11184 echo "configure:11185: checking for _isnanl declaration" >&5
11185 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
11186 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
11187 echo $ac_n "(cached) $ac_c" 1>&6
11192 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11193 ac_cpp='$CXXCPP $CPPFLAGS'
11194 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11195 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11196 cross_compiling=$ac_cv_prog_cxx_cross
11198 cat > conftest.$ac_ext <<EOF
11199 #line 11200 "configure"
11200 #include "confdefs.h"
11202 #ifdef HAVE_IEEEFP_H
11203 #include <ieeefp.h>
11210 if { (eval echo configure:11211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11212 glibcpp_cv_func__isnanl_use=yes
11214 echo "configure: failed program was:" >&5
11215 cat conftest.$ac_ext >&5
11217 glibcpp_cv_func__isnanl_use=no
11221 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11222 ac_cpp='$CPP $CPPFLAGS'
11223 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11224 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11225 cross_compiling=$ac_cv_prog_cc_cross
11231 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11233 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
11234 for ac_func in _isnanl
11236 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11237 echo "configure:11238: checking for $ac_func" >&5
11238 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11239 echo $ac_n "(cached) $ac_c" 1>&6
11241 cat > conftest.$ac_ext <<EOF
11242 #line 11243 "configure"
11243 #include "confdefs.h"
11244 /* System header to define __stub macros and hopefully few prototypes,
11245 which can conflict with char $ac_func(); below. */
11246 #include <assert.h>
11247 /* Override any gcc2 internal prototype to avoid an error. */
11248 /* We use char because int might match the return type of a gcc2
11249 builtin and then its argument prototype would still apply. */
11254 /* The GNU C library defines this for functions which it implements
11255 to always fail with ENOSYS. Some functions are actually named
11256 something starting with __ and the normal name is an alias. */
11257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11265 if { (eval echo configure:11266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11267 eval "ac_cv_func_$ac_func=yes"
11269 echo "configure: failed program was:" >&5
11270 cat conftest.$ac_ext >&5
11272 eval "ac_cv_func_$ac_func=no"
11277 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11278 echo "$ac_t""yes" 1>&6
11279 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11280 cat >> confdefs.h <<EOF
11281 #define $ac_tr_func 1
11285 echo "$ac_t""no" 1>&6
11294 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
11295 echo "configure:11296: checking for isinfl declaration" >&5
11296 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
11297 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
11298 echo $ac_n "(cached) $ac_c" 1>&6
11303 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11304 ac_cpp='$CXXCPP $CPPFLAGS'
11305 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11306 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11307 cross_compiling=$ac_cv_prog_cxx_cross
11309 cat > conftest.$ac_ext <<EOF
11310 #line 11311 "configure"
11311 #include "confdefs.h"
11313 #ifdef HAVE_IEEEFP_H
11314 #include <ieeefp.h>
11321 if { (eval echo configure:11322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11323 glibcpp_cv_func_isinfl_use=yes
11325 echo "configure: failed program was:" >&5
11326 cat conftest.$ac_ext >&5
11328 glibcpp_cv_func_isinfl_use=no
11332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11333 ac_cpp='$CPP $CPPFLAGS'
11334 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11335 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11336 cross_compiling=$ac_cv_prog_cc_cross
11342 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
11344 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
11345 for ac_func in isinfl
11347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11348 echo "configure:11349: checking for $ac_func" >&5
11349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11350 echo $ac_n "(cached) $ac_c" 1>&6
11352 cat > conftest.$ac_ext <<EOF
11353 #line 11354 "configure"
11354 #include "confdefs.h"
11355 /* System header to define __stub macros and hopefully few prototypes,
11356 which can conflict with char $ac_func(); below. */
11357 #include <assert.h>
11358 /* Override any gcc2 internal prototype to avoid an error. */
11359 /* We use char because int might match the return type of a gcc2
11360 builtin and then its argument prototype would still apply. */
11365 /* The GNU C library defines this for functions which it implements
11366 to always fail with ENOSYS. Some functions are actually named
11367 something starting with __ and the normal name is an alias. */
11368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11376 if { (eval echo configure:11377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11378 eval "ac_cv_func_$ac_func=yes"
11380 echo "configure: failed program was:" >&5
11381 cat conftest.$ac_ext >&5
11383 eval "ac_cv_func_$ac_func=no"
11388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11389 echo "$ac_t""yes" 1>&6
11390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11391 cat >> confdefs.h <<EOF
11392 #define $ac_tr_func 1
11396 echo "$ac_t""no" 1>&6
11402 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
11403 echo "configure:11404: checking for _isinfl declaration" >&5
11404 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
11405 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
11406 echo $ac_n "(cached) $ac_c" 1>&6
11411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11412 ac_cpp='$CXXCPP $CPPFLAGS'
11413 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11414 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11415 cross_compiling=$ac_cv_prog_cxx_cross
11417 cat > conftest.$ac_ext <<EOF
11418 #line 11419 "configure"
11419 #include "confdefs.h"
11421 #ifdef HAVE_IEEEFP_H
11422 #include <ieeefp.h>
11429 if { (eval echo configure:11430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11431 glibcpp_cv_func__isinfl_use=yes
11433 echo "configure: failed program was:" >&5
11434 cat conftest.$ac_ext >&5
11436 glibcpp_cv_func__isinfl_use=no
11440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11441 ac_cpp='$CPP $CPPFLAGS'
11442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11444 cross_compiling=$ac_cv_prog_cc_cross
11450 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
11452 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
11453 for ac_func in _isinfl
11455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11456 echo "configure:11457: checking for $ac_func" >&5
11457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11458 echo $ac_n "(cached) $ac_c" 1>&6
11460 cat > conftest.$ac_ext <<EOF
11461 #line 11462 "configure"
11462 #include "confdefs.h"
11463 /* System header to define __stub macros and hopefully few prototypes,
11464 which can conflict with char $ac_func(); below. */
11465 #include <assert.h>
11466 /* Override any gcc2 internal prototype to avoid an error. */
11467 /* We use char because int might match the return type of a gcc2
11468 builtin and then its argument prototype would still apply. */
11473 /* The GNU C library defines this for functions which it implements
11474 to always fail with ENOSYS. Some functions are actually named
11475 something starting with __ and the normal name is an alias. */
11476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11484 if { (eval echo configure:11485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11486 eval "ac_cv_func_$ac_func=yes"
11488 echo "configure: failed program was:" >&5
11489 cat conftest.$ac_ext >&5
11491 eval "ac_cv_func_$ac_func=no"
11496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11497 echo "$ac_t""yes" 1>&6
11498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11499 cat >> confdefs.h <<EOF
11500 #define $ac_tr_func 1
11504 echo "$ac_t""no" 1>&6
11513 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
11514 echo "configure:11515: checking for copysignl declaration" >&5
11515 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
11516 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
11517 echo $ac_n "(cached) $ac_c" 1>&6
11522 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11523 ac_cpp='$CXXCPP $CPPFLAGS'
11524 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11525 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11526 cross_compiling=$ac_cv_prog_cxx_cross
11528 cat > conftest.$ac_ext <<EOF
11529 #line 11530 "configure"
11530 #include "confdefs.h"
11536 if { (eval echo configure:11537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11538 glibcpp_cv_func_copysignl_use=yes
11540 echo "configure: failed program was:" >&5
11541 cat conftest.$ac_ext >&5
11543 glibcpp_cv_func_copysignl_use=no
11547 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11548 ac_cpp='$CPP $CPPFLAGS'
11549 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11550 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11551 cross_compiling=$ac_cv_prog_cc_cross
11557 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
11559 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
11560 for ac_func in copysignl
11562 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11563 echo "configure:11564: checking for $ac_func" >&5
11564 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11565 echo $ac_n "(cached) $ac_c" 1>&6
11567 cat > conftest.$ac_ext <<EOF
11568 #line 11569 "configure"
11569 #include "confdefs.h"
11570 /* System header to define __stub macros and hopefully few prototypes,
11571 which can conflict with char $ac_func(); below. */
11572 #include <assert.h>
11573 /* Override any gcc2 internal prototype to avoid an error. */
11574 /* We use char because int might match the return type of a gcc2
11575 builtin and then its argument prototype would still apply. */
11580 /* The GNU C library defines this for functions which it implements
11581 to always fail with ENOSYS. Some functions are actually named
11582 something starting with __ and the normal name is an alias. */
11583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11591 if { (eval echo configure:11592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11593 eval "ac_cv_func_$ac_func=yes"
11595 echo "configure: failed program was:" >&5
11596 cat conftest.$ac_ext >&5
11598 eval "ac_cv_func_$ac_func=no"
11603 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11604 echo "$ac_t""yes" 1>&6
11605 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11606 cat >> confdefs.h <<EOF
11607 #define $ac_tr_func 1
11611 echo "$ac_t""no" 1>&6
11617 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
11618 echo "configure:11619: checking for _copysignl declaration" >&5
11619 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
11620 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
11621 echo $ac_n "(cached) $ac_c" 1>&6
11626 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11627 ac_cpp='$CXXCPP $CPPFLAGS'
11628 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11629 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11630 cross_compiling=$ac_cv_prog_cxx_cross
11632 cat > conftest.$ac_ext <<EOF
11633 #line 11634 "configure"
11634 #include "confdefs.h"
11640 if { (eval echo configure:11641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11642 glibcpp_cv_func__copysignl_use=yes
11644 echo "configure: failed program was:" >&5
11645 cat conftest.$ac_ext >&5
11647 glibcpp_cv_func__copysignl_use=no
11651 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11652 ac_cpp='$CPP $CPPFLAGS'
11653 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11654 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11655 cross_compiling=$ac_cv_prog_cc_cross
11661 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
11663 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
11664 for ac_func in _copysignl
11666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11667 echo "configure:11668: checking for $ac_func" >&5
11668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11669 echo $ac_n "(cached) $ac_c" 1>&6
11671 cat > conftest.$ac_ext <<EOF
11672 #line 11673 "configure"
11673 #include "confdefs.h"
11674 /* System header to define __stub macros and hopefully few prototypes,
11675 which can conflict with char $ac_func(); below. */
11676 #include <assert.h>
11677 /* Override any gcc2 internal prototype to avoid an error. */
11678 /* We use char because int might match the return type of a gcc2
11679 builtin and then its argument prototype would still apply. */
11684 /* The GNU C library defines this for functions which it implements
11685 to always fail with ENOSYS. Some functions are actually named
11686 something starting with __ and the normal name is an alias. */
11687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11695 if { (eval echo configure:11696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11697 eval "ac_cv_func_$ac_func=yes"
11699 echo "configure: failed program was:" >&5
11700 cat conftest.$ac_ext >&5
11702 eval "ac_cv_func_$ac_func=no"
11707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11708 echo "$ac_t""yes" 1>&6
11709 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11710 cat >> confdefs.h <<EOF
11711 #define $ac_tr_func 1
11715 echo "$ac_t""no" 1>&6
11724 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
11725 echo "configure:11726: checking for atan2l declaration" >&5
11726 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
11727 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
11728 echo $ac_n "(cached) $ac_c" 1>&6
11733 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11734 ac_cpp='$CXXCPP $CPPFLAGS'
11735 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11736 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11737 cross_compiling=$ac_cv_prog_cxx_cross
11739 cat > conftest.$ac_ext <<EOF
11740 #line 11741 "configure"
11741 #include "confdefs.h"
11747 if { (eval echo configure:11748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11749 glibcpp_cv_func_atan2l_use=yes
11751 echo "configure: failed program was:" >&5
11752 cat conftest.$ac_ext >&5
11754 glibcpp_cv_func_atan2l_use=no
11758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11759 ac_cpp='$CPP $CPPFLAGS'
11760 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11761 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11762 cross_compiling=$ac_cv_prog_cc_cross
11768 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
11770 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
11771 for ac_func in atan2l
11773 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11774 echo "configure:11775: checking for $ac_func" >&5
11775 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11776 echo $ac_n "(cached) $ac_c" 1>&6
11778 cat > conftest.$ac_ext <<EOF
11779 #line 11780 "configure"
11780 #include "confdefs.h"
11781 /* System header to define __stub macros and hopefully few prototypes,
11782 which can conflict with char $ac_func(); below. */
11783 #include <assert.h>
11784 /* Override any gcc2 internal prototype to avoid an error. */
11785 /* We use char because int might match the return type of a gcc2
11786 builtin and then its argument prototype would still apply. */
11791 /* The GNU C library defines this for functions which it implements
11792 to always fail with ENOSYS. Some functions are actually named
11793 something starting with __ and the normal name is an alias. */
11794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11802 if { (eval echo configure:11803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11804 eval "ac_cv_func_$ac_func=yes"
11806 echo "configure: failed program was:" >&5
11807 cat conftest.$ac_ext >&5
11809 eval "ac_cv_func_$ac_func=no"
11814 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11815 echo "$ac_t""yes" 1>&6
11816 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11817 cat >> confdefs.h <<EOF
11818 #define $ac_tr_func 1
11822 echo "$ac_t""no" 1>&6
11828 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
11829 echo "configure:11830: checking for _atan2l declaration" >&5
11830 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
11831 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
11832 echo $ac_n "(cached) $ac_c" 1>&6
11837 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11838 ac_cpp='$CXXCPP $CPPFLAGS'
11839 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11840 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11841 cross_compiling=$ac_cv_prog_cxx_cross
11843 cat > conftest.$ac_ext <<EOF
11844 #line 11845 "configure"
11845 #include "confdefs.h"
11851 if { (eval echo configure:11852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11853 glibcpp_cv_func__atan2l_use=yes
11855 echo "configure: failed program was:" >&5
11856 cat conftest.$ac_ext >&5
11858 glibcpp_cv_func__atan2l_use=no
11862 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11863 ac_cpp='$CPP $CPPFLAGS'
11864 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11865 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11866 cross_compiling=$ac_cv_prog_cc_cross
11872 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
11874 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
11875 for ac_func in _atan2l
11877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11878 echo "configure:11879: checking for $ac_func" >&5
11879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11880 echo $ac_n "(cached) $ac_c" 1>&6
11882 cat > conftest.$ac_ext <<EOF
11883 #line 11884 "configure"
11884 #include "confdefs.h"
11885 /* System header to define __stub macros and hopefully few prototypes,
11886 which can conflict with char $ac_func(); below. */
11887 #include <assert.h>
11888 /* Override any gcc2 internal prototype to avoid an error. */
11889 /* We use char because int might match the return type of a gcc2
11890 builtin and then its argument prototype would still apply. */
11895 /* The GNU C library defines this for functions which it implements
11896 to always fail with ENOSYS. Some functions are actually named
11897 something starting with __ and the normal name is an alias. */
11898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11906 if { (eval echo configure:11907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11908 eval "ac_cv_func_$ac_func=yes"
11910 echo "configure: failed program was:" >&5
11911 cat conftest.$ac_ext >&5
11913 eval "ac_cv_func_$ac_func=no"
11918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11919 echo "$ac_t""yes" 1>&6
11920 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11921 cat >> confdefs.h <<EOF
11922 #define $ac_tr_func 1
11926 echo "$ac_t""no" 1>&6
11935 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
11936 echo "configure:11937: checking for expl declaration" >&5
11937 if test x${glibcpp_cv_func_expl_use+set} != xset; then
11938 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
11939 echo $ac_n "(cached) $ac_c" 1>&6
11944 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11945 ac_cpp='$CXXCPP $CPPFLAGS'
11946 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11947 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11948 cross_compiling=$ac_cv_prog_cxx_cross
11950 cat > conftest.$ac_ext <<EOF
11951 #line 11952 "configure"
11952 #include "confdefs.h"
11954 #ifdef HAVE_IEEEFP_H
11955 #include <ieeefp.h>
11962 if { (eval echo configure:11963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11964 glibcpp_cv_func_expl_use=yes
11966 echo "configure: failed program was:" >&5
11967 cat conftest.$ac_ext >&5
11969 glibcpp_cv_func_expl_use=no
11973 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11974 ac_cpp='$CPP $CPPFLAGS'
11975 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11976 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11977 cross_compiling=$ac_cv_prog_cc_cross
11983 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
11985 if test x$glibcpp_cv_func_expl_use = x"yes"; then
11986 for ac_func in expl
11988 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11989 echo "configure:11990: checking for $ac_func" >&5
11990 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11991 echo $ac_n "(cached) $ac_c" 1>&6
11993 cat > conftest.$ac_ext <<EOF
11994 #line 11995 "configure"
11995 #include "confdefs.h"
11996 /* System header to define __stub macros and hopefully few prototypes,
11997 which can conflict with char $ac_func(); below. */
11998 #include <assert.h>
11999 /* Override any gcc2 internal prototype to avoid an error. */
12000 /* We use char because int might match the return type of a gcc2
12001 builtin and then its argument prototype would still apply. */
12006 /* The GNU C library defines this for functions which it implements
12007 to always fail with ENOSYS. Some functions are actually named
12008 something starting with __ and the normal name is an alias. */
12009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12017 if { (eval echo configure:12018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12019 eval "ac_cv_func_$ac_func=yes"
12021 echo "configure: failed program was:" >&5
12022 cat conftest.$ac_ext >&5
12024 eval "ac_cv_func_$ac_func=no"
12029 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12030 echo "$ac_t""yes" 1>&6
12031 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12032 cat >> confdefs.h <<EOF
12033 #define $ac_tr_func 1
12037 echo "$ac_t""no" 1>&6
12043 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
12044 echo "configure:12045: checking for _expl declaration" >&5
12045 if test x${glibcpp_cv_func__expl_use+set} != xset; then
12046 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12047 echo $ac_n "(cached) $ac_c" 1>&6
12052 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12053 ac_cpp='$CXXCPP $CPPFLAGS'
12054 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12055 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12056 cross_compiling=$ac_cv_prog_cxx_cross
12058 cat > conftest.$ac_ext <<EOF
12059 #line 12060 "configure"
12060 #include "confdefs.h"
12062 #ifdef HAVE_IEEEFP_H
12063 #include <ieeefp.h>
12070 if { (eval echo configure:12071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12072 glibcpp_cv_func__expl_use=yes
12074 echo "configure: failed program was:" >&5
12075 cat conftest.$ac_ext >&5
12077 glibcpp_cv_func__expl_use=no
12081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12082 ac_cpp='$CPP $CPPFLAGS'
12083 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12084 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12085 cross_compiling=$ac_cv_prog_cc_cross
12091 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12093 if test x$glibcpp_cv_func__expl_use = x"yes"; then
12094 for ac_func in _expl
12096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12097 echo "configure:12098: checking for $ac_func" >&5
12098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12099 echo $ac_n "(cached) $ac_c" 1>&6
12101 cat > conftest.$ac_ext <<EOF
12102 #line 12103 "configure"
12103 #include "confdefs.h"
12104 /* System header to define __stub macros and hopefully few prototypes,
12105 which can conflict with char $ac_func(); below. */
12106 #include <assert.h>
12107 /* Override any gcc2 internal prototype to avoid an error. */
12108 /* We use char because int might match the return type of a gcc2
12109 builtin and then its argument prototype would still apply. */
12114 /* The GNU C library defines this for functions which it implements
12115 to always fail with ENOSYS. Some functions are actually named
12116 something starting with __ and the normal name is an alias. */
12117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12125 if { (eval echo configure:12126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12127 eval "ac_cv_func_$ac_func=yes"
12129 echo "configure: failed program was:" >&5
12130 cat conftest.$ac_ext >&5
12132 eval "ac_cv_func_$ac_func=no"
12137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12138 echo "$ac_t""yes" 1>&6
12139 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12140 cat >> confdefs.h <<EOF
12141 #define $ac_tr_func 1
12145 echo "$ac_t""no" 1>&6
12154 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
12155 echo "configure:12156: checking for fabsl declaration" >&5
12156 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
12157 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
12158 echo $ac_n "(cached) $ac_c" 1>&6
12163 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12164 ac_cpp='$CXXCPP $CPPFLAGS'
12165 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12166 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12167 cross_compiling=$ac_cv_prog_cxx_cross
12169 cat > conftest.$ac_ext <<EOF
12170 #line 12171 "configure"
12171 #include "confdefs.h"
12173 #ifdef HAVE_IEEEFP_H
12174 #include <ieeefp.h>
12181 if { (eval echo configure:12182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12183 glibcpp_cv_func_fabsl_use=yes
12185 echo "configure: failed program was:" >&5
12186 cat conftest.$ac_ext >&5
12188 glibcpp_cv_func_fabsl_use=no
12192 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12193 ac_cpp='$CPP $CPPFLAGS'
12194 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12195 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12196 cross_compiling=$ac_cv_prog_cc_cross
12202 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
12204 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
12205 for ac_func in fabsl
12207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12208 echo "configure:12209: checking for $ac_func" >&5
12209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12210 echo $ac_n "(cached) $ac_c" 1>&6
12212 cat > conftest.$ac_ext <<EOF
12213 #line 12214 "configure"
12214 #include "confdefs.h"
12215 /* System header to define __stub macros and hopefully few prototypes,
12216 which can conflict with char $ac_func(); below. */
12217 #include <assert.h>
12218 /* Override any gcc2 internal prototype to avoid an error. */
12219 /* We use char because int might match the return type of a gcc2
12220 builtin and then its argument prototype would still apply. */
12225 /* The GNU C library defines this for functions which it implements
12226 to always fail with ENOSYS. Some functions are actually named
12227 something starting with __ and the normal name is an alias. */
12228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12236 if { (eval echo configure:12237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12238 eval "ac_cv_func_$ac_func=yes"
12240 echo "configure: failed program was:" >&5
12241 cat conftest.$ac_ext >&5
12243 eval "ac_cv_func_$ac_func=no"
12248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12249 echo "$ac_t""yes" 1>&6
12250 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12251 cat >> confdefs.h <<EOF
12252 #define $ac_tr_func 1
12256 echo "$ac_t""no" 1>&6
12262 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
12263 echo "configure:12264: checking for _fabsl declaration" >&5
12264 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
12265 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12266 echo $ac_n "(cached) $ac_c" 1>&6
12271 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12272 ac_cpp='$CXXCPP $CPPFLAGS'
12273 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12274 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12275 cross_compiling=$ac_cv_prog_cxx_cross
12277 cat > conftest.$ac_ext <<EOF
12278 #line 12279 "configure"
12279 #include "confdefs.h"
12281 #ifdef HAVE_IEEEFP_H
12282 #include <ieeefp.h>
12289 if { (eval echo configure:12290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12291 glibcpp_cv_func__fabsl_use=yes
12293 echo "configure: failed program was:" >&5
12294 cat conftest.$ac_ext >&5
12296 glibcpp_cv_func__fabsl_use=no
12300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12301 ac_cpp='$CPP $CPPFLAGS'
12302 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12303 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12304 cross_compiling=$ac_cv_prog_cc_cross
12310 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
12312 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
12313 for ac_func in _fabsl
12315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12316 echo "configure:12317: checking for $ac_func" >&5
12317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12318 echo $ac_n "(cached) $ac_c" 1>&6
12320 cat > conftest.$ac_ext <<EOF
12321 #line 12322 "configure"
12322 #include "confdefs.h"
12323 /* System header to define __stub macros and hopefully few prototypes,
12324 which can conflict with char $ac_func(); below. */
12325 #include <assert.h>
12326 /* Override any gcc2 internal prototype to avoid an error. */
12327 /* We use char because int might match the return type of a gcc2
12328 builtin and then its argument prototype would still apply. */
12333 /* The GNU C library defines this for functions which it implements
12334 to always fail with ENOSYS. Some functions are actually named
12335 something starting with __ and the normal name is an alias. */
12336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12344 if { (eval echo configure:12345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12346 eval "ac_cv_func_$ac_func=yes"
12348 echo "configure: failed program was:" >&5
12349 cat conftest.$ac_ext >&5
12351 eval "ac_cv_func_$ac_func=no"
12356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12357 echo "$ac_t""yes" 1>&6
12358 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12359 cat >> confdefs.h <<EOF
12360 #define $ac_tr_func 1
12364 echo "$ac_t""no" 1>&6
12373 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
12374 echo "configure:12375: checking for fmodl declaration" >&5
12375 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
12376 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
12377 echo $ac_n "(cached) $ac_c" 1>&6
12382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12383 ac_cpp='$CXXCPP $CPPFLAGS'
12384 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12385 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12386 cross_compiling=$ac_cv_prog_cxx_cross
12388 cat > conftest.$ac_ext <<EOF
12389 #line 12390 "configure"
12390 #include "confdefs.h"
12396 if { (eval echo configure:12397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12398 glibcpp_cv_func_fmodl_use=yes
12400 echo "configure: failed program was:" >&5
12401 cat conftest.$ac_ext >&5
12403 glibcpp_cv_func_fmodl_use=no
12407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12408 ac_cpp='$CPP $CPPFLAGS'
12409 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12410 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12411 cross_compiling=$ac_cv_prog_cc_cross
12417 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
12419 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
12420 for ac_func in fmodl
12422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12423 echo "configure:12424: checking for $ac_func" >&5
12424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12425 echo $ac_n "(cached) $ac_c" 1>&6
12427 cat > conftest.$ac_ext <<EOF
12428 #line 12429 "configure"
12429 #include "confdefs.h"
12430 /* System header to define __stub macros and hopefully few prototypes,
12431 which can conflict with char $ac_func(); below. */
12432 #include <assert.h>
12433 /* Override any gcc2 internal prototype to avoid an error. */
12434 /* We use char because int might match the return type of a gcc2
12435 builtin and then its argument prototype would still apply. */
12440 /* The GNU C library defines this for functions which it implements
12441 to always fail with ENOSYS. Some functions are actually named
12442 something starting with __ and the normal name is an alias. */
12443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12451 if { (eval echo configure:12452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12453 eval "ac_cv_func_$ac_func=yes"
12455 echo "configure: failed program was:" >&5
12456 cat conftest.$ac_ext >&5
12458 eval "ac_cv_func_$ac_func=no"
12463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12464 echo "$ac_t""yes" 1>&6
12465 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12466 cat >> confdefs.h <<EOF
12467 #define $ac_tr_func 1
12471 echo "$ac_t""no" 1>&6
12477 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
12478 echo "configure:12479: checking for _fmodl declaration" >&5
12479 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
12480 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
12481 echo $ac_n "(cached) $ac_c" 1>&6
12486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12487 ac_cpp='$CXXCPP $CPPFLAGS'
12488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12490 cross_compiling=$ac_cv_prog_cxx_cross
12492 cat > conftest.$ac_ext <<EOF
12493 #line 12494 "configure"
12494 #include "confdefs.h"
12500 if { (eval echo configure:12501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12502 glibcpp_cv_func__fmodl_use=yes
12504 echo "configure: failed program was:" >&5
12505 cat conftest.$ac_ext >&5
12507 glibcpp_cv_func__fmodl_use=no
12511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12512 ac_cpp='$CPP $CPPFLAGS'
12513 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12514 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12515 cross_compiling=$ac_cv_prog_cc_cross
12521 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
12523 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
12524 for ac_func in _fmodl
12526 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12527 echo "configure:12528: checking for $ac_func" >&5
12528 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12529 echo $ac_n "(cached) $ac_c" 1>&6
12531 cat > conftest.$ac_ext <<EOF
12532 #line 12533 "configure"
12533 #include "confdefs.h"
12534 /* System header to define __stub macros and hopefully few prototypes,
12535 which can conflict with char $ac_func(); below. */
12536 #include <assert.h>
12537 /* Override any gcc2 internal prototype to avoid an error. */
12538 /* We use char because int might match the return type of a gcc2
12539 builtin and then its argument prototype would still apply. */
12544 /* The GNU C library defines this for functions which it implements
12545 to always fail with ENOSYS. Some functions are actually named
12546 something starting with __ and the normal name is an alias. */
12547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12555 if { (eval echo configure:12556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12557 eval "ac_cv_func_$ac_func=yes"
12559 echo "configure: failed program was:" >&5
12560 cat conftest.$ac_ext >&5
12562 eval "ac_cv_func_$ac_func=no"
12567 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12568 echo "$ac_t""yes" 1>&6
12569 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12570 cat >> confdefs.h <<EOF
12571 #define $ac_tr_func 1
12575 echo "$ac_t""no" 1>&6
12584 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
12585 echo "configure:12586: checking for frexpl declaration" >&5
12586 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
12587 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
12588 echo $ac_n "(cached) $ac_c" 1>&6
12593 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12594 ac_cpp='$CXXCPP $CPPFLAGS'
12595 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12596 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12597 cross_compiling=$ac_cv_prog_cxx_cross
12599 cat > conftest.$ac_ext <<EOF
12600 #line 12601 "configure"
12601 #include "confdefs.h"
12607 if { (eval echo configure:12608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12609 glibcpp_cv_func_frexpl_use=yes
12611 echo "configure: failed program was:" >&5
12612 cat conftest.$ac_ext >&5
12614 glibcpp_cv_func_frexpl_use=no
12618 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12619 ac_cpp='$CPP $CPPFLAGS'
12620 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12621 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12622 cross_compiling=$ac_cv_prog_cc_cross
12628 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
12630 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
12631 for ac_func in frexpl
12633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12634 echo "configure:12635: checking for $ac_func" >&5
12635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12636 echo $ac_n "(cached) $ac_c" 1>&6
12638 cat > conftest.$ac_ext <<EOF
12639 #line 12640 "configure"
12640 #include "confdefs.h"
12641 /* System header to define __stub macros and hopefully few prototypes,
12642 which can conflict with char $ac_func(); below. */
12643 #include <assert.h>
12644 /* Override any gcc2 internal prototype to avoid an error. */
12645 /* We use char because int might match the return type of a gcc2
12646 builtin and then its argument prototype would still apply. */
12651 /* The GNU C library defines this for functions which it implements
12652 to always fail with ENOSYS. Some functions are actually named
12653 something starting with __ and the normal name is an alias. */
12654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12662 if { (eval echo configure:12663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12664 eval "ac_cv_func_$ac_func=yes"
12666 echo "configure: failed program was:" >&5
12667 cat conftest.$ac_ext >&5
12669 eval "ac_cv_func_$ac_func=no"
12674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12675 echo "$ac_t""yes" 1>&6
12676 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12677 cat >> confdefs.h <<EOF
12678 #define $ac_tr_func 1
12682 echo "$ac_t""no" 1>&6
12688 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
12689 echo "configure:12690: checking for _frexpl declaration" >&5
12690 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
12691 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
12692 echo $ac_n "(cached) $ac_c" 1>&6
12697 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12698 ac_cpp='$CXXCPP $CPPFLAGS'
12699 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12700 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12701 cross_compiling=$ac_cv_prog_cxx_cross
12703 cat > conftest.$ac_ext <<EOF
12704 #line 12705 "configure"
12705 #include "confdefs.h"
12711 if { (eval echo configure:12712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12713 glibcpp_cv_func__frexpl_use=yes
12715 echo "configure: failed program was:" >&5
12716 cat conftest.$ac_ext >&5
12718 glibcpp_cv_func__frexpl_use=no
12722 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12723 ac_cpp='$CPP $CPPFLAGS'
12724 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12725 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12726 cross_compiling=$ac_cv_prog_cc_cross
12732 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
12734 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
12735 for ac_func in _frexpl
12737 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12738 echo "configure:12739: checking for $ac_func" >&5
12739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12740 echo $ac_n "(cached) $ac_c" 1>&6
12742 cat > conftest.$ac_ext <<EOF
12743 #line 12744 "configure"
12744 #include "confdefs.h"
12745 /* System header to define __stub macros and hopefully few prototypes,
12746 which can conflict with char $ac_func(); below. */
12747 #include <assert.h>
12748 /* Override any gcc2 internal prototype to avoid an error. */
12749 /* We use char because int might match the return type of a gcc2
12750 builtin and then its argument prototype would still apply. */
12755 /* The GNU C library defines this for functions which it implements
12756 to always fail with ENOSYS. Some functions are actually named
12757 something starting with __ and the normal name is an alias. */
12758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12766 if { (eval echo configure:12767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12768 eval "ac_cv_func_$ac_func=yes"
12770 echo "configure: failed program was:" >&5
12771 cat conftest.$ac_ext >&5
12773 eval "ac_cv_func_$ac_func=no"
12778 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12779 echo "$ac_t""yes" 1>&6
12780 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12781 cat >> confdefs.h <<EOF
12782 #define $ac_tr_func 1
12786 echo "$ac_t""no" 1>&6
12795 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
12796 echo "configure:12797: checking for ldexpl declaration" >&5
12797 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
12798 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
12799 echo $ac_n "(cached) $ac_c" 1>&6
12804 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12805 ac_cpp='$CXXCPP $CPPFLAGS'
12806 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12807 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12808 cross_compiling=$ac_cv_prog_cxx_cross
12810 cat > conftest.$ac_ext <<EOF
12811 #line 12812 "configure"
12812 #include "confdefs.h"
12818 if { (eval echo configure:12819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12820 glibcpp_cv_func_ldexpl_use=yes
12822 echo "configure: failed program was:" >&5
12823 cat conftest.$ac_ext >&5
12825 glibcpp_cv_func_ldexpl_use=no
12829 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12830 ac_cpp='$CPP $CPPFLAGS'
12831 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12832 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12833 cross_compiling=$ac_cv_prog_cc_cross
12839 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
12841 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
12842 for ac_func in ldexpl
12844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12845 echo "configure:12846: checking for $ac_func" >&5
12846 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12847 echo $ac_n "(cached) $ac_c" 1>&6
12849 cat > conftest.$ac_ext <<EOF
12850 #line 12851 "configure"
12851 #include "confdefs.h"
12852 /* System header to define __stub macros and hopefully few prototypes,
12853 which can conflict with char $ac_func(); below. */
12854 #include <assert.h>
12855 /* Override any gcc2 internal prototype to avoid an error. */
12856 /* We use char because int might match the return type of a gcc2
12857 builtin and then its argument prototype would still apply. */
12862 /* The GNU C library defines this for functions which it implements
12863 to always fail with ENOSYS. Some functions are actually named
12864 something starting with __ and the normal name is an alias. */
12865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12873 if { (eval echo configure:12874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12875 eval "ac_cv_func_$ac_func=yes"
12877 echo "configure: failed program was:" >&5
12878 cat conftest.$ac_ext >&5
12880 eval "ac_cv_func_$ac_func=no"
12885 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12886 echo "$ac_t""yes" 1>&6
12887 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12888 cat >> confdefs.h <<EOF
12889 #define $ac_tr_func 1
12893 echo "$ac_t""no" 1>&6
12899 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
12900 echo "configure:12901: checking for _ldexpl declaration" >&5
12901 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
12902 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
12903 echo $ac_n "(cached) $ac_c" 1>&6
12908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12909 ac_cpp='$CXXCPP $CPPFLAGS'
12910 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12911 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12912 cross_compiling=$ac_cv_prog_cxx_cross
12914 cat > conftest.$ac_ext <<EOF
12915 #line 12916 "configure"
12916 #include "confdefs.h"
12922 if { (eval echo configure:12923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12924 glibcpp_cv_func__ldexpl_use=yes
12926 echo "configure: failed program was:" >&5
12927 cat conftest.$ac_ext >&5
12929 glibcpp_cv_func__ldexpl_use=no
12933 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12934 ac_cpp='$CPP $CPPFLAGS'
12935 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12936 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12937 cross_compiling=$ac_cv_prog_cc_cross
12943 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
12945 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
12946 for ac_func in _ldexpl
12948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12949 echo "configure:12950: checking for $ac_func" >&5
12950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12951 echo $ac_n "(cached) $ac_c" 1>&6
12953 cat > conftest.$ac_ext <<EOF
12954 #line 12955 "configure"
12955 #include "confdefs.h"
12956 /* System header to define __stub macros and hopefully few prototypes,
12957 which can conflict with char $ac_func(); below. */
12958 #include <assert.h>
12959 /* Override any gcc2 internal prototype to avoid an error. */
12960 /* We use char because int might match the return type of a gcc2
12961 builtin and then its argument prototype would still apply. */
12966 /* The GNU C library defines this for functions which it implements
12967 to always fail with ENOSYS. Some functions are actually named
12968 something starting with __ and the normal name is an alias. */
12969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12977 if { (eval echo configure:12978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12979 eval "ac_cv_func_$ac_func=yes"
12981 echo "configure: failed program was:" >&5
12982 cat conftest.$ac_ext >&5
12984 eval "ac_cv_func_$ac_func=no"
12989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12990 echo "$ac_t""yes" 1>&6
12991 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12992 cat >> confdefs.h <<EOF
12993 #define $ac_tr_func 1
12997 echo "$ac_t""no" 1>&6
13006 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
13007 echo "configure:13008: checking for logl declaration" >&5
13008 if test x${glibcpp_cv_func_logl_use+set} != xset; then
13009 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
13010 echo $ac_n "(cached) $ac_c" 1>&6
13015 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13016 ac_cpp='$CXXCPP $CPPFLAGS'
13017 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13018 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13019 cross_compiling=$ac_cv_prog_cxx_cross
13021 cat > conftest.$ac_ext <<EOF
13022 #line 13023 "configure"
13023 #include "confdefs.h"
13025 #ifdef HAVE_IEEEFP_H
13026 #include <ieeefp.h>
13033 if { (eval echo configure:13034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13035 glibcpp_cv_func_logl_use=yes
13037 echo "configure: failed program was:" >&5
13038 cat conftest.$ac_ext >&5
13040 glibcpp_cv_func_logl_use=no
13044 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13045 ac_cpp='$CPP $CPPFLAGS'
13046 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13047 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13048 cross_compiling=$ac_cv_prog_cc_cross
13054 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
13056 if test x$glibcpp_cv_func_logl_use = x"yes"; then
13057 for ac_func in logl
13059 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13060 echo "configure:13061: checking for $ac_func" >&5
13061 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13062 echo $ac_n "(cached) $ac_c" 1>&6
13064 cat > conftest.$ac_ext <<EOF
13065 #line 13066 "configure"
13066 #include "confdefs.h"
13067 /* System header to define __stub macros and hopefully few prototypes,
13068 which can conflict with char $ac_func(); below. */
13069 #include <assert.h>
13070 /* Override any gcc2 internal prototype to avoid an error. */
13071 /* We use char because int might match the return type of a gcc2
13072 builtin and then its argument prototype would still apply. */
13077 /* The GNU C library defines this for functions which it implements
13078 to always fail with ENOSYS. Some functions are actually named
13079 something starting with __ and the normal name is an alias. */
13080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13088 if { (eval echo configure:13089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13090 eval "ac_cv_func_$ac_func=yes"
13092 echo "configure: failed program was:" >&5
13093 cat conftest.$ac_ext >&5
13095 eval "ac_cv_func_$ac_func=no"
13100 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13101 echo "$ac_t""yes" 1>&6
13102 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13103 cat >> confdefs.h <<EOF
13104 #define $ac_tr_func 1
13108 echo "$ac_t""no" 1>&6
13114 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
13115 echo "configure:13116: checking for _logl declaration" >&5
13116 if test x${glibcpp_cv_func__logl_use+set} != xset; then
13117 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
13118 echo $ac_n "(cached) $ac_c" 1>&6
13123 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13124 ac_cpp='$CXXCPP $CPPFLAGS'
13125 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13126 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13127 cross_compiling=$ac_cv_prog_cxx_cross
13129 cat > conftest.$ac_ext <<EOF
13130 #line 13131 "configure"
13131 #include "confdefs.h"
13133 #ifdef HAVE_IEEEFP_H
13134 #include <ieeefp.h>
13141 if { (eval echo configure:13142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13143 glibcpp_cv_func__logl_use=yes
13145 echo "configure: failed program was:" >&5
13146 cat conftest.$ac_ext >&5
13148 glibcpp_cv_func__logl_use=no
13152 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13153 ac_cpp='$CPP $CPPFLAGS'
13154 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13155 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13156 cross_compiling=$ac_cv_prog_cc_cross
13162 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
13164 if test x$glibcpp_cv_func__logl_use = x"yes"; then
13165 for ac_func in _logl
13167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13168 echo "configure:13169: checking for $ac_func" >&5
13169 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13170 echo $ac_n "(cached) $ac_c" 1>&6
13172 cat > conftest.$ac_ext <<EOF
13173 #line 13174 "configure"
13174 #include "confdefs.h"
13175 /* System header to define __stub macros and hopefully few prototypes,
13176 which can conflict with char $ac_func(); below. */
13177 #include <assert.h>
13178 /* Override any gcc2 internal prototype to avoid an error. */
13179 /* We use char because int might match the return type of a gcc2
13180 builtin and then its argument prototype would still apply. */
13185 /* The GNU C library defines this for functions which it implements
13186 to always fail with ENOSYS. Some functions are actually named
13187 something starting with __ and the normal name is an alias. */
13188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13196 if { (eval echo configure:13197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13198 eval "ac_cv_func_$ac_func=yes"
13200 echo "configure: failed program was:" >&5
13201 cat conftest.$ac_ext >&5
13203 eval "ac_cv_func_$ac_func=no"
13208 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13209 echo "$ac_t""yes" 1>&6
13210 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13211 cat >> confdefs.h <<EOF
13212 #define $ac_tr_func 1
13216 echo "$ac_t""no" 1>&6
13225 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
13226 echo "configure:13227: checking for log10l declaration" >&5
13227 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
13228 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
13229 echo $ac_n "(cached) $ac_c" 1>&6
13234 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13235 ac_cpp='$CXXCPP $CPPFLAGS'
13236 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13237 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13238 cross_compiling=$ac_cv_prog_cxx_cross
13240 cat > conftest.$ac_ext <<EOF
13241 #line 13242 "configure"
13242 #include "confdefs.h"
13244 #ifdef HAVE_IEEEFP_H
13245 #include <ieeefp.h>
13252 if { (eval echo configure:13253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13254 glibcpp_cv_func_log10l_use=yes
13256 echo "configure: failed program was:" >&5
13257 cat conftest.$ac_ext >&5
13259 glibcpp_cv_func_log10l_use=no
13263 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13264 ac_cpp='$CPP $CPPFLAGS'
13265 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13266 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13267 cross_compiling=$ac_cv_prog_cc_cross
13273 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
13275 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
13276 for ac_func in log10l
13278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13279 echo "configure:13280: checking for $ac_func" >&5
13280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13281 echo $ac_n "(cached) $ac_c" 1>&6
13283 cat > conftest.$ac_ext <<EOF
13284 #line 13285 "configure"
13285 #include "confdefs.h"
13286 /* System header to define __stub macros and hopefully few prototypes,
13287 which can conflict with char $ac_func(); below. */
13288 #include <assert.h>
13289 /* Override any gcc2 internal prototype to avoid an error. */
13290 /* We use char because int might match the return type of a gcc2
13291 builtin and then its argument prototype would still apply. */
13296 /* The GNU C library defines this for functions which it implements
13297 to always fail with ENOSYS. Some functions are actually named
13298 something starting with __ and the normal name is an alias. */
13299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13307 if { (eval echo configure:13308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13309 eval "ac_cv_func_$ac_func=yes"
13311 echo "configure: failed program was:" >&5
13312 cat conftest.$ac_ext >&5
13314 eval "ac_cv_func_$ac_func=no"
13319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13320 echo "$ac_t""yes" 1>&6
13321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13322 cat >> confdefs.h <<EOF
13323 #define $ac_tr_func 1
13327 echo "$ac_t""no" 1>&6
13333 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
13334 echo "configure:13335: checking for _log10l declaration" >&5
13335 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
13336 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
13337 echo $ac_n "(cached) $ac_c" 1>&6
13342 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13343 ac_cpp='$CXXCPP $CPPFLAGS'
13344 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13345 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13346 cross_compiling=$ac_cv_prog_cxx_cross
13348 cat > conftest.$ac_ext <<EOF
13349 #line 13350 "configure"
13350 #include "confdefs.h"
13352 #ifdef HAVE_IEEEFP_H
13353 #include <ieeefp.h>
13360 if { (eval echo configure:13361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13362 glibcpp_cv_func__log10l_use=yes
13364 echo "configure: failed program was:" >&5
13365 cat conftest.$ac_ext >&5
13367 glibcpp_cv_func__log10l_use=no
13371 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13372 ac_cpp='$CPP $CPPFLAGS'
13373 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13374 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13375 cross_compiling=$ac_cv_prog_cc_cross
13381 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
13383 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
13384 for ac_func in _log10l
13386 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13387 echo "configure:13388: checking for $ac_func" >&5
13388 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13389 echo $ac_n "(cached) $ac_c" 1>&6
13391 cat > conftest.$ac_ext <<EOF
13392 #line 13393 "configure"
13393 #include "confdefs.h"
13394 /* System header to define __stub macros and hopefully few prototypes,
13395 which can conflict with char $ac_func(); below. */
13396 #include <assert.h>
13397 /* Override any gcc2 internal prototype to avoid an error. */
13398 /* We use char because int might match the return type of a gcc2
13399 builtin and then its argument prototype would still apply. */
13404 /* The GNU C library defines this for functions which it implements
13405 to always fail with ENOSYS. Some functions are actually named
13406 something starting with __ and the normal name is an alias. */
13407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13415 if { (eval echo configure:13416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13417 eval "ac_cv_func_$ac_func=yes"
13419 echo "configure: failed program was:" >&5
13420 cat conftest.$ac_ext >&5
13422 eval "ac_cv_func_$ac_func=no"
13427 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13428 echo "$ac_t""yes" 1>&6
13429 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13430 cat >> confdefs.h <<EOF
13431 #define $ac_tr_func 1
13435 echo "$ac_t""no" 1>&6
13444 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
13445 echo "configure:13446: checking for modfl declaration" >&5
13446 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
13447 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
13448 echo $ac_n "(cached) $ac_c" 1>&6
13453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13454 ac_cpp='$CXXCPP $CPPFLAGS'
13455 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13456 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13457 cross_compiling=$ac_cv_prog_cxx_cross
13459 cat > conftest.$ac_ext <<EOF
13460 #line 13461 "configure"
13461 #include "confdefs.h"
13467 if { (eval echo configure:13468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13469 glibcpp_cv_func_modfl_use=yes
13471 echo "configure: failed program was:" >&5
13472 cat conftest.$ac_ext >&5
13474 glibcpp_cv_func_modfl_use=no
13478 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13479 ac_cpp='$CPP $CPPFLAGS'
13480 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13481 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13482 cross_compiling=$ac_cv_prog_cc_cross
13488 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
13490 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
13491 for ac_func in modfl
13493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13494 echo "configure:13495: checking for $ac_func" >&5
13495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13496 echo $ac_n "(cached) $ac_c" 1>&6
13498 cat > conftest.$ac_ext <<EOF
13499 #line 13500 "configure"
13500 #include "confdefs.h"
13501 /* System header to define __stub macros and hopefully few prototypes,
13502 which can conflict with char $ac_func(); below. */
13503 #include <assert.h>
13504 /* Override any gcc2 internal prototype to avoid an error. */
13505 /* We use char because int might match the return type of a gcc2
13506 builtin and then its argument prototype would still apply. */
13511 /* The GNU C library defines this for functions which it implements
13512 to always fail with ENOSYS. Some functions are actually named
13513 something starting with __ and the normal name is an alias. */
13514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13522 if { (eval echo configure:13523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13524 eval "ac_cv_func_$ac_func=yes"
13526 echo "configure: failed program was:" >&5
13527 cat conftest.$ac_ext >&5
13529 eval "ac_cv_func_$ac_func=no"
13534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13535 echo "$ac_t""yes" 1>&6
13536 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13537 cat >> confdefs.h <<EOF
13538 #define $ac_tr_func 1
13542 echo "$ac_t""no" 1>&6
13548 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
13549 echo "configure:13550: checking for _modfl declaration" >&5
13550 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
13551 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13552 echo $ac_n "(cached) $ac_c" 1>&6
13557 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13558 ac_cpp='$CXXCPP $CPPFLAGS'
13559 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13560 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13561 cross_compiling=$ac_cv_prog_cxx_cross
13563 cat > conftest.$ac_ext <<EOF
13564 #line 13565 "configure"
13565 #include "confdefs.h"
13571 if { (eval echo configure:13572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13573 glibcpp_cv_func__modfl_use=yes
13575 echo "configure: failed program was:" >&5
13576 cat conftest.$ac_ext >&5
13578 glibcpp_cv_func__modfl_use=no
13582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13583 ac_cpp='$CPP $CPPFLAGS'
13584 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13585 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13586 cross_compiling=$ac_cv_prog_cc_cross
13592 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13594 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
13595 for ac_func in _modfl
13597 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13598 echo "configure:13599: checking for $ac_func" >&5
13599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13600 echo $ac_n "(cached) $ac_c" 1>&6
13602 cat > conftest.$ac_ext <<EOF
13603 #line 13604 "configure"
13604 #include "confdefs.h"
13605 /* System header to define __stub macros and hopefully few prototypes,
13606 which can conflict with char $ac_func(); below. */
13607 #include <assert.h>
13608 /* Override any gcc2 internal prototype to avoid an error. */
13609 /* We use char because int might match the return type of a gcc2
13610 builtin and then its argument prototype would still apply. */
13615 /* The GNU C library defines this for functions which it implements
13616 to always fail with ENOSYS. Some functions are actually named
13617 something starting with __ and the normal name is an alias. */
13618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13626 if { (eval echo configure:13627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13628 eval "ac_cv_func_$ac_func=yes"
13630 echo "configure: failed program was:" >&5
13631 cat conftest.$ac_ext >&5
13633 eval "ac_cv_func_$ac_func=no"
13638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13639 echo "$ac_t""yes" 1>&6
13640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13641 cat >> confdefs.h <<EOF
13642 #define $ac_tr_func 1
13646 echo "$ac_t""no" 1>&6
13655 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
13656 echo "configure:13657: checking for powl declaration" >&5
13657 if test x${glibcpp_cv_func_powl_use+set} != xset; then
13658 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
13659 echo $ac_n "(cached) $ac_c" 1>&6
13664 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13665 ac_cpp='$CXXCPP $CPPFLAGS'
13666 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13667 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13668 cross_compiling=$ac_cv_prog_cxx_cross
13670 cat > conftest.$ac_ext <<EOF
13671 #line 13672 "configure"
13672 #include "confdefs.h"
13678 if { (eval echo configure:13679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13680 glibcpp_cv_func_powl_use=yes
13682 echo "configure: failed program was:" >&5
13683 cat conftest.$ac_ext >&5
13685 glibcpp_cv_func_powl_use=no
13689 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13690 ac_cpp='$CPP $CPPFLAGS'
13691 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13692 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13693 cross_compiling=$ac_cv_prog_cc_cross
13699 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
13701 if test x$glibcpp_cv_func_powl_use = x"yes"; then
13702 for ac_func in powl
13704 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13705 echo "configure:13706: checking for $ac_func" >&5
13706 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13707 echo $ac_n "(cached) $ac_c" 1>&6
13709 cat > conftest.$ac_ext <<EOF
13710 #line 13711 "configure"
13711 #include "confdefs.h"
13712 /* System header to define __stub macros and hopefully few prototypes,
13713 which can conflict with char $ac_func(); below. */
13714 #include <assert.h>
13715 /* Override any gcc2 internal prototype to avoid an error. */
13716 /* We use char because int might match the return type of a gcc2
13717 builtin and then its argument prototype would still apply. */
13722 /* The GNU C library defines this for functions which it implements
13723 to always fail with ENOSYS. Some functions are actually named
13724 something starting with __ and the normal name is an alias. */
13725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13733 if { (eval echo configure:13734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13735 eval "ac_cv_func_$ac_func=yes"
13737 echo "configure: failed program was:" >&5
13738 cat conftest.$ac_ext >&5
13740 eval "ac_cv_func_$ac_func=no"
13745 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13746 echo "$ac_t""yes" 1>&6
13747 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13748 cat >> confdefs.h <<EOF
13749 #define $ac_tr_func 1
13753 echo "$ac_t""no" 1>&6
13759 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
13760 echo "configure:13761: checking for _powl declaration" >&5
13761 if test x${glibcpp_cv_func__powl_use+set} != xset; then
13762 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
13763 echo $ac_n "(cached) $ac_c" 1>&6
13768 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13769 ac_cpp='$CXXCPP $CPPFLAGS'
13770 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13771 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13772 cross_compiling=$ac_cv_prog_cxx_cross
13774 cat > conftest.$ac_ext <<EOF
13775 #line 13776 "configure"
13776 #include "confdefs.h"
13782 if { (eval echo configure:13783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13784 glibcpp_cv_func__powl_use=yes
13786 echo "configure: failed program was:" >&5
13787 cat conftest.$ac_ext >&5
13789 glibcpp_cv_func__powl_use=no
13793 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13794 ac_cpp='$CPP $CPPFLAGS'
13795 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13796 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13797 cross_compiling=$ac_cv_prog_cc_cross
13803 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
13805 if test x$glibcpp_cv_func__powl_use = x"yes"; then
13806 for ac_func in _powl
13808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13809 echo "configure:13810: checking for $ac_func" >&5
13810 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13811 echo $ac_n "(cached) $ac_c" 1>&6
13813 cat > conftest.$ac_ext <<EOF
13814 #line 13815 "configure"
13815 #include "confdefs.h"
13816 /* System header to define __stub macros and hopefully few prototypes,
13817 which can conflict with char $ac_func(); below. */
13818 #include <assert.h>
13819 /* Override any gcc2 internal prototype to avoid an error. */
13820 /* We use char because int might match the return type of a gcc2
13821 builtin and then its argument prototype would still apply. */
13826 /* The GNU C library defines this for functions which it implements
13827 to always fail with ENOSYS. Some functions are actually named
13828 something starting with __ and the normal name is an alias. */
13829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13837 if { (eval echo configure:13838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13839 eval "ac_cv_func_$ac_func=yes"
13841 echo "configure: failed program was:" >&5
13842 cat conftest.$ac_ext >&5
13844 eval "ac_cv_func_$ac_func=no"
13849 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13850 echo "$ac_t""yes" 1>&6
13851 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13852 cat >> confdefs.h <<EOF
13853 #define $ac_tr_func 1
13857 echo "$ac_t""no" 1>&6
13866 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
13867 echo "configure:13868: checking for sqrtl declaration" >&5
13868 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
13869 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
13870 echo $ac_n "(cached) $ac_c" 1>&6
13875 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13876 ac_cpp='$CXXCPP $CPPFLAGS'
13877 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13878 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13879 cross_compiling=$ac_cv_prog_cxx_cross
13881 cat > conftest.$ac_ext <<EOF
13882 #line 13883 "configure"
13883 #include "confdefs.h"
13885 #ifdef HAVE_IEEEFP_H
13886 #include <ieeefp.h>
13893 if { (eval echo configure:13894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13895 glibcpp_cv_func_sqrtl_use=yes
13897 echo "configure: failed program was:" >&5
13898 cat conftest.$ac_ext >&5
13900 glibcpp_cv_func_sqrtl_use=no
13904 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13905 ac_cpp='$CPP $CPPFLAGS'
13906 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13907 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13908 cross_compiling=$ac_cv_prog_cc_cross
13914 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
13916 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
13917 for ac_func in sqrtl
13919 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13920 echo "configure:13921: checking for $ac_func" >&5
13921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13922 echo $ac_n "(cached) $ac_c" 1>&6
13924 cat > conftest.$ac_ext <<EOF
13925 #line 13926 "configure"
13926 #include "confdefs.h"
13927 /* System header to define __stub macros and hopefully few prototypes,
13928 which can conflict with char $ac_func(); below. */
13929 #include <assert.h>
13930 /* Override any gcc2 internal prototype to avoid an error. */
13931 /* We use char because int might match the return type of a gcc2
13932 builtin and then its argument prototype would still apply. */
13937 /* The GNU C library defines this for functions which it implements
13938 to always fail with ENOSYS. Some functions are actually named
13939 something starting with __ and the normal name is an alias. */
13940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13948 if { (eval echo configure:13949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13950 eval "ac_cv_func_$ac_func=yes"
13952 echo "configure: failed program was:" >&5
13953 cat conftest.$ac_ext >&5
13955 eval "ac_cv_func_$ac_func=no"
13960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13961 echo "$ac_t""yes" 1>&6
13962 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13963 cat >> confdefs.h <<EOF
13964 #define $ac_tr_func 1
13968 echo "$ac_t""no" 1>&6
13974 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
13975 echo "configure:13976: checking for _sqrtl declaration" >&5
13976 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
13977 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
13978 echo $ac_n "(cached) $ac_c" 1>&6
13983 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13984 ac_cpp='$CXXCPP $CPPFLAGS'
13985 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13986 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13987 cross_compiling=$ac_cv_prog_cxx_cross
13989 cat > conftest.$ac_ext <<EOF
13990 #line 13991 "configure"
13991 #include "confdefs.h"
13993 #ifdef HAVE_IEEEFP_H
13994 #include <ieeefp.h>
14001 if { (eval echo configure:14002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14003 glibcpp_cv_func__sqrtl_use=yes
14005 echo "configure: failed program was:" >&5
14006 cat conftest.$ac_ext >&5
14008 glibcpp_cv_func__sqrtl_use=no
14012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14013 ac_cpp='$CPP $CPPFLAGS'
14014 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14015 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14016 cross_compiling=$ac_cv_prog_cc_cross
14022 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
14024 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
14025 for ac_func in _sqrtl
14027 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14028 echo "configure:14029: checking for $ac_func" >&5
14029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14030 echo $ac_n "(cached) $ac_c" 1>&6
14032 cat > conftest.$ac_ext <<EOF
14033 #line 14034 "configure"
14034 #include "confdefs.h"
14035 /* System header to define __stub macros and hopefully few prototypes,
14036 which can conflict with char $ac_func(); below. */
14037 #include <assert.h>
14038 /* Override any gcc2 internal prototype to avoid an error. */
14039 /* We use char because int might match the return type of a gcc2
14040 builtin and then its argument prototype would still apply. */
14045 /* The GNU C library defines this for functions which it implements
14046 to always fail with ENOSYS. Some functions are actually named
14047 something starting with __ and the normal name is an alias. */
14048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14056 if { (eval echo configure:14057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14058 eval "ac_cv_func_$ac_func=yes"
14060 echo "configure: failed program was:" >&5
14061 cat conftest.$ac_ext >&5
14063 eval "ac_cv_func_$ac_func=no"
14068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14069 echo "$ac_t""yes" 1>&6
14070 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14071 cat >> confdefs.h <<EOF
14072 #define $ac_tr_func 1
14076 echo "$ac_t""no" 1>&6
14085 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
14086 echo "configure:14087: checking for sincosl declaration" >&5
14087 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
14088 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
14089 echo $ac_n "(cached) $ac_c" 1>&6
14094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14095 ac_cpp='$CXXCPP $CPPFLAGS'
14096 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14097 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14098 cross_compiling=$ac_cv_prog_cxx_cross
14100 cat > conftest.$ac_ext <<EOF
14101 #line 14102 "configure"
14102 #include "confdefs.h"
14108 if { (eval echo configure:14109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14110 glibcpp_cv_func_sincosl_use=yes
14112 echo "configure: failed program was:" >&5
14113 cat conftest.$ac_ext >&5
14115 glibcpp_cv_func_sincosl_use=no
14119 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14120 ac_cpp='$CPP $CPPFLAGS'
14121 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14122 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14123 cross_compiling=$ac_cv_prog_cc_cross
14129 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
14131 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
14132 for ac_func in sincosl
14134 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14135 echo "configure:14136: checking for $ac_func" >&5
14136 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14137 echo $ac_n "(cached) $ac_c" 1>&6
14139 cat > conftest.$ac_ext <<EOF
14140 #line 14141 "configure"
14141 #include "confdefs.h"
14142 /* System header to define __stub macros and hopefully few prototypes,
14143 which can conflict with char $ac_func(); below. */
14144 #include <assert.h>
14145 /* Override any gcc2 internal prototype to avoid an error. */
14146 /* We use char because int might match the return type of a gcc2
14147 builtin and then its argument prototype would still apply. */
14152 /* The GNU C library defines this for functions which it implements
14153 to always fail with ENOSYS. Some functions are actually named
14154 something starting with __ and the normal name is an alias. */
14155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14163 if { (eval echo configure:14164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14165 eval "ac_cv_func_$ac_func=yes"
14167 echo "configure: failed program was:" >&5
14168 cat conftest.$ac_ext >&5
14170 eval "ac_cv_func_$ac_func=no"
14175 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14176 echo "$ac_t""yes" 1>&6
14177 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14178 cat >> confdefs.h <<EOF
14179 #define $ac_tr_func 1
14183 echo "$ac_t""no" 1>&6
14189 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
14190 echo "configure:14191: checking for _sincosl declaration" >&5
14191 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
14192 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
14193 echo $ac_n "(cached) $ac_c" 1>&6
14198 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14199 ac_cpp='$CXXCPP $CPPFLAGS'
14200 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14201 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14202 cross_compiling=$ac_cv_prog_cxx_cross
14204 cat > conftest.$ac_ext <<EOF
14205 #line 14206 "configure"
14206 #include "confdefs.h"
14212 if { (eval echo configure:14213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14214 glibcpp_cv_func__sincosl_use=yes
14216 echo "configure: failed program was:" >&5
14217 cat conftest.$ac_ext >&5
14219 glibcpp_cv_func__sincosl_use=no
14223 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14224 ac_cpp='$CPP $CPPFLAGS'
14225 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14226 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14227 cross_compiling=$ac_cv_prog_cc_cross
14233 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
14235 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
14236 for ac_func in _sincosl
14238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14239 echo "configure:14240: checking for $ac_func" >&5
14240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14241 echo $ac_n "(cached) $ac_c" 1>&6
14243 cat > conftest.$ac_ext <<EOF
14244 #line 14245 "configure"
14245 #include "confdefs.h"
14246 /* System header to define __stub macros and hopefully few prototypes,
14247 which can conflict with char $ac_func(); below. */
14248 #include <assert.h>
14249 /* Override any gcc2 internal prototype to avoid an error. */
14250 /* We use char because int might match the return type of a gcc2
14251 builtin and then its argument prototype would still apply. */
14256 /* The GNU C library defines this for functions which it implements
14257 to always fail with ENOSYS. Some functions are actually named
14258 something starting with __ and the normal name is an alias. */
14259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14267 if { (eval echo configure:14268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14269 eval "ac_cv_func_$ac_func=yes"
14271 echo "configure: failed program was:" >&5
14272 cat conftest.$ac_ext >&5
14274 eval "ac_cv_func_$ac_func=no"
14279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14280 echo "$ac_t""yes" 1>&6
14281 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14282 cat >> confdefs.h <<EOF
14283 #define $ac_tr_func 1
14287 echo "$ac_t""no" 1>&6
14296 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
14297 echo "configure:14298: checking for finitel declaration" >&5
14298 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
14299 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
14300 echo $ac_n "(cached) $ac_c" 1>&6
14305 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14306 ac_cpp='$CXXCPP $CPPFLAGS'
14307 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14308 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14309 cross_compiling=$ac_cv_prog_cxx_cross
14311 cat > conftest.$ac_ext <<EOF
14312 #line 14313 "configure"
14313 #include "confdefs.h"
14315 #ifdef HAVE_IEEEFP_H
14316 #include <ieeefp.h>
14323 if { (eval echo configure:14324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14325 glibcpp_cv_func_finitel_use=yes
14327 echo "configure: failed program was:" >&5
14328 cat conftest.$ac_ext >&5
14330 glibcpp_cv_func_finitel_use=no
14334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14335 ac_cpp='$CPP $CPPFLAGS'
14336 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14337 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14338 cross_compiling=$ac_cv_prog_cc_cross
14344 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
14346 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
14347 for ac_func in finitel
14349 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14350 echo "configure:14351: checking for $ac_func" >&5
14351 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14352 echo $ac_n "(cached) $ac_c" 1>&6
14354 cat > conftest.$ac_ext <<EOF
14355 #line 14356 "configure"
14356 #include "confdefs.h"
14357 /* System header to define __stub macros and hopefully few prototypes,
14358 which can conflict with char $ac_func(); below. */
14359 #include <assert.h>
14360 /* Override any gcc2 internal prototype to avoid an error. */
14361 /* We use char because int might match the return type of a gcc2
14362 builtin and then its argument prototype would still apply. */
14367 /* The GNU C library defines this for functions which it implements
14368 to always fail with ENOSYS. Some functions are actually named
14369 something starting with __ and the normal name is an alias. */
14370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14378 if { (eval echo configure:14379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14380 eval "ac_cv_func_$ac_func=yes"
14382 echo "configure: failed program was:" >&5
14383 cat conftest.$ac_ext >&5
14385 eval "ac_cv_func_$ac_func=no"
14390 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14391 echo "$ac_t""yes" 1>&6
14392 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14393 cat >> confdefs.h <<EOF
14394 #define $ac_tr_func 1
14398 echo "$ac_t""no" 1>&6
14404 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
14405 echo "configure:14406: checking for _finitel declaration" >&5
14406 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
14407 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
14408 echo $ac_n "(cached) $ac_c" 1>&6
14413 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14414 ac_cpp='$CXXCPP $CPPFLAGS'
14415 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14416 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14417 cross_compiling=$ac_cv_prog_cxx_cross
14419 cat > conftest.$ac_ext <<EOF
14420 #line 14421 "configure"
14421 #include "confdefs.h"
14423 #ifdef HAVE_IEEEFP_H
14424 #include <ieeefp.h>
14431 if { (eval echo configure:14432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14433 glibcpp_cv_func__finitel_use=yes
14435 echo "configure: failed program was:" >&5
14436 cat conftest.$ac_ext >&5
14438 glibcpp_cv_func__finitel_use=no
14442 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14443 ac_cpp='$CPP $CPPFLAGS'
14444 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14445 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14446 cross_compiling=$ac_cv_prog_cc_cross
14452 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14454 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
14455 for ac_func in _finitel
14457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14458 echo "configure:14459: checking for $ac_func" >&5
14459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14460 echo $ac_n "(cached) $ac_c" 1>&6
14462 cat > conftest.$ac_ext <<EOF
14463 #line 14464 "configure"
14464 #include "confdefs.h"
14465 /* System header to define __stub macros and hopefully few prototypes,
14466 which can conflict with char $ac_func(); below. */
14467 #include <assert.h>
14468 /* Override any gcc2 internal prototype to avoid an error. */
14469 /* We use char because int might match the return type of a gcc2
14470 builtin and then its argument prototype would still apply. */
14475 /* The GNU C library defines this for functions which it implements
14476 to always fail with ENOSYS. Some functions are actually named
14477 something starting with __ and the normal name is an alias. */
14478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14486 if { (eval echo configure:14487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14488 eval "ac_cv_func_$ac_func=yes"
14490 echo "configure: failed program was:" >&5
14491 cat conftest.$ac_ext >&5
14493 eval "ac_cv_func_$ac_func=no"
14498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14499 echo "$ac_t""yes" 1>&6
14500 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14501 cat >> confdefs.h <<EOF
14502 #define $ac_tr_func 1
14506 echo "$ac_t""no" 1>&6
14516 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
14517 echo "configure:14518: checking for _float trig functions" >&5
14518 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
14519 echo $ac_n "(cached) $ac_c" 1>&6
14524 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14525 ac_cpp='$CXXCPP $CPPFLAGS'
14526 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14527 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14528 cross_compiling=$ac_cv_prog_cxx_cross
14530 cat > conftest.$ac_ext <<EOF
14531 #line 14532 "configure"
14532 #include "confdefs.h"
14535 `for x in _acosf _asinf _atanf \
14536 _cosf _sinf _tanf \
14537 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
14540 if { (eval echo configure:14541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14542 glibcpp_cv_func__float_trig_use=yes
14544 echo "configure: failed program was:" >&5
14545 cat conftest.$ac_ext >&5
14547 glibcpp_cv_func__float_trig_use=no
14551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14552 ac_cpp='$CPP $CPPFLAGS'
14553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14555 cross_compiling=$ac_cv_prog_cc_cross
14559 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
14560 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
14561 for ac_func in _acosf _asinf _atanf \
14562 _cosf _sinf _tanf \
14563 _coshf _sinhf _tanhf
14565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14566 echo "configure:14567: checking for $ac_func" >&5
14567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14568 echo $ac_n "(cached) $ac_c" 1>&6
14570 cat > conftest.$ac_ext <<EOF
14571 #line 14572 "configure"
14572 #include "confdefs.h"
14573 /* System header to define __stub macros and hopefully few prototypes,
14574 which can conflict with char $ac_func(); below. */
14575 #include <assert.h>
14576 /* Override any gcc2 internal prototype to avoid an error. */
14577 /* We use char because int might match the return type of a gcc2
14578 builtin and then its argument prototype would still apply. */
14583 /* The GNU C library defines this for functions which it implements
14584 to always fail with ENOSYS. Some functions are actually named
14585 something starting with __ and the normal name is an alias. */
14586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14594 if { (eval echo configure:14595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14596 eval "ac_cv_func_$ac_func=yes"
14598 echo "configure: failed program was:" >&5
14599 cat conftest.$ac_ext >&5
14601 eval "ac_cv_func_$ac_func=no"
14606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14607 echo "$ac_t""yes" 1>&6
14608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14609 cat >> confdefs.h <<EOF
14610 #define $ac_tr_func 1
14614 echo "$ac_t""no" 1>&6
14621 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
14622 echo "configure:14623: checking for _float round functions" >&5
14623 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
14624 echo $ac_n "(cached) $ac_c" 1>&6
14629 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14630 ac_cpp='$CXXCPP $CPPFLAGS'
14631 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14632 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14633 cross_compiling=$ac_cv_prog_cxx_cross
14635 cat > conftest.$ac_ext <<EOF
14636 #line 14637 "configure"
14637 #include "confdefs.h"
14640 `for x in _ceilf _floorf; do echo "$x (0);"; done`
14643 if { (eval echo configure:14644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14645 glibcpp_cv_func__float_round_use=yes
14647 echo "configure: failed program was:" >&5
14648 cat conftest.$ac_ext >&5
14650 glibcpp_cv_func__float_round_use=no
14654 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14655 ac_cpp='$CPP $CPPFLAGS'
14656 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14657 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14658 cross_compiling=$ac_cv_prog_cc_cross
14662 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
14663 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
14664 for ac_func in _ceilf _floorf
14666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14667 echo "configure:14668: checking for $ac_func" >&5
14668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14669 echo $ac_n "(cached) $ac_c" 1>&6
14671 cat > conftest.$ac_ext <<EOF
14672 #line 14673 "configure"
14673 #include "confdefs.h"
14674 /* System header to define __stub macros and hopefully few prototypes,
14675 which can conflict with char $ac_func(); below. */
14676 #include <assert.h>
14677 /* Override any gcc2 internal prototype to avoid an error. */
14678 /* We use char because int might match the return type of a gcc2
14679 builtin and then its argument prototype would still apply. */
14684 /* The GNU C library defines this for functions which it implements
14685 to always fail with ENOSYS. Some functions are actually named
14686 something starting with __ and the normal name is an alias. */
14687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14695 if { (eval echo configure:14696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14697 eval "ac_cv_func_$ac_func=yes"
14699 echo "configure: failed program was:" >&5
14700 cat conftest.$ac_ext >&5
14702 eval "ac_cv_func_$ac_func=no"
14707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14708 echo "$ac_t""yes" 1>&6
14709 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14710 cat >> confdefs.h <<EOF
14711 #define $ac_tr_func 1
14715 echo "$ac_t""no" 1>&6
14723 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
14724 echo "configure:14725: checking for _long double trig functions" >&5
14725 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
14726 echo $ac_n "(cached) $ac_c" 1>&6
14731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14732 ac_cpp='$CXXCPP $CPPFLAGS'
14733 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14734 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14735 cross_compiling=$ac_cv_prog_cxx_cross
14737 cat > conftest.$ac_ext <<EOF
14738 #line 14739 "configure"
14739 #include "confdefs.h"
14742 `for x in _acosl _asinl _atanl \
14743 _cosl _sinl _tanl \
14744 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
14747 if { (eval echo configure:14748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14749 glibcpp_cv_func__long_double_trig_use=yes
14751 echo "configure: failed program was:" >&5
14752 cat conftest.$ac_ext >&5
14754 glibcpp_cv_func__long_double_trig_use=no
14758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14759 ac_cpp='$CPP $CPPFLAGS'
14760 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14761 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14762 cross_compiling=$ac_cv_prog_cc_cross
14766 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
14767 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
14768 for ac_func in _acosl _asinl _atanl \
14769 _cosl _sinl _tanl \
14770 _coshl _sinhl _tanhl
14772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14773 echo "configure:14774: checking for $ac_func" >&5
14774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14775 echo $ac_n "(cached) $ac_c" 1>&6
14777 cat > conftest.$ac_ext <<EOF
14778 #line 14779 "configure"
14779 #include "confdefs.h"
14780 /* System header to define __stub macros and hopefully few prototypes,
14781 which can conflict with char $ac_func(); below. */
14782 #include <assert.h>
14783 /* Override any gcc2 internal prototype to avoid an error. */
14784 /* We use char because int might match the return type of a gcc2
14785 builtin and then its argument prototype would still apply. */
14790 /* The GNU C library defines this for functions which it implements
14791 to always fail with ENOSYS. Some functions are actually named
14792 something starting with __ and the normal name is an alias. */
14793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14801 if { (eval echo configure:14802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14803 eval "ac_cv_func_$ac_func=yes"
14805 echo "configure: failed program was:" >&5
14806 cat conftest.$ac_ext >&5
14808 eval "ac_cv_func_$ac_func=no"
14813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14814 echo "$ac_t""yes" 1>&6
14815 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14816 cat >> confdefs.h <<EOF
14817 #define $ac_tr_func 1
14821 echo "$ac_t""no" 1>&6
14828 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
14829 echo "configure:14830: checking for _long double round functions" >&5
14830 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
14831 echo $ac_n "(cached) $ac_c" 1>&6
14836 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14837 ac_cpp='$CXXCPP $CPPFLAGS'
14838 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14839 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14840 cross_compiling=$ac_cv_prog_cxx_cross
14842 cat > conftest.$ac_ext <<EOF
14843 #line 14844 "configure"
14844 #include "confdefs.h"
14847 `for x in _ceill _floorl; do echo "$x (0);"; done`
14850 if { (eval echo configure:14851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14852 glibcpp_cv_func__long_double_round_use=yes
14854 echo "configure: failed program was:" >&5
14855 cat conftest.$ac_ext >&5
14857 glibcpp_cv_func__long_double_round_use=no
14861 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14862 ac_cpp='$CPP $CPPFLAGS'
14863 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14864 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14865 cross_compiling=$ac_cv_prog_cc_cross
14869 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
14870 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
14871 for ac_func in _ceill _floorl
14873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14874 echo "configure:14875: checking for $ac_func" >&5
14875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14876 echo $ac_n "(cached) $ac_c" 1>&6
14878 cat > conftest.$ac_ext <<EOF
14879 #line 14880 "configure"
14880 #include "confdefs.h"
14881 /* System header to define __stub macros and hopefully few prototypes,
14882 which can conflict with char $ac_func(); below. */
14883 #include <assert.h>
14884 /* Override any gcc2 internal prototype to avoid an error. */
14885 /* We use char because int might match the return type of a gcc2
14886 builtin and then its argument prototype would still apply. */
14891 /* The GNU C library defines this for functions which it implements
14892 to always fail with ENOSYS. Some functions are actually named
14893 something starting with __ and the normal name is an alias. */
14894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14902 if { (eval echo configure:14903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14904 eval "ac_cv_func_$ac_func=yes"
14906 echo "configure: failed program was:" >&5
14907 cat conftest.$ac_ext >&5
14909 eval "ac_cv_func_$ac_func=no"
14914 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14915 echo "$ac_t""yes" 1>&6
14916 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14917 cat >> confdefs.h <<EOF
14918 #define $ac_tr_func 1
14922 echo "$ac_t""no" 1>&6
14929 LIBS="$ac_save_LIBS"
14930 CXXFLAGS="$ac_save_CXXFLAGS"
14933 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
14934 echo "configure:14935: checking for main in -lm" >&5
14935 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
14936 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14937 echo $ac_n "(cached) $ac_c" 1>&6
14939 ac_save_LIBS="$LIBS"
14941 cat > conftest.$ac_ext <<EOF
14942 #line 14943 "configure"
14943 #include "confdefs.h"
14949 if { (eval echo configure:14950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14951 eval "ac_cv_lib_$ac_lib_var=yes"
14953 echo "configure: failed program was:" >&5
14954 cat conftest.$ac_ext >&5
14956 eval "ac_cv_lib_$ac_lib_var=no"
14959 LIBS="$ac_save_LIBS"
14962 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14963 echo "$ac_t""yes" 1>&6
14964 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
14965 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
14966 cat >> confdefs.h <<EOF
14967 #define $ac_tr_lib 1
14973 echo "$ac_t""no" 1>&6
14976 for ac_func in nan hypot hypotf copysignf
14978 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14979 echo "configure:14980: checking for $ac_func" >&5
14980 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14981 echo $ac_n "(cached) $ac_c" 1>&6
14983 cat > conftest.$ac_ext <<EOF
14984 #line 14985 "configure"
14985 #include "confdefs.h"
14986 /* System header to define __stub macros and hopefully few prototypes,
14987 which can conflict with char $ac_func(); below. */
14988 #include <assert.h>
14989 /* Override any gcc2 internal prototype to avoid an error. */
14990 /* We use char because int might match the return type of a gcc2
14991 builtin and then its argument prototype would still apply. */
14996 /* The GNU C library defines this for functions which it implements
14997 to always fail with ENOSYS. Some functions are actually named
14998 something starting with __ and the normal name is an alias. */
14999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15007 if { (eval echo configure:15008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15009 eval "ac_cv_func_$ac_func=yes"
15011 echo "configure: failed program was:" >&5
15012 cat conftest.$ac_ext >&5
15014 eval "ac_cv_func_$ac_func=no"
15019 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15020 echo "$ac_t""yes" 1>&6
15021 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15022 cat >> confdefs.h <<EOF
15023 #define $ac_tr_func 1
15027 echo "$ac_t""no" 1>&6
15028 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15034 USE_COMPLEX_LONG_DOUBLE=no
15035 if test x$ac_cv_func_atan2l = x"yes" &&
15036 test x$ac_cv_func_copysignl = x"yes"; then
15037 USE_COMPLEX_LONG_DOUBLE=yes
15038 for ac_func in hypotl signbitl
15040 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15041 echo "configure:15042: checking for $ac_func" >&5
15042 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15043 echo $ac_n "(cached) $ac_c" 1>&6
15045 cat > conftest.$ac_ext <<EOF
15046 #line 15047 "configure"
15047 #include "confdefs.h"
15048 /* System header to define __stub macros and hopefully few prototypes,
15049 which can conflict with char $ac_func(); below. */
15050 #include <assert.h>
15051 /* Override any gcc2 internal prototype to avoid an error. */
15052 /* We use char because int might match the return type of a gcc2
15053 builtin and then its argument prototype would still apply. */
15058 /* The GNU C library defines this for functions which it implements
15059 to always fail with ENOSYS. Some functions are actually named
15060 something starting with __ and the normal name is an alias. */
15061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15069 if { (eval echo configure:15070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15071 eval "ac_cv_func_$ac_func=yes"
15073 echo "configure: failed program was:" >&5
15074 cat conftest.$ac_ext >&5
15076 eval "ac_cv_func_$ac_func=no"
15081 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15082 echo "$ac_t""yes" 1>&6
15083 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15084 cat >> confdefs.h <<EOF
15085 #define $ac_tr_func 1
15089 echo "$ac_t""no" 1>&6
15090 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15101 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
15102 echo "configure:15103: checking for mbstate_t" >&5
15103 cat > conftest.$ac_ext <<EOF
15104 #line 15105 "configure"
15105 #include "confdefs.h"
15108 mbstate_t teststate;
15111 if { (eval echo configure:15112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15115 echo "configure: failed program was:" >&5
15116 cat conftest.$ac_ext >&5
15121 echo "$ac_t""$have_mbstate_t" 1>&6
15122 if test x"$have_mbstate_t" = xyes; then
15123 cat >> confdefs.h <<\EOF
15124 #define HAVE_MBSTATE_T 1
15129 for ac_hdr in wchar.h
15131 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15132 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15133 echo "configure:15134: checking for $ac_hdr" >&5
15134 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15135 echo $ac_n "(cached) $ac_c" 1>&6
15137 cat > conftest.$ac_ext <<EOF
15138 #line 15139 "configure"
15139 #include "confdefs.h"
15142 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15143 { (eval echo configure:15144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15145 if test -z "$ac_err"; then
15147 eval "ac_cv_header_$ac_safe=yes"
15150 echo "configure: failed program was:" >&5
15151 cat conftest.$ac_ext >&5
15153 eval "ac_cv_header_$ac_safe=no"
15157 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15158 echo "$ac_t""yes" 1>&6
15159 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15160 cat >> confdefs.h <<EOF
15161 #define $ac_tr_hdr 1
15165 echo "$ac_t""no" 1>&6
15170 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
15171 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
15172 echo "configure:15173: checking for wctype.h" >&5
15173 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15174 echo $ac_n "(cached) $ac_c" 1>&6
15176 cat > conftest.$ac_ext <<EOF
15177 #line 15178 "configure"
15178 #include "confdefs.h"
15179 #include <wctype.h>
15181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15182 { (eval echo configure:15183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15183 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15184 if test -z "$ac_err"; then
15186 eval "ac_cv_header_$ac_safe=yes"
15189 echo "configure: failed program was:" >&5
15190 cat conftest.$ac_ext >&5
15192 eval "ac_cv_header_$ac_safe=no"
15196 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15197 echo "$ac_t""yes" 1>&6
15198 ac_has_wctype_h=yes
15200 echo "$ac_t""no" 1>&6
15205 if test x"$ac_has_wchar_h" = xyes &&
15206 test x"$ac_has_wctype_h" = xyes &&
15207 test x"$enable_c_mbchar" != xno; then
15209 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
15210 echo "configure:15211: checking for WCHAR_MIN and WCHAR_MAX" >&5
15211 cat > conftest.$ac_ext <<EOF
15212 #line 15213 "configure"
15213 #include "confdefs.h"
15216 int i = WCHAR_MIN; int j = WCHAR_MAX;
15219 if { (eval echo configure:15220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15221 has_wchar_minmax=yes
15223 echo "configure: failed program was:" >&5
15224 cat conftest.$ac_ext >&5
15226 has_wchar_minmax=no
15229 echo "$ac_t""$has_wchar_minmax" 1>&6
15231 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
15232 echo "configure:15233: checking for WEOF" >&5
15233 cat > conftest.$ac_ext <<EOF
15234 #line 15235 "configure"
15235 #include "confdefs.h"
15238 #include <stddef.h>
15243 if { (eval echo configure:15244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15247 echo "configure: failed program was:" >&5
15248 cat conftest.$ac_ext >&5
15253 echo "$ac_t""$has_weof" 1>&6
15256 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
15258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15259 echo "configure:15260: checking for $ac_func" >&5
15260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15261 echo $ac_n "(cached) $ac_c" 1>&6
15263 cat > conftest.$ac_ext <<EOF
15264 #line 15265 "configure"
15265 #include "confdefs.h"
15266 /* System header to define __stub macros and hopefully few prototypes,
15267 which can conflict with char $ac_func(); below. */
15268 #include <assert.h>
15269 /* Override any gcc2 internal prototype to avoid an error. */
15270 /* We use char because int might match the return type of a gcc2
15271 builtin and then its argument prototype would still apply. */
15276 /* The GNU C library defines this for functions which it implements
15277 to always fail with ENOSYS. Some functions are actually named
15278 something starting with __ and the normal name is an alias. */
15279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15287 if { (eval echo configure:15288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15289 eval "ac_cv_func_$ac_func=yes"
15291 echo "configure: failed program was:" >&5
15292 cat conftest.$ac_ext >&5
15294 eval "ac_cv_func_$ac_func=no"
15299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15300 echo "$ac_t""yes" 1>&6
15301 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15302 cat >> confdefs.h <<EOF
15303 #define $ac_tr_func 1
15307 echo "$ac_t""no" 1>&6
15314 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
15315 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
15316 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
15317 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
15318 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
15319 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
15321 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15322 echo "configure:15323: checking for $ac_func" >&5
15323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15324 echo $ac_n "(cached) $ac_c" 1>&6
15326 cat > conftest.$ac_ext <<EOF
15327 #line 15328 "configure"
15328 #include "confdefs.h"
15329 /* System header to define __stub macros and hopefully few prototypes,
15330 which can conflict with char $ac_func(); below. */
15331 #include <assert.h>
15332 /* Override any gcc2 internal prototype to avoid an error. */
15333 /* We use char because int might match the return type of a gcc2
15334 builtin and then its argument prototype would still apply. */
15339 /* The GNU C library defines this for functions which it implements
15340 to always fail with ENOSYS. Some functions are actually named
15341 something starting with __ and the normal name is an alias. */
15342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15350 if { (eval echo configure:15351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15352 eval "ac_cv_func_$ac_func=yes"
15354 echo "configure: failed program was:" >&5
15355 cat conftest.$ac_ext >&5
15357 eval "ac_cv_func_$ac_func=no"
15362 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15363 echo "$ac_t""yes" 1>&6
15364 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15365 cat >> confdefs.h <<EOF
15366 #define $ac_tr_func 1
15370 echo "$ac_t""no" 1>&6
15377 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
15378 echo "configure:15379: checking for ISO C99 wchar_t support" >&5
15379 if test x"$has_weof" = xyes &&
15380 test x"$has_wchar_minmax" = xyes &&
15381 test x"$ac_wfuncs" = xyes; then
15382 ac_isoC99_wchar_t=yes
15384 ac_isoC99_wchar_t=no
15386 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
15388 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
15389 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
15390 echo "configure:15391: checking for iconv.h" >&5
15391 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15392 echo $ac_n "(cached) $ac_c" 1>&6
15394 cat > conftest.$ac_ext <<EOF
15395 #line 15396 "configure"
15396 #include "confdefs.h"
15399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15400 { (eval echo configure:15401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15402 if test -z "$ac_err"; then
15404 eval "ac_cv_header_$ac_safe=yes"
15407 echo "configure: failed program was:" >&5
15408 cat conftest.$ac_ext >&5
15410 eval "ac_cv_header_$ac_safe=no"
15414 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15415 echo "$ac_t""yes" 1>&6
15418 echo "$ac_t""no" 1>&6
15422 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
15423 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
15424 echo "configure:15425: checking for langinfo.h" >&5
15425 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15426 echo $ac_n "(cached) $ac_c" 1>&6
15428 cat > conftest.$ac_ext <<EOF
15429 #line 15430 "configure"
15430 #include "confdefs.h"
15431 #include <langinfo.h>
15433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15434 { (eval echo configure:15435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15436 if test -z "$ac_err"; then
15438 eval "ac_cv_header_$ac_safe=yes"
15441 echo "configure: failed program was:" >&5
15442 cat conftest.$ac_ext >&5
15444 eval "ac_cv_header_$ac_safe=no"
15448 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15449 echo "$ac_t""yes" 1>&6
15450 ac_has_langinfo_h=yes
15452 echo "$ac_t""no" 1>&6
15453 ac_has_langinfo_h=no
15457 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
15458 echo "configure:15459: checking for iconv in -liconv" >&5
15459 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
15460 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15461 echo $ac_n "(cached) $ac_c" 1>&6
15463 ac_save_LIBS="$LIBS"
15464 LIBS="-liconv $LIBS"
15465 cat > conftest.$ac_ext <<EOF
15466 #line 15467 "configure"
15467 #include "confdefs.h"
15468 /* Override any gcc2 internal prototype to avoid an error. */
15469 /* We use char because int might match the return type of a gcc2
15470 builtin and then its argument prototype would still apply. */
15477 if { (eval echo configure:15478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15479 eval "ac_cv_lib_$ac_lib_var=yes"
15481 echo "configure: failed program was:" >&5
15482 cat conftest.$ac_ext >&5
15484 eval "ac_cv_lib_$ac_lib_var=no"
15487 LIBS="$ac_save_LIBS"
15490 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15491 echo "$ac_t""yes" 1>&6
15494 echo "$ac_t""no" 1>&6
15497 ac_save_LIBS="$LIBS"
15498 LIBS="$LIBS $libiconv"
15500 for ac_func in iconv_open iconv_close iconv nl_langinfo
15502 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15503 echo "configure:15504: checking for $ac_func" >&5
15504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15505 echo $ac_n "(cached) $ac_c" 1>&6
15507 cat > conftest.$ac_ext <<EOF
15508 #line 15509 "configure"
15509 #include "confdefs.h"
15510 /* System header to define __stub macros and hopefully few prototypes,
15511 which can conflict with char $ac_func(); below. */
15512 #include <assert.h>
15513 /* Override any gcc2 internal prototype to avoid an error. */
15514 /* We use char because int might match the return type of a gcc2
15515 builtin and then its argument prototype would still apply. */
15520 /* The GNU C library defines this for functions which it implements
15521 to always fail with ENOSYS. Some functions are actually named
15522 something starting with __ and the normal name is an alias. */
15523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15531 if { (eval echo configure:15532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15533 eval "ac_cv_func_$ac_func=yes"
15535 echo "configure: failed program was:" >&5
15536 cat conftest.$ac_ext >&5
15538 eval "ac_cv_func_$ac_func=no"
15543 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15544 echo "$ac_t""yes" 1>&6
15545 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15546 cat >> confdefs.h <<EOF
15547 #define $ac_tr_func 1
15552 echo "$ac_t""no" 1>&6
15558 LIBS="$ac_save_LIBS"
15560 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
15561 echo "configure:15562: checking for XPG2 wchar_t support" >&5
15562 if test x"$ac_has_iconv_h" = xyes &&
15563 test x"$ac_has_langinfo_h" = xyes &&
15564 test x"$ac_XPG2funcs" = xyes; then
15565 ac_XPG2_wchar_t=yes
15569 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
15571 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
15572 echo "configure:15573: checking for enabled wchar_t specializations" >&5
15573 if test x"$ac_isoC99_wchar_t" = xyes &&
15574 test x"$ac_XPG2_wchar_t" = xyes; then
15575 cat >> confdefs.h <<\EOF
15576 #define _GLIBCPP_USE_WCHAR_T 1
15579 echo "$ac_t"""yes"" 1>&6
15581 echo "$ac_t"""no"" 1>&6
15584 echo "configure: warning: wchar_t support disabled." 1>&2
15588 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15589 ac_save_CXXFLAGS="$CXXFLAGS"
15590 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
15593 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
15594 echo "configure:15595: checking for strtold declaration" >&5
15595 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
15596 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
15597 echo $ac_n "(cached) $ac_c" 1>&6
15602 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15603 ac_cpp='$CXXCPP $CPPFLAGS'
15604 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15605 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15606 cross_compiling=$ac_cv_prog_cxx_cross
15608 cat > conftest.$ac_ext <<EOF
15609 #line 15610 "configure"
15610 #include "confdefs.h"
15611 #include <stdlib.h>
15616 if { (eval echo configure:15617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15618 glibcpp_cv_func_strtold_use=yes
15620 echo "configure: failed program was:" >&5
15621 cat conftest.$ac_ext >&5
15623 glibcpp_cv_func_strtold_use=no
15627 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15628 ac_cpp='$CPP $CPPFLAGS'
15629 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15630 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15631 cross_compiling=$ac_cv_prog_cc_cross
15637 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
15638 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
15639 for ac_func in strtold
15641 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15642 echo "configure:15643: checking for $ac_func" >&5
15643 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15644 echo $ac_n "(cached) $ac_c" 1>&6
15646 cat > conftest.$ac_ext <<EOF
15647 #line 15648 "configure"
15648 #include "confdefs.h"
15649 /* System header to define __stub macros and hopefully few prototypes,
15650 which can conflict with char $ac_func(); below. */
15651 #include <assert.h>
15652 /* Override any gcc2 internal prototype to avoid an error. */
15653 /* We use char because int might match the return type of a gcc2
15654 builtin and then its argument prototype would still apply. */
15659 /* The GNU C library defines this for functions which it implements
15660 to always fail with ENOSYS. Some functions are actually named
15661 something starting with __ and the normal name is an alias. */
15662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15670 if { (eval echo configure:15671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15672 eval "ac_cv_func_$ac_func=yes"
15674 echo "configure: failed program was:" >&5
15675 cat conftest.$ac_ext >&5
15677 eval "ac_cv_func_$ac_func=no"
15682 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15683 echo "$ac_t""yes" 1>&6
15684 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15685 cat >> confdefs.h <<EOF
15686 #define $ac_tr_func 1
15690 echo "$ac_t""no" 1>&6
15696 for ac_func in drand48
15698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15699 echo "configure:15700: checking for $ac_func" >&5
15700 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15701 echo $ac_n "(cached) $ac_c" 1>&6
15703 cat > conftest.$ac_ext <<EOF
15704 #line 15705 "configure"
15705 #include "confdefs.h"
15706 /* System header to define __stub macros and hopefully few prototypes,
15707 which can conflict with char $ac_func(); below. */
15708 #include <assert.h>
15709 /* Override any gcc2 internal prototype to avoid an error. */
15710 /* We use char because int might match the return type of a gcc2
15711 builtin and then its argument prototype would still apply. */
15716 /* The GNU C library defines this for functions which it implements
15717 to always fail with ENOSYS. Some functions are actually named
15718 something starting with __ and the normal name is an alias. */
15719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15727 if { (eval echo configure:15728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15729 eval "ac_cv_func_$ac_func=yes"
15731 echo "configure: failed program was:" >&5
15732 cat conftest.$ac_ext >&5
15734 eval "ac_cv_func_$ac_func=no"
15739 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15740 echo "$ac_t""yes" 1>&6
15741 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15742 cat >> confdefs.h <<EOF
15743 #define $ac_tr_func 1
15747 echo "$ac_t""no" 1>&6
15752 CXXFLAGS="$ac_save_CXXFLAGS"
15755 cat > conftest.$ac_ext <<EOF
15756 #line 15757 "configure"
15757 #include "confdefs.h"
15759 #include <setjmp.h>
15762 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
15765 if { (eval echo configure:15766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15767 cat >> confdefs.h <<\EOF
15768 #define HAVE_SIGSETJMP 1
15772 echo "configure: failed program was:" >&5
15773 cat conftest.$ac_ext >&5
15777 for ac_hdr in unistd.h
15779 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15780 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15781 echo "configure:15782: checking for $ac_hdr" >&5
15782 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15783 echo $ac_n "(cached) $ac_c" 1>&6
15785 cat > conftest.$ac_ext <<EOF
15786 #line 15787 "configure"
15787 #include "confdefs.h"
15790 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15791 { (eval echo configure:15792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15792 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15793 if test -z "$ac_err"; then
15795 eval "ac_cv_header_$ac_safe=yes"
15798 echo "configure: failed program was:" >&5
15799 cat conftest.$ac_ext >&5
15801 eval "ac_cv_header_$ac_safe=no"
15805 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15806 echo "$ac_t""yes" 1>&6
15807 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15808 cat >> confdefs.h <<EOF
15809 #define $ac_tr_hdr 1
15813 echo "$ac_t""no" 1>&6
15817 for ac_func in getpagesize
15819 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15820 echo "configure:15821: checking for $ac_func" >&5
15821 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15822 echo $ac_n "(cached) $ac_c" 1>&6
15824 cat > conftest.$ac_ext <<EOF
15825 #line 15826 "configure"
15826 #include "confdefs.h"
15827 /* System header to define __stub macros and hopefully few prototypes,
15828 which can conflict with char $ac_func(); below. */
15829 #include <assert.h>
15830 /* Override any gcc2 internal prototype to avoid an error. */
15831 /* We use char because int might match the return type of a gcc2
15832 builtin and then its argument prototype would still apply. */
15837 /* The GNU C library defines this for functions which it implements
15838 to always fail with ENOSYS. Some functions are actually named
15839 something starting with __ and the normal name is an alias. */
15840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15848 if { (eval echo configure:15849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15850 eval "ac_cv_func_$ac_func=yes"
15852 echo "configure: failed program was:" >&5
15853 cat conftest.$ac_ext >&5
15855 eval "ac_cv_func_$ac_func=no"
15860 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15861 echo "$ac_t""yes" 1>&6
15862 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15863 cat >> confdefs.h <<EOF
15864 #define $ac_tr_func 1
15868 echo "$ac_t""no" 1>&6
15872 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
15873 echo "configure:15874: checking for working mmap" >&5
15874 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
15875 echo $ac_n "(cached) $ac_c" 1>&6
15877 if test "$cross_compiling" = yes; then
15878 ac_cv_func_mmap_fixed_mapped=no
15880 cat > conftest.$ac_ext <<EOF
15881 #line 15882 "configure"
15882 #include "confdefs.h"
15884 /* Thanks to Mike Haertel and Jim Avera for this test.
15885 Here is a matrix of mmap possibilities:
15886 mmap private not fixed
15887 mmap private fixed at somewhere currently unmapped
15888 mmap private fixed at somewhere already mapped
15889 mmap shared not fixed
15890 mmap shared fixed at somewhere currently unmapped
15891 mmap shared fixed at somewhere already mapped
15892 For private mappings, we should verify that changes cannot be read()
15893 back from the file, nor mmap's back from the file at a different
15894 address. (There have been systems where private was not correctly
15895 implemented like the infamous i386 svr4.0, and systems where the
15896 VM page cache was not coherent with the filesystem buffer cache
15897 like early versions of FreeBSD and possibly contemporary NetBSD.)
15898 For shared mappings, we should conversely verify that changes get
15899 propogated back to all the places they're supposed to be.
15901 Grep wants private fixed already mapped.
15902 The main things grep needs to know about mmap are:
15903 * does it exist and is it safe to write into the mmap'd area
15904 * how to use it (BSD variants) */
15905 #include <sys/types.h>
15907 #include <sys/mman.h>
15909 /* This mess was copied from the GNU getpagesize.h. */
15910 #ifndef HAVE_GETPAGESIZE
15911 # ifdef HAVE_UNISTD_H
15912 # include <unistd.h>
15915 /* Assume that all systems that can run configure have sys/param.h. */
15916 # ifndef HAVE_SYS_PARAM_H
15917 # define HAVE_SYS_PARAM_H 1
15920 # ifdef _SC_PAGESIZE
15921 # define getpagesize() sysconf(_SC_PAGESIZE)
15922 # else /* no _SC_PAGESIZE */
15923 # ifdef HAVE_SYS_PARAM_H
15924 # include <sys/param.h>
15925 # ifdef EXEC_PAGESIZE
15926 # define getpagesize() EXEC_PAGESIZE
15927 # else /* no EXEC_PAGESIZE */
15929 # define getpagesize() NBPG * CLSIZE
15932 # endif /* no CLSIZE */
15933 # else /* no NBPG */
15935 # define getpagesize() NBPC
15936 # else /* no NBPC */
15938 # define getpagesize() PAGESIZE
15939 # endif /* PAGESIZE */
15940 # endif /* no NBPC */
15941 # endif /* no NBPG */
15942 # endif /* no EXEC_PAGESIZE */
15943 # else /* no HAVE_SYS_PARAM_H */
15944 # define getpagesize() 8192 /* punt totally */
15945 # endif /* no HAVE_SYS_PARAM_H */
15946 # endif /* no _SC_PAGESIZE */
15948 #endif /* no HAVE_GETPAGESIZE */
15951 extern "C" { void *malloc(unsigned); }
15959 char *data, *data2, *data3;
15963 pagesize = getpagesize();
15966 * First, make a file with some known garbage in it.
15968 data = malloc(pagesize);
15971 for (i = 0; i < pagesize; ++i)
15972 *(data + i) = rand();
15974 fd = creat("conftestmmap", 0600);
15977 if (write(fd, data, pagesize) != pagesize)
15982 * Next, try to mmap the file at a fixed address which
15983 * already has something else allocated at it. If we can,
15984 * also make sure that we see the same garbage.
15986 fd = open("conftestmmap", O_RDWR);
15989 data2 = malloc(2 * pagesize);
15992 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
15993 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
15994 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15996 for (i = 0; i < pagesize; ++i)
15997 if (*(data + i) != *(data2 + i))
16001 * Finally, make sure that changes to the mapped area
16002 * do not percolate back to the file as seen by read().
16003 * (This is a bug on some variants of i386 svr4.0.)
16005 for (i = 0; i < pagesize; ++i)
16006 *(data2 + i) = *(data2 + i) + 1;
16007 data3 = malloc(pagesize);
16010 if (read(fd, data3, pagesize) != pagesize)
16012 for (i = 0; i < pagesize; ++i)
16013 if (*(data + i) != *(data3 + i))
16016 unlink("conftestmmap");
16021 if { (eval echo configure:16022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
16023 ac_cv_func_mmap_fixed_mapped=yes
16025 echo "configure: failed program was:" >&5
16026 cat conftest.$ac_ext >&5
16028 ac_cv_func_mmap_fixed_mapped=no
16035 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
16036 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16037 cat >> confdefs.h <<\EOF
16038 #define HAVE_MMAP 1
16045 # Now that ctype is determined for all possible targets, we can do this...
16053 if test "$CANADIAN" = yes; then
16061 cat > confcache <<\EOF
16062 # This file is a shell script that caches the results of configure
16063 # tests run on this system so they can be shared between configure
16064 # scripts and configure runs. It is not useful on other systems.
16065 # If it contains results you don't want to keep, you may remove or edit it.
16067 # By default, configure uses ./config.cache as the cache file,
16068 # creating it if it does not exist already. You can give configure
16069 # the --cache-file=FILE option to use a different cache file; that is
16070 # what configure does when it calls configure scripts in
16071 # subdirectories, so they share the cache.
16072 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16073 # config.status only pays attention to the cache file if you give it the
16074 # --recheck option to rerun configure.
16077 # The following way of writing the cache mishandles newlines in values,
16078 # but we know of no workaround that is simple, portable, and efficient.
16079 # So, don't put newlines in cache variables' values.
16080 # Ultrix sh set writes to stderr and can't be redirected directly,
16081 # and sets the high bit in the cache file unless we assign to the vars.
16083 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16085 # `set' does not quote correctly, so add quotes (double-quote substitution
16086 # turns \\\\ into \\, and sed turns \\ into \).
16088 -e "s/'/'\\\\''/g" \
16089 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16092 # `set' quotes correctly as required by POSIX, so do not add quotes.
16093 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16096 if cmp -s $cache_file confcache; then
16099 if test -w $cache_file; then
16100 echo "updating cache $cache_file"
16101 cat confcache > $cache_file
16103 echo "not updating unwritable cache $cache_file"
16109 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
16110 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
16111 echo "configure:16112: checking for locale.h" >&5
16112 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16113 echo $ac_n "(cached) $ac_c" 1>&6
16115 cat > conftest.$ac_ext <<EOF
16116 #line 16117 "configure"
16117 #include "confdefs.h"
16118 #include <locale.h>
16120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16121 { (eval echo configure:16122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16123 if test -z "$ac_err"; then
16125 eval "ac_cv_header_$ac_safe=yes"
16128 echo "configure: failed program was:" >&5
16129 cat conftest.$ac_ext >&5
16131 eval "ac_cv_header_$ac_safe=no"
16135 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16136 echo "$ac_t""yes" 1>&6
16138 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
16139 echo "configure:16140: checking for LC_MESSAGES" >&5
16140 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16141 echo $ac_n "(cached) $ac_c" 1>&6
16143 cat > conftest.$ac_ext <<EOF
16144 #line 16145 "configure"
16145 #include "confdefs.h"
16146 #include <locale.h>
16151 if { (eval echo configure:16152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16153 ac_cv_val_LC_MESSAGES=yes
16155 echo "configure: failed program was:" >&5
16156 cat conftest.$ac_ext >&5
16158 ac_cv_val_LC_MESSAGES=no
16163 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16164 if test $ac_cv_val_LC_MESSAGES = yes; then
16165 cat >> confdefs.h <<\EOF
16166 #define HAVE_LC_MESSAGES 1
16172 echo "$ac_t""no" 1>&6
16177 if test "${multilib}" = "yes"; then
16178 multilib_arg="--enable-multilib"
16184 # Generate the various Makefiles, include files, and scripts.
16186 # Needed so that g++ can find the correct include subdir automatically.
16189 # Export all the install information
16192 glibcpp_toolexecdir=no
16193 glibcpp_toolexeclibdir=no
16195 # Export build and source directories.
16196 # These need to be absolute paths, yet at the same time need to
16197 # canonicalize only relative paths, because then amd will not unmount
16198 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
16199 glibcpp_builddir=`pwd`
16201 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
16202 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
16204 glibcpp_prefixdir=${prefix}
16206 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
16207 echo "configure:16208: checking for interface version number" >&5
16208 libstdcxx_interface=$INTERFACE
16209 echo "$ac_t""$libstdcxx_interface" 1>&6
16211 # Process the option --with-gxx-include-dir=<path to include-files directory>
16212 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
16213 echo "configure:16214: checking for --with-gxx-include-dir" >&5
16214 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
16215 if test "${with_gxx_include_dir+set}" = set; then
16216 withval="$with_gxx_include_dir"
16217 case "${withval}" in
16219 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
16226 gxx_include_dir=${withval}
16233 echo "$ac_t""$gxx_include_dir" 1>&6
16235 # Process the option "--enable-version-specific-runtime-libs"
16236 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
16237 echo "configure:16238: checking for --enable-version-specific-runtime-libs" >&5
16238 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
16239 if test "${enable_version_specific_runtime_libs+set}" = set; then
16240 enableval="$enable_version_specific_runtime_libs"
16241 version_specific_libs=yes
16242 # Need the gcc compiler version to know where to install libraries
16243 # and header files if --enable-version-specific-runtime-libs option
16245 gcc_version_trigger=${srcdir}/../gcc/version.c
16246 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
16247 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
16248 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
16249 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16250 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
16253 version_specific_libs=no
16256 echo "$ac_t""$version_specific_libs" 1>&6
16258 # Default case for install directory for include files.
16259 if test x"$version_specific_libs" = x"no" \
16260 && test x"$gxx_include_dir" = x"no"; then
16261 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
16264 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
16265 # Install a library built with a cross compiler in tooldir, not libdir.
16266 if test x"$glibcpp_toolexecdir" = x"no"; then
16267 if test -n "$with_cross_host" &&
16268 test x"$with_cross_host" != x"no"; then
16269 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
16270 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
16272 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16273 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
16277 echo $ac_n "checking for install location""... $ac_c" 1>&6
16278 echo "configure:16279: checking for install location" >&5
16279 echo "$ac_t""$gxx_include_dir" 1>&6
16289 # Export all the include and flag information to makefiles.
16291 # Root level of the include sources.
16292 GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
16294 # Can either use include/c or include/c_std to grab "C" headers. This
16295 # variable is set to the include directory currently in use.
16296 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_CHEADERS
16298 # Passed down for canadian crosses.
16299 if test x"$CANADIAN" = xyes; then
16300 TOPLEVEL_INCLUDES='-I$(includedir)'
16303 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
16305 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
16307 #if GLIBCPP_NEED_LIBIO
16308 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
16310 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
16313 #if GLIBCPP_USE_CSHADOW
16314 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
16315 # -I$(top_blddir)/cshadow'
16317 CSTD_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
16320 # Now, export this to all the little Makefiles....
16329 # Optimization flags that are probably a good idea for thrill-seekers. Just
16330 # uncomment the lines below and make, everything else is ready to go...
16331 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
16335 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
16339 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
16340 grep "enable shared" > /dev/null; then
16341 LIBSUPCXX_PICFLAGS=-prefer-pic
16343 LIBSUPCXX_PICFLAGS=
16347 # This should be done by mkincludedir, but hack around it now.
16349 echo "checking for $blddir/include"
16351 if test ! -d "$blddir/include"; then
16352 mkdir "$blddir/include"
16355 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
16356 # and libsupc++/Makefile.am so that multilib installs will end up
16357 # installed in the correct place. To work around this not being passed
16358 # down from config-ml.in -> top_srcdir/Makefile.am ->
16359 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
16361 cat > confcache <<\EOF
16362 # This file is a shell script that caches the results of configure
16363 # tests run on this system so they can be shared between configure
16364 # scripts and configure runs. It is not useful on other systems.
16365 # If it contains results you don't want to keep, you may remove or edit it.
16367 # By default, configure uses ./config.cache as the cache file,
16368 # creating it if it does not exist already. You can give configure
16369 # the --cache-file=FILE option to use a different cache file; that is
16370 # what configure does when it calls configure scripts in
16371 # subdirectories, so they share the cache.
16372 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16373 # config.status only pays attention to the cache file if you give it the
16374 # --recheck option to rerun configure.
16377 # The following way of writing the cache mishandles newlines in values,
16378 # but we know of no workaround that is simple, portable, and efficient.
16379 # So, don't put newlines in cache variables' values.
16380 # Ultrix sh set writes to stderr and can't be redirected directly,
16381 # and sets the high bit in the cache file unless we assign to the vars.
16383 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16385 # `set' does not quote correctly, so add quotes (double-quote substitution
16386 # turns \\\\ into \\, and sed turns \\ into \).
16388 -e "s/'/'\\\\''/g" \
16389 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16392 # `set' quotes correctly as required by POSIX, so do not add quotes.
16393 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16396 if cmp -s $cache_file confcache; then
16399 if test -w $cache_file; then
16400 echo "updating cache $cache_file"
16401 cat confcache > $cache_file
16403 echo "not updating unwritable cache $cache_file"
16408 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16410 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16411 # Let make expand exec_prefix.
16412 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16414 # Any assignment to VPATH causes Sun make to only execute
16415 # the first set of double-colon rules, so remove it if not needed.
16416 # If there is a colon in the path, we need to keep it.
16417 if test "x$srcdir" = x.; then
16418 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
16421 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16423 DEFS=-DHAVE_CONFIG_H
16425 # Without the "./", some shells look in PATH for config.status.
16426 : ${CONFIG_STATUS=./config.status}
16428 echo creating $CONFIG_STATUS
16429 rm -f $CONFIG_STATUS
16430 cat > $CONFIG_STATUS <<EOF
16432 # Generated automatically by configure.
16433 # Run this file to recreate the current configuration.
16434 # This directory was configured as follows,
16435 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16437 # $0 $ac_configure_args
16439 # Compiler output produced by configure, useful for debugging
16440 # configure, is in ./config.log if it exists.
16442 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
16445 case "\$ac_option" in
16446 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16447 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16448 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16449 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16450 echo "$CONFIG_STATUS generated by autoconf version 2.13"
16452 -help | --help | --hel | --he | --h)
16453 echo "\$ac_cs_usage"; exit 0 ;;
16454 *) echo "\$ac_cs_usage"; exit 1 ;;
16458 ac_given_srcdir=$srcdir
16459 ac_given_INSTALL="$INSTALL"
16461 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
16463 cat >> $CONFIG_STATUS <<EOF
16465 # Protect against being on the right side of a sed subst in config.status.
16466 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16467 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16471 s%@CFLAGS@%$CFLAGS%g
16472 s%@CPPFLAGS@%$CPPFLAGS%g
16473 s%@CXXFLAGS@%$CXXFLAGS%g
16474 s%@FFLAGS@%$FFLAGS%g
16476 s%@LDFLAGS@%$LDFLAGS%g
16478 s%@exec_prefix@%$exec_prefix%g
16479 s%@prefix@%$prefix%g
16480 s%@program_transform_name@%$program_transform_name%g
16481 s%@bindir@%$bindir%g
16482 s%@sbindir@%$sbindir%g
16483 s%@libexecdir@%$libexecdir%g
16484 s%@datadir@%$datadir%g
16485 s%@sysconfdir@%$sysconfdir%g
16486 s%@sharedstatedir@%$sharedstatedir%g
16487 s%@localstatedir@%$localstatedir%g
16488 s%@libdir@%$libdir%g
16489 s%@includedir@%$includedir%g
16490 s%@oldincludedir@%$oldincludedir%g
16491 s%@infodir@%$infodir%g
16492 s%@mandir@%$mandir%g
16493 s%@toplevel_srcdir@%$toplevel_srcdir%g
16495 s%@host_alias@%$host_alias%g
16496 s%@host_cpu@%$host_cpu%g
16497 s%@host_vendor@%$host_vendor%g
16498 s%@host_os@%$host_os%g
16499 s%@target@%$target%g
16500 s%@target_alias@%$target_alias%g
16501 s%@target_cpu@%$target_cpu%g
16502 s%@target_vendor@%$target_vendor%g
16503 s%@target_os@%$target_os%g
16505 s%@build_alias@%$build_alias%g
16506 s%@build_cpu@%$build_cpu%g
16507 s%@build_vendor@%$build_vendor%g
16508 s%@build_os@%$build_os%g
16509 s%@glibcpp_basedir@%$glibcpp_basedir%g
16510 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16511 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16512 s%@INSTALL_DATA@%$INSTALL_DATA%g
16513 s%@PACKAGE@%$PACKAGE%g
16514 s%@VERSION@%$VERSION%g
16515 s%@ACLOCAL@%$ACLOCAL%g
16516 s%@AUTOCONF@%$AUTOCONF%g
16517 s%@AUTOMAKE@%$AUTOMAKE%g
16518 s%@AUTOHEADER@%$AUTOHEADER%g
16519 s%@MAKEINFO@%$MAKEINFO%g
16520 s%@SET_MAKE@%$SET_MAKE%g
16522 s%@glibcpp_CXX@%$glibcpp_CXX%g
16525 s%@RANLIB@%$RANLIB%g
16526 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
16527 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
16529 s%@EXEEXT@%$EXEEXT%g
16531 s%@OBJEXT@%$OBJEXT%g
16533 s%@LIBTOOL@%$LIBTOOL%g
16534 s%@CXXCPP@%$CXXCPP%g
16535 s%@enable_shared@%$enable_shared%g
16536 s%@enable_static@%$enable_static%g
16537 s%@ifGNUmake@%$ifGNUmake%g
16538 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
16540 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
16541 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
16542 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
16543 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
16544 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
16545 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
16546 s%@libio_la@%$libio_la%g
16547 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
16548 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
16549 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
16550 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
16551 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
16552 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
16553 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
16554 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
16555 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
16556 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
16557 s%@WERROR@%$WERROR%g
16558 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
16559 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
16560 s%@glibcpp_builddir@%$glibcpp_builddir%g
16561 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
16562 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
16563 s%@gxx_include_dir@%$gxx_include_dir%g
16564 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
16565 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
16566 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
16567 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
16568 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
16569 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
16570 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
16571 s%@CSTD_INCLUDES@%$CSTD_INCLUDES%g
16572 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
16573 s%@WARN_FLAGS@%$WARN_FLAGS%g
16574 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
16579 cat >> $CONFIG_STATUS <<\EOF
16581 # Split the substitutions into bite-sized pieces for seds with
16582 # small command number limits, like on Digital OSF/1 and HP-UX.
16583 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
16584 ac_file=1 # Number of current file.
16585 ac_beg=1 # First line for current file.
16586 ac_end=$ac_max_sed_cmds # Line after last line for current file.
16589 while $ac_more_lines; do
16590 if test $ac_beg -gt 1; then
16591 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
16593 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
16595 if test ! -s conftest.s$ac_file; then
16596 ac_more_lines=false
16597 rm -f conftest.s$ac_file
16599 if test -z "$ac_sed_cmds"; then
16600 ac_sed_cmds="sed -f conftest.s$ac_file"
16602 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
16604 ac_file=`expr $ac_file + 1`
16606 ac_end=`expr $ac_end + $ac_max_sed_cmds`
16609 if test -z "$ac_sed_cmds"; then
16614 cat >> $CONFIG_STATUS <<EOF
16616 CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile mkcheck testsuite_flags"}
16618 cat >> $CONFIG_STATUS <<\EOF
16619 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
16620 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16622 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16623 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16624 *) ac_file_in="${ac_file}.in" ;;
16627 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
16629 # Remove last slash and all that follows it. Not all systems have dirname.
16630 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16631 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16632 # The file is in a subdirectory.
16633 test ! -d "$ac_dir" && mkdir "$ac_dir"
16634 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
16635 # A "../" for each directory in $ac_dir_suffix.
16636 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
16638 ac_dir_suffix= ac_dots=
16641 case "$ac_given_srcdir" in
16643 if test -z "$ac_dots"; then top_srcdir=.
16644 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
16645 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
16646 *) # Relative path.
16647 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16648 top_srcdir="$ac_dots$ac_given_srcdir" ;;
16651 case "$ac_given_INSTALL" in
16652 [/$]*) INSTALL="$ac_given_INSTALL" ;;
16653 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
16656 echo creating "$ac_file"
16658 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
16660 *Makefile*) ac_comsub="1i\\
16661 # $configure_input" ;;
16665 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16667 s%@configure_input@%$configure_input%g
16668 s%@srcdir@%$srcdir%g
16669 s%@top_srcdir@%$top_srcdir%g
16670 s%@INSTALL@%$INSTALL%g
16671 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
16675 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16676 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16678 # ac_d sets the value in "#define NAME VALUE" lines.
16679 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16680 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
16683 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
16684 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16685 ac_uB='\([ ]\)%\1#\2define\3'
16688 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16689 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16690 ac_eB='$%\1#\2define\3'
16694 if test "${CONFIG_HEADERS+set}" != set; then
16696 cat >> $CONFIG_STATUS <<EOF
16697 CONFIG_HEADERS="config.h"
16699 cat >> $CONFIG_STATUS <<\EOF
16701 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
16702 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16704 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16705 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16706 *) ac_file_in="${ac_file}.in" ;;
16709 echo creating $ac_file
16711 rm -f conftest.frag conftest.in conftest.out
16712 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16713 cat $ac_file_inputs > conftest.in
16717 # Transform confdefs.h into a sed script conftest.vals that substitutes
16718 # the proper values into config.h.in to produce config.h. And first:
16719 # Protect against being on the right side of a sed subst in config.status.
16720 # Protect against being in an unquoted here document in config.status.
16721 rm -f conftest.vals
16722 cat > conftest.hdr <<\EOF
16725 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
16729 sed -n -f conftest.hdr confdefs.h > conftest.vals
16732 # This sed command replaces #undef with comments. This is necessary, for
16733 # example, in the case of _POSIX_SOURCE, which is predefined and required
16734 # on some systems where configure will not decide to define it.
16735 cat >> conftest.vals <<\EOF
16736 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
16739 # Break up conftest.vals because some shells have a limit on
16740 # the size of here documents, and old seds have small limits too.
16742 rm -f conftest.tail
16745 ac_lines=`grep -c . conftest.vals`
16746 # grep -c gives empty output for an empty file on some AIX systems.
16747 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
16748 # Write a limited-size here document to conftest.frag.
16749 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
16750 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
16752 sed -f conftest.frag conftest.in > conftest.out
16754 mv conftest.out conftest.in
16755 ' >> $CONFIG_STATUS
16756 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
16757 rm -f conftest.vals
16758 mv conftest.tail conftest.vals
16760 rm -f conftest.vals
16762 cat >> $CONFIG_STATUS <<\EOF
16763 rm -f conftest.frag conftest.h
16764 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
16765 cat conftest.in >> conftest.h
16767 if cmp -s $ac_file conftest.h 2>/dev/null; then
16768 echo "$ac_file is unchanged"
16771 # Remove last slash and all that follows it. Not all systems have dirname.
16772 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16773 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16774 # The file is in a subdirectory.
16775 test ! -d "$ac_dir" && mkdir "$ac_dir"
16778 mv conftest.h $ac_file
16784 cat >> $CONFIG_STATUS <<EOF
16785 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"
16786 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 \
16787 include/bits/ctype_base.h \
16788 include/bits/ctype_inline.h \
16789 include/bits/ctype_noninline.h include/bits/atomicity.h"
16792 cat >> $CONFIG_STATUS <<\EOF
16793 srcdir=$ac_given_srcdir
16794 while test -n "$ac_sources"; do
16795 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
16796 set $ac_sources; ac_source=$1; shift; ac_sources=$*
16798 echo "linking $srcdir/$ac_source to $ac_dest"
16800 if test ! -r $srcdir/$ac_source; then
16801 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
16805 # Make relative symlinks.
16806 # Remove last slash and all that follows it. Not all systems have dirname.
16807 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
16808 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
16809 # The dest file is in a subdirectory.
16810 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
16811 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
16812 # A "../" for each directory in $ac_dest_dir_suffix.
16813 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
16815 ac_dest_dir_suffix= ac_dots=
16819 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
16820 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
16823 # Make a symlink if possible; otherwise try a hard link.
16824 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
16825 ln $srcdir/$ac_source $ac_dest; then :
16827 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
16831 cat >> $CONFIG_STATUS <<EOF
16837 with_multisubdir=${with_multisubdir}
16838 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16839 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16840 glibcpp_basedir=${glibcpp_basedir}
16845 cat >> $CONFIG_STATUS <<\EOF
16846 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
16847 d=include/bits; a='[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]'
16848 rm -f $d/gthr.h $d/gthr-single.h $d/gthr-default.h
16849 sed '/^#/s/\('"$a$a"'*\)/_GLIBCPP_\1/g' <$d/gthr.h-in \
16850 | sed 's,"gthr-,"bits/gthr-,' >$d/gthr.h
16851 sed 's/\(UNUSED\)/_GLIBCPP_\1/g' <$d/gthr-single.h-in \
16852 | sed 's/\(GCC'"$a"'*_H\)/_GLIBCPP_\1/g' >$d/gthr-single.h
16853 sed 's/\(UNUSED\)/_GLIBCPP_\1/g' <$d/gthr-default.h-in \
16854 | sed 's/\(GCC'"$a"'*_H\)/_GLIBCPP_\1/g' \
16855 | sed 's/\('"$a"'*WEAK\)/_GLIBCPP_\1/g' >$d/gthr-default.h
16856 if test -n "$CONFIG_FILES"; then
16857 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
16858 grep '^MULTISUBDIR =' Makefile >> src/Makefile
16859 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
16862 chmod +x testsuite_flags
16866 chmod +x $CONFIG_STATUS
16867 rm -fr confdefs* $ac_clean_files
16868 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
16872 # Generate bits/c++config.h
16873 # NB: This must be the first generated file as others include it. . .
16874 $srcdir/mkc++config $blddir $srcdir
16876 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
16877 if test ! -f stamp-limits; then
16878 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
16879 if test ! -f include/bits/std_limits.h; then
16880 echo "mknumeric_limits failed to execute properly: exiting"
16888 # Sanity checking & User-visible messages.
16889 # Checks down here, otherwise they get scrolled off before
16890 # the user will notice.
16892 # Trying to get more people to read documentation. Possibly remove
16893 # check and warn all the time. There is no "informational" AC_MSG_
16894 # macro, so these are going to be printed even when --quiet/--silent
16896 if test ! -f stamp-sanity-warned; then
16897 touch stamp-sanity-warned
16899 echo "Please make certain that you read the installation information here:"
16900 echo " faster => ${srcdir}/docs/install.html"
16901 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
16903 echo "and the configuration information here:"
16904 echo " faster => ${srcdir}/docs/configopts.html"
16905 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
16907 echo "before proceeding with ${_cv_gnu_make_command}."