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,
86 bindir='${exec_prefix}/bin'
87 sbindir='${exec_prefix}/sbin'
88 libexecdir='${exec_prefix}/libexec'
89 datadir='${prefix}/share'
90 sysconfdir='${prefix}/etc'
91 sharedstatedir='${prefix}/com'
92 localstatedir='${prefix}/var'
93 libdir='${exec_prefix}/lib'
94 includedir='${prefix}/include'
95 oldincludedir='/usr/include'
96 infodir='${prefix}/info'
97 mandir='${prefix}/man'
99 # Initialize some other variables.
102 SHELL=${CONFIG_SHELL-/bin/sh}
103 # Maximum number of lines to put in a shell here document.
110 # If the previous option needs an argument, assign it.
111 if test -n "$ac_prev"; then
112 eval "$ac_prev=\$ac_option"
118 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
122 # Accept the important Cygnus configure options, so we can diagnose typos.
126 -bindir | --bindir | --bindi | --bind | --bin | --bi)
128 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
129 bindir="$ac_optarg" ;;
131 -build | --build | --buil | --bui | --bu)
133 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
134 build="$ac_optarg" ;;
136 -cache-file | --cache-file | --cache-fil | --cache-fi \
137 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
138 ac_prev=cache_file ;;
139 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
140 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
141 cache_file="$ac_optarg" ;;
143 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
145 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
147 datadir="$ac_optarg" ;;
149 -disable-* | --disable-*)
150 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
151 # Reject names that are not valid shell variable names.
152 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
153 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
155 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
156 eval "enable_${ac_feature}=no" ;;
158 -enable-* | --enable-*)
159 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
160 # Reject names that are not valid shell variable names.
161 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
162 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
164 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
169 eval "enable_${ac_feature}='$ac_optarg'" ;;
171 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
172 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
173 | --exec | --exe | --ex)
174 ac_prev=exec_prefix ;;
175 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
176 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
177 | --exec=* | --exe=* | --ex=*)
178 exec_prefix="$ac_optarg" ;;
180 -gas | --gas | --ga | --g)
181 # Obsolete; use --with-gas.
184 -help | --help | --hel | --he)
185 # Omit some internal or obsolete options to make the list less imposing.
186 # This message is too long to be a string in the A/UX 3.1 sh.
188 Usage: configure [options] [host]
189 Options: [defaults in brackets after descriptions]
191 --cache-file=FILE cache test results in FILE
192 --help print this message
193 --no-create do not create output files
194 --quiet, --silent do not print \`checking...' messages
195 --site-file=FILE use FILE as the site file
196 --version print the version of autoconf that created configure
197 Directory and file names:
198 --prefix=PREFIX install architecture-independent files in PREFIX
200 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
202 --bindir=DIR user executables in DIR [EPREFIX/bin]
203 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
204 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
205 --datadir=DIR read-only architecture-independent data in DIR
207 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
208 --sharedstatedir=DIR modifiable architecture-independent data in DIR
210 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
211 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
212 --includedir=DIR C header files in DIR [PREFIX/include]
213 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
214 --infodir=DIR info documentation in DIR [PREFIX/info]
215 --mandir=DIR man documentation in DIR [PREFIX/man]
216 --srcdir=DIR find the sources in DIR [configure dir or ..]
217 --program-prefix=PREFIX prepend PREFIX to installed program names
218 --program-suffix=SUFFIX append SUFFIX to installed program names
219 --program-transform-name=PROGRAM
220 run sed PROGRAM on installed program names
224 --build=BUILD configure for building on BUILD [BUILD=HOST]
225 --host=HOST configure for HOST [guessed]
226 --target=TARGET configure for TARGET [TARGET=HOST]
227 Features and packages:
228 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
229 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
230 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
231 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
232 --x-includes=DIR X include files are in DIR
233 --x-libraries=DIR X library files are in DIR
235 if test -n "$ac_help"; then
236 echo "--enable and --with options recognized:$ac_help"
240 -host | --host | --hos | --ho)
242 -host=* | --host=* | --hos=* | --ho=*)
245 -includedir | --includedir | --includedi | --included | --include \
246 | --includ | --inclu | --incl | --inc)
247 ac_prev=includedir ;;
248 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
249 | --includ=* | --inclu=* | --incl=* | --inc=*)
250 includedir="$ac_optarg" ;;
252 -infodir | --infodir | --infodi | --infod | --info | --inf)
254 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
255 infodir="$ac_optarg" ;;
257 -libdir | --libdir | --libdi | --libd)
259 -libdir=* | --libdir=* | --libdi=* | --libd=*)
260 libdir="$ac_optarg" ;;
262 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
263 | --libexe | --libex | --libe)
264 ac_prev=libexecdir ;;
265 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
266 | --libexe=* | --libex=* | --libe=*)
267 libexecdir="$ac_optarg" ;;
269 -localstatedir | --localstatedir | --localstatedi | --localstated \
270 | --localstate | --localstat | --localsta | --localst \
271 | --locals | --local | --loca | --loc | --lo)
272 ac_prev=localstatedir ;;
273 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
274 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
275 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
276 localstatedir="$ac_optarg" ;;
278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
281 mandir="$ac_optarg" ;;
284 # Obsolete; use --without-fp.
287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
297 | --oldin | --oldi | --old | --ol | --o)
298 ac_prev=oldincludedir ;;
299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
302 oldincludedir="$ac_optarg" ;;
304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
307 prefix="$ac_optarg" ;;
309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
310 | --program-pre | --program-pr | --program-p)
311 ac_prev=program_prefix ;;
312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
314 program_prefix="$ac_optarg" ;;
316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
317 | --program-suf | --program-su | --program-s)
318 ac_prev=program_suffix ;;
319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
321 program_suffix="$ac_optarg" ;;
323 -program-transform-name | --program-transform-name \
324 | --program-transform-nam | --program-transform-na \
325 | --program-transform-n | --program-transform- \
326 | --program-transform | --program-transfor \
327 | --program-transfo | --program-transf \
328 | --program-trans | --program-tran \
329 | --progr-tra | --program-tr | --program-t)
330 ac_prev=program_transform_name ;;
331 -program-transform-name=* | --program-transform-name=* \
332 | --program-transform-nam=* | --program-transform-na=* \
333 | --program-transform-n=* | --program-transform-=* \
334 | --program-transform=* | --program-transfor=* \
335 | --program-transfo=* | --program-transf=* \
336 | --program-trans=* | --program-tran=* \
337 | --progr-tra=* | --program-tr=* | --program-t=*)
338 program_transform_name="$ac_optarg" ;;
340 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
341 | -silent | --silent | --silen | --sile | --sil)
344 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
346 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
348 sbindir="$ac_optarg" ;;
350 -sharedstatedir | --sharedstatedir | --sharedstatedi \
351 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
352 | --sharedst | --shareds | --shared | --share | --shar \
354 ac_prev=sharedstatedir ;;
355 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
356 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
357 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
359 sharedstatedir="$ac_optarg" ;;
361 -site | --site | --sit)
363 -site=* | --site=* | --sit=*)
366 -site-file | --site-file | --site-fil | --site-fi | --site-f)
368 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
369 sitefile="$ac_optarg" ;;
371 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
373 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
374 srcdir="$ac_optarg" ;;
376 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
377 | --syscon | --sysco | --sysc | --sys | --sy)
378 ac_prev=sysconfdir ;;
379 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
380 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
381 sysconfdir="$ac_optarg" ;;
383 -target | --target | --targe | --targ | --tar | --ta | --t)
385 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
386 target="$ac_optarg" ;;
388 -v | -verbose | --verbose | --verbos | --verbo | --verb)
391 -version | --version | --versio | --versi | --vers)
392 echo "configure generated by autoconf version 2.13"
396 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
397 # Reject names that are not valid shell variable names.
398 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
399 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
401 ac_package=`echo $ac_package| sed 's/-/_/g'`
406 eval "with_${ac_package}='$ac_optarg'" ;;
408 -without-* | --without-*)
409 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
410 # Reject names that are not valid shell variable names.
411 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
412 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
414 ac_package=`echo $ac_package| sed 's/-/_/g'`
415 eval "with_${ac_package}=no" ;;
418 # Obsolete; use --with-x.
421 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
422 | --x-incl | --x-inc | --x-in | --x-i)
423 ac_prev=x_includes ;;
424 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
425 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
426 x_includes="$ac_optarg" ;;
428 -x-libraries | --x-libraries | --x-librarie | --x-librari \
429 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
430 ac_prev=x_libraries ;;
431 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
432 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
433 x_libraries="$ac_optarg" ;;
435 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
439 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
440 echo "configure: warning: $ac_option: invalid host type" 1>&2
442 if test "x$nonopt" != xNONE; then
443 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
451 if test -n "$ac_prev"; then
452 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
455 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
457 # File descriptor usage:
460 # 2 errors and warnings
461 # 3 some systems may open it to /dev/tty
462 # 4 used on the Kubota Titan
463 # 6 checking for... messages and results
464 # 5 compiler messages saved in config.log
465 if test "$silent" = yes; then
473 This file contains any messages produced by compilers while
474 running configure, to aid debugging if configure makes a mistake.
477 # Strip out --no-create and --no-recursion so they do not pile up.
478 # Also quote any args containing shell metacharacters.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c) ;;
485 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
486 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
487 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
488 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
489 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
494 # Only set these to C if already set. These must not be set unconditionally
495 # because not all systems understand e.g. LANG=C (notably SCO).
496 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
497 # Non-C LC_CTYPE values break the ctype check.
498 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
499 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
500 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
501 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
503 # confdefs.h avoids OS command line length limits that DEFS can exceed.
504 rm -rf conftest* confdefs.h
505 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
508 # A filename unique to this package, relative to the directory that
509 # configure is in, which we can look for to find out if srcdir is correct.
510 ac_unique_file=src/ios.cc
512 # Find the source files, if location was not specified.
513 if test -z "$srcdir"; then
514 ac_srcdir_defaulted=yes
515 # Try the directory containing this script, then its parent.
517 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
518 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
520 if test ! -r $srcdir/$ac_unique_file; then
524 ac_srcdir_defaulted=no
526 if test ! -r $srcdir/$ac_unique_file; then
527 if test "$ac_srcdir_defaulted" = yes; then
528 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
530 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
533 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
535 # Prefer explicitly selected file to automatically selected ones.
536 if test -z "$sitefile"; then
537 if test -z "$CONFIG_SITE"; then
538 if test "x$prefix" != xNONE; then
539 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
541 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
545 CONFIG_SITE="$sitefile"
547 for ac_site_file in $CONFIG_SITE; do
548 if test -r "$ac_site_file"; then
549 echo "loading site script $ac_site_file"
554 if test -r "$cache_file"; then
555 echo "loading cache $cache_file"
558 echo "creating cache $cache_file"
563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
564 ac_cpp='$CPP $CPPFLAGS'
565 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
566 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
567 cross_compiling=$ac_cv_prog_cc_cross
571 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
572 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
573 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
580 ac_n= ac_c='\c' ac_t=
585 # When building with srcdir == objdir, links to the source files will
586 # be created in directories within the target_subdir. We have to
587 # adjust toplevel_srcdir accordingly, so that configure finds
588 # install-sh and other auxiliary files that live in the top-level
590 if test "${srcdir}" = "."; then
591 if test -z "${with_target_subdir}"; then
594 if test "${with_target_subdir}" != "."; then
595 toprel="${with_multisrctop}../.."
597 toprel="${with_multisrctop}.."
604 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
605 if test -f $ac_dir/install-sh; then
607 ac_install_sh="$ac_aux_dir/install-sh -c"
609 elif test -f $ac_dir/install.sh; then
611 ac_install_sh="$ac_aux_dir/install.sh -c"
615 if test -z "$ac_aux_dir"; then
616 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
618 ac_config_guess=$ac_aux_dir/config.guess
619 ac_config_sub=$ac_aux_dir/config.sub
620 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
622 toplevel_srcdir=\${top_srcdir}/$toprel
627 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
628 # AC 2.50 sets target_alias iff the user specified --target, but we use it
629 # everywhere, so we set it here just to be sure.
631 # Do some error checking and defaulting for the host and target type.
633 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
636 # 1. You are not allowed to specify --host, --target, and nonopt at the
638 # 2. Host defaults to nonopt.
639 # 3. If nonopt is not specified, then host defaults to the current host,
640 # as determined by config.guess.
641 # 4. Target and build default to nonopt.
642 # 5. If nonopt is not specified, then target and build default to host.
644 # The aliases save the names the user supplied, while $host etc.
645 # will get canonicalized.
646 case $host---$target---$nonopt in
647 NONE---*---* | *---NONE---* | *---*---NONE) ;;
648 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
652 # Make sure we can run config.sub.
653 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
654 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
657 echo $ac_n "checking host system type""... $ac_c" 1>&6
658 echo "configure:659: checking host system type" >&5
661 case "$host_alias" in
665 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
666 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
668 *) host_alias=$nonopt ;;
672 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
673 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
674 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
675 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
676 echo "$ac_t""$host" 1>&6
678 echo $ac_n "checking target system type""... $ac_c" 1>&6
679 echo "configure:680: checking target system type" >&5
682 case "$target_alias" in
685 NONE) target_alias=$host_alias ;;
686 *) target_alias=$nonopt ;;
690 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
691 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
692 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
693 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
694 echo "$ac_t""$target" 1>&6
696 echo $ac_n "checking build system type""... $ac_c" 1>&6
697 echo "configure:698: checking build system type" >&5
700 case "$build_alias" in
703 NONE) build_alias=$host_alias ;;
704 *) build_alias=$nonopt ;;
708 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
709 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
710 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
711 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
712 echo "$ac_t""$build" 1>&6
714 test "$host_alias" != "$target_alias" &&
715 test "$program_prefix$program_suffix$program_transform_name" = \
717 program_prefix=${target_alias}-
719 target_alias=${target_alias-$target}
722 # We use these options to decide which functions to include.
723 # Check whether --with-target-subdir or --without-target-subdir was given.
724 if test "${with_target_subdir+set}" = set; then
725 withval="$with_target_subdir"
729 # Check whether --with-cross-host or --without-cross-host was given.
730 if test "${with_cross_host+set}" = set; then
731 withval="$with_cross_host"
736 # Runs configure.host and configure.target. Have to run this before
737 # the GLIBCPP_ENABLE_* macros below.
738 # Find a good install program. We prefer a C program (faster),
739 # so one script is as good as another. But avoid the broken or
740 # incompatible versions:
741 # SysV /etc/install, /usr/sbin/install
742 # SunOS /usr/etc/install
745 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
746 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
747 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
748 # ./install, which can be erroneously created by make from ./install.sh.
749 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
750 echo "configure:751: checking for a BSD compatible install" >&5
751 if test -z "$INSTALL"; then
752 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
753 echo $ac_n "(cached) $ac_c" 1>&6
755 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
756 for ac_dir in $PATH; do
757 # Account for people who put trailing slashes in PATH elements.
759 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
761 # OSF1 and SCO ODT 3.0 have their own names for install.
762 # Don't use installbsd from OSF since it installs stuff as root
764 for ac_prog in ginstall scoinst install; do
765 if test -f $ac_dir/$ac_prog; then
766 if test $ac_prog = install &&
767 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
768 # AIX install. It has an incompatible calling convention.
771 ac_cv_path_install="$ac_dir/$ac_prog -c"
782 if test "${ac_cv_path_install+set}" = set; then
783 INSTALL="$ac_cv_path_install"
785 # As a last resort, use the slow shell script. We don't cache a
786 # path for INSTALL within a source directory, because that will
787 # break other packages using the cache if that directory is
788 # removed, or if the path is relative.
789 INSTALL="$ac_install_sh"
792 echo "$ac_t""$INSTALL" 1>&6
794 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
795 # It thinks the first close brace ends the variable substitution.
796 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
798 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
800 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
802 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
803 echo "configure:804: checking whether build environment is sane" >&5
806 echo timestamp > conftestfile
807 # Do `set' in a subshell so we don't clobber the current shell's
808 # arguments. Must try -L first in case configure is actually a
809 # symlink; some systems play weird games with the mod time of symlinks
810 # (eg FreeBSD returns the mod time of the symlink's containing
813 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
814 if test "$*" = "X"; then
816 set X `ls -t $srcdir/configure conftestfile`
818 if test "$*" != "X $srcdir/configure conftestfile" \
819 && test "$*" != "X conftestfile $srcdir/configure"; then
821 # If neither matched, then we have a broken ls. This can happen
822 # if, for instance, CONFIG_SHELL is bash and it inherits a
823 # broken ls alias from the environment. This has actually
824 # happened. Such a system could not be considered "sane".
825 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
826 alias in your environment" 1>&2; exit 1; }
829 test "$2" = conftestfile
835 { echo "configure: error: newly created file is older than distributed files!
836 Check your system clock" 1>&2; exit 1; }
839 echo "$ac_t""yes" 1>&6
840 if test "$program_transform_name" = s,x,x,; then
841 program_transform_name=
843 # Double any \ or $. echo might interpret backslashes.
844 cat <<\EOF_SED > conftestsed
845 s,\\,\\\\,g; s,\$,$$,g
847 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
850 test "$program_prefix" != NONE &&
851 program_transform_name="s,^,${program_prefix},; $program_transform_name"
852 # Use a double $ so make ignores it.
853 test "$program_suffix" != NONE &&
854 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
856 # sed with no file args requires a program.
857 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
859 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
860 echo "configure:861: checking whether ${MAKE-make} sets \${MAKE}" >&5
861 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
862 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
863 echo $ac_n "(cached) $ac_c" 1>&6
865 cat > conftestmake <<\EOF
867 @echo 'ac_maketemp="${MAKE}"'
869 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
870 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
871 if test -n "$ac_maketemp"; then
872 eval ac_cv_prog_make_${ac_make}_set=yes
874 eval ac_cv_prog_make_${ac_make}_set=no
878 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
879 echo "$ac_t""yes" 1>&6
882 echo "$ac_t""no" 1>&6
883 SET_MAKE="MAKE=${MAKE-make}"
886 if test $host != $build; then
887 ac_tool_prefix=${host_alias}-
892 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
893 echo "configure:894: checking for Cygwin environment" >&5
894 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
895 echo $ac_n "(cached) $ac_c" 1>&6
897 cat > conftest.$ac_ext <<EOF
898 #line 899 "configure"
899 #include "confdefs.h"
904 #define __CYGWIN__ __CYGWIN32__
909 if { (eval echo configure:910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
913 echo "configure: failed program was:" >&5
914 cat conftest.$ac_ext >&5
922 echo "$ac_t""$ac_cv_cygwin" 1>&6
924 test "$ac_cv_cygwin" = yes && CYGWIN=yes
925 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
926 echo "configure:927: checking for mingw32 environment" >&5
927 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
928 echo $ac_n "(cached) $ac_c" 1>&6
930 cat > conftest.$ac_ext <<EOF
931 #line 932 "configure"
932 #include "confdefs.h"
938 if { (eval echo configure:939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
942 echo "configure: failed program was:" >&5
943 cat conftest.$ac_ext >&5
951 echo "$ac_t""$ac_cv_mingw32" 1>&6
953 test "$ac_cv_mingw32" = yes && MINGW32=yes
955 # Check whether --enable-multilib or --disable-multilib was given.
956 if test "${enable_multilib+set}" = set; then
957 enableval="$enable_multilib"
958 case "${enableval}" in
961 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
967 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
975 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
976 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
978 cat >> confdefs.h <<EOF
979 #define PACKAGE "$PACKAGE"
982 cat >> confdefs.h <<EOF
983 #define VERSION "$VERSION"
988 missing_dir=`cd $ac_aux_dir && pwd`
989 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
990 echo "configure:991: checking for working aclocal" >&5
991 # Run test in a subshell; some versions of sh will print an error if
992 # an executable is not found, even if stderr is redirected.
993 # Redirect stdin to placate older versions of autoconf. Sigh.
994 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
996 echo "$ac_t""found" 1>&6
998 ACLOCAL="$missing_dir/missing aclocal"
999 echo "$ac_t""missing" 1>&6
1002 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1003 echo "configure:1004: checking for working autoconf" >&5
1004 # Run test in a subshell; some versions of sh will print an error if
1005 # an executable is not found, even if stderr is redirected.
1006 # Redirect stdin to placate older versions of autoconf. Sigh.
1007 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1009 echo "$ac_t""found" 1>&6
1011 AUTOCONF="$missing_dir/missing autoconf"
1012 echo "$ac_t""missing" 1>&6
1015 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1016 echo "configure:1017: checking for working automake" >&5
1017 # Run test in a subshell; some versions of sh will print an error if
1018 # an executable is not found, even if stderr is redirected.
1019 # Redirect stdin to placate older versions of autoconf. Sigh.
1020 if (automake --version) < /dev/null > /dev/null 2>&1; then
1022 echo "$ac_t""found" 1>&6
1024 AUTOMAKE="$missing_dir/missing automake"
1025 echo "$ac_t""missing" 1>&6
1028 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1029 echo "configure:1030: checking for working autoheader" >&5
1030 # Run test in a subshell; some versions of sh will print an error if
1031 # an executable is not found, even if stderr is redirected.
1032 # Redirect stdin to placate older versions of autoconf. Sigh.
1033 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1034 AUTOHEADER=autoheader
1035 echo "$ac_t""found" 1>&6
1037 AUTOHEADER="$missing_dir/missing autoheader"
1038 echo "$ac_t""missing" 1>&6
1041 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1042 echo "configure:1043: checking for working makeinfo" >&5
1043 # Run test in a subshell; some versions of sh will print an error if
1044 # an executable is not found, even if stderr is redirected.
1045 # Redirect stdin to placate older versions of autoconf. Sigh.
1046 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1048 echo "$ac_t""found" 1>&6
1050 MAKEINFO="$missing_dir/missing makeinfo"
1051 echo "$ac_t""missing" 1>&6
1056 # Never versions of autoconf add an underscore to these functions.
1057 # Prevent future problems ...
1065 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1066 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1067 # are probably using a cross compiler, which will not be able to fully
1068 # link an executable. This should really be fixed in autoconf
1074 # Extract the first word of "gcc", so it can be a program name with args.
1075 set dummy gcc; ac_word=$2
1076 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1077 echo "configure:1078: checking for $ac_word" >&5
1078 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1079 echo $ac_n "(cached) $ac_c" 1>&6
1081 if test -n "$CC"; then
1082 ac_cv_prog_CC="$CC" # Let the user override the test.
1084 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1086 for ac_dir in $ac_dummy; do
1087 test -z "$ac_dir" && ac_dir=.
1088 if test -f $ac_dir/$ac_word; then
1097 if test -n "$CC"; then
1098 echo "$ac_t""$CC" 1>&6
1100 echo "$ac_t""no" 1>&6
1103 if test -z "$CC"; then
1104 # Extract the first word of "cc", so it can be a program name with args.
1105 set dummy cc; ac_word=$2
1106 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1107 echo "configure:1108: checking for $ac_word" >&5
1108 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1109 echo $ac_n "(cached) $ac_c" 1>&6
1111 if test -n "$CC"; then
1112 ac_cv_prog_CC="$CC" # Let the user override the test.
1114 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1117 for ac_dir in $ac_dummy; do
1118 test -z "$ac_dir" && ac_dir=.
1119 if test -f $ac_dir/$ac_word; then
1120 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1121 ac_prog_rejected=yes
1129 if test $ac_prog_rejected = yes; then
1130 # We found a bogon in the path, so make sure we never use it.
1131 set dummy $ac_cv_prog_CC
1133 if test $# -gt 0; then
1134 # We chose a different compiler from the bogus one.
1135 # However, it has the same basename, so the bogon will be chosen
1136 # first if we set CC to just the basename; use the full file name.
1138 set dummy "$ac_dir/$ac_word" "$@"
1146 if test -n "$CC"; then
1147 echo "$ac_t""$CC" 1>&6
1149 echo "$ac_t""no" 1>&6
1152 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1155 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1156 echo "configure:1157: checking whether we are using GNU C" >&5
1157 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1158 echo $ac_n "(cached) $ac_c" 1>&6
1160 cat > conftest.c <<EOF
1165 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1172 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1174 if test $ac_cv_prog_gcc = yes; then
1176 ac_test_CFLAGS="${CFLAGS+set}"
1177 ac_save_CFLAGS="$CFLAGS"
1179 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1180 echo "configure:1181: checking whether ${CC-cc} accepts -g" >&5
1181 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1182 echo $ac_n "(cached) $ac_c" 1>&6
1184 echo 'void f(){}' > conftest.c
1185 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1194 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1195 if test "$ac_test_CFLAGS" = set; then
1196 CFLAGS="$ac_save_CFLAGS"
1197 elif test $ac_cv_prog_cc_g = yes; then
1204 test "${CFLAGS+set}" = set || CFLAGS="-g"
1208 # Can't just call these here as g++ requires libstc++ to be built....
1211 # Likewise for AC_PROG_CXX.
1215 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1216 # flags that come in CXX while configuring libstdc++. They're different
1217 # from those used for all other target libraries. If CXX is set in
1218 # the environment, respect that here.
1220 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1222 # Extract the first word of "$ac_prog", so it can be a program name with args.
1223 set dummy $ac_prog; ac_word=$2
1224 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1225 echo "configure:1226: checking for $ac_word" >&5
1226 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1227 echo $ac_n "(cached) $ac_c" 1>&6
1229 if test -n "$glibcpp_CXX"; then
1230 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1232 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1234 for ac_dir in $ac_dummy; do
1235 test -z "$ac_dir" && ac_dir=.
1236 if test -f $ac_dir/$ac_word; then
1237 ac_cv_prog_glibcpp_CXX="$ac_prog"
1244 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1245 if test -n "$glibcpp_CXX"; then
1246 echo "$ac_t""$glibcpp_CXX" 1>&6
1248 echo "$ac_t""no" 1>&6
1251 test -n "$glibcpp_CXX" && break
1253 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1257 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1259 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1260 echo "configure:1261: checking whether we are using GNU C++" >&5
1261 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1262 echo $ac_n "(cached) $ac_c" 1>&6
1264 cat > conftest.C <<EOF
1269 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1276 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1278 if test $ac_cv_prog_gxx = yes; then
1280 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1281 ac_save_CXXFLAGS="$CXXFLAGS"
1283 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1284 echo "configure:1285: checking whether ${CXX-g++} accepts -g" >&5
1285 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1286 echo $ac_n "(cached) $ac_c" 1>&6
1288 echo 'void f(){}' > conftest.cc
1289 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1290 ac_cv_prog_cxx_g=yes
1298 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1299 if test "$ac_test_CXXFLAGS" = set; then
1300 CXXFLAGS="$ac_save_CXXFLAGS"
1301 elif test $ac_cv_prog_cxx_g = yes; then
1308 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1312 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1313 set dummy ${ac_tool_prefix}as; ac_word=$2
1314 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1315 echo "configure:1316: checking for $ac_word" >&5
1316 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1317 echo $ac_n "(cached) $ac_c" 1>&6
1319 if test -n "$AS"; then
1320 ac_cv_prog_AS="$AS" # Let the user override the test.
1322 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1324 for ac_dir in $ac_dummy; do
1325 test -z "$ac_dir" && ac_dir=.
1326 if test -f $ac_dir/$ac_word; then
1327 ac_cv_prog_AS="${ac_tool_prefix}as"
1332 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1336 if test -n "$AS"; then
1337 echo "$ac_t""$AS" 1>&6
1339 echo "$ac_t""no" 1>&6
1344 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1345 set dummy ${ac_tool_prefix}ar; ac_word=$2
1346 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1347 echo "configure:1348: checking for $ac_word" >&5
1348 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1349 echo $ac_n "(cached) $ac_c" 1>&6
1351 if test -n "$AR"; then
1352 ac_cv_prog_AR="$AR" # Let the user override the test.
1354 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1356 for ac_dir in $ac_dummy; do
1357 test -z "$ac_dir" && ac_dir=.
1358 if test -f $ac_dir/$ac_word; then
1359 ac_cv_prog_AR="${ac_tool_prefix}ar"
1364 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1368 if test -n "$AR"; then
1369 echo "$ac_t""$AR" 1>&6
1371 echo "$ac_t""no" 1>&6
1376 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1377 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1378 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1379 echo "configure:1380: checking for $ac_word" >&5
1380 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1381 echo $ac_n "(cached) $ac_c" 1>&6
1383 if test -n "$RANLIB"; then
1384 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1386 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1388 for ac_dir in $ac_dummy; do
1389 test -z "$ac_dir" && ac_dir=.
1390 if test -f $ac_dir/$ac_word; then
1391 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1398 RANLIB="$ac_cv_prog_RANLIB"
1399 if test -n "$RANLIB"; then
1400 echo "$ac_t""$RANLIB" 1>&6
1402 echo "$ac_t""no" 1>&6
1406 if test -z "$ac_cv_prog_RANLIB"; then
1407 if test -n "$ac_tool_prefix"; then
1408 # Extract the first word of "ranlib", so it can be a program name with args.
1409 set dummy ranlib; ac_word=$2
1410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1411 echo "configure:1412: checking for $ac_word" >&5
1412 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1413 echo $ac_n "(cached) $ac_c" 1>&6
1415 if test -n "$RANLIB"; then
1416 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1418 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1420 for ac_dir in $ac_dummy; do
1421 test -z "$ac_dir" && ac_dir=.
1422 if test -f $ac_dir/$ac_word; then
1423 ac_cv_prog_RANLIB="ranlib"
1428 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1431 RANLIB="$ac_cv_prog_RANLIB"
1432 if test -n "$RANLIB"; then
1433 echo "$ac_t""$RANLIB" 1>&6
1435 echo "$ac_t""no" 1>&6
1439 RANLIB="ranlib-not-found-in-path-error"
1443 # Find a good install program. We prefer a C program (faster),
1444 # so one script is as good as another. But avoid the broken or
1445 # incompatible versions:
1446 # SysV /etc/install, /usr/sbin/install
1447 # SunOS /usr/etc/install
1448 # IRIX /sbin/install
1450 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1451 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1452 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1453 # ./install, which can be erroneously created by make from ./install.sh.
1454 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1455 echo "configure:1456: checking for a BSD compatible install" >&5
1456 if test -z "$INSTALL"; then
1457 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1458 echo $ac_n "(cached) $ac_c" 1>&6
1460 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1461 for ac_dir in $PATH; do
1462 # Account for people who put trailing slashes in PATH elements.
1464 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1466 # OSF1 and SCO ODT 3.0 have their own names for install.
1467 # Don't use installbsd from OSF since it installs stuff as root
1469 for ac_prog in ginstall scoinst install; do
1470 if test -f $ac_dir/$ac_prog; then
1471 if test $ac_prog = install &&
1472 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1473 # AIX install. It has an incompatible calling convention.
1476 ac_cv_path_install="$ac_dir/$ac_prog -c"
1487 if test "${ac_cv_path_install+set}" = set; then
1488 INSTALL="$ac_cv_path_install"
1490 # As a last resort, use the slow shell script. We don't cache a
1491 # path for INSTALL within a source directory, because that will
1492 # break other packages using the cache if that directory is
1493 # removed, or if the path is relative.
1494 INSTALL="$ac_install_sh"
1497 echo "$ac_t""$INSTALL" 1>&6
1499 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1500 # It thinks the first close brace ends the variable substitution.
1501 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1503 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1505 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1508 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1509 echo "configure:1510: checking whether to enable maintainer-specific portions of Makefiles" >&5
1510 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1511 if test "${enable_maintainer_mode+set}" = set; then
1512 enableval="$enable_maintainer_mode"
1513 USE_MAINTAINER_MODE=$enableval
1515 USE_MAINTAINER_MODE=no
1518 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1521 if test $USE_MAINTAINER_MODE = yes; then
1522 MAINTAINER_MODE_TRUE=
1523 MAINTAINER_MODE_FALSE='#'
1525 MAINTAINER_MODE_TRUE='#'
1526 MAINTAINER_MODE_FALSE=
1528 MAINT=$MAINTAINER_MODE_TRUE
1532 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1533 # at least currently, we never actually build a program, so we never
1534 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1535 # fails, because we are probably configuring with a cross compiler
1536 # which cant create executables. So we include AC_EXEEXT to keep
1537 # automake happy, but we dont execute it, since we dont care about
1540 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1541 # to nothing, so nothing would remain between `then' and `fi' if it
1542 # were not for the `:' below.
1546 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1547 echo "configure:1548: checking for executable suffix" >&5
1548 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1549 echo $ac_n "(cached) $ac_c" 1>&6
1551 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1555 echo 'int main () { return 0; }' > conftest.$ac_ext
1557 if { (eval echo configure:1558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1558 for file in conftest.*; do
1560 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1561 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1565 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1568 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1573 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1574 echo "$ac_t""${ac_cv_exeext}" 1>&6
1579 . ${glibcpp_basedir}/configure.host
1581 case ${glibcpp_basedir} in
1582 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1583 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1586 # This does for the target what configure.host does for the host. In
1587 # addition to possibly modifying the same flags, it also sets up symlinks.
1589 . ${glibcpp_basedir}/configure.target
1590 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1591 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1597 # Check whether --enable-shared or --disable-shared was given.
1598 if test "${enable_shared+set}" = set; then
1599 enableval="$enable_shared"
1600 p=${PACKAGE-default}
1602 yes) enable_shared=yes ;;
1603 no) enable_shared=no ;;
1606 # Look at the argument we got. We use all the common list separators.
1607 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1608 for pkg in $enableval; do
1609 if test "X$pkg" = "X$p"; then
1620 # Check whether --enable-static or --disable-static was given.
1621 if test "${enable_static+set}" = set; then
1622 enableval="$enable_static"
1623 p=${PACKAGE-default}
1625 yes) enable_static=yes ;;
1626 no) enable_static=no ;;
1629 # Look at the argument we got. We use all the common list separators.
1630 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1631 for pkg in $enableval; do
1632 if test "X$pkg" = "X$p"; then
1643 # Check whether --enable-fast-install or --disable-fast-install was given.
1644 if test "${enable_fast_install+set}" = set; then
1645 enableval="$enable_fast_install"
1646 p=${PACKAGE-default}
1648 yes) enable_fast_install=yes ;;
1649 no) enable_fast_install=no ;;
1651 enable_fast_install=no
1652 # Look at the argument we got. We use all the common list separators.
1653 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1654 for pkg in $enableval; do
1655 if test "X$pkg" = "X$p"; then
1656 enable_fast_install=yes
1663 enable_fast_install=yes
1666 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1667 if test "${with_gnu_ld+set}" = set; then
1668 withval="$with_gnu_ld"
1669 test "$withval" = no || with_gnu_ld=yes
1675 if test "$GCC" = yes; then
1676 # Check if gcc -print-prog-name=ld gives a path.
1677 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1678 echo "configure:1679: checking for ld used by GCC" >&5
1681 # gcc leaves a trailing carriage return which upsets mingw
1682 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1684 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1687 # Accept absolute paths.
1688 [\\/]* | [A-Za-z]:[\\/]*)
1689 re_direlt='/[^/][^/]*/\.\./'
1690 # Canonicalize the path of ld
1691 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1692 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1693 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1695 test -z "$LD" && LD="$ac_prog"
1698 # If it fails, then pretend we aren't using GCC.
1702 # If it is relative, then search for the first ld in PATH.
1706 elif test "$with_gnu_ld" = yes; then
1707 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1708 echo "configure:1709: checking for GNU ld" >&5
1710 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1711 echo "configure:1712: checking for non-GNU ld" >&5
1713 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1714 echo $ac_n "(cached) $ac_c" 1>&6
1716 if test -z "$LD"; then
1717 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1718 for ac_dir in $PATH; do
1719 test -z "$ac_dir" && ac_dir=.
1720 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1721 lt_cv_path_LD="$ac_dir/$ac_prog"
1722 # Check to see if the program is GNU ld. I'd rather use --version,
1723 # but apparently some GNU ld's only accept -v.
1724 # Break only if it was the GNU/non-GNU ld that we prefer.
1725 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1726 test "$with_gnu_ld" != no && break
1728 test "$with_gnu_ld" != yes && break
1734 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1739 if test -n "$LD"; then
1740 echo "$ac_t""$LD" 1>&6
1742 echo "$ac_t""no" 1>&6
1744 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1745 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1746 echo "configure:1747: checking if the linker ($LD) is GNU ld" >&5
1747 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1748 echo $ac_n "(cached) $ac_c" 1>&6
1750 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1751 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1752 lt_cv_prog_gnu_ld=yes
1754 lt_cv_prog_gnu_ld=no
1758 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1759 with_gnu_ld=$lt_cv_prog_gnu_ld
1762 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1763 echo "configure:1764: checking for $LD option to reload object files" >&5
1764 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1765 echo $ac_n "(cached) $ac_c" 1>&6
1767 lt_cv_ld_reload_flag='-r'
1770 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1771 reload_flag=$lt_cv_ld_reload_flag
1772 test -n "$reload_flag" && reload_flag=" $reload_flag"
1774 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1775 echo "configure:1776: checking for BSD-compatible nm" >&5
1776 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1777 echo $ac_n "(cached) $ac_c" 1>&6
1779 if test -n "$NM"; then
1780 # Let the user override the test.
1783 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1784 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1785 test -z "$ac_dir" && ac_dir=.
1786 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1787 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1788 # Check to see if the nm accepts a BSD-compat flag.
1789 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1790 # nm: unknown option "B" ignored
1791 # Tru64's nm complains that /dev/null is an invalid object file
1792 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1793 lt_cv_path_NM="$tmp_nm -B"
1795 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1796 lt_cv_path_NM="$tmp_nm -p"
1799 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1800 continue # so that we can try to find one that supports BSD flags
1805 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1810 echo "$ac_t""$NM" 1>&6
1812 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1813 echo "configure:1814: checking whether ln -s works" >&5
1814 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1815 echo $ac_n "(cached) $ac_c" 1>&6
1818 if ln -s X conftestdata 2>/dev/null
1821 ac_cv_prog_LN_S="ln -s"
1826 LN_S="$ac_cv_prog_LN_S"
1827 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1828 echo "$ac_t""yes" 1>&6
1830 echo "$ac_t""no" 1>&6
1833 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1834 echo "configure:1835: checking how to recognise dependant libraries" >&5
1835 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1836 echo $ac_n "(cached) $ac_c" 1>&6
1838 lt_cv_file_magic_cmd='$MAGIC_CMD'
1839 lt_cv_file_magic_test_file=
1840 lt_cv_deplibs_check_method='unknown'
1841 # Need to set the preceding variable on all platforms that support
1842 # interlibrary dependencies.
1843 # 'none' -- dependencies not supported.
1844 # `unknown' -- same as none, but documents that we really don't know.
1845 # 'pass_all' -- all dependencies passed with no checks.
1846 # 'test_compile' -- check by making test program.
1847 # 'file_magic [regex]' -- check by looking for files in library path
1848 # which responds to the $file_magic_cmd with a given egrep regex.
1849 # If you have `file' or equivalent on your system and you're not sure
1850 # whether `pass_all' will *always* work, you probably want this one.
1854 lt_cv_deplibs_check_method=pass_all
1858 lt_cv_deplibs_check_method=pass_all
1862 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1863 lt_cv_file_magic_cmd='/usr/bin/file -L'
1864 lt_cv_file_magic_test_file=/shlib/libc.so
1867 cygwin* | mingw* |pw32*)
1868 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1869 lt_cv_file_magic_cmd='$OBJDUMP -f'
1872 darwin* | rhapsody*)
1873 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1874 lt_cv_file_magic_cmd='/usr/bin/file -L'
1876 rhapsody* | darwin1.012)
1877 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1880 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1886 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1889 # Not sure whether the presence of OpenBSD here was a mistake.
1890 # Let's accept both of them until this is cleared up.
1891 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1892 lt_cv_file_magic_cmd=/usr/bin/file
1893 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1897 lt_cv_deplibs_check_method=pass_all
1902 lt_cv_deplibs_check_method=pass_all
1906 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1907 lt_cv_file_magic_cmd=/usr/bin/file
1908 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1914 # this will be overridden with pass_all, but let us keep it just in case
1915 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1919 *-32|*"-32 ") libmagic=32-bit;;
1920 *-n32|*"-n32 ") libmagic=N32;;
1921 *-64|*"-64 ") libmagic=64-bit;;
1922 *) libmagic=never-match;;
1924 # this will be overridden with pass_all, but let us keep it just in case
1925 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1928 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1929 lt_cv_deplibs_check_method=pass_all
1932 # This must be Linux ELF.
1935 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1936 lt_cv_deplibs_check_method=pass_all ;;
1938 # glibc up to 2.1.1 does not perform some relocations on ARM
1939 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1941 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1945 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1946 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1948 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
1953 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1954 lt_cv_file_magic_cmd=/usr/bin/file
1955 lt_cv_file_magic_test_file=/usr/lib/libnls.so
1958 osf3* | osf4* | osf5*)
1959 # this will be overridden with pass_all, but let us keep it just in case
1960 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1961 lt_cv_file_magic_test_file=/shlib/libc.so
1962 lt_cv_deplibs_check_method=pass_all
1966 lt_cv_deplibs_check_method=pass_all
1970 lt_cv_deplibs_check_method=pass_all
1971 lt_cv_file_magic_test_file=/lib/libc.so
1974 sysv5uw[78]* | sysv4*uw2*)
1975 lt_cv_deplibs_check_method=pass_all
1978 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1979 case $host_vendor in
1981 lt_cv_deplibs_check_method=pass_all
1984 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]'
1985 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1993 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1994 file_magic_cmd=$lt_cv_file_magic_cmd
1995 deplibs_check_method=$lt_cv_deplibs_check_method
1997 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1998 echo "configure:1999: checking for object suffix" >&5
1999 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2000 echo $ac_n "(cached) $ac_c" 1>&6
2003 echo 'int i = 1;' > conftest.$ac_ext
2004 if { (eval echo configure:2005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2005 for ac_file in conftest.*; do
2008 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2012 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2017 echo "$ac_t""$ac_cv_objext" 1>&6
2018 OBJEXT=$ac_cv_objext
2019 ac_objext=$ac_cv_objext
2021 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2023 # Only perform the check for file, if the check method requires it
2024 case $deplibs_check_method in
2026 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2027 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2028 echo "configure:2029: checking for ${ac_tool_prefix}file" >&5
2029 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2030 echo $ac_n "(cached) $ac_c" 1>&6
2034 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2037 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2040 ac_save_MAGIC_CMD="$MAGIC_CMD"
2041 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2042 ac_dummy="/usr/bin:$PATH"
2043 for ac_dir in $ac_dummy; do
2044 test -z "$ac_dir" && ac_dir=.
2045 if test -f $ac_dir/${ac_tool_prefix}file; then
2046 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2047 if test -n "$file_magic_test_file"; then
2048 case $deplibs_check_method in
2050 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2051 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2052 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2053 egrep "$file_magic_regex" > /dev/null; then
2058 *** Warning: the command libtool uses to detect shared libraries,
2059 *** $file_magic_cmd, produces output that libtool cannot recognize.
2060 *** The result is that libtool may fail to recognize shared libraries
2061 *** as such. This will affect the creation of libtool libraries that
2062 *** depend on shared libraries, but programs linked with such libtool
2063 *** libraries will work regardless of this problem. Nevertheless, you
2064 *** may want to report the problem to your system manager and/or to
2065 *** bug-libtool@gnu.org
2075 MAGIC_CMD="$ac_save_MAGIC_CMD"
2080 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2081 if test -n "$MAGIC_CMD"; then
2082 echo "$ac_t""$MAGIC_CMD" 1>&6
2084 echo "$ac_t""no" 1>&6
2087 if test -z "$lt_cv_path_MAGIC_CMD"; then
2088 if test -n "$ac_tool_prefix"; then
2089 echo $ac_n "checking for file""... $ac_c" 1>&6
2090 echo "configure:2091: checking for file" >&5
2091 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2092 echo $ac_n "(cached) $ac_c" 1>&6
2096 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2099 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2102 ac_save_MAGIC_CMD="$MAGIC_CMD"
2103 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2104 ac_dummy="/usr/bin:$PATH"
2105 for ac_dir in $ac_dummy; do
2106 test -z "$ac_dir" && ac_dir=.
2107 if test -f $ac_dir/file; then
2108 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2109 if test -n "$file_magic_test_file"; then
2110 case $deplibs_check_method in
2112 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2113 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2114 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2115 egrep "$file_magic_regex" > /dev/null; then
2120 *** Warning: the command libtool uses to detect shared libraries,
2121 *** $file_magic_cmd, produces output that libtool cannot recognize.
2122 *** The result is that libtool may fail to recognize shared libraries
2123 *** as such. This will affect the creation of libtool libraries that
2124 *** depend on shared libraries, but programs linked with such libtool
2125 *** libraries will work regardless of this problem. Nevertheless, you
2126 *** may want to report the problem to your system manager and/or to
2127 *** bug-libtool@gnu.org
2137 MAGIC_CMD="$ac_save_MAGIC_CMD"
2142 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2143 if test -n "$MAGIC_CMD"; then
2144 echo "$ac_t""$MAGIC_CMD" 1>&6
2146 echo "$ac_t""no" 1>&6
2158 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2159 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2160 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2161 echo "configure:2162: checking for $ac_word" >&5
2162 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2163 echo $ac_n "(cached) $ac_c" 1>&6
2165 if test -n "$RANLIB"; then
2166 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2168 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2170 for ac_dir in $ac_dummy; do
2171 test -z "$ac_dir" && ac_dir=.
2172 if test -f $ac_dir/$ac_word; then
2173 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2180 RANLIB="$ac_cv_prog_RANLIB"
2181 if test -n "$RANLIB"; then
2182 echo "$ac_t""$RANLIB" 1>&6
2184 echo "$ac_t""no" 1>&6
2188 if test -z "$ac_cv_prog_RANLIB"; then
2189 if test -n "$ac_tool_prefix"; then
2190 # Extract the first word of "ranlib", so it can be a program name with args.
2191 set dummy ranlib; ac_word=$2
2192 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2193 echo "configure:2194: checking for $ac_word" >&5
2194 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2195 echo $ac_n "(cached) $ac_c" 1>&6
2197 if test -n "$RANLIB"; then
2198 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2200 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2202 for ac_dir in $ac_dummy; do
2203 test -z "$ac_dir" && ac_dir=.
2204 if test -f $ac_dir/$ac_word; then
2205 ac_cv_prog_RANLIB="ranlib"
2210 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2213 RANLIB="$ac_cv_prog_RANLIB"
2214 if test -n "$RANLIB"; then
2215 echo "$ac_t""$RANLIB" 1>&6
2217 echo "$ac_t""no" 1>&6
2225 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2226 set dummy ${ac_tool_prefix}strip; ac_word=$2
2227 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2228 echo "configure:2229: checking for $ac_word" >&5
2229 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2230 echo $ac_n "(cached) $ac_c" 1>&6
2232 if test -n "$STRIP"; then
2233 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2235 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2237 for ac_dir in $ac_dummy; do
2238 test -z "$ac_dir" && ac_dir=.
2239 if test -f $ac_dir/$ac_word; then
2240 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2247 STRIP="$ac_cv_prog_STRIP"
2248 if test -n "$STRIP"; then
2249 echo "$ac_t""$STRIP" 1>&6
2251 echo "$ac_t""no" 1>&6
2255 if test -z "$ac_cv_prog_STRIP"; then
2256 if test -n "$ac_tool_prefix"; then
2257 # Extract the first word of "strip", so it can be a program name with args.
2258 set dummy strip; ac_word=$2
2259 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2260 echo "configure:2261: checking for $ac_word" >&5
2261 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2262 echo $ac_n "(cached) $ac_c" 1>&6
2264 if test -n "$STRIP"; then
2265 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2267 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2269 for ac_dir in $ac_dummy; do
2270 test -z "$ac_dir" && ac_dir=.
2271 if test -f $ac_dir/$ac_word; then
2272 ac_cv_prog_STRIP="strip"
2277 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2280 STRIP="$ac_cv_prog_STRIP"
2281 if test -n "$STRIP"; then
2282 echo "$ac_t""$STRIP" 1>&6
2284 echo "$ac_t""no" 1>&6
2293 # Check for any special flags to pass to ltconfig.
2294 libtool_flags="--cache-file=$cache_file"
2295 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2296 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2297 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2298 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2299 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2300 libtool_flags="$libtool_flags --enable-dlopen"
2302 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2303 if test "${enable_libtool_lock+set}" = set; then
2304 enableval="$enable_libtool_lock"
2308 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2309 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2311 # Check whether --with-pic or --without-pic was given.
2312 if test "${with_pic+set}" = set; then
2319 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2320 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2322 # Some flags need to be propagated to the compiler or linker for good
2326 # Find out which ABI we are using.
2327 echo '#line 2328 "configure"' > conftest.$ac_ext
2328 if { (eval echo configure:2329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2329 case `/usr/bin/file conftest.$ac_objext` in
2345 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2346 SAVE_CFLAGS="$CFLAGS"
2347 CFLAGS="$CFLAGS -belf"
2348 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2349 echo "configure:2350: checking whether the C compiler needs -belf" >&5
2350 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2351 echo $ac_n "(cached) $ac_c" 1>&6
2355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2356 ac_cpp='$CPP $CPPFLAGS'
2357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2359 cross_compiling=$ac_cv_prog_cc_cross
2361 cat > conftest.$ac_ext <<EOF
2362 #line 2363 "configure"
2363 #include "confdefs.h"
2369 if { (eval echo configure:2370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2371 lt_cv_cc_needs_belf=yes
2373 echo "configure: failed program was:" >&5
2374 cat conftest.$ac_ext >&5
2376 lt_cv_cc_needs_belf=no
2380 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2381 ac_cpp='$CPP $CPPFLAGS'
2382 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2383 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2384 cross_compiling=$ac_cv_prog_cc_cross
2388 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2389 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2390 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2391 CFLAGS="$SAVE_CFLAGS"
2398 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2399 echo "configure:2400: checking how to run the C++ preprocessor" >&5
2400 if test -z "$CXXCPP"; then
2401 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2402 echo $ac_n "(cached) $ac_c" 1>&6
2405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2406 ac_cpp='$CXXCPP $CPPFLAGS'
2407 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2408 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2409 cross_compiling=$ac_cv_prog_cxx_cross
2410 CXXCPP="${CXX-g++} -E"
2411 cat > conftest.$ac_ext <<EOF
2412 #line 2413 "configure"
2413 #include "confdefs.h"
2416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2417 { (eval echo configure:2418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2419 if test -z "$ac_err"; then
2423 echo "configure: failed program was:" >&5
2424 cat conftest.$ac_ext >&5
2429 ac_cv_prog_CXXCPP="$CXXCPP"
2431 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2432 ac_cpp='$CPP $CPPFLAGS'
2433 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2434 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2435 cross_compiling=$ac_cv_prog_cc_cross
2438 CXXCPP="$ac_cv_prog_CXXCPP"
2439 echo "$ac_t""$CXXCPP" 1>&6
2442 # Save cache, so that ltconfig can load it
2443 cat > confcache <<\EOF
2444 # This file is a shell script that caches the results of configure
2445 # tests run on this system so they can be shared between configure
2446 # scripts and configure runs. It is not useful on other systems.
2447 # If it contains results you don't want to keep, you may remove or edit it.
2449 # By default, configure uses ./config.cache as the cache file,
2450 # creating it if it does not exist already. You can give configure
2451 # the --cache-file=FILE option to use a different cache file; that is
2452 # what configure does when it calls configure scripts in
2453 # subdirectories, so they share the cache.
2454 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2455 # config.status only pays attention to the cache file if you give it the
2456 # --recheck option to rerun configure.
2459 # The following way of writing the cache mishandles newlines in values,
2460 # but we know of no workaround that is simple, portable, and efficient.
2461 # So, don't put newlines in cache variables' values.
2462 # Ultrix sh set writes to stderr and can't be redirected directly,
2463 # and sets the high bit in the cache file unless we assign to the vars.
2465 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2467 # `set' does not quote correctly, so add quotes (double-quote substitution
2468 # turns \\\\ into \\, and sed turns \\ into \).
2470 -e "s/'/'\\\\''/g" \
2471 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2474 # `set' quotes correctly as required by POSIX, so do not add quotes.
2475 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2478 if cmp -s $cache_file confcache; then
2481 if test -w $cache_file; then
2482 echo "updating cache $cache_file"
2483 cat confcache > $cache_file
2485 echo "not updating unwritable cache $cache_file"
2491 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2492 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2493 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2494 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2495 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2496 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2497 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2498 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2499 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2500 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2502 # Reload cache, that may have been modified by ltconfig
2503 if test -r "$cache_file"; then
2504 echo "loading cache $cache_file"
2507 echo "creating cache $cache_file"
2512 # This can be used to rebuild libtool when needed
2513 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2515 # Always use our own libtool.
2516 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2518 # Redirect the config.log output again, so that the ltconfig log is not
2519 # clobbered by the next message.
2520 exec 5>>./config.log
2524 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2526 lt_save_CFLAGS="$CFLAGS"
2527 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2528 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2529 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2530 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2531 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2532 deplibs_check_method="$deplibs_check_method" \
2533 file_magic_cmd="$file_magic_cmd" \
2534 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2535 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2536 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2538 CFLAGS="$lt_save_CFLAGS"
2540 # Redirect the config.log output again, so that the ltconfig log is not
2541 # clobbered by the next message.
2542 exec 5>>./config.log
2551 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2552 echo "configure:2553: checking for GNU make" >&5
2553 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2554 echo $ac_n "(cached) $ac_c" 1>&6
2556 _cv_gnu_make_command='' ;
2557 for a in "${MAKE-make}" make gmake gnumake ; do
2558 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2560 _cv_gnu_make_command=$a ;
2567 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2568 if test "x$_cv_gnu_make_command" != "x" ; then
2582 # Check for c++ or library specific bits that don't require linking.
2584 if test ! -f stamp-sanity-compiler; then
2585 echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2586 echo "configure:2587: checking for g++ that will successfully compile libstdc++-v3" >&5
2589 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2590 ac_cpp='$CXXCPP $CPPFLAGS'
2591 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2592 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2593 cross_compiling=$ac_cv_prog_cxx_cross
2595 cat > conftest.$ac_ext <<EOF
2596 #line 2597 "configure"
2597 #include "confdefs.h"
2607 if { (eval echo configure:2608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2609 gpp_satisfactory=yes
2611 echo "configure: failed program was:" >&5
2612 cat conftest.$ac_ext >&5
2614 { echo "configure: error: please upgrade to GCC 3.0 or above" 1>&2; exit 1; }
2618 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2619 ac_cpp='$CPP $CPPFLAGS'
2620 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2621 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2622 cross_compiling=$ac_cv_prog_cc_cross
2624 echo "$ac_t""$gpp_satisfactory" 1>&6
2625 touch stamp-sanity-compiler
2629 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2630 # Check whether --enable-debug or --disable-debug was given.
2631 if test "${enable_debug+set}" = set; then
2632 enableval="$enable_debug"
2633 case "${enableval}" in
2634 yes) enable_debug=yes ;;
2635 no) enable_debug=no ;;
2636 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2642 case "${enable_debug}" in
2644 DEBUG_FLAGS='-O0 -ggdb3'
2652 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2653 echo "configure:2654: checking how to run the C preprocessor" >&5
2654 # On Suns, sometimes $CPP names a directory.
2655 if test -n "$CPP" && test -d "$CPP"; then
2658 if test -z "$CPP"; then
2659 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2660 echo $ac_n "(cached) $ac_c" 1>&6
2662 # This must be in double quotes, not single quotes, because CPP may get
2663 # substituted into the Makefile and "${CC-cc}" will confuse make.
2665 # On the NeXT, cc -E runs the code through the compiler's parser,
2666 # not just through cpp.
2667 cat > conftest.$ac_ext <<EOF
2668 #line 2669 "configure"
2669 #include "confdefs.h"
2673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2674 { (eval echo configure:2675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2676 if test -z "$ac_err"; then
2680 echo "configure: failed program was:" >&5
2681 cat conftest.$ac_ext >&5
2683 CPP="${CC-cc} -E -traditional-cpp"
2684 cat > conftest.$ac_ext <<EOF
2685 #line 2686 "configure"
2686 #include "confdefs.h"
2690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2691 { (eval echo configure:2692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2693 if test -z "$ac_err"; then
2697 echo "configure: failed program was:" >&5
2698 cat conftest.$ac_ext >&5
2700 CPP="${CC-cc} -nologo -E"
2701 cat > conftest.$ac_ext <<EOF
2702 #line 2703 "configure"
2703 #include "confdefs.h"
2707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2708 { (eval echo configure:2709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2710 if test -z "$ac_err"; then
2714 echo "configure: failed program was:" >&5
2715 cat conftest.$ac_ext >&5
2724 ac_cv_prog_CPP="$CPP"
2726 CPP="$ac_cv_prog_CPP"
2728 ac_cv_prog_CPP="$CPP"
2730 echo "$ac_t""$CPP" 1>&6
2733 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2734 echo "configure:2735: checking for cstdio to use" >&5
2735 # Check whether --enable-cstdio or --disable-cstdio was given.
2736 if test "${enable_cstdio+set}" = set; then
2737 enableval="$enable_cstdio"
2738 if test x$enable_cstdio = xno; then
2746 enable_cstdio_flag=$enable_cstdio
2748 case x${enable_cstdio_flag} in
2750 CSTDIO_H=config/c_io_libio.h
2751 BASIC_FILE_H=config/basic_file_libio.h
2752 BASIC_FILE_CC=config/basic_file_libio.cc
2753 echo "$ac_t""libio" 1>&6
2755 # see if we are on a system with libio native (ie, linux)
2756 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2757 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2758 echo "configure:2759: checking for libio.h" >&5
2759 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2760 echo $ac_n "(cached) $ac_c" 1>&6
2762 cat > conftest.$ac_ext <<EOF
2763 #line 2764 "configure"
2764 #include "confdefs.h"
2767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2768 { (eval echo configure:2769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2770 if test -z "$ac_err"; then
2772 eval "ac_cv_header_$ac_safe=yes"
2775 echo "configure: failed program was:" >&5
2776 cat conftest.$ac_ext >&5
2778 eval "ac_cv_header_$ac_safe=no"
2782 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2783 echo "$ac_t""yes" 1>&6
2786 echo "$ac_t""no" 1>&6
2791 # Need to check and see what version of glibc is being used. If
2792 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2793 # compile most of libio for linux systems.
2794 if test x$has_libio = x"yes"; then
2797 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2798 echo "configure:2799: checking for glibc version >= 2.2" >&5
2799 cat > conftest.$ac_ext <<EOF
2800 #line 2801 "configure"
2801 #include "confdefs.h"
2803 #include <features.h>
2804 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2810 egrep "ok" >/dev/null 2>&1; then
2812 glibc_satisfactory=yes
2815 glibc_satisfactory=no
2819 echo "$ac_t""$glibc_satisfactory" 1>&6
2823 # XXX at the moment, admit defeat and force the recompilation
2824 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2825 glibc_satisfactory=no
2827 if test x$glibc_satisfactory = x"yes"; then
2832 # bkoz XXX need to add checks to enable this
2833 # pme XXX here's a first pass at such a check
2834 if test x$enable_c_mbchar != xno; then
2842 # Using libio, but <libio.h> doesn't exist on the target system. . .
2844 # bkoz XXX need to add checks to enable this
2845 # pme XXX here's a first pass at such a check
2846 if test x$enable_c_mbchar != xno; then
2853 xstdio | x | xno | xnone | xyes)
2855 CSTDIO_H=config/c_io_stdio.h
2856 BASIC_FILE_H=config/basic_file_stdio.h
2857 BASIC_FILE_CC=config/basic_file_stdio.cc
2858 echo "$ac_t""stdio" 1>&6
2860 # We're not using stdio.
2865 echo "$enable_cstdio is an unknown io package" 1>&2
2873 # 2000-08-04 bkoz hack
2874 CCODECVT_C=config/c_io_libio_codecvt.c
2876 # 2000-08-04 bkoz hack
2880 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2881 GLIBCPP_BUILD_LIBIO_TRUE=
2882 GLIBCPP_BUILD_LIBIO_FALSE='#'
2884 GLIBCPP_BUILD_LIBIO_TRUE='#'
2885 GLIBCPP_BUILD_LIBIO_FALSE=
2889 if test "$need_libio" = yes; then
2890 GLIBCPP_NEED_LIBIO_TRUE=
2891 GLIBCPP_NEED_LIBIO_FALSE='#'
2893 GLIBCPP_NEED_LIBIO_TRUE='#'
2894 GLIBCPP_NEED_LIBIO_FALSE=
2898 if test "$need_wlibio" = yes; then
2899 GLIBCPP_NEED_WLIBIO_TRUE=
2900 GLIBCPP_NEED_WLIBIO_FALSE='#'
2902 GLIBCPP_NEED_WLIBIO_TRUE='#'
2903 GLIBCPP_NEED_WLIBIO_FALSE=
2905 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2906 libio_la=../libio/libio.la
2913 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2914 echo "configure:2915: checking for clocale to use" >&5
2915 # Check whether --enable-clocale or --disable-clocale was given.
2916 if test "${enable_clocale+set}" = set; then
2917 enableval="$enable_clocale"
2918 if test x$enable_clocale = xno; then
2919 enable_clocale=generic
2922 enable_clocale=generic
2926 enable_clocale_flag=$enable_clocale
2928 case x${enable_clocale_flag} in
2930 CLOCALE_H=config/c_locale_gnu.h
2931 CLOCALE_CC=config/c_locale_gnu.cc
2932 echo "$ac_t""gnu" 1>&6
2935 CLOCALE_H=config/c_locale_generic.h
2936 CLOCALE_CC=config/c_locale_generic.cc
2937 echo "$ac_t""generic" 1>&6
2940 echo "$enable_clocale is an unknown locale package" 1>&2
2948 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2949 if test "${enable_c_mbchar+set}" = set; then
2950 enableval="$enable_c_mbchar"
2951 case "$enableval" in
2952 yes) enable_c_mbchar=yes ;;
2953 no) enable_c_mbchar=no ;;
2954 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2961 # Check whether --enable-c99 or --disable-c99 was given.
2962 if test "${enable_c99+set}" = set; then
2963 enableval="$enable_c99"
2964 case "$enableval" in
2965 yes) enable_c99=yes ;;
2966 no) enable_c99=no ;;
2967 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
2975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2976 ac_cpp='$CXXCPP $CPPFLAGS'
2977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2979 cross_compiling=$ac_cv_prog_cxx_cross
2982 # Check for the existence of <math.h> functions used if C99 is enabled.
2984 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
2985 echo "configure:2986: checking for ISO C99 support in <math.h>" >&5
2986 cat > conftest.$ac_ext <<EOF
2987 #line 2988 "configure"
2988 #include "confdefs.h"
2994 if { (eval echo configure:2995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2997 echo "configure: failed program was:" >&5
2998 cat conftest.$ac_ext >&5
3003 cat > conftest.$ac_ext <<EOF
3004 #line 3005 "configure"
3005 #include "confdefs.h"
3011 if { (eval echo configure:3012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3014 echo "configure: failed program was:" >&5
3015 cat conftest.$ac_ext >&5
3020 cat > conftest.$ac_ext <<EOF
3021 #line 3022 "configure"
3022 #include "confdefs.h"
3028 if { (eval echo configure:3029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3031 echo "configure: failed program was:" >&5
3032 cat conftest.$ac_ext >&5
3037 cat > conftest.$ac_ext <<EOF
3038 #line 3039 "configure"
3039 #include "confdefs.h"
3045 if { (eval echo configure:3046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3048 echo "configure: failed program was:" >&5
3049 cat conftest.$ac_ext >&5
3054 cat > conftest.$ac_ext <<EOF
3055 #line 3056 "configure"
3056 #include "confdefs.h"
3062 if { (eval echo configure:3063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3065 echo "configure: failed program was:" >&5
3066 cat conftest.$ac_ext >&5
3071 cat > conftest.$ac_ext <<EOF
3072 #line 3073 "configure"
3073 #include "confdefs.h"
3079 if { (eval echo configure:3080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3082 echo "configure: failed program was:" >&5
3083 cat conftest.$ac_ext >&5
3088 cat > conftest.$ac_ext <<EOF
3089 #line 3090 "configure"
3090 #include "confdefs.h"
3096 if { (eval echo configure:3097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3099 echo "configure: failed program was:" >&5
3100 cat conftest.$ac_ext >&5
3105 cat > conftest.$ac_ext <<EOF
3106 #line 3107 "configure"
3107 #include "confdefs.h"
3110 isgreaterequal(0.0,0.0);
3113 if { (eval echo configure:3114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3116 echo "configure: failed program was:" >&5
3117 cat conftest.$ac_ext >&5
3122 cat > conftest.$ac_ext <<EOF
3123 #line 3124 "configure"
3124 #include "confdefs.h"
3130 if { (eval echo configure:3131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3133 echo "configure: failed program was:" >&5
3134 cat conftest.$ac_ext >&5
3139 cat > conftest.$ac_ext <<EOF
3140 #line 3141 "configure"
3141 #include "confdefs.h"
3144 islessequal(0.0,0.0);
3147 if { (eval echo configure:3148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3150 echo "configure: failed program was:" >&5
3151 cat conftest.$ac_ext >&5
3156 cat > conftest.$ac_ext <<EOF
3157 #line 3158 "configure"
3158 #include "confdefs.h"
3161 islessgreater(0.0,0.0);
3164 if { (eval echo configure:3165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3167 echo "configure: failed program was:" >&5
3168 cat conftest.$ac_ext >&5
3173 cat > conftest.$ac_ext <<EOF
3174 #line 3175 "configure"
3175 #include "confdefs.h"
3178 isunordered(0.0,0.0);
3181 if { (eval echo configure:3182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3184 echo "configure: failed program was:" >&5
3185 cat conftest.$ac_ext >&5
3190 echo "$ac_t""$ac_c99_math" 1>&6
3192 # Check for the existence in <stdio.h> of vscanf, et. al.
3194 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3195 echo "configure:3196: checking for ISO C99 support in <stdio.h>" >&5
3196 cat > conftest.$ac_ext <<EOF
3197 #line 3198 "configure"
3198 #include "confdefs.h"
3201 snprintf("12", 0, "%i");
3204 if { (eval echo configure:3205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3207 echo "configure: failed program was:" >&5
3208 cat conftest.$ac_ext >&5
3213 cat > conftest.$ac_ext <<EOF
3214 #line 3215 "configure"
3215 #include "confdefs.h"
3218 void foo(char* fmt, ...)
3219 {va_list args; va_start(args, fmt);
3220 vfscanf(stderr, "%i", args);}
3225 if { (eval echo configure:3226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3228 echo "configure: failed program was:" >&5
3229 cat conftest.$ac_ext >&5
3234 cat > conftest.$ac_ext <<EOF
3235 #line 3236 "configure"
3236 #include "confdefs.h"
3239 void foo(char* fmt, ...)
3240 {va_list args; va_start(args, fmt);
3241 vscanf("%i", args);}
3246 if { (eval echo configure:3247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3249 echo "configure: failed program was:" >&5
3250 cat conftest.$ac_ext >&5
3255 cat > conftest.$ac_ext <<EOF
3256 #line 3257 "configure"
3257 #include "confdefs.h"
3260 void foo(char* fmt, ...)
3261 {va_list args; va_start(args, fmt);
3262 vsnprintf(fmt, 0, "%i", args);}
3267 if { (eval echo configure:3268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3270 echo "configure: failed program was:" >&5
3271 cat conftest.$ac_ext >&5
3276 cat > conftest.$ac_ext <<EOF
3277 #line 3278 "configure"
3278 #include "confdefs.h"
3281 void foo(char* fmt, ...)
3282 {va_list args; va_start(args, fmt);
3283 vsscanf(fmt, "%i", args);}
3288 if { (eval echo configure:3289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3291 echo "configure: failed program was:" >&5
3292 cat conftest.$ac_ext >&5
3297 echo "$ac_t""$ac_c99_stdio" 1>&6
3299 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3301 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3302 echo "configure:3303: checking for lldiv_t declaration" >&5
3303 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3304 echo $ac_n "(cached) $ac_c" 1>&6
3307 cat > conftest.$ac_ext <<EOF
3308 #line 3309 "configure"
3309 #include "confdefs.h"
3315 if { (eval echo configure:3316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3319 echo "configure: failed program was:" >&5
3320 cat conftest.$ac_ext >&5
3328 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3330 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3331 echo "configure:3332: checking for ISO C99 support in <stdlib.h>" >&5
3332 cat > conftest.$ac_ext <<EOF
3333 #line 3334 "configure"
3334 #include "confdefs.h"
3337 char* tmp; strtof("gnu", &tmp);
3340 if { (eval echo configure:3341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3343 echo "configure: failed program was:" >&5
3344 cat conftest.$ac_ext >&5
3349 cat > conftest.$ac_ext <<EOF
3350 #line 3351 "configure"
3351 #include "confdefs.h"
3354 char* tmp; strtold("gnu", &tmp);
3357 if { (eval echo configure:3358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3360 echo "configure: failed program was:" >&5
3361 cat conftest.$ac_ext >&5
3366 cat > conftest.$ac_ext <<EOF
3367 #line 3368 "configure"
3368 #include "confdefs.h"
3371 char* tmp; strtoll("gnu", &tmp, 10);
3374 if { (eval echo configure:3375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3377 echo "configure: failed program was:" >&5
3378 cat conftest.$ac_ext >&5
3383 cat > conftest.$ac_ext <<EOF
3384 #line 3385 "configure"
3385 #include "confdefs.h"
3388 char* tmp; strtoull("gnu", &tmp, 10);
3391 if { (eval echo configure:3392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3394 echo "configure: failed program was:" >&5
3395 cat conftest.$ac_ext >&5
3400 cat > conftest.$ac_ext <<EOF
3401 #line 3402 "configure"
3402 #include "confdefs.h"
3408 if { (eval echo configure:3409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3411 echo "configure: failed program was:" >&5
3412 cat conftest.$ac_ext >&5
3417 cat > conftest.$ac_ext <<EOF
3418 #line 3419 "configure"
3419 #include "confdefs.h"
3425 if { (eval echo configure:3426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3428 echo "configure: failed program was:" >&5
3429 cat conftest.$ac_ext >&5
3434 cat > conftest.$ac_ext <<EOF
3435 #line 3436 "configure"
3436 #include "confdefs.h"
3442 if { (eval echo configure:3443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3445 echo "configure: failed program was:" >&5
3446 cat conftest.$ac_ext >&5
3451 cat > conftest.$ac_ext <<EOF
3452 #line 3453 "configure"
3453 #include "confdefs.h"
3459 if { (eval echo configure:3460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3462 echo "configure: failed program was:" >&5
3463 cat conftest.$ac_ext >&5
3468 if test x"$ac_c99_lldiv_t" = x"no"; then
3471 echo "$ac_t""$ac_c99_stdlib" 1>&6
3473 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3474 # XXX the wchar.h checks should be rolled into the general C99 bits.
3476 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3477 echo "configure:3478: checking for additional ISO C99 support in <wchar.h>" >&5
3478 cat > conftest.$ac_ext <<EOF
3479 #line 3480 "configure"
3480 #include "confdefs.h"
3483 wcstold(L"10.0", NULL);
3486 if { (eval echo configure:3487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3489 echo "configure: failed program was:" >&5
3490 cat conftest.$ac_ext >&5
3495 cat > conftest.$ac_ext <<EOF
3496 #line 3497 "configure"
3497 #include "confdefs.h"
3500 wcstoll(L"10", NULL, 10);
3503 if { (eval echo configure:3504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3506 echo "configure: failed program was:" >&5
3507 cat conftest.$ac_ext >&5
3512 cat > conftest.$ac_ext <<EOF
3513 #line 3514 "configure"
3514 #include "confdefs.h"
3517 wcstoull(L"10", NULL, 10);
3520 if { (eval echo configure:3521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3523 echo "configure: failed program was:" >&5
3524 cat conftest.$ac_ext >&5
3529 echo "$ac_t""$ac_c99_wchar" 1>&6
3531 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3532 echo "configure:3533: checking for enabled ISO C99 support" >&5
3533 if test x"$ac_c99_math" = x"no" ||
3534 test x"$ac_c99_stdio" = x"no" ||
3535 test x"$ac_c99_stdlib" = x"no" ||
3536 test x"$ac_c99_wchar" = x"no"; then
3539 echo "$ac_t""$enable_c99" 1>&6
3541 # Option parsed, now set things appropriately
3542 if test x"$enable_c99" = x"yes"; then
3543 cat >> confdefs.h <<\EOF
3544 #define _GLIBCPP_USE_C99 1
3550 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3551 ac_cpp='$CPP $CPPFLAGS'
3552 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3553 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3554 cross_compiling=$ac_cv_prog_cc_cross
3558 # Check whether --enable-long-long or --disable-long-long was given.
3559 if test "${enable_long_long+set}" = set; then
3560 enableval="$enable_long_long"
3561 case "$enableval" in
3562 yes) enable_long_long=yes ;;
3563 no) enable_long_long=no ;;
3564 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3567 enable_long_long=yes
3570 # iostreams require strtoll, strtoull to compile. If the
3571 # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
3572 # go ahead and allow long long to be used.
3573 if test x"$enable_c99" = x"no"; then
3574 enable_long_long=no;
3577 # Option parsed, now set things appropriately
3578 echo $ac_n "checking for enabled long long support""... $ac_c" 1>&6
3579 echo "configure:3580: checking for enabled long long support" >&5
3580 if test x"$enable_long_long" = xyes; then
3581 cat >> confdefs.h <<\EOF
3582 #define _GLIBCPP_USE_LONG_LONG 1
3586 echo "$ac_t""$enable_long_long" 1>&6
3588 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3589 echo "configure:3590: checking for c header strategy to use" >&5
3590 # Check whether --enable-cheaders or --disable-cheaders was given.
3591 if test "${enable_cheaders+set}" = set; then
3592 enableval="$enable_cheaders"
3594 case "$enableval" in
3599 enable_cheaders=c_std
3602 enable_cheaders=c_shadow
3604 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3608 enable_cheaders=c_std
3611 echo "$ac_t""$enable_cheaders" 1>&6
3613 case "$enable_cheaders" in
3615 CSHADOW_FLAGS="-fno-builtin"
3616 C_INCLUDE_DIR='${top_srcdir}/include/c_shadow'
3617 cat >> confdefs.h <<\EOF
3618 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3624 C_INCLUDE_DIR='${top_srcdir}/include/c_std'
3628 C_INCLUDE_DIR='${top_srcdir}/include/c'
3636 if test "$enable_cheaders" = c_shadow; then
3637 GLIBCPP_USE_CSHADOW_TRUE=
3638 GLIBCPP_USE_CSHADOW_FALSE='#'
3640 GLIBCPP_USE_CSHADOW_TRUE='#'
3641 GLIBCPP_USE_CSHADOW_FALSE=
3645 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3646 echo "configure:3647: checking for thread model used by GCC" >&5
3647 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3648 echo "$ac_t""$target_thread_file" 1>&6
3653 if test $target_thread_file != single; then
3654 cat >> confdefs.h <<\EOF
3655 #define HAVE_GTHR_DEFAULT 1
3658 cat >> confdefs.h <<\EOF
3659 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3665 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3666 if test "${enable_cxx_flags+set}" = set; then
3667 enableval="$enable_cxx_flags"
3668 case "x$enableval" in
3670 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3672 enable_cxx_flags='' ;;
3674 enable_cxx_flags="$enableval" ;;
3677 enable_cxx_flags='none'
3681 if test "$enable_cxx_flags" = "none"; then
3682 enable_cxx_flags='';
3685 if test -n "$enable_cxx_flags"; then
3686 for f in $enable_cxx_flags; do
3690 *) # and we're trying to pass /what/ exactly?
3691 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3695 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3699 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3700 echo "configure:3701: checking for exception model to use" >&5
3703 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3704 ac_cpp='$CXXCPP $CPPFLAGS'
3705 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3706 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3707 cross_compiling=$ac_cv_prog_cxx_cross
3709 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3710 if test "${enable_sjlj_exceptions+set}" = set; then
3711 enableval="$enable_sjlj_exceptions"
3714 cat > conftest.$ac_ext << EOF
3715 #line 3716 "configure"
3724 old_CXXFLAGS="$CXXFLAGS"
3726 if { (eval echo configure:3727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3727 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3728 enable_sjlj_exceptions=yes
3729 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3730 enable_sjlj_exceptions=no
3733 CXXFLAGS="$old_CXXFLAGS"
3737 if test x$enable_sjlj_exceptions = xyes; then
3738 cat >> confdefs.h <<\EOF
3739 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3742 ac_exception_model_name=sjlj
3743 elif test x$enable_sjlj_exceptions = xno; then
3744 ac_exception_model_name="call frame"
3746 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3749 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3750 ac_cpp='$CPP $CPPFLAGS'
3751 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3752 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3753 cross_compiling=$ac_cv_prog_cc_cross
3755 echo "$ac_t""$ac_exception_model_name" 1>&6
3758 if test -n "$with_cross_host"; then
3760 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3761 # may not work correctly, because the compiler may not be able to
3766 # If Canadian cross, then don't pick up tools from the build
3768 if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then
3776 case "$target_alias" in
3778 # Construct linux crosses by hand, eliminating bits that need ld...
3779 # Check for available headers.
3780 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3781 machine/endian.h machine/param.h sys/machine.h fp.h locale.h \
3784 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3785 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3786 echo "configure:3787: checking for $ac_hdr" >&5
3787 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3788 echo $ac_n "(cached) $ac_c" 1>&6
3790 cat > conftest.$ac_ext <<EOF
3791 #line 3792 "configure"
3792 #include "confdefs.h"
3795 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3796 { (eval echo configure:3797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3797 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3798 if test -z "$ac_err"; then
3800 eval "ac_cv_header_$ac_safe=yes"
3803 echo "configure: failed program was:" >&5
3804 cat conftest.$ac_ext >&5
3806 eval "ac_cv_header_$ac_safe=no"
3810 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3811 echo "$ac_t""yes" 1>&6
3812 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3813 cat >> confdefs.h <<EOF
3814 #define $ac_tr_hdr 1
3818 echo "$ac_t""no" 1>&6
3823 # GLIBCPP_CHECK_COMPILER_FEATURES
3824 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3827 # If we're not using GNU ld, then there's no point in even trying these
3828 # tests. Check for that first. We should have already tested for gld
3829 # by now (in libtool), but require it now just to be safe...
3834 # Set --gc-sections.
3835 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3836 # GNU ld it is! Joy and bunny rabbits!
3838 # All these tests are for C++; save the language and the compiler flags.
3839 # Need to do this so that g++ won't try to link in libstdc++
3840 ac_test_CFLAGS="${CFLAGS+set}"
3841 ac_save_CFLAGS="$CFLAGS"
3842 CFLAGS='-x c++ -Wl,--gc-sections'
3844 # Check for -Wl,--gc-sections
3845 # XXX This test is broken at the moment, as symbols required for
3846 # linking are now in libsupc++ (not built yet.....). In addition,
3847 # this test has cored on solaris in the past. In addition,
3848 # --gc-sections doesn't really work at the moment (keeps on discarding
3849 # used sections, first .eh_frame and now some of the glibc sections for
3850 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3851 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3852 echo "configure:3853: checking for ld that supports -Wl,--gc-sections" >&5
3853 if test "$cross_compiling" = yes; then
3854 ac_sectionLDflags=yes
3856 cat > conftest.$ac_ext <<EOF
3857 #line 3858 "configure"
3858 #include "confdefs.h"
3868 if { (eval echo configure:3869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3870 ac_sectionLDflags=yes
3872 echo "configure: failed program was:" >&5
3873 cat conftest.$ac_ext >&5
3875 ac_sectionLFflags=no
3880 if test "$ac_test_CFLAGS" = set; then
3881 CFLAGS="$ac_save_CFLAGS"
3883 # this is the suspicious part
3886 if test "$ac_sectionLDflags" = "yes"; then
3887 SECTION_LDFLAGS='-Wl,--gc-sections'
3889 echo "$ac_t""$ac_sectionLDflags" 1>&6
3892 # Set linker optimization flags.
3893 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
3894 test x"$enable_debug" = x"no"; then
3895 OPT_LDFLAGS='-Wl,-O1'
3901 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3902 # GLIBCPP_CHECK_MATH_SUPPORT
3903 cat >> confdefs.h <<\EOF
3904 #define HAVE_ACOSF 1
3907 cat >> confdefs.h <<\EOF
3908 #define HAVE_ASINF 1
3911 cat >> confdefs.h <<\EOF
3912 #define HAVE_ATAN2F 1
3915 cat >> confdefs.h <<\EOF
3916 #define HAVE_ATANF 1
3919 cat >> confdefs.h <<\EOF
3920 #define HAVE_CEILF 1
3923 cat >> confdefs.h <<\EOF
3924 #define HAVE_COPYSIGN 1
3927 cat >> confdefs.h <<\EOF
3928 #define HAVE_COPYSIGNF 1
3931 cat >> confdefs.h <<\EOF
3935 cat >> confdefs.h <<\EOF
3936 #define HAVE_COSHF 1
3939 cat >> confdefs.h <<\EOF
3943 cat >> confdefs.h <<\EOF
3944 #define HAVE_FABSF 1
3947 cat >> confdefs.h <<\EOF
3948 #define HAVE_FINITE 1
3951 cat >> confdefs.h <<\EOF
3952 #define HAVE_FINITEF 1
3955 cat >> confdefs.h <<\EOF
3956 #define HAVE_FLOORF 1
3959 cat >> confdefs.h <<\EOF
3960 #define HAVE_FMODF 1
3963 cat >> confdefs.h <<\EOF
3964 #define HAVE_FREXPF 1
3967 cat >> confdefs.h <<\EOF
3968 #define HAVE_ISINF 1
3971 cat >> confdefs.h <<\EOF
3972 #define HAVE_ISINFF 1
3975 cat >> confdefs.h <<\EOF
3976 #define HAVE_ISNAN 1
3979 cat >> confdefs.h <<\EOF
3980 #define HAVE_ISNANF 1
3983 cat >> confdefs.h <<\EOF
3984 #define HAVE_LDEXPF 1
3987 cat >> confdefs.h <<\EOF
3988 #define HAVE_LOG10F 1
3991 cat >> confdefs.h <<\EOF
3995 cat >> confdefs.h <<\EOF
3996 #define HAVE_MODFF 1
3999 cat >> confdefs.h <<\EOF
4003 cat >> confdefs.h <<\EOF
4004 #define HAVE_SINCOS 1
4007 cat >> confdefs.h <<\EOF
4008 #define HAVE_SINCOSF 1
4011 cat >> confdefs.h <<\EOF
4015 cat >> confdefs.h <<\EOF
4016 #define HAVE_SINHF 1
4019 cat >> confdefs.h <<\EOF
4020 #define HAVE_SQRTF 1
4023 cat >> confdefs.h <<\EOF
4027 cat >> confdefs.h <<\EOF
4028 #define HAVE_TANHF 1
4032 # At some point, we should differentiate between architectures
4033 # like x86, which have long double versions, and alpha/powerpc/etc.,
4034 # which don't. For the time being, punt.
4035 if test x"long_double_math_on_this_cpu" = x"yes"; then
4036 cat >> confdefs.h <<\EOF
4037 #define HAVE_ACOSL 1
4040 cat >> confdefs.h <<\EOF
4041 #define HAVE_ASINL 1
4044 cat >> confdefs.h <<\EOF
4045 #define HAVE_ATAN2L 1
4048 cat >> confdefs.h <<\EOF
4049 #define HAVE_ATANL 1
4052 cat >> confdefs.h <<\EOF
4053 #define HAVE_CEILL 1
4056 cat >> confdefs.h <<\EOF
4057 #define HAVE_COPYSIGNL 1
4060 cat >> confdefs.h <<\EOF
4064 cat >> confdefs.h <<\EOF
4065 #define HAVE_COSHL 1
4068 cat >> confdefs.h <<\EOF
4072 cat >> confdefs.h <<\EOF
4073 #define HAVE_FABSL 1
4076 cat >> confdefs.h <<\EOF
4077 #define HAVE_FINITEL 1
4080 cat >> confdefs.h <<\EOF
4081 #define HAVE_FLOORL 1
4084 cat >> confdefs.h <<\EOF
4085 #define HAVE_FMODL 1
4088 cat >> confdefs.h <<\EOF
4089 #define HAVE_FREXPL 1
4092 cat >> confdefs.h <<\EOF
4093 #define HAVE_ISINFL 1
4096 cat >> confdefs.h <<\EOF
4097 #define HAVE_ISNANL 1
4100 cat >> confdefs.h <<\EOF
4101 #define HAVE_LDEXPL 1
4104 cat >> confdefs.h <<\EOF
4105 #define HAVE_LOG10L 1
4108 cat >> confdefs.h <<\EOF
4112 cat >> confdefs.h <<\EOF
4113 #define HAVE_MODFL 1
4116 cat >> confdefs.h <<\EOF
4120 cat >> confdefs.h <<\EOF
4121 #define HAVE_SINCOSL 1
4124 cat >> confdefs.h <<\EOF
4128 cat >> confdefs.h <<\EOF
4129 #define HAVE_SINHL 1
4132 cat >> confdefs.h <<\EOF
4133 #define HAVE_SQRTL 1
4136 cat >> confdefs.h <<\EOF
4140 cat >> confdefs.h <<\EOF
4141 #define HAVE_TANHL 1
4146 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4147 echo "configure:4148: checking for main in -lm" >&5
4148 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4149 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4150 echo $ac_n "(cached) $ac_c" 1>&6
4152 ac_save_LIBS="$LIBS"
4154 cat > conftest.$ac_ext <<EOF
4155 #line 4156 "configure"
4156 #include "confdefs.h"
4162 if { (eval echo configure:4163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4164 eval "ac_cv_lib_$ac_lib_var=yes"
4166 echo "configure: failed program was:" >&5
4167 cat conftest.$ac_ext >&5
4169 eval "ac_cv_lib_$ac_lib_var=no"
4172 LIBS="$ac_save_LIBS"
4175 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4176 echo "$ac_t""yes" 1>&6
4177 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4178 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4179 cat >> confdefs.h <<EOF
4180 #define $ac_tr_lib 1
4186 echo "$ac_t""no" 1>&6
4189 for ac_func in nan hypot hypotf atan2f expf copysignf
4191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4192 echo "configure:4193: checking for $ac_func" >&5
4193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4194 echo $ac_n "(cached) $ac_c" 1>&6
4196 cat > conftest.$ac_ext <<EOF
4197 #line 4198 "configure"
4198 #include "confdefs.h"
4199 /* System header to define __stub macros and hopefully few prototypes,
4200 which can conflict with char $ac_func(); below. */
4202 /* Override any gcc2 internal prototype to avoid an error. */
4203 /* We use char because int might match the return type of a gcc2
4204 builtin and then its argument prototype would still apply. */
4209 /* The GNU C library defines this for functions which it implements
4210 to always fail with ENOSYS. Some functions are actually named
4211 something starting with __ and the normal name is an alias. */
4212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4220 if { (eval echo configure:4221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4222 eval "ac_cv_func_$ac_func=yes"
4224 echo "configure: failed program was:" >&5
4225 cat conftest.$ac_ext >&5
4227 eval "ac_cv_func_$ac_func=no"
4232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4233 echo "$ac_t""yes" 1>&6
4234 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4235 cat >> confdefs.h <<EOF
4236 #define $ac_tr_func 1
4240 echo "$ac_t""no" 1>&6
4241 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4247 USE_COMPLEX_LONG_DOUBLE=no
4248 if test x$ac_cv_func_atan2l = x"yes" &&
4249 test x$ac_cv_func_copysignl = x"yes"; then
4250 USE_COMPLEX_LONG_DOUBLE=yes
4251 for ac_func in hypotl signbitl
4253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4254 echo "configure:4255: checking for $ac_func" >&5
4255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4256 echo $ac_n "(cached) $ac_c" 1>&6
4258 cat > conftest.$ac_ext <<EOF
4259 #line 4260 "configure"
4260 #include "confdefs.h"
4261 /* System header to define __stub macros and hopefully few prototypes,
4262 which can conflict with char $ac_func(); below. */
4264 /* Override any gcc2 internal prototype to avoid an error. */
4265 /* We use char because int might match the return type of a gcc2
4266 builtin and then its argument prototype would still apply. */
4271 /* The GNU C library defines this for functions which it implements
4272 to always fail with ENOSYS. Some functions are actually named
4273 something starting with __ and the normal name is an alias. */
4274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4282 if { (eval echo configure:4283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4284 eval "ac_cv_func_$ac_func=yes"
4286 echo "configure: failed program was:" >&5
4287 cat conftest.$ac_ext >&5
4289 eval "ac_cv_func_$ac_func=no"
4294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4295 echo "$ac_t""yes" 1>&6
4296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4297 cat >> confdefs.h <<EOF
4298 #define $ac_tr_func 1
4302 echo "$ac_t""no" 1>&6
4303 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4314 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4315 echo "configure:4316: checking for mbstate_t" >&5
4316 cat > conftest.$ac_ext <<EOF
4317 #line 4318 "configure"
4318 #include "confdefs.h"
4321 mbstate_t teststate;
4324 if { (eval echo configure:4325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4328 echo "configure: failed program was:" >&5
4329 cat conftest.$ac_ext >&5
4334 echo "$ac_t""$have_mbstate_t" 1>&6
4335 if test x"$have_mbstate_t" = xyes; then
4336 cat >> confdefs.h <<\EOF
4337 #define HAVE_MBSTATE_T 1
4342 for ac_hdr in wchar.h
4344 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4345 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4346 echo "configure:4347: checking for $ac_hdr" >&5
4347 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4348 echo $ac_n "(cached) $ac_c" 1>&6
4350 cat > conftest.$ac_ext <<EOF
4351 #line 4352 "configure"
4352 #include "confdefs.h"
4355 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4356 { (eval echo configure:4357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4358 if test -z "$ac_err"; then
4360 eval "ac_cv_header_$ac_safe=yes"
4363 echo "configure: failed program was:" >&5
4364 cat conftest.$ac_ext >&5
4366 eval "ac_cv_header_$ac_safe=no"
4370 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4371 echo "$ac_t""yes" 1>&6
4372 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4373 cat >> confdefs.h <<EOF
4374 #define $ac_tr_hdr 1
4378 echo "$ac_t""no" 1>&6
4383 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4384 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4385 echo "configure:4386: checking for wctype.h" >&5
4386 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4387 echo $ac_n "(cached) $ac_c" 1>&6
4389 cat > conftest.$ac_ext <<EOF
4390 #line 4391 "configure"
4391 #include "confdefs.h"
4394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4395 { (eval echo configure:4396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4397 if test -z "$ac_err"; then
4399 eval "ac_cv_header_$ac_safe=yes"
4402 echo "configure: failed program was:" >&5
4403 cat conftest.$ac_ext >&5
4405 eval "ac_cv_header_$ac_safe=no"
4409 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4410 echo "$ac_t""yes" 1>&6
4413 echo "$ac_t""no" 1>&6
4418 if test x"$ac_has_wchar_h" = xyes &&
4419 test x"$ac_has_wctype_h" = xyes &&
4420 test x"$enable_c_mbchar" != xno; then
4422 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4423 echo "configure:4424: checking for WCHAR_MIN and WCHAR_MAX" >&5
4424 cat > conftest.$ac_ext <<EOF
4425 #line 4426 "configure"
4426 #include "confdefs.h"
4429 int i = WCHAR_MIN; int j = WCHAR_MAX;
4432 if { (eval echo configure:4433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4434 has_wchar_minmax=yes
4436 echo "configure: failed program was:" >&5
4437 cat conftest.$ac_ext >&5
4442 echo "$ac_t""$has_wchar_minmax" 1>&6
4444 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4445 echo "configure:4446: checking for WEOF" >&5
4446 cat > conftest.$ac_ext <<EOF
4447 #line 4448 "configure"
4448 #include "confdefs.h"
4456 if { (eval echo configure:4457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4460 echo "configure: failed program was:" >&5
4461 cat conftest.$ac_ext >&5
4466 echo "$ac_t""$has_weof" 1>&6
4469 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4471 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4472 echo "configure:4473: checking for $ac_func" >&5
4473 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4474 echo $ac_n "(cached) $ac_c" 1>&6
4476 cat > conftest.$ac_ext <<EOF
4477 #line 4478 "configure"
4478 #include "confdefs.h"
4479 /* System header to define __stub macros and hopefully few prototypes,
4480 which can conflict with char $ac_func(); below. */
4482 /* Override any gcc2 internal prototype to avoid an error. */
4483 /* We use char because int might match the return type of a gcc2
4484 builtin and then its argument prototype would still apply. */
4489 /* The GNU C library defines this for functions which it implements
4490 to always fail with ENOSYS. Some functions are actually named
4491 something starting with __ and the normal name is an alias. */
4492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4500 if { (eval echo configure:4501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4502 eval "ac_cv_func_$ac_func=yes"
4504 echo "configure: failed program was:" >&5
4505 cat conftest.$ac_ext >&5
4507 eval "ac_cv_func_$ac_func=no"
4512 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4513 echo "$ac_t""yes" 1>&6
4514 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4515 cat >> confdefs.h <<EOF
4516 #define $ac_tr_func 1
4520 echo "$ac_t""no" 1>&6
4527 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4528 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4529 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4530 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4531 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4532 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4535 echo "configure:4536: checking for $ac_func" >&5
4536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4537 echo $ac_n "(cached) $ac_c" 1>&6
4539 cat > conftest.$ac_ext <<EOF
4540 #line 4541 "configure"
4541 #include "confdefs.h"
4542 /* System header to define __stub macros and hopefully few prototypes,
4543 which can conflict with char $ac_func(); below. */
4545 /* Override any gcc2 internal prototype to avoid an error. */
4546 /* We use char because int might match the return type of a gcc2
4547 builtin and then its argument prototype would still apply. */
4552 /* The GNU C library defines this for functions which it implements
4553 to always fail with ENOSYS. Some functions are actually named
4554 something starting with __ and the normal name is an alias. */
4555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4563 if { (eval echo configure:4564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4565 eval "ac_cv_func_$ac_func=yes"
4567 echo "configure: failed program was:" >&5
4568 cat conftest.$ac_ext >&5
4570 eval "ac_cv_func_$ac_func=no"
4575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4576 echo "$ac_t""yes" 1>&6
4577 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4578 cat >> confdefs.h <<EOF
4579 #define $ac_tr_func 1
4583 echo "$ac_t""no" 1>&6
4590 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4591 echo "configure:4592: checking for ISO C99 wchar_t support" >&5
4592 if test x"$has_weof" = xyes &&
4593 test x"$has_wchar_minmax" = xyes &&
4594 test x"$ac_wfuncs" = xyes; then
4595 ac_isoC99_wchar_t=yes
4597 ac_isoC99_wchar_t=no
4599 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4601 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4602 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4603 echo "configure:4604: checking for iconv.h" >&5
4604 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4605 echo $ac_n "(cached) $ac_c" 1>&6
4607 cat > conftest.$ac_ext <<EOF
4608 #line 4609 "configure"
4609 #include "confdefs.h"
4612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4613 { (eval echo configure:4614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4615 if test -z "$ac_err"; then
4617 eval "ac_cv_header_$ac_safe=yes"
4620 echo "configure: failed program was:" >&5
4621 cat conftest.$ac_ext >&5
4623 eval "ac_cv_header_$ac_safe=no"
4627 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4628 echo "$ac_t""yes" 1>&6
4631 echo "$ac_t""no" 1>&6
4635 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4636 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4637 echo "configure:4638: checking for langinfo.h" >&5
4638 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4639 echo $ac_n "(cached) $ac_c" 1>&6
4641 cat > conftest.$ac_ext <<EOF
4642 #line 4643 "configure"
4643 #include "confdefs.h"
4644 #include <langinfo.h>
4646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4647 { (eval echo configure:4648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4649 if test -z "$ac_err"; then
4651 eval "ac_cv_header_$ac_safe=yes"
4654 echo "configure: failed program was:" >&5
4655 cat conftest.$ac_ext >&5
4657 eval "ac_cv_header_$ac_safe=no"
4661 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4662 echo "$ac_t""yes" 1>&6
4663 ac_has_langinfo_h=yes
4665 echo "$ac_t""no" 1>&6
4666 ac_has_langinfo_h=no
4670 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4671 echo "configure:4672: checking for iconv in -liconv" >&5
4672 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4673 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4674 echo $ac_n "(cached) $ac_c" 1>&6
4676 ac_save_LIBS="$LIBS"
4677 LIBS="-liconv $LIBS"
4678 cat > conftest.$ac_ext <<EOF
4679 #line 4680 "configure"
4680 #include "confdefs.h"
4681 /* Override any gcc2 internal prototype to avoid an error. */
4682 /* We use char because int might match the return type of a gcc2
4683 builtin and then its argument prototype would still apply. */
4690 if { (eval echo configure:4691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4692 eval "ac_cv_lib_$ac_lib_var=yes"
4694 echo "configure: failed program was:" >&5
4695 cat conftest.$ac_ext >&5
4697 eval "ac_cv_lib_$ac_lib_var=no"
4700 LIBS="$ac_save_LIBS"
4703 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4704 echo "$ac_t""yes" 1>&6
4707 echo "$ac_t""no" 1>&6
4710 ac_save_LIBS="$LIBS"
4711 LIBS="$LIBS $libiconv"
4713 for ac_func in iconv_open iconv_close iconv nl_langinfo
4715 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4716 echo "configure:4717: checking for $ac_func" >&5
4717 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4718 echo $ac_n "(cached) $ac_c" 1>&6
4720 cat > conftest.$ac_ext <<EOF
4721 #line 4722 "configure"
4722 #include "confdefs.h"
4723 /* System header to define __stub macros and hopefully few prototypes,
4724 which can conflict with char $ac_func(); below. */
4726 /* Override any gcc2 internal prototype to avoid an error. */
4727 /* We use char because int might match the return type of a gcc2
4728 builtin and then its argument prototype would still apply. */
4733 /* The GNU C library defines this for functions which it implements
4734 to always fail with ENOSYS. Some functions are actually named
4735 something starting with __ and the normal name is an alias. */
4736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4744 if { (eval echo configure:4745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4746 eval "ac_cv_func_$ac_func=yes"
4748 echo "configure: failed program was:" >&5
4749 cat conftest.$ac_ext >&5
4751 eval "ac_cv_func_$ac_func=no"
4756 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4757 echo "$ac_t""yes" 1>&6
4758 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4759 cat >> confdefs.h <<EOF
4760 #define $ac_tr_func 1
4765 echo "$ac_t""no" 1>&6
4771 LIBS="$ac_save_LIBS"
4773 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4774 echo "configure:4775: checking for XPG2 wchar_t support" >&5
4775 if test x"$ac_has_iconv_h" = xyes &&
4776 test x"$ac_has_langinfo_h" = xyes &&
4777 test x"$ac_XPG2funcs" = xyes; then
4782 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4784 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4785 echo "configure:4786: checking for enabled wchar_t specializations" >&5
4786 if test x"$ac_isoC99_wchar_t" = xyes &&
4787 test x"$ac_XPG2_wchar_t" = xyes; then
4788 cat >> confdefs.h <<\EOF
4789 #define _GLIBCPP_USE_WCHAR_T 1
4792 echo "$ac_t"""yes"" 1>&6
4794 echo "$ac_t"""no"" 1>&6
4797 echo "configure: warning: wchar_t support disabled." 1>&2
4800 os_include_dir="config/os/gnu-linux"
4801 # GLIBCPP_CHECK_STDLIB_SUPPORT
4802 cat >> confdefs.h <<\EOF
4803 #define HAVE_STRTOF 1
4806 cat >> confdefs.h <<\EOF
4807 #define HAVE_STRTOLD 1
4811 cat >> confdefs.h <<\EOF
4817 # We assume newlib. This lets us hard-code the functions we know
4819 cat >> confdefs.h <<\EOF
4820 #define HAVE_FINITE 1
4823 cat >> confdefs.h <<\EOF
4824 #define HAVE_ISNAN 1
4827 cat >> confdefs.h <<\EOF
4828 #define HAVE_ISNANF 1
4831 cat >> confdefs.h <<\EOF
4832 #define HAVE_ISINF 1
4835 cat >> confdefs.h <<\EOF
4836 #define HAVE_ISINFF 1
4840 os_include_dir="config/os/newlib"
4842 # need to check for faster f versions of math functions, ie sinf?
4847 # We are being configured natively. We can do more elaborate tests
4848 # that include AC_TRY_COMPILE now, as the linker is assumed to be
4855 # Check for available headers.
4856 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
4857 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
4859 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4860 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4861 echo "configure:4862: checking for $ac_hdr" >&5
4862 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4863 echo $ac_n "(cached) $ac_c" 1>&6
4865 cat > conftest.$ac_ext <<EOF
4866 #line 4867 "configure"
4867 #include "confdefs.h"
4870 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4871 { (eval echo configure:4872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4872 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4873 if test -z "$ac_err"; then
4875 eval "ac_cv_header_$ac_safe=yes"
4878 echo "configure: failed program was:" >&5
4879 cat conftest.$ac_ext >&5
4881 eval "ac_cv_header_$ac_safe=no"
4885 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4886 echo "$ac_t""yes" 1>&6
4887 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4888 cat >> confdefs.h <<EOF
4889 #define $ac_tr_hdr 1
4893 echo "$ac_t""no" 1>&6
4899 # All these tests are for C++; save the language and the compiler flags.
4900 # The CXXFLAGS thing is suspicious, but based on similar bits previously
4901 # found in GLIBCPP_CONFIGURE.
4904 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4905 ac_cpp='$CXXCPP $CPPFLAGS'
4906 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4907 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4908 cross_compiling=$ac_cv_prog_cxx_cross
4910 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4911 ac_save_CXXFLAGS="$CXXFLAGS"
4913 # Check for maintainer-mode bits.
4914 if test x"$USE_MAINTAINER_MODE" = xno; then
4920 # Check for -ffunction-sections -fdata-sections
4921 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
4922 echo "configure:4923: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
4923 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
4924 cat > conftest.$ac_ext <<EOF
4925 #line 4926 "configure"
4926 #include "confdefs.h"
4933 if { (eval echo configure:4934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4937 echo "configure: failed program was:" >&5
4938 cat conftest.$ac_ext >&5
4943 if test "$ac_test_CXXFLAGS" = set; then
4944 CXXFLAGS="$ac_save_CXXFLAGS"
4946 # this is the suspicious part
4949 if test x"$ac_fdsections" = x"yes" &&
4950 test x"$enable_debug" = x"no"; then
4951 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4953 echo "$ac_t""$ac_fdsections" 1>&6
4956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4957 ac_cpp='$CPP $CPPFLAGS'
4958 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4959 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4960 cross_compiling=$ac_cv_prog_cc_cross
4966 # If we're not using GNU ld, then there's no point in even trying these
4967 # tests. Check for that first. We should have already tested for gld
4968 # by now (in libtool), but require it now just to be safe...
4973 # Set --gc-sections.
4974 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4975 # GNU ld it is! Joy and bunny rabbits!
4977 # All these tests are for C++; save the language and the compiler flags.
4978 # Need to do this so that g++ won't try to link in libstdc++
4979 ac_test_CFLAGS="${CFLAGS+set}"
4980 ac_save_CFLAGS="$CFLAGS"
4981 CFLAGS='-x c++ -Wl,--gc-sections'
4983 # Check for -Wl,--gc-sections
4984 # XXX This test is broken at the moment, as symbols required for
4985 # linking are now in libsupc++ (not built yet.....). In addition,
4986 # this test has cored on solaris in the past. In addition,
4987 # --gc-sections doesn't really work at the moment (keeps on discarding
4988 # used sections, first .eh_frame and now some of the glibc sections for
4989 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4990 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4991 echo "configure:4992: checking for ld that supports -Wl,--gc-sections" >&5
4992 if test "$cross_compiling" = yes; then
4993 ac_sectionLDflags=yes
4995 cat > conftest.$ac_ext <<EOF
4996 #line 4997 "configure"
4997 #include "confdefs.h"
5007 if { (eval echo configure:5008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5009 ac_sectionLDflags=yes
5011 echo "configure: failed program was:" >&5
5012 cat conftest.$ac_ext >&5
5014 ac_sectionLFflags=no
5019 if test "$ac_test_CFLAGS" = set; then
5020 CFLAGS="$ac_save_CFLAGS"
5022 # this is the suspicious part
5025 if test "$ac_sectionLDflags" = "yes"; then
5026 SECTION_LDFLAGS='-Wl,--gc-sections'
5028 echo "$ac_t""$ac_sectionLDflags" 1>&6
5031 # Set linker optimization flags.
5032 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
5033 test x"$enable_debug" = x"no"; then
5034 OPT_LDFLAGS='-Wl,-O1'
5042 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
5043 echo "configure:5044: checking for __builtin_abs declaration" >&5
5044 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
5045 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5046 echo $ac_n "(cached) $ac_c" 1>&6
5051 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5052 ac_cpp='$CXXCPP $CPPFLAGS'
5053 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5054 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5055 cross_compiling=$ac_cv_prog_cxx_cross
5057 cat > conftest.$ac_ext <<EOF
5058 #line 5059 "configure"
5059 #include "confdefs.h"
5065 if { (eval echo configure:5066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5067 glibcpp_cv_func___builtin_abs_use=yes
5069 echo "configure: failed program was:" >&5
5070 cat conftest.$ac_ext >&5
5072 glibcpp_cv_func___builtin_abs_use=no
5076 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5077 ac_cpp='$CPP $CPPFLAGS'
5078 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5079 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5080 cross_compiling=$ac_cv_prog_cc_cross
5086 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5087 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
5088 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
5089 echo "configure:5090: checking for __builtin_abs linkage" >&5
5090 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
5091 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5092 echo $ac_n "(cached) $ac_c" 1>&6
5095 cat > conftest.$ac_ext <<EOF
5096 #line 5097 "configure"
5097 #include "confdefs.h"
5103 if { (eval echo configure:5104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5105 glibcpp_cv_func___builtin_abs_link=yes
5107 echo "configure: failed program was:" >&5
5108 cat conftest.$ac_ext >&5
5110 glibcpp_cv_func___builtin_abs_link=no
5117 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5118 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
5119 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5120 cat >> confdefs.h <<EOF
5121 #define ${ac_tr_func} 1
5128 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
5129 echo "configure:5130: checking for __builtin_fabsf declaration" >&5
5130 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
5131 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5132 echo $ac_n "(cached) $ac_c" 1>&6
5137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5138 ac_cpp='$CXXCPP $CPPFLAGS'
5139 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5140 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5141 cross_compiling=$ac_cv_prog_cxx_cross
5143 cat > conftest.$ac_ext <<EOF
5144 #line 5145 "configure"
5145 #include "confdefs.h"
5151 if { (eval echo configure:5152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5153 glibcpp_cv_func___builtin_fabsf_use=yes
5155 echo "configure: failed program was:" >&5
5156 cat conftest.$ac_ext >&5
5158 glibcpp_cv_func___builtin_fabsf_use=no
5162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5163 ac_cpp='$CPP $CPPFLAGS'
5164 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5165 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5166 cross_compiling=$ac_cv_prog_cc_cross
5172 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5173 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
5174 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
5175 echo "configure:5176: checking for __builtin_fabsf linkage" >&5
5176 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
5177 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5178 echo $ac_n "(cached) $ac_c" 1>&6
5181 cat > conftest.$ac_ext <<EOF
5182 #line 5183 "configure"
5183 #include "confdefs.h"
5189 if { (eval echo configure:5190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5191 glibcpp_cv_func___builtin_fabsf_link=yes
5193 echo "configure: failed program was:" >&5
5194 cat conftest.$ac_ext >&5
5196 glibcpp_cv_func___builtin_fabsf_link=no
5203 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5204 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
5205 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5206 cat >> confdefs.h <<EOF
5207 #define ${ac_tr_func} 1
5214 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
5215 echo "configure:5216: checking for __builtin_fabs declaration" >&5
5216 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
5217 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5218 echo $ac_n "(cached) $ac_c" 1>&6
5223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5224 ac_cpp='$CXXCPP $CPPFLAGS'
5225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5227 cross_compiling=$ac_cv_prog_cxx_cross
5229 cat > conftest.$ac_ext <<EOF
5230 #line 5231 "configure"
5231 #include "confdefs.h"
5237 if { (eval echo configure:5238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5239 glibcpp_cv_func___builtin_fabs_use=yes
5241 echo "configure: failed program was:" >&5
5242 cat conftest.$ac_ext >&5
5244 glibcpp_cv_func___builtin_fabs_use=no
5248 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5249 ac_cpp='$CPP $CPPFLAGS'
5250 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5251 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5252 cross_compiling=$ac_cv_prog_cc_cross
5258 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5259 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
5260 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
5261 echo "configure:5262: checking for __builtin_fabs linkage" >&5
5262 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
5263 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5264 echo $ac_n "(cached) $ac_c" 1>&6
5267 cat > conftest.$ac_ext <<EOF
5268 #line 5269 "configure"
5269 #include "confdefs.h"
5275 if { (eval echo configure:5276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5277 glibcpp_cv_func___builtin_fabs_link=yes
5279 echo "configure: failed program was:" >&5
5280 cat conftest.$ac_ext >&5
5282 glibcpp_cv_func___builtin_fabs_link=no
5289 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5290 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
5291 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5292 cat >> confdefs.h <<EOF
5293 #define ${ac_tr_func} 1
5300 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
5301 echo "configure:5302: checking for __builtin_fabsl declaration" >&5
5302 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
5303 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5304 echo $ac_n "(cached) $ac_c" 1>&6
5309 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5310 ac_cpp='$CXXCPP $CPPFLAGS'
5311 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5312 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5313 cross_compiling=$ac_cv_prog_cxx_cross
5315 cat > conftest.$ac_ext <<EOF
5316 #line 5317 "configure"
5317 #include "confdefs.h"
5323 if { (eval echo configure:5324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5325 glibcpp_cv_func___builtin_fabsl_use=yes
5327 echo "configure: failed program was:" >&5
5328 cat conftest.$ac_ext >&5
5330 glibcpp_cv_func___builtin_fabsl_use=no
5334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5335 ac_cpp='$CPP $CPPFLAGS'
5336 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5337 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5338 cross_compiling=$ac_cv_prog_cc_cross
5344 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5345 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
5346 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
5347 echo "configure:5348: checking for __builtin_fabsl linkage" >&5
5348 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
5349 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5350 echo $ac_n "(cached) $ac_c" 1>&6
5353 cat > conftest.$ac_ext <<EOF
5354 #line 5355 "configure"
5355 #include "confdefs.h"
5361 if { (eval echo configure:5362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5363 glibcpp_cv_func___builtin_fabsl_link=yes
5365 echo "configure: failed program was:" >&5
5366 cat conftest.$ac_ext >&5
5368 glibcpp_cv_func___builtin_fabsl_link=no
5375 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5376 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
5377 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5378 cat >> confdefs.h <<EOF
5379 #define ${ac_tr_func} 1
5386 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
5387 echo "configure:5388: checking for __builtin_labs declaration" >&5
5388 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
5389 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5390 echo $ac_n "(cached) $ac_c" 1>&6
5395 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5396 ac_cpp='$CXXCPP $CPPFLAGS'
5397 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5398 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5399 cross_compiling=$ac_cv_prog_cxx_cross
5401 cat > conftest.$ac_ext <<EOF
5402 #line 5403 "configure"
5403 #include "confdefs.h"
5409 if { (eval echo configure:5410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5411 glibcpp_cv_func___builtin_labs_use=yes
5413 echo "configure: failed program was:" >&5
5414 cat conftest.$ac_ext >&5
5416 glibcpp_cv_func___builtin_labs_use=no
5420 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5421 ac_cpp='$CPP $CPPFLAGS'
5422 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5423 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5424 cross_compiling=$ac_cv_prog_cc_cross
5430 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5431 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5432 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5433 echo "configure:5434: checking for __builtin_labs linkage" >&5
5434 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5435 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5436 echo $ac_n "(cached) $ac_c" 1>&6
5439 cat > conftest.$ac_ext <<EOF
5440 #line 5441 "configure"
5441 #include "confdefs.h"
5447 if { (eval echo configure:5448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5449 glibcpp_cv_func___builtin_labs_link=yes
5451 echo "configure: failed program was:" >&5
5452 cat conftest.$ac_ext >&5
5454 glibcpp_cv_func___builtin_labs_link=no
5461 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5462 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5463 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5464 cat >> confdefs.h <<EOF
5465 #define ${ac_tr_func} 1
5473 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5474 echo "configure:5475: checking for __builtin_sqrtf declaration" >&5
5475 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5476 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5477 echo $ac_n "(cached) $ac_c" 1>&6
5482 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5483 ac_cpp='$CXXCPP $CPPFLAGS'
5484 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5485 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5486 cross_compiling=$ac_cv_prog_cxx_cross
5488 cat > conftest.$ac_ext <<EOF
5489 #line 5490 "configure"
5490 #include "confdefs.h"
5496 if { (eval echo configure:5497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5498 glibcpp_cv_func___builtin_sqrtf_use=yes
5500 echo "configure: failed program was:" >&5
5501 cat conftest.$ac_ext >&5
5503 glibcpp_cv_func___builtin_sqrtf_use=no
5507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5508 ac_cpp='$CPP $CPPFLAGS'
5509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5511 cross_compiling=$ac_cv_prog_cc_cross
5517 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5518 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5519 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5520 echo "configure:5521: checking for __builtin_sqrtf linkage" >&5
5521 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5522 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5523 echo $ac_n "(cached) $ac_c" 1>&6
5526 cat > conftest.$ac_ext <<EOF
5527 #line 5528 "configure"
5528 #include "confdefs.h"
5534 if { (eval echo configure:5535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5536 glibcpp_cv_func___builtin_sqrtf_link=yes
5538 echo "configure: failed program was:" >&5
5539 cat conftest.$ac_ext >&5
5541 glibcpp_cv_func___builtin_sqrtf_link=no
5548 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5549 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5550 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5551 cat >> confdefs.h <<EOF
5552 #define ${ac_tr_func} 1
5559 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5560 echo "configure:5561: checking for __builtin_fsqrt declaration" >&5
5561 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5562 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5563 echo $ac_n "(cached) $ac_c" 1>&6
5568 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5569 ac_cpp='$CXXCPP $CPPFLAGS'
5570 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5571 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5572 cross_compiling=$ac_cv_prog_cxx_cross
5574 cat > conftest.$ac_ext <<EOF
5575 #line 5576 "configure"
5576 #include "confdefs.h"
5582 if { (eval echo configure:5583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5584 glibcpp_cv_func___builtin_fsqrt_use=yes
5586 echo "configure: failed program was:" >&5
5587 cat conftest.$ac_ext >&5
5589 glibcpp_cv_func___builtin_fsqrt_use=no
5593 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5594 ac_cpp='$CPP $CPPFLAGS'
5595 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5596 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5597 cross_compiling=$ac_cv_prog_cc_cross
5603 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5604 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5605 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5606 echo "configure:5607: checking for __builtin_fsqrt linkage" >&5
5607 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5608 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5609 echo $ac_n "(cached) $ac_c" 1>&6
5612 cat > conftest.$ac_ext <<EOF
5613 #line 5614 "configure"
5614 #include "confdefs.h"
5620 if { (eval echo configure:5621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5622 glibcpp_cv_func___builtin_fsqrt_link=yes
5624 echo "configure: failed program was:" >&5
5625 cat conftest.$ac_ext >&5
5627 glibcpp_cv_func___builtin_fsqrt_link=no
5634 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5635 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5636 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5637 cat >> confdefs.h <<EOF
5638 #define ${ac_tr_func} 1
5645 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5646 echo "configure:5647: checking for __builtin_sqrtl declaration" >&5
5647 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5648 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5649 echo $ac_n "(cached) $ac_c" 1>&6
5654 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5655 ac_cpp='$CXXCPP $CPPFLAGS'
5656 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5657 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5658 cross_compiling=$ac_cv_prog_cxx_cross
5660 cat > conftest.$ac_ext <<EOF
5661 #line 5662 "configure"
5662 #include "confdefs.h"
5668 if { (eval echo configure:5669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5670 glibcpp_cv_func___builtin_sqrtl_use=yes
5672 echo "configure: failed program was:" >&5
5673 cat conftest.$ac_ext >&5
5675 glibcpp_cv_func___builtin_sqrtl_use=no
5679 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5680 ac_cpp='$CPP $CPPFLAGS'
5681 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5682 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5683 cross_compiling=$ac_cv_prog_cc_cross
5689 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5690 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5691 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5692 echo "configure:5693: checking for __builtin_sqrtl linkage" >&5
5693 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5694 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5695 echo $ac_n "(cached) $ac_c" 1>&6
5698 cat > conftest.$ac_ext <<EOF
5699 #line 5700 "configure"
5700 #include "confdefs.h"
5706 if { (eval echo configure:5707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5708 glibcpp_cv_func___builtin_sqrtl_link=yes
5710 echo "configure: failed program was:" >&5
5711 cat conftest.$ac_ext >&5
5713 glibcpp_cv_func___builtin_sqrtl_link=no
5720 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5721 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5722 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5723 cat >> confdefs.h <<EOF
5724 #define ${ac_tr_func} 1
5732 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5733 echo "configure:5734: checking for __builtin_sinf declaration" >&5
5734 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5735 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5736 echo $ac_n "(cached) $ac_c" 1>&6
5741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5742 ac_cpp='$CXXCPP $CPPFLAGS'
5743 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5744 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5745 cross_compiling=$ac_cv_prog_cxx_cross
5747 cat > conftest.$ac_ext <<EOF
5748 #line 5749 "configure"
5749 #include "confdefs.h"
5755 if { (eval echo configure:5756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5757 glibcpp_cv_func___builtin_sinf_use=yes
5759 echo "configure: failed program was:" >&5
5760 cat conftest.$ac_ext >&5
5762 glibcpp_cv_func___builtin_sinf_use=no
5766 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5767 ac_cpp='$CPP $CPPFLAGS'
5768 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5769 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5770 cross_compiling=$ac_cv_prog_cc_cross
5776 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5777 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5778 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5779 echo "configure:5780: checking for __builtin_sinf linkage" >&5
5780 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5781 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5782 echo $ac_n "(cached) $ac_c" 1>&6
5785 cat > conftest.$ac_ext <<EOF
5786 #line 5787 "configure"
5787 #include "confdefs.h"
5793 if { (eval echo configure:5794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5795 glibcpp_cv_func___builtin_sinf_link=yes
5797 echo "configure: failed program was:" >&5
5798 cat conftest.$ac_ext >&5
5800 glibcpp_cv_func___builtin_sinf_link=no
5807 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5808 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
5809 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5810 cat >> confdefs.h <<EOF
5811 #define ${ac_tr_func} 1
5818 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
5819 echo "configure:5820: checking for __builtin_sin declaration" >&5
5820 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
5821 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5822 echo $ac_n "(cached) $ac_c" 1>&6
5827 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5828 ac_cpp='$CXXCPP $CPPFLAGS'
5829 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5830 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5831 cross_compiling=$ac_cv_prog_cxx_cross
5833 cat > conftest.$ac_ext <<EOF
5834 #line 5835 "configure"
5835 #include "confdefs.h"
5841 if { (eval echo configure:5842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5843 glibcpp_cv_func___builtin_sin_use=yes
5845 echo "configure: failed program was:" >&5
5846 cat conftest.$ac_ext >&5
5848 glibcpp_cv_func___builtin_sin_use=no
5852 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5853 ac_cpp='$CPP $CPPFLAGS'
5854 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5855 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5856 cross_compiling=$ac_cv_prog_cc_cross
5862 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
5863 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
5864 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
5865 echo "configure:5866: checking for __builtin_sin linkage" >&5
5866 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
5867 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
5868 echo $ac_n "(cached) $ac_c" 1>&6
5871 cat > conftest.$ac_ext <<EOF
5872 #line 5873 "configure"
5873 #include "confdefs.h"
5879 if { (eval echo configure:5880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5881 glibcpp_cv_func___builtin_sin_link=yes
5883 echo "configure: failed program was:" >&5
5884 cat conftest.$ac_ext >&5
5886 glibcpp_cv_func___builtin_sin_link=no
5893 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
5894 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
5895 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5896 cat >> confdefs.h <<EOF
5897 #define ${ac_tr_func} 1
5904 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
5905 echo "configure:5906: checking for __builtin_sinl declaration" >&5
5906 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
5907 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
5908 echo $ac_n "(cached) $ac_c" 1>&6
5913 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5914 ac_cpp='$CXXCPP $CPPFLAGS'
5915 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5916 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5917 cross_compiling=$ac_cv_prog_cxx_cross
5919 cat > conftest.$ac_ext <<EOF
5920 #line 5921 "configure"
5921 #include "confdefs.h"
5927 if { (eval echo configure:5928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5929 glibcpp_cv_func___builtin_sinl_use=yes
5931 echo "configure: failed program was:" >&5
5932 cat conftest.$ac_ext >&5
5934 glibcpp_cv_func___builtin_sinl_use=no
5938 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5939 ac_cpp='$CPP $CPPFLAGS'
5940 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5941 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5942 cross_compiling=$ac_cv_prog_cc_cross
5948 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
5949 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
5950 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
5951 echo "configure:5952: checking for __builtin_sinl linkage" >&5
5952 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
5953 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
5954 echo $ac_n "(cached) $ac_c" 1>&6
5957 cat > conftest.$ac_ext <<EOF
5958 #line 5959 "configure"
5959 #include "confdefs.h"
5965 if { (eval echo configure:5966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5967 glibcpp_cv_func___builtin_sinl_link=yes
5969 echo "configure: failed program was:" >&5
5970 cat conftest.$ac_ext >&5
5972 glibcpp_cv_func___builtin_sinl_link=no
5979 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
5980 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
5981 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5982 cat >> confdefs.h <<EOF
5983 #define ${ac_tr_func} 1
5991 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
5992 echo "configure:5993: checking for __builtin_cosf declaration" >&5
5993 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
5994 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
5995 echo $ac_n "(cached) $ac_c" 1>&6
6000 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6001 ac_cpp='$CXXCPP $CPPFLAGS'
6002 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6003 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6004 cross_compiling=$ac_cv_prog_cxx_cross
6006 cat > conftest.$ac_ext <<EOF
6007 #line 6008 "configure"
6008 #include "confdefs.h"
6014 if { (eval echo configure:6015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6016 glibcpp_cv_func___builtin_cosf_use=yes
6018 echo "configure: failed program was:" >&5
6019 cat conftest.$ac_ext >&5
6021 glibcpp_cv_func___builtin_cosf_use=no
6025 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6026 ac_cpp='$CPP $CPPFLAGS'
6027 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6028 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6029 cross_compiling=$ac_cv_prog_cc_cross
6035 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6036 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
6037 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
6038 echo "configure:6039: checking for __builtin_cosf linkage" >&5
6039 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
6040 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6041 echo $ac_n "(cached) $ac_c" 1>&6
6044 cat > conftest.$ac_ext <<EOF
6045 #line 6046 "configure"
6046 #include "confdefs.h"
6052 if { (eval echo configure:6053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6054 glibcpp_cv_func___builtin_cosf_link=yes
6056 echo "configure: failed program was:" >&5
6057 cat conftest.$ac_ext >&5
6059 glibcpp_cv_func___builtin_cosf_link=no
6066 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6067 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
6068 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6069 cat >> confdefs.h <<EOF
6070 #define ${ac_tr_func} 1
6077 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
6078 echo "configure:6079: checking for __builtin_cos declaration" >&5
6079 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
6080 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6081 echo $ac_n "(cached) $ac_c" 1>&6
6086 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6087 ac_cpp='$CXXCPP $CPPFLAGS'
6088 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6089 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6090 cross_compiling=$ac_cv_prog_cxx_cross
6092 cat > conftest.$ac_ext <<EOF
6093 #line 6094 "configure"
6094 #include "confdefs.h"
6100 if { (eval echo configure:6101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6102 glibcpp_cv_func___builtin_cos_use=yes
6104 echo "configure: failed program was:" >&5
6105 cat conftest.$ac_ext >&5
6107 glibcpp_cv_func___builtin_cos_use=no
6111 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6112 ac_cpp='$CPP $CPPFLAGS'
6113 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6114 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6115 cross_compiling=$ac_cv_prog_cc_cross
6121 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6122 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
6123 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
6124 echo "configure:6125: checking for __builtin_cos linkage" >&5
6125 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
6126 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6127 echo $ac_n "(cached) $ac_c" 1>&6
6130 cat > conftest.$ac_ext <<EOF
6131 #line 6132 "configure"
6132 #include "confdefs.h"
6138 if { (eval echo configure:6139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6140 glibcpp_cv_func___builtin_cos_link=yes
6142 echo "configure: failed program was:" >&5
6143 cat conftest.$ac_ext >&5
6145 glibcpp_cv_func___builtin_cos_link=no
6152 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6153 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
6154 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6155 cat >> confdefs.h <<EOF
6156 #define ${ac_tr_func} 1
6163 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
6164 echo "configure:6165: checking for __builtin_cosl declaration" >&5
6165 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
6166 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6167 echo $ac_n "(cached) $ac_c" 1>&6
6172 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6173 ac_cpp='$CXXCPP $CPPFLAGS'
6174 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6175 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6176 cross_compiling=$ac_cv_prog_cxx_cross
6178 cat > conftest.$ac_ext <<EOF
6179 #line 6180 "configure"
6180 #include "confdefs.h"
6186 if { (eval echo configure:6187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6188 glibcpp_cv_func___builtin_cosl_use=yes
6190 echo "configure: failed program was:" >&5
6191 cat conftest.$ac_ext >&5
6193 glibcpp_cv_func___builtin_cosl_use=no
6197 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6198 ac_cpp='$CPP $CPPFLAGS'
6199 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6200 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6201 cross_compiling=$ac_cv_prog_cc_cross
6207 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6208 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
6209 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
6210 echo "configure:6211: checking for __builtin_cosl linkage" >&5
6211 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
6212 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6213 echo $ac_n "(cached) $ac_c" 1>&6
6216 cat > conftest.$ac_ext <<EOF
6217 #line 6218 "configure"
6218 #include "confdefs.h"
6224 if { (eval echo configure:6225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6226 glibcpp_cv_func___builtin_cosl_link=yes
6228 echo "configure: failed program was:" >&5
6229 cat conftest.$ac_ext >&5
6231 glibcpp_cv_func___builtin_cosl_link=no
6238 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6239 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
6240 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6241 cat >> confdefs.h <<EOF
6242 #define ${ac_tr_func} 1
6250 if test x$dummyvar = x"yes"; then
6251 cat >> confdefs.h <<\EOF
6252 #define HAVE___BUILTIN_ABS 1
6255 cat >> confdefs.h <<\EOF
6256 #define HAVE___BUILTIN_LABS 1
6259 cat >> confdefs.h <<\EOF
6260 #define HAVE___BUILTIN_COS 1
6263 cat >> confdefs.h <<\EOF
6264 #define HAVE___BUILTIN_COSF 1
6267 cat >> confdefs.h <<\EOF
6268 #define HAVE___BUILTIN_COSL 1
6271 cat >> confdefs.h <<\EOF
6272 #define HAVE___BUILTIN_FABS 1
6275 cat >> confdefs.h <<\EOF
6276 #define HAVE___BUILTIN_FABSF 1
6279 cat >> confdefs.h <<\EOF
6280 #define HAVE___BUILTIN_FABSL 1
6283 cat >> confdefs.h <<\EOF
6284 #define HAVE___BUILTIN_SIN 1
6287 cat >> confdefs.h <<\EOF
6288 #define HAVE___BUILTIN_SINF 1
6291 cat >> confdefs.h <<\EOF
6292 #define HAVE___BUILTIN_SINL 1
6295 cat >> confdefs.h <<\EOF
6296 #define HAVE___BUILTIN_FSQRT 1
6299 cat >> confdefs.h <<\EOF
6300 #define HAVE___BUILTIN_SQRTF 1
6303 cat >> confdefs.h <<\EOF
6304 #define HAVE___BUILTIN_SQRTL 1
6310 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6311 ac_save_CXXFLAGS="$CXXFLAGS"
6312 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
6314 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
6315 echo "configure:6316: checking for sin in -lm" >&5
6316 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
6317 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6318 echo $ac_n "(cached) $ac_c" 1>&6
6320 ac_save_LIBS="$LIBS"
6322 cat > conftest.$ac_ext <<EOF
6323 #line 6324 "configure"
6324 #include "confdefs.h"
6325 /* Override any gcc2 internal prototype to avoid an error. */
6326 /* We use char because int might match the return type of a gcc2
6327 builtin and then its argument prototype would still apply. */
6334 if { (eval echo configure:6335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6336 eval "ac_cv_lib_$ac_lib_var=yes"
6338 echo "configure: failed program was:" >&5
6339 cat conftest.$ac_ext >&5
6341 eval "ac_cv_lib_$ac_lib_var=no"
6344 LIBS="$ac_save_LIBS"
6347 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6348 echo "$ac_t""yes" 1>&6
6351 echo "$ac_t""no" 1>&6
6354 ac_save_LIBS="$LIBS"
6359 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
6360 echo "configure:6361: checking for isinf declaration" >&5
6361 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
6362 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6363 echo $ac_n "(cached) $ac_c" 1>&6
6368 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6369 ac_cpp='$CXXCPP $CPPFLAGS'
6370 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6371 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6372 cross_compiling=$ac_cv_prog_cxx_cross
6374 cat > conftest.$ac_ext <<EOF
6375 #line 6376 "configure"
6376 #include "confdefs.h"
6378 #ifdef HAVE_IEEEFP_H
6386 if { (eval echo configure:6387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6388 glibcpp_cv_func_isinf_use=yes
6390 echo "configure: failed program was:" >&5
6391 cat conftest.$ac_ext >&5
6393 glibcpp_cv_func_isinf_use=no
6397 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6398 ac_cpp='$CPP $CPPFLAGS'
6399 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6400 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6401 cross_compiling=$ac_cv_prog_cc_cross
6407 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6409 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
6410 for ac_func in isinf
6412 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6413 echo "configure:6414: checking for $ac_func" >&5
6414 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6415 echo $ac_n "(cached) $ac_c" 1>&6
6417 cat > conftest.$ac_ext <<EOF
6418 #line 6419 "configure"
6419 #include "confdefs.h"
6420 /* System header to define __stub macros and hopefully few prototypes,
6421 which can conflict with char $ac_func(); below. */
6423 /* Override any gcc2 internal prototype to avoid an error. */
6424 /* We use char because int might match the return type of a gcc2
6425 builtin and then its argument prototype would still apply. */
6430 /* The GNU C library defines this for functions which it implements
6431 to always fail with ENOSYS. Some functions are actually named
6432 something starting with __ and the normal name is an alias. */
6433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6441 if { (eval echo configure:6442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6443 eval "ac_cv_func_$ac_func=yes"
6445 echo "configure: failed program was:" >&5
6446 cat conftest.$ac_ext >&5
6448 eval "ac_cv_func_$ac_func=no"
6453 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6454 echo "$ac_t""yes" 1>&6
6455 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6456 cat >> confdefs.h <<EOF
6457 #define $ac_tr_func 1
6461 echo "$ac_t""no" 1>&6
6467 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6468 echo "configure:6469: checking for _isinf declaration" >&5
6469 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6470 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6471 echo $ac_n "(cached) $ac_c" 1>&6
6476 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6477 ac_cpp='$CXXCPP $CPPFLAGS'
6478 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6479 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6480 cross_compiling=$ac_cv_prog_cxx_cross
6482 cat > conftest.$ac_ext <<EOF
6483 #line 6484 "configure"
6484 #include "confdefs.h"
6486 #ifdef HAVE_IEEEFP_H
6494 if { (eval echo configure:6495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6496 glibcpp_cv_func__isinf_use=yes
6498 echo "configure: failed program was:" >&5
6499 cat conftest.$ac_ext >&5
6501 glibcpp_cv_func__isinf_use=no
6505 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6506 ac_cpp='$CPP $CPPFLAGS'
6507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6509 cross_compiling=$ac_cv_prog_cc_cross
6515 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6517 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6518 for ac_func in _isinf
6520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6521 echo "configure:6522: checking for $ac_func" >&5
6522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6523 echo $ac_n "(cached) $ac_c" 1>&6
6525 cat > conftest.$ac_ext <<EOF
6526 #line 6527 "configure"
6527 #include "confdefs.h"
6528 /* System header to define __stub macros and hopefully few prototypes,
6529 which can conflict with char $ac_func(); below. */
6531 /* Override any gcc2 internal prototype to avoid an error. */
6532 /* We use char because int might match the return type of a gcc2
6533 builtin and then its argument prototype would still apply. */
6538 /* The GNU C library defines this for functions which it implements
6539 to always fail with ENOSYS. Some functions are actually named
6540 something starting with __ and the normal name is an alias. */
6541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6549 if { (eval echo configure:6550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6551 eval "ac_cv_func_$ac_func=yes"
6553 echo "configure: failed program was:" >&5
6554 cat conftest.$ac_ext >&5
6556 eval "ac_cv_func_$ac_func=no"
6561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6562 echo "$ac_t""yes" 1>&6
6563 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6564 cat >> confdefs.h <<EOF
6565 #define $ac_tr_func 1
6569 echo "$ac_t""no" 1>&6
6578 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6579 echo "configure:6580: checking for isnan declaration" >&5
6580 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6581 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6582 echo $ac_n "(cached) $ac_c" 1>&6
6587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6588 ac_cpp='$CXXCPP $CPPFLAGS'
6589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6591 cross_compiling=$ac_cv_prog_cxx_cross
6593 cat > conftest.$ac_ext <<EOF
6594 #line 6595 "configure"
6595 #include "confdefs.h"
6597 #ifdef HAVE_IEEEFP_H
6605 if { (eval echo configure:6606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6607 glibcpp_cv_func_isnan_use=yes
6609 echo "configure: failed program was:" >&5
6610 cat conftest.$ac_ext >&5
6612 glibcpp_cv_func_isnan_use=no
6616 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6617 ac_cpp='$CPP $CPPFLAGS'
6618 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6619 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6620 cross_compiling=$ac_cv_prog_cc_cross
6626 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6628 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6629 for ac_func in isnan
6631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6632 echo "configure:6633: checking for $ac_func" >&5
6633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6634 echo $ac_n "(cached) $ac_c" 1>&6
6636 cat > conftest.$ac_ext <<EOF
6637 #line 6638 "configure"
6638 #include "confdefs.h"
6639 /* System header to define __stub macros and hopefully few prototypes,
6640 which can conflict with char $ac_func(); below. */
6642 /* Override any gcc2 internal prototype to avoid an error. */
6643 /* We use char because int might match the return type of a gcc2
6644 builtin and then its argument prototype would still apply. */
6649 /* The GNU C library defines this for functions which it implements
6650 to always fail with ENOSYS. Some functions are actually named
6651 something starting with __ and the normal name is an alias. */
6652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6660 if { (eval echo configure:6661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6662 eval "ac_cv_func_$ac_func=yes"
6664 echo "configure: failed program was:" >&5
6665 cat conftest.$ac_ext >&5
6667 eval "ac_cv_func_$ac_func=no"
6672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6673 echo "$ac_t""yes" 1>&6
6674 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6675 cat >> confdefs.h <<EOF
6676 #define $ac_tr_func 1
6680 echo "$ac_t""no" 1>&6
6686 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6687 echo "configure:6688: checking for _isnan declaration" >&5
6688 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6689 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6690 echo $ac_n "(cached) $ac_c" 1>&6
6695 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6696 ac_cpp='$CXXCPP $CPPFLAGS'
6697 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6698 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6699 cross_compiling=$ac_cv_prog_cxx_cross
6701 cat > conftest.$ac_ext <<EOF
6702 #line 6703 "configure"
6703 #include "confdefs.h"
6705 #ifdef HAVE_IEEEFP_H
6713 if { (eval echo configure:6714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6715 glibcpp_cv_func__isnan_use=yes
6717 echo "configure: failed program was:" >&5
6718 cat conftest.$ac_ext >&5
6720 glibcpp_cv_func__isnan_use=no
6724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6725 ac_cpp='$CPP $CPPFLAGS'
6726 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6727 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6728 cross_compiling=$ac_cv_prog_cc_cross
6734 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6736 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
6737 for ac_func in _isnan
6739 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6740 echo "configure:6741: checking for $ac_func" >&5
6741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6742 echo $ac_n "(cached) $ac_c" 1>&6
6744 cat > conftest.$ac_ext <<EOF
6745 #line 6746 "configure"
6746 #include "confdefs.h"
6747 /* System header to define __stub macros and hopefully few prototypes,
6748 which can conflict with char $ac_func(); below. */
6750 /* Override any gcc2 internal prototype to avoid an error. */
6751 /* We use char because int might match the return type of a gcc2
6752 builtin and then its argument prototype would still apply. */
6757 /* The GNU C library defines this for functions which it implements
6758 to always fail with ENOSYS. Some functions are actually named
6759 something starting with __ and the normal name is an alias. */
6760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6768 if { (eval echo configure:6769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6770 eval "ac_cv_func_$ac_func=yes"
6772 echo "configure: failed program was:" >&5
6773 cat conftest.$ac_ext >&5
6775 eval "ac_cv_func_$ac_func=no"
6780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6781 echo "$ac_t""yes" 1>&6
6782 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6783 cat >> confdefs.h <<EOF
6784 #define $ac_tr_func 1
6788 echo "$ac_t""no" 1>&6
6797 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
6798 echo "configure:6799: checking for finite declaration" >&5
6799 if test x${glibcpp_cv_func_finite_use+set} != xset; then
6800 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6801 echo $ac_n "(cached) $ac_c" 1>&6
6806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6807 ac_cpp='$CXXCPP $CPPFLAGS'
6808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6810 cross_compiling=$ac_cv_prog_cxx_cross
6812 cat > conftest.$ac_ext <<EOF
6813 #line 6814 "configure"
6814 #include "confdefs.h"
6816 #ifdef HAVE_IEEEFP_H
6824 if { (eval echo configure:6825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6826 glibcpp_cv_func_finite_use=yes
6828 echo "configure: failed program was:" >&5
6829 cat conftest.$ac_ext >&5
6831 glibcpp_cv_func_finite_use=no
6835 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6836 ac_cpp='$CPP $CPPFLAGS'
6837 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6838 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6839 cross_compiling=$ac_cv_prog_cc_cross
6845 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
6847 if test x$glibcpp_cv_func_finite_use = x"yes"; then
6848 for ac_func in finite
6850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6851 echo "configure:6852: checking for $ac_func" >&5
6852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6853 echo $ac_n "(cached) $ac_c" 1>&6
6855 cat > conftest.$ac_ext <<EOF
6856 #line 6857 "configure"
6857 #include "confdefs.h"
6858 /* System header to define __stub macros and hopefully few prototypes,
6859 which can conflict with char $ac_func(); below. */
6861 /* Override any gcc2 internal prototype to avoid an error. */
6862 /* We use char because int might match the return type of a gcc2
6863 builtin and then its argument prototype would still apply. */
6868 /* The GNU C library defines this for functions which it implements
6869 to always fail with ENOSYS. Some functions are actually named
6870 something starting with __ and the normal name is an alias. */
6871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6879 if { (eval echo configure:6880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6881 eval "ac_cv_func_$ac_func=yes"
6883 echo "configure: failed program was:" >&5
6884 cat conftest.$ac_ext >&5
6886 eval "ac_cv_func_$ac_func=no"
6891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6892 echo "$ac_t""yes" 1>&6
6893 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6894 cat >> confdefs.h <<EOF
6895 #define $ac_tr_func 1
6899 echo "$ac_t""no" 1>&6
6905 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
6906 echo "configure:6907: checking for _finite declaration" >&5
6907 if test x${glibcpp_cv_func__finite_use+set} != xset; then
6908 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
6909 echo $ac_n "(cached) $ac_c" 1>&6
6914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6915 ac_cpp='$CXXCPP $CPPFLAGS'
6916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6918 cross_compiling=$ac_cv_prog_cxx_cross
6920 cat > conftest.$ac_ext <<EOF
6921 #line 6922 "configure"
6922 #include "confdefs.h"
6924 #ifdef HAVE_IEEEFP_H
6932 if { (eval echo configure:6933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6934 glibcpp_cv_func__finite_use=yes
6936 echo "configure: failed program was:" >&5
6937 cat conftest.$ac_ext >&5
6939 glibcpp_cv_func__finite_use=no
6943 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6944 ac_cpp='$CPP $CPPFLAGS'
6945 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6946 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6947 cross_compiling=$ac_cv_prog_cc_cross
6953 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
6955 if test x$glibcpp_cv_func__finite_use = x"yes"; then
6956 for ac_func in _finite
6958 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6959 echo "configure:6960: checking for $ac_func" >&5
6960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6961 echo $ac_n "(cached) $ac_c" 1>&6
6963 cat > conftest.$ac_ext <<EOF
6964 #line 6965 "configure"
6965 #include "confdefs.h"
6966 /* System header to define __stub macros and hopefully few prototypes,
6967 which can conflict with char $ac_func(); below. */
6969 /* Override any gcc2 internal prototype to avoid an error. */
6970 /* We use char because int might match the return type of a gcc2
6971 builtin and then its argument prototype would still apply. */
6976 /* The GNU C library defines this for functions which it implements
6977 to always fail with ENOSYS. Some functions are actually named
6978 something starting with __ and the normal name is an alias. */
6979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6987 if { (eval echo configure:6988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6989 eval "ac_cv_func_$ac_func=yes"
6991 echo "configure: failed program was:" >&5
6992 cat conftest.$ac_ext >&5
6994 eval "ac_cv_func_$ac_func=no"
6999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7000 echo "$ac_t""yes" 1>&6
7001 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7002 cat >> confdefs.h <<EOF
7003 #define $ac_tr_func 1
7007 echo "$ac_t""no" 1>&6
7016 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
7017 echo "configure:7018: checking for copysign declaration" >&5
7018 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
7019 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7020 echo $ac_n "(cached) $ac_c" 1>&6
7025 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7026 ac_cpp='$CXXCPP $CPPFLAGS'
7027 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7028 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7029 cross_compiling=$ac_cv_prog_cxx_cross
7031 cat > conftest.$ac_ext <<EOF
7032 #line 7033 "configure"
7033 #include "confdefs.h"
7039 if { (eval echo configure:7040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7041 glibcpp_cv_func_copysign_use=yes
7043 echo "configure: failed program was:" >&5
7044 cat conftest.$ac_ext >&5
7046 glibcpp_cv_func_copysign_use=no
7050 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7051 ac_cpp='$CPP $CPPFLAGS'
7052 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7053 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7054 cross_compiling=$ac_cv_prog_cc_cross
7060 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7062 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
7063 for ac_func in copysign
7065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7066 echo "configure:7067: checking for $ac_func" >&5
7067 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7068 echo $ac_n "(cached) $ac_c" 1>&6
7070 cat > conftest.$ac_ext <<EOF
7071 #line 7072 "configure"
7072 #include "confdefs.h"
7073 /* System header to define __stub macros and hopefully few prototypes,
7074 which can conflict with char $ac_func(); below. */
7076 /* Override any gcc2 internal prototype to avoid an error. */
7077 /* We use char because int might match the return type of a gcc2
7078 builtin and then its argument prototype would still apply. */
7083 /* The GNU C library defines this for functions which it implements
7084 to always fail with ENOSYS. Some functions are actually named
7085 something starting with __ and the normal name is an alias. */
7086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7094 if { (eval echo configure:7095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7096 eval "ac_cv_func_$ac_func=yes"
7098 echo "configure: failed program was:" >&5
7099 cat conftest.$ac_ext >&5
7101 eval "ac_cv_func_$ac_func=no"
7106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7107 echo "$ac_t""yes" 1>&6
7108 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7109 cat >> confdefs.h <<EOF
7110 #define $ac_tr_func 1
7114 echo "$ac_t""no" 1>&6
7120 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
7121 echo "configure:7122: checking for _copysign declaration" >&5
7122 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
7123 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7124 echo $ac_n "(cached) $ac_c" 1>&6
7129 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7130 ac_cpp='$CXXCPP $CPPFLAGS'
7131 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7132 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7133 cross_compiling=$ac_cv_prog_cxx_cross
7135 cat > conftest.$ac_ext <<EOF
7136 #line 7137 "configure"
7137 #include "confdefs.h"
7143 if { (eval echo configure:7144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7145 glibcpp_cv_func__copysign_use=yes
7147 echo "configure: failed program was:" >&5
7148 cat conftest.$ac_ext >&5
7150 glibcpp_cv_func__copysign_use=no
7154 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7155 ac_cpp='$CPP $CPPFLAGS'
7156 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7157 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7158 cross_compiling=$ac_cv_prog_cc_cross
7164 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7166 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
7167 for ac_func in _copysign
7169 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7170 echo "configure:7171: checking for $ac_func" >&5
7171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7172 echo $ac_n "(cached) $ac_c" 1>&6
7174 cat > conftest.$ac_ext <<EOF
7175 #line 7176 "configure"
7176 #include "confdefs.h"
7177 /* System header to define __stub macros and hopefully few prototypes,
7178 which can conflict with char $ac_func(); below. */
7180 /* Override any gcc2 internal prototype to avoid an error. */
7181 /* We use char because int might match the return type of a gcc2
7182 builtin and then its argument prototype would still apply. */
7187 /* The GNU C library defines this for functions which it implements
7188 to always fail with ENOSYS. Some functions are actually named
7189 something starting with __ and the normal name is an alias. */
7190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7198 if { (eval echo configure:7199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7200 eval "ac_cv_func_$ac_func=yes"
7202 echo "configure: failed program was:" >&5
7203 cat conftest.$ac_ext >&5
7205 eval "ac_cv_func_$ac_func=no"
7210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7211 echo "$ac_t""yes" 1>&6
7212 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7213 cat >> confdefs.h <<EOF
7214 #define $ac_tr_func 1
7218 echo "$ac_t""no" 1>&6
7227 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
7228 echo "configure:7229: checking for sincos declaration" >&5
7229 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
7230 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7231 echo $ac_n "(cached) $ac_c" 1>&6
7236 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7237 ac_cpp='$CXXCPP $CPPFLAGS'
7238 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7239 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7240 cross_compiling=$ac_cv_prog_cxx_cross
7242 cat > conftest.$ac_ext <<EOF
7243 #line 7244 "configure"
7244 #include "confdefs.h"
7250 if { (eval echo configure:7251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7252 glibcpp_cv_func_sincos_use=yes
7254 echo "configure: failed program was:" >&5
7255 cat conftest.$ac_ext >&5
7257 glibcpp_cv_func_sincos_use=no
7261 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7262 ac_cpp='$CPP $CPPFLAGS'
7263 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7264 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7265 cross_compiling=$ac_cv_prog_cc_cross
7271 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7273 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
7274 for ac_func in sincos
7276 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7277 echo "configure:7278: checking for $ac_func" >&5
7278 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7279 echo $ac_n "(cached) $ac_c" 1>&6
7281 cat > conftest.$ac_ext <<EOF
7282 #line 7283 "configure"
7283 #include "confdefs.h"
7284 /* System header to define __stub macros and hopefully few prototypes,
7285 which can conflict with char $ac_func(); below. */
7287 /* Override any gcc2 internal prototype to avoid an error. */
7288 /* We use char because int might match the return type of a gcc2
7289 builtin and then its argument prototype would still apply. */
7294 /* The GNU C library defines this for functions which it implements
7295 to always fail with ENOSYS. Some functions are actually named
7296 something starting with __ and the normal name is an alias. */
7297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7305 if { (eval echo configure:7306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7307 eval "ac_cv_func_$ac_func=yes"
7309 echo "configure: failed program was:" >&5
7310 cat conftest.$ac_ext >&5
7312 eval "ac_cv_func_$ac_func=no"
7317 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7318 echo "$ac_t""yes" 1>&6
7319 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7320 cat >> confdefs.h <<EOF
7321 #define $ac_tr_func 1
7325 echo "$ac_t""no" 1>&6
7331 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
7332 echo "configure:7333: checking for _sincos declaration" >&5
7333 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
7334 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7335 echo $ac_n "(cached) $ac_c" 1>&6
7340 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7341 ac_cpp='$CXXCPP $CPPFLAGS'
7342 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7343 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7344 cross_compiling=$ac_cv_prog_cxx_cross
7346 cat > conftest.$ac_ext <<EOF
7347 #line 7348 "configure"
7348 #include "confdefs.h"
7354 if { (eval echo configure:7355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7356 glibcpp_cv_func__sincos_use=yes
7358 echo "configure: failed program was:" >&5
7359 cat conftest.$ac_ext >&5
7361 glibcpp_cv_func__sincos_use=no
7365 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7366 ac_cpp='$CPP $CPPFLAGS'
7367 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7368 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7369 cross_compiling=$ac_cv_prog_cc_cross
7375 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7377 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
7378 for ac_func in _sincos
7380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7381 echo "configure:7382: checking for $ac_func" >&5
7382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7383 echo $ac_n "(cached) $ac_c" 1>&6
7385 cat > conftest.$ac_ext <<EOF
7386 #line 7387 "configure"
7387 #include "confdefs.h"
7388 /* System header to define __stub macros and hopefully few prototypes,
7389 which can conflict with char $ac_func(); below. */
7391 /* Override any gcc2 internal prototype to avoid an error. */
7392 /* We use char because int might match the return type of a gcc2
7393 builtin and then its argument prototype would still apply. */
7398 /* The GNU C library defines this for functions which it implements
7399 to always fail with ENOSYS. Some functions are actually named
7400 something starting with __ and the normal name is an alias. */
7401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7409 if { (eval echo configure:7410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7411 eval "ac_cv_func_$ac_func=yes"
7413 echo "configure: failed program was:" >&5
7414 cat conftest.$ac_ext >&5
7416 eval "ac_cv_func_$ac_func=no"
7421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7422 echo "$ac_t""yes" 1>&6
7423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7424 cat >> confdefs.h <<EOF
7425 #define $ac_tr_func 1
7429 echo "$ac_t""no" 1>&6
7438 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7439 echo "configure:7440: checking for fpclass declaration" >&5
7440 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7441 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7442 echo $ac_n "(cached) $ac_c" 1>&6
7447 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7448 ac_cpp='$CXXCPP $CPPFLAGS'
7449 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7450 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7451 cross_compiling=$ac_cv_prog_cxx_cross
7453 cat > conftest.$ac_ext <<EOF
7454 #line 7455 "configure"
7455 #include "confdefs.h"
7457 #ifdef HAVE_IEEEFP_H
7465 if { (eval echo configure:7466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7467 glibcpp_cv_func_fpclass_use=yes
7469 echo "configure: failed program was:" >&5
7470 cat conftest.$ac_ext >&5
7472 glibcpp_cv_func_fpclass_use=no
7476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7477 ac_cpp='$CPP $CPPFLAGS'
7478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7480 cross_compiling=$ac_cv_prog_cc_cross
7486 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7488 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7489 for ac_func in fpclass
7491 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7492 echo "configure:7493: checking for $ac_func" >&5
7493 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7494 echo $ac_n "(cached) $ac_c" 1>&6
7496 cat > conftest.$ac_ext <<EOF
7497 #line 7498 "configure"
7498 #include "confdefs.h"
7499 /* System header to define __stub macros and hopefully few prototypes,
7500 which can conflict with char $ac_func(); below. */
7502 /* Override any gcc2 internal prototype to avoid an error. */
7503 /* We use char because int might match the return type of a gcc2
7504 builtin and then its argument prototype would still apply. */
7509 /* The GNU C library defines this for functions which it implements
7510 to always fail with ENOSYS. Some functions are actually named
7511 something starting with __ and the normal name is an alias. */
7512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7520 if { (eval echo configure:7521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7522 eval "ac_cv_func_$ac_func=yes"
7524 echo "configure: failed program was:" >&5
7525 cat conftest.$ac_ext >&5
7527 eval "ac_cv_func_$ac_func=no"
7532 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7533 echo "$ac_t""yes" 1>&6
7534 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7535 cat >> confdefs.h <<EOF
7536 #define $ac_tr_func 1
7540 echo "$ac_t""no" 1>&6
7546 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7547 echo "configure:7548: checking for _fpclass declaration" >&5
7548 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7549 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7550 echo $ac_n "(cached) $ac_c" 1>&6
7555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7556 ac_cpp='$CXXCPP $CPPFLAGS'
7557 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7558 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7559 cross_compiling=$ac_cv_prog_cxx_cross
7561 cat > conftest.$ac_ext <<EOF
7562 #line 7563 "configure"
7563 #include "confdefs.h"
7565 #ifdef HAVE_IEEEFP_H
7573 if { (eval echo configure:7574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7575 glibcpp_cv_func__fpclass_use=yes
7577 echo "configure: failed program was:" >&5
7578 cat conftest.$ac_ext >&5
7580 glibcpp_cv_func__fpclass_use=no
7584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7585 ac_cpp='$CPP $CPPFLAGS'
7586 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7587 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7588 cross_compiling=$ac_cv_prog_cc_cross
7594 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7596 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7597 for ac_func in _fpclass
7599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7600 echo "configure:7601: checking for $ac_func" >&5
7601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7602 echo $ac_n "(cached) $ac_c" 1>&6
7604 cat > conftest.$ac_ext <<EOF
7605 #line 7606 "configure"
7606 #include "confdefs.h"
7607 /* System header to define __stub macros and hopefully few prototypes,
7608 which can conflict with char $ac_func(); below. */
7610 /* Override any gcc2 internal prototype to avoid an error. */
7611 /* We use char because int might match the return type of a gcc2
7612 builtin and then its argument prototype would still apply. */
7617 /* The GNU C library defines this for functions which it implements
7618 to always fail with ENOSYS. Some functions are actually named
7619 something starting with __ and the normal name is an alias. */
7620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7628 if { (eval echo configure:7629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7630 eval "ac_cv_func_$ac_func=yes"
7632 echo "configure: failed program was:" >&5
7633 cat conftest.$ac_ext >&5
7635 eval "ac_cv_func_$ac_func=no"
7640 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7641 echo "$ac_t""yes" 1>&6
7642 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7643 cat >> confdefs.h <<EOF
7644 #define $ac_tr_func 1
7648 echo "$ac_t""no" 1>&6
7657 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7658 echo "configure:7659: checking for qfpclass declaration" >&5
7659 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7660 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7661 echo $ac_n "(cached) $ac_c" 1>&6
7666 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7667 ac_cpp='$CXXCPP $CPPFLAGS'
7668 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7669 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7670 cross_compiling=$ac_cv_prog_cxx_cross
7672 cat > conftest.$ac_ext <<EOF
7673 #line 7674 "configure"
7674 #include "confdefs.h"
7676 #ifdef HAVE_IEEEFP_H
7684 if { (eval echo configure:7685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7686 glibcpp_cv_func_qfpclass_use=yes
7688 echo "configure: failed program was:" >&5
7689 cat conftest.$ac_ext >&5
7691 glibcpp_cv_func_qfpclass_use=no
7695 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7696 ac_cpp='$CPP $CPPFLAGS'
7697 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7698 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7699 cross_compiling=$ac_cv_prog_cc_cross
7705 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7707 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
7708 for ac_func in qfpclass
7710 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7711 echo "configure:7712: checking for $ac_func" >&5
7712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7713 echo $ac_n "(cached) $ac_c" 1>&6
7715 cat > conftest.$ac_ext <<EOF
7716 #line 7717 "configure"
7717 #include "confdefs.h"
7718 /* System header to define __stub macros and hopefully few prototypes,
7719 which can conflict with char $ac_func(); below. */
7721 /* Override any gcc2 internal prototype to avoid an error. */
7722 /* We use char because int might match the return type of a gcc2
7723 builtin and then its argument prototype would still apply. */
7728 /* The GNU C library defines this for functions which it implements
7729 to always fail with ENOSYS. Some functions are actually named
7730 something starting with __ and the normal name is an alias. */
7731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7739 if { (eval echo configure:7740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7741 eval "ac_cv_func_$ac_func=yes"
7743 echo "configure: failed program was:" >&5
7744 cat conftest.$ac_ext >&5
7746 eval "ac_cv_func_$ac_func=no"
7751 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7752 echo "$ac_t""yes" 1>&6
7753 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7754 cat >> confdefs.h <<EOF
7755 #define $ac_tr_func 1
7759 echo "$ac_t""no" 1>&6
7765 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
7766 echo "configure:7767: checking for _qfpclass declaration" >&5
7767 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
7768 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7769 echo $ac_n "(cached) $ac_c" 1>&6
7774 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7775 ac_cpp='$CXXCPP $CPPFLAGS'
7776 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7777 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7778 cross_compiling=$ac_cv_prog_cxx_cross
7780 cat > conftest.$ac_ext <<EOF
7781 #line 7782 "configure"
7782 #include "confdefs.h"
7784 #ifdef HAVE_IEEEFP_H
7792 if { (eval echo configure:7793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7794 glibcpp_cv_func__qfpclass_use=yes
7796 echo "configure: failed program was:" >&5
7797 cat conftest.$ac_ext >&5
7799 glibcpp_cv_func__qfpclass_use=no
7803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7804 ac_cpp='$CPP $CPPFLAGS'
7805 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7806 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7807 cross_compiling=$ac_cv_prog_cc_cross
7813 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7815 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
7816 for ac_func in _qfpclass
7818 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7819 echo "configure:7820: checking for $ac_func" >&5
7820 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7821 echo $ac_n "(cached) $ac_c" 1>&6
7823 cat > conftest.$ac_ext <<EOF
7824 #line 7825 "configure"
7825 #include "confdefs.h"
7826 /* System header to define __stub macros and hopefully few prototypes,
7827 which can conflict with char $ac_func(); below. */
7829 /* Override any gcc2 internal prototype to avoid an error. */
7830 /* We use char because int might match the return type of a gcc2
7831 builtin and then its argument prototype would still apply. */
7836 /* The GNU C library defines this for functions which it implements
7837 to always fail with ENOSYS. Some functions are actually named
7838 something starting with __ and the normal name is an alias. */
7839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7847 if { (eval echo configure:7848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7849 eval "ac_cv_func_$ac_func=yes"
7851 echo "configure: failed program was:" >&5
7852 cat conftest.$ac_ext >&5
7854 eval "ac_cv_func_$ac_func=no"
7859 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7860 echo "$ac_t""yes" 1>&6
7861 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7862 cat >> confdefs.h <<EOF
7863 #define $ac_tr_func 1
7867 echo "$ac_t""no" 1>&6
7876 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
7877 echo "configure:7878: checking for float trig functions" >&5
7878 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
7879 echo $ac_n "(cached) $ac_c" 1>&6
7884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7885 ac_cpp='$CXXCPP $CPPFLAGS'
7886 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7887 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7888 cross_compiling=$ac_cv_prog_cxx_cross
7890 cat > conftest.$ac_ext <<EOF
7891 #line 7892 "configure"
7892 #include "confdefs.h"
7895 `for x in acosf asinf atanf \
7897 coshf sinhf tanhf; do echo "$x (0);"; done`
7900 if { (eval echo configure:7901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7902 glibcpp_cv_func_float_trig_use=yes
7904 echo "configure: failed program was:" >&5
7905 cat conftest.$ac_ext >&5
7907 glibcpp_cv_func_float_trig_use=no
7911 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7912 ac_cpp='$CPP $CPPFLAGS'
7913 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7914 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7915 cross_compiling=$ac_cv_prog_cc_cross
7919 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
7920 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
7921 for ac_func in acosf asinf atanf \
7925 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7926 echo "configure:7927: checking for $ac_func" >&5
7927 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7928 echo $ac_n "(cached) $ac_c" 1>&6
7930 cat > conftest.$ac_ext <<EOF
7931 #line 7932 "configure"
7932 #include "confdefs.h"
7933 /* System header to define __stub macros and hopefully few prototypes,
7934 which can conflict with char $ac_func(); below. */
7936 /* Override any gcc2 internal prototype to avoid an error. */
7937 /* We use char because int might match the return type of a gcc2
7938 builtin and then its argument prototype would still apply. */
7943 /* The GNU C library defines this for functions which it implements
7944 to always fail with ENOSYS. Some functions are actually named
7945 something starting with __ and the normal name is an alias. */
7946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7954 if { (eval echo configure:7955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7956 eval "ac_cv_func_$ac_func=yes"
7958 echo "configure: failed program was:" >&5
7959 cat conftest.$ac_ext >&5
7961 eval "ac_cv_func_$ac_func=no"
7966 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7967 echo "$ac_t""yes" 1>&6
7968 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7969 cat >> confdefs.h <<EOF
7970 #define $ac_tr_func 1
7974 echo "$ac_t""no" 1>&6
7981 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
7982 echo "configure:7983: checking for float round functions" >&5
7983 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
7984 echo $ac_n "(cached) $ac_c" 1>&6
7989 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7990 ac_cpp='$CXXCPP $CPPFLAGS'
7991 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7992 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7993 cross_compiling=$ac_cv_prog_cxx_cross
7995 cat > conftest.$ac_ext <<EOF
7996 #line 7997 "configure"
7997 #include "confdefs.h"
8000 `for x in ceilf floorf; do echo "$x (0);"; done`
8003 if { (eval echo configure:8004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8005 glibcpp_cv_func_float_round_use=yes
8007 echo "configure: failed program was:" >&5
8008 cat conftest.$ac_ext >&5
8010 glibcpp_cv_func_float_round_use=no
8014 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8015 ac_cpp='$CPP $CPPFLAGS'
8016 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8017 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8018 cross_compiling=$ac_cv_prog_cc_cross
8022 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8023 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
8024 for ac_func in ceilf floorf
8026 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8027 echo "configure:8028: checking for $ac_func" >&5
8028 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8029 echo $ac_n "(cached) $ac_c" 1>&6
8031 cat > conftest.$ac_ext <<EOF
8032 #line 8033 "configure"
8033 #include "confdefs.h"
8034 /* System header to define __stub macros and hopefully few prototypes,
8035 which can conflict with char $ac_func(); below. */
8037 /* Override any gcc2 internal prototype to avoid an error. */
8038 /* We use char because int might match the return type of a gcc2
8039 builtin and then its argument prototype would still apply. */
8044 /* The GNU C library defines this for functions which it implements
8045 to always fail with ENOSYS. Some functions are actually named
8046 something starting with __ and the normal name is an alias. */
8047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8055 if { (eval echo configure:8056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8057 eval "ac_cv_func_$ac_func=yes"
8059 echo "configure: failed program was:" >&5
8060 cat conftest.$ac_ext >&5
8062 eval "ac_cv_func_$ac_func=no"
8067 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8068 echo "$ac_t""yes" 1>&6
8069 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8070 cat >> confdefs.h <<EOF
8071 #define $ac_tr_func 1
8075 echo "$ac_t""no" 1>&6
8083 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
8084 echo "configure:8085: checking for isnanf declaration" >&5
8085 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
8086 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8087 echo $ac_n "(cached) $ac_c" 1>&6
8092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8093 ac_cpp='$CXXCPP $CPPFLAGS'
8094 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8095 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8096 cross_compiling=$ac_cv_prog_cxx_cross
8098 cat > conftest.$ac_ext <<EOF
8099 #line 8100 "configure"
8100 #include "confdefs.h"
8102 #ifdef HAVE_IEEEFP_H
8110 if { (eval echo configure:8111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8112 glibcpp_cv_func_isnanf_use=yes
8114 echo "configure: failed program was:" >&5
8115 cat conftest.$ac_ext >&5
8117 glibcpp_cv_func_isnanf_use=no
8121 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8122 ac_cpp='$CPP $CPPFLAGS'
8123 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8124 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8125 cross_compiling=$ac_cv_prog_cc_cross
8131 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8133 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
8134 for ac_func in isnanf
8136 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8137 echo "configure:8138: checking for $ac_func" >&5
8138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8139 echo $ac_n "(cached) $ac_c" 1>&6
8141 cat > conftest.$ac_ext <<EOF
8142 #line 8143 "configure"
8143 #include "confdefs.h"
8144 /* System header to define __stub macros and hopefully few prototypes,
8145 which can conflict with char $ac_func(); below. */
8147 /* Override any gcc2 internal prototype to avoid an error. */
8148 /* We use char because int might match the return type of a gcc2
8149 builtin and then its argument prototype would still apply. */
8154 /* The GNU C library defines this for functions which it implements
8155 to always fail with ENOSYS. Some functions are actually named
8156 something starting with __ and the normal name is an alias. */
8157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8165 if { (eval echo configure:8166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8167 eval "ac_cv_func_$ac_func=yes"
8169 echo "configure: failed program was:" >&5
8170 cat conftest.$ac_ext >&5
8172 eval "ac_cv_func_$ac_func=no"
8177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8178 echo "$ac_t""yes" 1>&6
8179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8180 cat >> confdefs.h <<EOF
8181 #define $ac_tr_func 1
8185 echo "$ac_t""no" 1>&6
8191 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
8192 echo "configure:8193: checking for _isnanf declaration" >&5
8193 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
8194 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8195 echo $ac_n "(cached) $ac_c" 1>&6
8200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8201 ac_cpp='$CXXCPP $CPPFLAGS'
8202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8204 cross_compiling=$ac_cv_prog_cxx_cross
8206 cat > conftest.$ac_ext <<EOF
8207 #line 8208 "configure"
8208 #include "confdefs.h"
8210 #ifdef HAVE_IEEEFP_H
8218 if { (eval echo configure:8219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8220 glibcpp_cv_func__isnanf_use=yes
8222 echo "configure: failed program was:" >&5
8223 cat conftest.$ac_ext >&5
8225 glibcpp_cv_func__isnanf_use=no
8229 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8230 ac_cpp='$CPP $CPPFLAGS'
8231 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8232 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8233 cross_compiling=$ac_cv_prog_cc_cross
8239 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8241 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
8242 for ac_func in _isnanf
8244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8245 echo "configure:8246: checking for $ac_func" >&5
8246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8247 echo $ac_n "(cached) $ac_c" 1>&6
8249 cat > conftest.$ac_ext <<EOF
8250 #line 8251 "configure"
8251 #include "confdefs.h"
8252 /* System header to define __stub macros and hopefully few prototypes,
8253 which can conflict with char $ac_func(); below. */
8255 /* Override any gcc2 internal prototype to avoid an error. */
8256 /* We use char because int might match the return type of a gcc2
8257 builtin and then its argument prototype would still apply. */
8262 /* The GNU C library defines this for functions which it implements
8263 to always fail with ENOSYS. Some functions are actually named
8264 something starting with __ and the normal name is an alias. */
8265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8273 if { (eval echo configure:8274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8275 eval "ac_cv_func_$ac_func=yes"
8277 echo "configure: failed program was:" >&5
8278 cat conftest.$ac_ext >&5
8280 eval "ac_cv_func_$ac_func=no"
8285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8286 echo "$ac_t""yes" 1>&6
8287 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8288 cat >> confdefs.h <<EOF
8289 #define $ac_tr_func 1
8293 echo "$ac_t""no" 1>&6
8302 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
8303 echo "configure:8304: checking for isinff declaration" >&5
8304 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
8305 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8306 echo $ac_n "(cached) $ac_c" 1>&6
8311 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8312 ac_cpp='$CXXCPP $CPPFLAGS'
8313 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8314 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8315 cross_compiling=$ac_cv_prog_cxx_cross
8317 cat > conftest.$ac_ext <<EOF
8318 #line 8319 "configure"
8319 #include "confdefs.h"
8321 #ifdef HAVE_IEEEFP_H
8329 if { (eval echo configure:8330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8331 glibcpp_cv_func_isinff_use=yes
8333 echo "configure: failed program was:" >&5
8334 cat conftest.$ac_ext >&5
8336 glibcpp_cv_func_isinff_use=no
8340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8341 ac_cpp='$CPP $CPPFLAGS'
8342 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8343 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8344 cross_compiling=$ac_cv_prog_cc_cross
8350 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8352 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
8353 for ac_func in isinff
8355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8356 echo "configure:8357: checking for $ac_func" >&5
8357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8358 echo $ac_n "(cached) $ac_c" 1>&6
8360 cat > conftest.$ac_ext <<EOF
8361 #line 8362 "configure"
8362 #include "confdefs.h"
8363 /* System header to define __stub macros and hopefully few prototypes,
8364 which can conflict with char $ac_func(); below. */
8366 /* Override any gcc2 internal prototype to avoid an error. */
8367 /* We use char because int might match the return type of a gcc2
8368 builtin and then its argument prototype would still apply. */
8373 /* The GNU C library defines this for functions which it implements
8374 to always fail with ENOSYS. Some functions are actually named
8375 something starting with __ and the normal name is an alias. */
8376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8384 if { (eval echo configure:8385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8386 eval "ac_cv_func_$ac_func=yes"
8388 echo "configure: failed program was:" >&5
8389 cat conftest.$ac_ext >&5
8391 eval "ac_cv_func_$ac_func=no"
8396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8397 echo "$ac_t""yes" 1>&6
8398 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8399 cat >> confdefs.h <<EOF
8400 #define $ac_tr_func 1
8404 echo "$ac_t""no" 1>&6
8410 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
8411 echo "configure:8412: checking for _isinff declaration" >&5
8412 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
8413 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8414 echo $ac_n "(cached) $ac_c" 1>&6
8419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8420 ac_cpp='$CXXCPP $CPPFLAGS'
8421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8423 cross_compiling=$ac_cv_prog_cxx_cross
8425 cat > conftest.$ac_ext <<EOF
8426 #line 8427 "configure"
8427 #include "confdefs.h"
8429 #ifdef HAVE_IEEEFP_H
8437 if { (eval echo configure:8438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8439 glibcpp_cv_func__isinff_use=yes
8441 echo "configure: failed program was:" >&5
8442 cat conftest.$ac_ext >&5
8444 glibcpp_cv_func__isinff_use=no
8448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8449 ac_cpp='$CPP $CPPFLAGS'
8450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8452 cross_compiling=$ac_cv_prog_cc_cross
8458 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8460 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8461 for ac_func in _isinff
8463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8464 echo "configure:8465: checking for $ac_func" >&5
8465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8466 echo $ac_n "(cached) $ac_c" 1>&6
8468 cat > conftest.$ac_ext <<EOF
8469 #line 8470 "configure"
8470 #include "confdefs.h"
8471 /* System header to define __stub macros and hopefully few prototypes,
8472 which can conflict with char $ac_func(); below. */
8474 /* Override any gcc2 internal prototype to avoid an error. */
8475 /* We use char because int might match the return type of a gcc2
8476 builtin and then its argument prototype would still apply. */
8481 /* The GNU C library defines this for functions which it implements
8482 to always fail with ENOSYS. Some functions are actually named
8483 something starting with __ and the normal name is an alias. */
8484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8492 if { (eval echo configure:8493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8494 eval "ac_cv_func_$ac_func=yes"
8496 echo "configure: failed program was:" >&5
8497 cat conftest.$ac_ext >&5
8499 eval "ac_cv_func_$ac_func=no"
8504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8505 echo "$ac_t""yes" 1>&6
8506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8507 cat >> confdefs.h <<EOF
8508 #define $ac_tr_func 1
8512 echo "$ac_t""no" 1>&6
8521 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
8522 echo "configure:8523: checking for fabsf declaration" >&5
8523 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
8524 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8525 echo $ac_n "(cached) $ac_c" 1>&6
8530 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8531 ac_cpp='$CXXCPP $CPPFLAGS'
8532 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8533 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8534 cross_compiling=$ac_cv_prog_cxx_cross
8536 cat > conftest.$ac_ext <<EOF
8537 #line 8538 "configure"
8538 #include "confdefs.h"
8540 #ifdef HAVE_IEEEFP_H
8548 if { (eval echo configure:8549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8550 glibcpp_cv_func_fabsf_use=yes
8552 echo "configure: failed program was:" >&5
8553 cat conftest.$ac_ext >&5
8555 glibcpp_cv_func_fabsf_use=no
8559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8560 ac_cpp='$CPP $CPPFLAGS'
8561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8563 cross_compiling=$ac_cv_prog_cc_cross
8569 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8571 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
8572 for ac_func in fabsf
8574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8575 echo "configure:8576: checking for $ac_func" >&5
8576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8577 echo $ac_n "(cached) $ac_c" 1>&6
8579 cat > conftest.$ac_ext <<EOF
8580 #line 8581 "configure"
8581 #include "confdefs.h"
8582 /* System header to define __stub macros and hopefully few prototypes,
8583 which can conflict with char $ac_func(); below. */
8585 /* Override any gcc2 internal prototype to avoid an error. */
8586 /* We use char because int might match the return type of a gcc2
8587 builtin and then its argument prototype would still apply. */
8592 /* The GNU C library defines this for functions which it implements
8593 to always fail with ENOSYS. Some functions are actually named
8594 something starting with __ and the normal name is an alias. */
8595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8603 if { (eval echo configure:8604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8605 eval "ac_cv_func_$ac_func=yes"
8607 echo "configure: failed program was:" >&5
8608 cat conftest.$ac_ext >&5
8610 eval "ac_cv_func_$ac_func=no"
8615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8616 echo "$ac_t""yes" 1>&6
8617 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8618 cat >> confdefs.h <<EOF
8619 #define $ac_tr_func 1
8623 echo "$ac_t""no" 1>&6
8629 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
8630 echo "configure:8631: checking for _fabsf declaration" >&5
8631 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
8632 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
8633 echo $ac_n "(cached) $ac_c" 1>&6
8638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8639 ac_cpp='$CXXCPP $CPPFLAGS'
8640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8642 cross_compiling=$ac_cv_prog_cxx_cross
8644 cat > conftest.$ac_ext <<EOF
8645 #line 8646 "configure"
8646 #include "confdefs.h"
8648 #ifdef HAVE_IEEEFP_H
8656 if { (eval echo configure:8657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8658 glibcpp_cv_func__fabsf_use=yes
8660 echo "configure: failed program was:" >&5
8661 cat conftest.$ac_ext >&5
8663 glibcpp_cv_func__fabsf_use=no
8667 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8668 ac_cpp='$CPP $CPPFLAGS'
8669 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8670 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8671 cross_compiling=$ac_cv_prog_cc_cross
8677 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
8679 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
8680 for ac_func in _fabsf
8682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8683 echo "configure:8684: checking for $ac_func" >&5
8684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8685 echo $ac_n "(cached) $ac_c" 1>&6
8687 cat > conftest.$ac_ext <<EOF
8688 #line 8689 "configure"
8689 #include "confdefs.h"
8690 /* System header to define __stub macros and hopefully few prototypes,
8691 which can conflict with char $ac_func(); below. */
8693 /* Override any gcc2 internal prototype to avoid an error. */
8694 /* We use char because int might match the return type of a gcc2
8695 builtin and then its argument prototype would still apply. */
8700 /* The GNU C library defines this for functions which it implements
8701 to always fail with ENOSYS. Some functions are actually named
8702 something starting with __ and the normal name is an alias. */
8703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8711 if { (eval echo configure:8712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8713 eval "ac_cv_func_$ac_func=yes"
8715 echo "configure: failed program was:" >&5
8716 cat conftest.$ac_ext >&5
8718 eval "ac_cv_func_$ac_func=no"
8723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8724 echo "$ac_t""yes" 1>&6
8725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8726 cat >> confdefs.h <<EOF
8727 #define $ac_tr_func 1
8731 echo "$ac_t""no" 1>&6
8740 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
8741 echo "configure:8742: checking for fmodf declaration" >&5
8742 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
8743 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
8744 echo $ac_n "(cached) $ac_c" 1>&6
8749 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8750 ac_cpp='$CXXCPP $CPPFLAGS'
8751 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8752 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8753 cross_compiling=$ac_cv_prog_cxx_cross
8755 cat > conftest.$ac_ext <<EOF
8756 #line 8757 "configure"
8757 #include "confdefs.h"
8763 if { (eval echo configure:8764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8765 glibcpp_cv_func_fmodf_use=yes
8767 echo "configure: failed program was:" >&5
8768 cat conftest.$ac_ext >&5
8770 glibcpp_cv_func_fmodf_use=no
8774 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8775 ac_cpp='$CPP $CPPFLAGS'
8776 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8777 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8778 cross_compiling=$ac_cv_prog_cc_cross
8784 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
8786 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
8787 for ac_func in fmodf
8789 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8790 echo "configure:8791: checking for $ac_func" >&5
8791 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8792 echo $ac_n "(cached) $ac_c" 1>&6
8794 cat > conftest.$ac_ext <<EOF
8795 #line 8796 "configure"
8796 #include "confdefs.h"
8797 /* System header to define __stub macros and hopefully few prototypes,
8798 which can conflict with char $ac_func(); below. */
8800 /* Override any gcc2 internal prototype to avoid an error. */
8801 /* We use char because int might match the return type of a gcc2
8802 builtin and then its argument prototype would still apply. */
8807 /* The GNU C library defines this for functions which it implements
8808 to always fail with ENOSYS. Some functions are actually named
8809 something starting with __ and the normal name is an alias. */
8810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8818 if { (eval echo configure:8819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8820 eval "ac_cv_func_$ac_func=yes"
8822 echo "configure: failed program was:" >&5
8823 cat conftest.$ac_ext >&5
8825 eval "ac_cv_func_$ac_func=no"
8830 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8831 echo "$ac_t""yes" 1>&6
8832 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8833 cat >> confdefs.h <<EOF
8834 #define $ac_tr_func 1
8838 echo "$ac_t""no" 1>&6
8844 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
8845 echo "configure:8846: checking for _fmodf declaration" >&5
8846 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
8847 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
8848 echo $ac_n "(cached) $ac_c" 1>&6
8853 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8854 ac_cpp='$CXXCPP $CPPFLAGS'
8855 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8856 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8857 cross_compiling=$ac_cv_prog_cxx_cross
8859 cat > conftest.$ac_ext <<EOF
8860 #line 8861 "configure"
8861 #include "confdefs.h"
8867 if { (eval echo configure:8868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8869 glibcpp_cv_func__fmodf_use=yes
8871 echo "configure: failed program was:" >&5
8872 cat conftest.$ac_ext >&5
8874 glibcpp_cv_func__fmodf_use=no
8878 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8879 ac_cpp='$CPP $CPPFLAGS'
8880 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8881 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8882 cross_compiling=$ac_cv_prog_cc_cross
8888 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
8890 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
8891 for ac_func in _fmodf
8893 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8894 echo "configure:8895: checking for $ac_func" >&5
8895 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8896 echo $ac_n "(cached) $ac_c" 1>&6
8898 cat > conftest.$ac_ext <<EOF
8899 #line 8900 "configure"
8900 #include "confdefs.h"
8901 /* System header to define __stub macros and hopefully few prototypes,
8902 which can conflict with char $ac_func(); below. */
8904 /* Override any gcc2 internal prototype to avoid an error. */
8905 /* We use char because int might match the return type of a gcc2
8906 builtin and then its argument prototype would still apply. */
8911 /* The GNU C library defines this for functions which it implements
8912 to always fail with ENOSYS. Some functions are actually named
8913 something starting with __ and the normal name is an alias. */
8914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8922 if { (eval echo configure:8923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8924 eval "ac_cv_func_$ac_func=yes"
8926 echo "configure: failed program was:" >&5
8927 cat conftest.$ac_ext >&5
8929 eval "ac_cv_func_$ac_func=no"
8934 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8935 echo "$ac_t""yes" 1>&6
8936 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8937 cat >> confdefs.h <<EOF
8938 #define $ac_tr_func 1
8942 echo "$ac_t""no" 1>&6
8951 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
8952 echo "configure:8953: checking for frexpf declaration" >&5
8953 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
8954 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
8955 echo $ac_n "(cached) $ac_c" 1>&6
8960 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8961 ac_cpp='$CXXCPP $CPPFLAGS'
8962 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8963 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8964 cross_compiling=$ac_cv_prog_cxx_cross
8966 cat > conftest.$ac_ext <<EOF
8967 #line 8968 "configure"
8968 #include "confdefs.h"
8974 if { (eval echo configure:8975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8976 glibcpp_cv_func_frexpf_use=yes
8978 echo "configure: failed program was:" >&5
8979 cat conftest.$ac_ext >&5
8981 glibcpp_cv_func_frexpf_use=no
8985 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8986 ac_cpp='$CPP $CPPFLAGS'
8987 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8988 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8989 cross_compiling=$ac_cv_prog_cc_cross
8995 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
8997 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
8998 for ac_func in frexpf
9000 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9001 echo "configure:9002: checking for $ac_func" >&5
9002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9003 echo $ac_n "(cached) $ac_c" 1>&6
9005 cat > conftest.$ac_ext <<EOF
9006 #line 9007 "configure"
9007 #include "confdefs.h"
9008 /* System header to define __stub macros and hopefully few prototypes,
9009 which can conflict with char $ac_func(); below. */
9011 /* Override any gcc2 internal prototype to avoid an error. */
9012 /* We use char because int might match the return type of a gcc2
9013 builtin and then its argument prototype would still apply. */
9018 /* The GNU C library defines this for functions which it implements
9019 to always fail with ENOSYS. Some functions are actually named
9020 something starting with __ and the normal name is an alias. */
9021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9029 if { (eval echo configure:9030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9031 eval "ac_cv_func_$ac_func=yes"
9033 echo "configure: failed program was:" >&5
9034 cat conftest.$ac_ext >&5
9036 eval "ac_cv_func_$ac_func=no"
9041 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9042 echo "$ac_t""yes" 1>&6
9043 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9044 cat >> confdefs.h <<EOF
9045 #define $ac_tr_func 1
9049 echo "$ac_t""no" 1>&6
9055 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
9056 echo "configure:9057: checking for _frexpf declaration" >&5
9057 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
9058 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9059 echo $ac_n "(cached) $ac_c" 1>&6
9064 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9065 ac_cpp='$CXXCPP $CPPFLAGS'
9066 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9067 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9068 cross_compiling=$ac_cv_prog_cxx_cross
9070 cat > conftest.$ac_ext <<EOF
9071 #line 9072 "configure"
9072 #include "confdefs.h"
9078 if { (eval echo configure:9079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9080 glibcpp_cv_func__frexpf_use=yes
9082 echo "configure: failed program was:" >&5
9083 cat conftest.$ac_ext >&5
9085 glibcpp_cv_func__frexpf_use=no
9089 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9090 ac_cpp='$CPP $CPPFLAGS'
9091 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9092 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9093 cross_compiling=$ac_cv_prog_cc_cross
9099 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9101 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
9102 for ac_func in _frexpf
9104 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9105 echo "configure:9106: checking for $ac_func" >&5
9106 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9107 echo $ac_n "(cached) $ac_c" 1>&6
9109 cat > conftest.$ac_ext <<EOF
9110 #line 9111 "configure"
9111 #include "confdefs.h"
9112 /* System header to define __stub macros and hopefully few prototypes,
9113 which can conflict with char $ac_func(); below. */
9115 /* Override any gcc2 internal prototype to avoid an error. */
9116 /* We use char because int might match the return type of a gcc2
9117 builtin and then its argument prototype would still apply. */
9122 /* The GNU C library defines this for functions which it implements
9123 to always fail with ENOSYS. Some functions are actually named
9124 something starting with __ and the normal name is an alias. */
9125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9133 if { (eval echo configure:9134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9135 eval "ac_cv_func_$ac_func=yes"
9137 echo "configure: failed program was:" >&5
9138 cat conftest.$ac_ext >&5
9140 eval "ac_cv_func_$ac_func=no"
9145 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9146 echo "$ac_t""yes" 1>&6
9147 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9148 cat >> confdefs.h <<EOF
9149 #define $ac_tr_func 1
9153 echo "$ac_t""no" 1>&6
9162 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
9163 echo "configure:9164: checking for ldexpf declaration" >&5
9164 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
9165 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
9166 echo $ac_n "(cached) $ac_c" 1>&6
9171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9172 ac_cpp='$CXXCPP $CPPFLAGS'
9173 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9174 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9175 cross_compiling=$ac_cv_prog_cxx_cross
9177 cat > conftest.$ac_ext <<EOF
9178 #line 9179 "configure"
9179 #include "confdefs.h"
9185 if { (eval echo configure:9186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9187 glibcpp_cv_func_ldexpf_use=yes
9189 echo "configure: failed program was:" >&5
9190 cat conftest.$ac_ext >&5
9192 glibcpp_cv_func_ldexpf_use=no
9196 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9197 ac_cpp='$CPP $CPPFLAGS'
9198 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9199 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9200 cross_compiling=$ac_cv_prog_cc_cross
9206 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
9208 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
9209 for ac_func in ldexpf
9211 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9212 echo "configure:9213: checking for $ac_func" >&5
9213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9214 echo $ac_n "(cached) $ac_c" 1>&6
9216 cat > conftest.$ac_ext <<EOF
9217 #line 9218 "configure"
9218 #include "confdefs.h"
9219 /* System header to define __stub macros and hopefully few prototypes,
9220 which can conflict with char $ac_func(); below. */
9222 /* Override any gcc2 internal prototype to avoid an error. */
9223 /* We use char because int might match the return type of a gcc2
9224 builtin and then its argument prototype would still apply. */
9229 /* The GNU C library defines this for functions which it implements
9230 to always fail with ENOSYS. Some functions are actually named
9231 something starting with __ and the normal name is an alias. */
9232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9240 if { (eval echo configure:9241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9242 eval "ac_cv_func_$ac_func=yes"
9244 echo "configure: failed program was:" >&5
9245 cat conftest.$ac_ext >&5
9247 eval "ac_cv_func_$ac_func=no"
9252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9253 echo "$ac_t""yes" 1>&6
9254 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9255 cat >> confdefs.h <<EOF
9256 #define $ac_tr_func 1
9260 echo "$ac_t""no" 1>&6
9266 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
9267 echo "configure:9268: checking for _ldexpf declaration" >&5
9268 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
9269 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9270 echo $ac_n "(cached) $ac_c" 1>&6
9275 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9276 ac_cpp='$CXXCPP $CPPFLAGS'
9277 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9278 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9279 cross_compiling=$ac_cv_prog_cxx_cross
9281 cat > conftest.$ac_ext <<EOF
9282 #line 9283 "configure"
9283 #include "confdefs.h"
9289 if { (eval echo configure:9290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9291 glibcpp_cv_func__ldexpf_use=yes
9293 echo "configure: failed program was:" >&5
9294 cat conftest.$ac_ext >&5
9296 glibcpp_cv_func__ldexpf_use=no
9300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9301 ac_cpp='$CPP $CPPFLAGS'
9302 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9303 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9304 cross_compiling=$ac_cv_prog_cc_cross
9310 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
9312 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
9313 for ac_func in _ldexpf
9315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9316 echo "configure:9317: checking for $ac_func" >&5
9317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9318 echo $ac_n "(cached) $ac_c" 1>&6
9320 cat > conftest.$ac_ext <<EOF
9321 #line 9322 "configure"
9322 #include "confdefs.h"
9323 /* System header to define __stub macros and hopefully few prototypes,
9324 which can conflict with char $ac_func(); below. */
9326 /* Override any gcc2 internal prototype to avoid an error. */
9327 /* We use char because int might match the return type of a gcc2
9328 builtin and then its argument prototype would still apply. */
9333 /* The GNU C library defines this for functions which it implements
9334 to always fail with ENOSYS. Some functions are actually named
9335 something starting with __ and the normal name is an alias. */
9336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9344 if { (eval echo configure:9345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9346 eval "ac_cv_func_$ac_func=yes"
9348 echo "configure: failed program was:" >&5
9349 cat conftest.$ac_ext >&5
9351 eval "ac_cv_func_$ac_func=no"
9356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9357 echo "$ac_t""yes" 1>&6
9358 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9359 cat >> confdefs.h <<EOF
9360 #define $ac_tr_func 1
9364 echo "$ac_t""no" 1>&6
9373 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
9374 echo "configure:9375: checking for logf declaration" >&5
9375 if test x${glibcpp_cv_func_logf_use+set} != xset; then
9376 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
9377 echo $ac_n "(cached) $ac_c" 1>&6
9382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9383 ac_cpp='$CXXCPP $CPPFLAGS'
9384 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9385 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9386 cross_compiling=$ac_cv_prog_cxx_cross
9388 cat > conftest.$ac_ext <<EOF
9389 #line 9390 "configure"
9390 #include "confdefs.h"
9392 #ifdef HAVE_IEEEFP_H
9400 if { (eval echo configure:9401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9402 glibcpp_cv_func_logf_use=yes
9404 echo "configure: failed program was:" >&5
9405 cat conftest.$ac_ext >&5
9407 glibcpp_cv_func_logf_use=no
9411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9412 ac_cpp='$CPP $CPPFLAGS'
9413 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9414 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9415 cross_compiling=$ac_cv_prog_cc_cross
9421 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
9423 if test x$glibcpp_cv_func_logf_use = x"yes"; then
9426 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9427 echo "configure:9428: checking for $ac_func" >&5
9428 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9429 echo $ac_n "(cached) $ac_c" 1>&6
9431 cat > conftest.$ac_ext <<EOF
9432 #line 9433 "configure"
9433 #include "confdefs.h"
9434 /* System header to define __stub macros and hopefully few prototypes,
9435 which can conflict with char $ac_func(); below. */
9437 /* Override any gcc2 internal prototype to avoid an error. */
9438 /* We use char because int might match the return type of a gcc2
9439 builtin and then its argument prototype would still apply. */
9444 /* The GNU C library defines this for functions which it implements
9445 to always fail with ENOSYS. Some functions are actually named
9446 something starting with __ and the normal name is an alias. */
9447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9455 if { (eval echo configure:9456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9457 eval "ac_cv_func_$ac_func=yes"
9459 echo "configure: failed program was:" >&5
9460 cat conftest.$ac_ext >&5
9462 eval "ac_cv_func_$ac_func=no"
9467 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9468 echo "$ac_t""yes" 1>&6
9469 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9470 cat >> confdefs.h <<EOF
9471 #define $ac_tr_func 1
9475 echo "$ac_t""no" 1>&6
9481 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
9482 echo "configure:9483: checking for _logf declaration" >&5
9483 if test x${glibcpp_cv_func__logf_use+set} != xset; then
9484 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
9485 echo $ac_n "(cached) $ac_c" 1>&6
9490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9491 ac_cpp='$CXXCPP $CPPFLAGS'
9492 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9493 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9494 cross_compiling=$ac_cv_prog_cxx_cross
9496 cat > conftest.$ac_ext <<EOF
9497 #line 9498 "configure"
9498 #include "confdefs.h"
9500 #ifdef HAVE_IEEEFP_H
9508 if { (eval echo configure:9509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9510 glibcpp_cv_func__logf_use=yes
9512 echo "configure: failed program was:" >&5
9513 cat conftest.$ac_ext >&5
9515 glibcpp_cv_func__logf_use=no
9519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9520 ac_cpp='$CPP $CPPFLAGS'
9521 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9522 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9523 cross_compiling=$ac_cv_prog_cc_cross
9529 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
9531 if test x$glibcpp_cv_func__logf_use = x"yes"; then
9532 for ac_func in _logf
9534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9535 echo "configure:9536: checking for $ac_func" >&5
9536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9537 echo $ac_n "(cached) $ac_c" 1>&6
9539 cat > conftest.$ac_ext <<EOF
9540 #line 9541 "configure"
9541 #include "confdefs.h"
9542 /* System header to define __stub macros and hopefully few prototypes,
9543 which can conflict with char $ac_func(); below. */
9545 /* Override any gcc2 internal prototype to avoid an error. */
9546 /* We use char because int might match the return type of a gcc2
9547 builtin and then its argument prototype would still apply. */
9552 /* The GNU C library defines this for functions which it implements
9553 to always fail with ENOSYS. Some functions are actually named
9554 something starting with __ and the normal name is an alias. */
9555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9563 if { (eval echo configure:9564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9565 eval "ac_cv_func_$ac_func=yes"
9567 echo "configure: failed program was:" >&5
9568 cat conftest.$ac_ext >&5
9570 eval "ac_cv_func_$ac_func=no"
9575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9576 echo "$ac_t""yes" 1>&6
9577 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9578 cat >> confdefs.h <<EOF
9579 #define $ac_tr_func 1
9583 echo "$ac_t""no" 1>&6
9592 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
9593 echo "configure:9594: checking for log10f declaration" >&5
9594 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
9595 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
9596 echo $ac_n "(cached) $ac_c" 1>&6
9601 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9602 ac_cpp='$CXXCPP $CPPFLAGS'
9603 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9604 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9605 cross_compiling=$ac_cv_prog_cxx_cross
9607 cat > conftest.$ac_ext <<EOF
9608 #line 9609 "configure"
9609 #include "confdefs.h"
9611 #ifdef HAVE_IEEEFP_H
9619 if { (eval echo configure:9620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9621 glibcpp_cv_func_log10f_use=yes
9623 echo "configure: failed program was:" >&5
9624 cat conftest.$ac_ext >&5
9626 glibcpp_cv_func_log10f_use=no
9630 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9631 ac_cpp='$CPP $CPPFLAGS'
9632 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9633 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9634 cross_compiling=$ac_cv_prog_cc_cross
9640 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
9642 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
9643 for ac_func in log10f
9645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9646 echo "configure:9647: checking for $ac_func" >&5
9647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9648 echo $ac_n "(cached) $ac_c" 1>&6
9650 cat > conftest.$ac_ext <<EOF
9651 #line 9652 "configure"
9652 #include "confdefs.h"
9653 /* System header to define __stub macros and hopefully few prototypes,
9654 which can conflict with char $ac_func(); below. */
9656 /* Override any gcc2 internal prototype to avoid an error. */
9657 /* We use char because int might match the return type of a gcc2
9658 builtin and then its argument prototype would still apply. */
9663 /* The GNU C library defines this for functions which it implements
9664 to always fail with ENOSYS. Some functions are actually named
9665 something starting with __ and the normal name is an alias. */
9666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9674 if { (eval echo configure:9675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9676 eval "ac_cv_func_$ac_func=yes"
9678 echo "configure: failed program was:" >&5
9679 cat conftest.$ac_ext >&5
9681 eval "ac_cv_func_$ac_func=no"
9686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9687 echo "$ac_t""yes" 1>&6
9688 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9689 cat >> confdefs.h <<EOF
9690 #define $ac_tr_func 1
9694 echo "$ac_t""no" 1>&6
9700 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
9701 echo "configure:9702: checking for _log10f declaration" >&5
9702 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
9703 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
9704 echo $ac_n "(cached) $ac_c" 1>&6
9709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9710 ac_cpp='$CXXCPP $CPPFLAGS'
9711 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9712 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9713 cross_compiling=$ac_cv_prog_cxx_cross
9715 cat > conftest.$ac_ext <<EOF
9716 #line 9717 "configure"
9717 #include "confdefs.h"
9719 #ifdef HAVE_IEEEFP_H
9727 if { (eval echo configure:9728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9729 glibcpp_cv_func__log10f_use=yes
9731 echo "configure: failed program was:" >&5
9732 cat conftest.$ac_ext >&5
9734 glibcpp_cv_func__log10f_use=no
9738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9739 ac_cpp='$CPP $CPPFLAGS'
9740 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9741 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9742 cross_compiling=$ac_cv_prog_cc_cross
9748 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
9750 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
9751 for ac_func in _log10f
9753 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9754 echo "configure:9755: checking for $ac_func" >&5
9755 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9756 echo $ac_n "(cached) $ac_c" 1>&6
9758 cat > conftest.$ac_ext <<EOF
9759 #line 9760 "configure"
9760 #include "confdefs.h"
9761 /* System header to define __stub macros and hopefully few prototypes,
9762 which can conflict with char $ac_func(); below. */
9764 /* Override any gcc2 internal prototype to avoid an error. */
9765 /* We use char because int might match the return type of a gcc2
9766 builtin and then its argument prototype would still apply. */
9771 /* The GNU C library defines this for functions which it implements
9772 to always fail with ENOSYS. Some functions are actually named
9773 something starting with __ and the normal name is an alias. */
9774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9782 if { (eval echo configure:9783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9784 eval "ac_cv_func_$ac_func=yes"
9786 echo "configure: failed program was:" >&5
9787 cat conftest.$ac_ext >&5
9789 eval "ac_cv_func_$ac_func=no"
9794 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9795 echo "$ac_t""yes" 1>&6
9796 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9797 cat >> confdefs.h <<EOF
9798 #define $ac_tr_func 1
9802 echo "$ac_t""no" 1>&6
9811 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
9812 echo "configure:9813: checking for modff declaration" >&5
9813 if test x${glibcpp_cv_func_modff_use+set} != xset; then
9814 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
9815 echo $ac_n "(cached) $ac_c" 1>&6
9820 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9821 ac_cpp='$CXXCPP $CPPFLAGS'
9822 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9823 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9824 cross_compiling=$ac_cv_prog_cxx_cross
9826 cat > conftest.$ac_ext <<EOF
9827 #line 9828 "configure"
9828 #include "confdefs.h"
9834 if { (eval echo configure:9835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9836 glibcpp_cv_func_modff_use=yes
9838 echo "configure: failed program was:" >&5
9839 cat conftest.$ac_ext >&5
9841 glibcpp_cv_func_modff_use=no
9845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9846 ac_cpp='$CPP $CPPFLAGS'
9847 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9848 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9849 cross_compiling=$ac_cv_prog_cc_cross
9855 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
9857 if test x$glibcpp_cv_func_modff_use = x"yes"; then
9858 for ac_func in modff
9860 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9861 echo "configure:9862: checking for $ac_func" >&5
9862 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9863 echo $ac_n "(cached) $ac_c" 1>&6
9865 cat > conftest.$ac_ext <<EOF
9866 #line 9867 "configure"
9867 #include "confdefs.h"
9868 /* System header to define __stub macros and hopefully few prototypes,
9869 which can conflict with char $ac_func(); below. */
9871 /* Override any gcc2 internal prototype to avoid an error. */
9872 /* We use char because int might match the return type of a gcc2
9873 builtin and then its argument prototype would still apply. */
9878 /* The GNU C library defines this for functions which it implements
9879 to always fail with ENOSYS. Some functions are actually named
9880 something starting with __ and the normal name is an alias. */
9881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9889 if { (eval echo configure:9890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9891 eval "ac_cv_func_$ac_func=yes"
9893 echo "configure: failed program was:" >&5
9894 cat conftest.$ac_ext >&5
9896 eval "ac_cv_func_$ac_func=no"
9901 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9902 echo "$ac_t""yes" 1>&6
9903 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9904 cat >> confdefs.h <<EOF
9905 #define $ac_tr_func 1
9909 echo "$ac_t""no" 1>&6
9915 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
9916 echo "configure:9917: checking for _modff declaration" >&5
9917 if test x${glibcpp_cv_func__modff_use+set} != xset; then
9918 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
9919 echo $ac_n "(cached) $ac_c" 1>&6
9924 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9925 ac_cpp='$CXXCPP $CPPFLAGS'
9926 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9927 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9928 cross_compiling=$ac_cv_prog_cxx_cross
9930 cat > conftest.$ac_ext <<EOF
9931 #line 9932 "configure"
9932 #include "confdefs.h"
9938 if { (eval echo configure:9939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9940 glibcpp_cv_func__modff_use=yes
9942 echo "configure: failed program was:" >&5
9943 cat conftest.$ac_ext >&5
9945 glibcpp_cv_func__modff_use=no
9949 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9950 ac_cpp='$CPP $CPPFLAGS'
9951 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9952 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9953 cross_compiling=$ac_cv_prog_cc_cross
9959 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
9961 if test x$glibcpp_cv_func__modff_use = x"yes"; then
9962 for ac_func in _modff
9964 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9965 echo "configure:9966: checking for $ac_func" >&5
9966 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9967 echo $ac_n "(cached) $ac_c" 1>&6
9969 cat > conftest.$ac_ext <<EOF
9970 #line 9971 "configure"
9971 #include "confdefs.h"
9972 /* System header to define __stub macros and hopefully few prototypes,
9973 which can conflict with char $ac_func(); below. */
9975 /* Override any gcc2 internal prototype to avoid an error. */
9976 /* We use char because int might match the return type of a gcc2
9977 builtin and then its argument prototype would still apply. */
9982 /* The GNU C library defines this for functions which it implements
9983 to always fail with ENOSYS. Some functions are actually named
9984 something starting with __ and the normal name is an alias. */
9985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9993 if { (eval echo configure:9994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9995 eval "ac_cv_func_$ac_func=yes"
9997 echo "configure: failed program was:" >&5
9998 cat conftest.$ac_ext >&5
10000 eval "ac_cv_func_$ac_func=no"
10005 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10006 echo "$ac_t""yes" 1>&6
10007 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10008 cat >> confdefs.h <<EOF
10009 #define $ac_tr_func 1
10013 echo "$ac_t""no" 1>&6
10022 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
10023 echo "configure:10024: checking for powf declaration" >&5
10024 if test x${glibcpp_cv_func_powf_use+set} != xset; then
10025 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10026 echo $ac_n "(cached) $ac_c" 1>&6
10031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10032 ac_cpp='$CXXCPP $CPPFLAGS'
10033 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10034 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10035 cross_compiling=$ac_cv_prog_cxx_cross
10037 cat > conftest.$ac_ext <<EOF
10038 #line 10039 "configure"
10039 #include "confdefs.h"
10045 if { (eval echo configure:10046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10047 glibcpp_cv_func_powf_use=yes
10049 echo "configure: failed program was:" >&5
10050 cat conftest.$ac_ext >&5
10052 glibcpp_cv_func_powf_use=no
10056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10057 ac_cpp='$CPP $CPPFLAGS'
10058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10060 cross_compiling=$ac_cv_prog_cc_cross
10066 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10068 if test x$glibcpp_cv_func_powf_use = x"yes"; then
10069 for ac_func in powf
10071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10072 echo "configure:10073: checking for $ac_func" >&5
10073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10074 echo $ac_n "(cached) $ac_c" 1>&6
10076 cat > conftest.$ac_ext <<EOF
10077 #line 10078 "configure"
10078 #include "confdefs.h"
10079 /* System header to define __stub macros and hopefully few prototypes,
10080 which can conflict with char $ac_func(); below. */
10081 #include <assert.h>
10082 /* Override any gcc2 internal prototype to avoid an error. */
10083 /* We use char because int might match the return type of a gcc2
10084 builtin and then its argument prototype would still apply. */
10089 /* The GNU C library defines this for functions which it implements
10090 to always fail with ENOSYS. Some functions are actually named
10091 something starting with __ and the normal name is an alias. */
10092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10100 if { (eval echo configure:10101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10102 eval "ac_cv_func_$ac_func=yes"
10104 echo "configure: failed program was:" >&5
10105 cat conftest.$ac_ext >&5
10107 eval "ac_cv_func_$ac_func=no"
10112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10113 echo "$ac_t""yes" 1>&6
10114 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10115 cat >> confdefs.h <<EOF
10116 #define $ac_tr_func 1
10120 echo "$ac_t""no" 1>&6
10126 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
10127 echo "configure:10128: checking for _powf declaration" >&5
10128 if test x${glibcpp_cv_func__powf_use+set} != xset; then
10129 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10130 echo $ac_n "(cached) $ac_c" 1>&6
10135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10136 ac_cpp='$CXXCPP $CPPFLAGS'
10137 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10138 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10139 cross_compiling=$ac_cv_prog_cxx_cross
10141 cat > conftest.$ac_ext <<EOF
10142 #line 10143 "configure"
10143 #include "confdefs.h"
10149 if { (eval echo configure:10150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10151 glibcpp_cv_func__powf_use=yes
10153 echo "configure: failed program was:" >&5
10154 cat conftest.$ac_ext >&5
10156 glibcpp_cv_func__powf_use=no
10160 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10161 ac_cpp='$CPP $CPPFLAGS'
10162 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10163 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10164 cross_compiling=$ac_cv_prog_cc_cross
10170 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
10172 if test x$glibcpp_cv_func__powf_use = x"yes"; then
10173 for ac_func in _powf
10175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10176 echo "configure:10177: checking for $ac_func" >&5
10177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10178 echo $ac_n "(cached) $ac_c" 1>&6
10180 cat > conftest.$ac_ext <<EOF
10181 #line 10182 "configure"
10182 #include "confdefs.h"
10183 /* System header to define __stub macros and hopefully few prototypes,
10184 which can conflict with char $ac_func(); below. */
10185 #include <assert.h>
10186 /* Override any gcc2 internal prototype to avoid an error. */
10187 /* We use char because int might match the return type of a gcc2
10188 builtin and then its argument prototype would still apply. */
10193 /* The GNU C library defines this for functions which it implements
10194 to always fail with ENOSYS. Some functions are actually named
10195 something starting with __ and the normal name is an alias. */
10196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10204 if { (eval echo configure:10205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10206 eval "ac_cv_func_$ac_func=yes"
10208 echo "configure: failed program was:" >&5
10209 cat conftest.$ac_ext >&5
10211 eval "ac_cv_func_$ac_func=no"
10216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10217 echo "$ac_t""yes" 1>&6
10218 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10219 cat >> confdefs.h <<EOF
10220 #define $ac_tr_func 1
10224 echo "$ac_t""no" 1>&6
10233 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
10234 echo "configure:10235: checking for sqrtf declaration" >&5
10235 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
10236 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10237 echo $ac_n "(cached) $ac_c" 1>&6
10242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10243 ac_cpp='$CXXCPP $CPPFLAGS'
10244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10246 cross_compiling=$ac_cv_prog_cxx_cross
10248 cat > conftest.$ac_ext <<EOF
10249 #line 10250 "configure"
10250 #include "confdefs.h"
10252 #ifdef HAVE_IEEEFP_H
10253 #include <ieeefp.h>
10260 if { (eval echo configure:10261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10262 glibcpp_cv_func_sqrtf_use=yes
10264 echo "configure: failed program was:" >&5
10265 cat conftest.$ac_ext >&5
10267 glibcpp_cv_func_sqrtf_use=no
10271 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10272 ac_cpp='$CPP $CPPFLAGS'
10273 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10274 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10275 cross_compiling=$ac_cv_prog_cc_cross
10281 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10283 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
10284 for ac_func in sqrtf
10286 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10287 echo "configure:10288: checking for $ac_func" >&5
10288 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10289 echo $ac_n "(cached) $ac_c" 1>&6
10291 cat > conftest.$ac_ext <<EOF
10292 #line 10293 "configure"
10293 #include "confdefs.h"
10294 /* System header to define __stub macros and hopefully few prototypes,
10295 which can conflict with char $ac_func(); below. */
10296 #include <assert.h>
10297 /* Override any gcc2 internal prototype to avoid an error. */
10298 /* We use char because int might match the return type of a gcc2
10299 builtin and then its argument prototype would still apply. */
10304 /* The GNU C library defines this for functions which it implements
10305 to always fail with ENOSYS. Some functions are actually named
10306 something starting with __ and the normal name is an alias. */
10307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10315 if { (eval echo configure:10316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10317 eval "ac_cv_func_$ac_func=yes"
10319 echo "configure: failed program was:" >&5
10320 cat conftest.$ac_ext >&5
10322 eval "ac_cv_func_$ac_func=no"
10327 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10328 echo "$ac_t""yes" 1>&6
10329 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10330 cat >> confdefs.h <<EOF
10331 #define $ac_tr_func 1
10335 echo "$ac_t""no" 1>&6
10341 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
10342 echo "configure:10343: checking for _sqrtf declaration" >&5
10343 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
10344 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
10345 echo $ac_n "(cached) $ac_c" 1>&6
10350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10351 ac_cpp='$CXXCPP $CPPFLAGS'
10352 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10353 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10354 cross_compiling=$ac_cv_prog_cxx_cross
10356 cat > conftest.$ac_ext <<EOF
10357 #line 10358 "configure"
10358 #include "confdefs.h"
10360 #ifdef HAVE_IEEEFP_H
10361 #include <ieeefp.h>
10368 if { (eval echo configure:10369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10370 glibcpp_cv_func__sqrtf_use=yes
10372 echo "configure: failed program was:" >&5
10373 cat conftest.$ac_ext >&5
10375 glibcpp_cv_func__sqrtf_use=no
10379 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10380 ac_cpp='$CPP $CPPFLAGS'
10381 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10382 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10383 cross_compiling=$ac_cv_prog_cc_cross
10389 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
10391 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
10392 for ac_func in _sqrtf
10394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10395 echo "configure:10396: checking for $ac_func" >&5
10396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10397 echo $ac_n "(cached) $ac_c" 1>&6
10399 cat > conftest.$ac_ext <<EOF
10400 #line 10401 "configure"
10401 #include "confdefs.h"
10402 /* System header to define __stub macros and hopefully few prototypes,
10403 which can conflict with char $ac_func(); below. */
10404 #include <assert.h>
10405 /* Override any gcc2 internal prototype to avoid an error. */
10406 /* We use char because int might match the return type of a gcc2
10407 builtin and then its argument prototype would still apply. */
10412 /* The GNU C library defines this for functions which it implements
10413 to always fail with ENOSYS. Some functions are actually named
10414 something starting with __ and the normal name is an alias. */
10415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10423 if { (eval echo configure:10424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10425 eval "ac_cv_func_$ac_func=yes"
10427 echo "configure: failed program was:" >&5
10428 cat conftest.$ac_ext >&5
10430 eval "ac_cv_func_$ac_func=no"
10435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10436 echo "$ac_t""yes" 1>&6
10437 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10438 cat >> confdefs.h <<EOF
10439 #define $ac_tr_func 1
10443 echo "$ac_t""no" 1>&6
10452 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
10453 echo "configure:10454: checking for sincosf declaration" >&5
10454 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
10455 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
10456 echo $ac_n "(cached) $ac_c" 1>&6
10461 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10462 ac_cpp='$CXXCPP $CPPFLAGS'
10463 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10464 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10465 cross_compiling=$ac_cv_prog_cxx_cross
10467 cat > conftest.$ac_ext <<EOF
10468 #line 10469 "configure"
10469 #include "confdefs.h"
10475 if { (eval echo configure:10476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10477 glibcpp_cv_func_sincosf_use=yes
10479 echo "configure: failed program was:" >&5
10480 cat conftest.$ac_ext >&5
10482 glibcpp_cv_func_sincosf_use=no
10486 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10487 ac_cpp='$CPP $CPPFLAGS'
10488 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10489 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10490 cross_compiling=$ac_cv_prog_cc_cross
10496 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
10498 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
10499 for ac_func in sincosf
10501 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10502 echo "configure:10503: checking for $ac_func" >&5
10503 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10504 echo $ac_n "(cached) $ac_c" 1>&6
10506 cat > conftest.$ac_ext <<EOF
10507 #line 10508 "configure"
10508 #include "confdefs.h"
10509 /* System header to define __stub macros and hopefully few prototypes,
10510 which can conflict with char $ac_func(); below. */
10511 #include <assert.h>
10512 /* Override any gcc2 internal prototype to avoid an error. */
10513 /* We use char because int might match the return type of a gcc2
10514 builtin and then its argument prototype would still apply. */
10519 /* The GNU C library defines this for functions which it implements
10520 to always fail with ENOSYS. Some functions are actually named
10521 something starting with __ and the normal name is an alias. */
10522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10530 if { (eval echo configure:10531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10532 eval "ac_cv_func_$ac_func=yes"
10534 echo "configure: failed program was:" >&5
10535 cat conftest.$ac_ext >&5
10537 eval "ac_cv_func_$ac_func=no"
10542 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10543 echo "$ac_t""yes" 1>&6
10544 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10545 cat >> confdefs.h <<EOF
10546 #define $ac_tr_func 1
10550 echo "$ac_t""no" 1>&6
10556 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
10557 echo "configure:10558: checking for _sincosf declaration" >&5
10558 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
10559 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
10560 echo $ac_n "(cached) $ac_c" 1>&6
10565 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10566 ac_cpp='$CXXCPP $CPPFLAGS'
10567 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10568 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10569 cross_compiling=$ac_cv_prog_cxx_cross
10571 cat > conftest.$ac_ext <<EOF
10572 #line 10573 "configure"
10573 #include "confdefs.h"
10579 if { (eval echo configure:10580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10581 glibcpp_cv_func__sincosf_use=yes
10583 echo "configure: failed program was:" >&5
10584 cat conftest.$ac_ext >&5
10586 glibcpp_cv_func__sincosf_use=no
10590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10591 ac_cpp='$CPP $CPPFLAGS'
10592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10594 cross_compiling=$ac_cv_prog_cc_cross
10600 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
10602 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
10603 for ac_func in _sincosf
10605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10606 echo "configure:10607: checking for $ac_func" >&5
10607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10608 echo $ac_n "(cached) $ac_c" 1>&6
10610 cat > conftest.$ac_ext <<EOF
10611 #line 10612 "configure"
10612 #include "confdefs.h"
10613 /* System header to define __stub macros and hopefully few prototypes,
10614 which can conflict with char $ac_func(); below. */
10615 #include <assert.h>
10616 /* Override any gcc2 internal prototype to avoid an error. */
10617 /* We use char because int might match the return type of a gcc2
10618 builtin and then its argument prototype would still apply. */
10623 /* The GNU C library defines this for functions which it implements
10624 to always fail with ENOSYS. Some functions are actually named
10625 something starting with __ and the normal name is an alias. */
10626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10634 if { (eval echo configure:10635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10636 eval "ac_cv_func_$ac_func=yes"
10638 echo "configure: failed program was:" >&5
10639 cat conftest.$ac_ext >&5
10641 eval "ac_cv_func_$ac_func=no"
10646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10647 echo "$ac_t""yes" 1>&6
10648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10649 cat >> confdefs.h <<EOF
10650 #define $ac_tr_func 1
10654 echo "$ac_t""no" 1>&6
10663 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
10664 echo "configure:10665: checking for finitef declaration" >&5
10665 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
10666 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
10667 echo $ac_n "(cached) $ac_c" 1>&6
10672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10673 ac_cpp='$CXXCPP $CPPFLAGS'
10674 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10675 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10676 cross_compiling=$ac_cv_prog_cxx_cross
10678 cat > conftest.$ac_ext <<EOF
10679 #line 10680 "configure"
10680 #include "confdefs.h"
10682 #ifdef HAVE_IEEEFP_H
10683 #include <ieeefp.h>
10690 if { (eval echo configure:10691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10692 glibcpp_cv_func_finitef_use=yes
10694 echo "configure: failed program was:" >&5
10695 cat conftest.$ac_ext >&5
10697 glibcpp_cv_func_finitef_use=no
10701 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10702 ac_cpp='$CPP $CPPFLAGS'
10703 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10704 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10705 cross_compiling=$ac_cv_prog_cc_cross
10711 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
10713 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
10714 for ac_func in finitef
10716 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10717 echo "configure:10718: checking for $ac_func" >&5
10718 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10719 echo $ac_n "(cached) $ac_c" 1>&6
10721 cat > conftest.$ac_ext <<EOF
10722 #line 10723 "configure"
10723 #include "confdefs.h"
10724 /* System header to define __stub macros and hopefully few prototypes,
10725 which can conflict with char $ac_func(); below. */
10726 #include <assert.h>
10727 /* Override any gcc2 internal prototype to avoid an error. */
10728 /* We use char because int might match the return type of a gcc2
10729 builtin and then its argument prototype would still apply. */
10734 /* The GNU C library defines this for functions which it implements
10735 to always fail with ENOSYS. Some functions are actually named
10736 something starting with __ and the normal name is an alias. */
10737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10745 if { (eval echo configure:10746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10747 eval "ac_cv_func_$ac_func=yes"
10749 echo "configure: failed program was:" >&5
10750 cat conftest.$ac_ext >&5
10752 eval "ac_cv_func_$ac_func=no"
10757 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10758 echo "$ac_t""yes" 1>&6
10759 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10760 cat >> confdefs.h <<EOF
10761 #define $ac_tr_func 1
10765 echo "$ac_t""no" 1>&6
10771 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
10772 echo "configure:10773: checking for _finitef declaration" >&5
10773 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
10774 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
10775 echo $ac_n "(cached) $ac_c" 1>&6
10780 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10781 ac_cpp='$CXXCPP $CPPFLAGS'
10782 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10783 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10784 cross_compiling=$ac_cv_prog_cxx_cross
10786 cat > conftest.$ac_ext <<EOF
10787 #line 10788 "configure"
10788 #include "confdefs.h"
10790 #ifdef HAVE_IEEEFP_H
10791 #include <ieeefp.h>
10798 if { (eval echo configure:10799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10800 glibcpp_cv_func__finitef_use=yes
10802 echo "configure: failed program was:" >&5
10803 cat conftest.$ac_ext >&5
10805 glibcpp_cv_func__finitef_use=no
10809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10810 ac_cpp='$CPP $CPPFLAGS'
10811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10813 cross_compiling=$ac_cv_prog_cc_cross
10819 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
10821 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
10822 for ac_func in _finitef
10824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10825 echo "configure:10826: checking for $ac_func" >&5
10826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10827 echo $ac_n "(cached) $ac_c" 1>&6
10829 cat > conftest.$ac_ext <<EOF
10830 #line 10831 "configure"
10831 #include "confdefs.h"
10832 /* System header to define __stub macros and hopefully few prototypes,
10833 which can conflict with char $ac_func(); below. */
10834 #include <assert.h>
10835 /* Override any gcc2 internal prototype to avoid an error. */
10836 /* We use char because int might match the return type of a gcc2
10837 builtin and then its argument prototype would still apply. */
10842 /* The GNU C library defines this for functions which it implements
10843 to always fail with ENOSYS. Some functions are actually named
10844 something starting with __ and the normal name is an alias. */
10845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10853 if { (eval echo configure:10854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10855 eval "ac_cv_func_$ac_func=yes"
10857 echo "configure: failed program was:" >&5
10858 cat conftest.$ac_ext >&5
10860 eval "ac_cv_func_$ac_func=no"
10865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10866 echo "$ac_t""yes" 1>&6
10867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10868 cat >> confdefs.h <<EOF
10869 #define $ac_tr_func 1
10873 echo "$ac_t""no" 1>&6
10882 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
10883 echo "configure:10884: checking for long double trig functions" >&5
10884 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
10885 echo $ac_n "(cached) $ac_c" 1>&6
10890 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10891 ac_cpp='$CXXCPP $CPPFLAGS'
10892 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10893 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10894 cross_compiling=$ac_cv_prog_cxx_cross
10896 cat > conftest.$ac_ext <<EOF
10897 #line 10898 "configure"
10898 #include "confdefs.h"
10901 `for x in acosl asinl atanl \
10903 coshl sinhl tanhl; do echo "$x (0);"; done`
10906 if { (eval echo configure:10907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10908 glibcpp_cv_func_long_double_trig_use=yes
10910 echo "configure: failed program was:" >&5
10911 cat conftest.$ac_ext >&5
10913 glibcpp_cv_func_long_double_trig_use=no
10917 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10918 ac_cpp='$CPP $CPPFLAGS'
10919 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10920 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10921 cross_compiling=$ac_cv_prog_cc_cross
10925 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
10926 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
10927 for ac_func in acosl asinl atanl \
10931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10932 echo "configure:10933: checking for $ac_func" >&5
10933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10934 echo $ac_n "(cached) $ac_c" 1>&6
10936 cat > conftest.$ac_ext <<EOF
10937 #line 10938 "configure"
10938 #include "confdefs.h"
10939 /* System header to define __stub macros and hopefully few prototypes,
10940 which can conflict with char $ac_func(); below. */
10941 #include <assert.h>
10942 /* Override any gcc2 internal prototype to avoid an error. */
10943 /* We use char because int might match the return type of a gcc2
10944 builtin and then its argument prototype would still apply. */
10949 /* The GNU C library defines this for functions which it implements
10950 to always fail with ENOSYS. Some functions are actually named
10951 something starting with __ and the normal name is an alias. */
10952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10960 if { (eval echo configure:10961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10962 eval "ac_cv_func_$ac_func=yes"
10964 echo "configure: failed program was:" >&5
10965 cat conftest.$ac_ext >&5
10967 eval "ac_cv_func_$ac_func=no"
10972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10973 echo "$ac_t""yes" 1>&6
10974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10975 cat >> confdefs.h <<EOF
10976 #define $ac_tr_func 1
10980 echo "$ac_t""no" 1>&6
10987 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
10988 echo "configure:10989: checking for long double round functions" >&5
10989 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
10990 echo $ac_n "(cached) $ac_c" 1>&6
10995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10996 ac_cpp='$CXXCPP $CPPFLAGS'
10997 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10998 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10999 cross_compiling=$ac_cv_prog_cxx_cross
11001 cat > conftest.$ac_ext <<EOF
11002 #line 11003 "configure"
11003 #include "confdefs.h"
11006 `for x in ceill floorl; do echo "$x (0);"; done`
11009 if { (eval echo configure:11010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11011 glibcpp_cv_func_long_double_round_use=yes
11013 echo "configure: failed program was:" >&5
11014 cat conftest.$ac_ext >&5
11016 glibcpp_cv_func_long_double_round_use=no
11020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11021 ac_cpp='$CPP $CPPFLAGS'
11022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11024 cross_compiling=$ac_cv_prog_cc_cross
11028 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11029 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
11030 for ac_func in ceill floorl
11032 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11033 echo "configure:11034: checking for $ac_func" >&5
11034 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11035 echo $ac_n "(cached) $ac_c" 1>&6
11037 cat > conftest.$ac_ext <<EOF
11038 #line 11039 "configure"
11039 #include "confdefs.h"
11040 /* System header to define __stub macros and hopefully few prototypes,
11041 which can conflict with char $ac_func(); below. */
11042 #include <assert.h>
11043 /* Override any gcc2 internal prototype to avoid an error. */
11044 /* We use char because int might match the return type of a gcc2
11045 builtin and then its argument prototype would still apply. */
11050 /* The GNU C library defines this for functions which it implements
11051 to always fail with ENOSYS. Some functions are actually named
11052 something starting with __ and the normal name is an alias. */
11053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11061 if { (eval echo configure:11062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11063 eval "ac_cv_func_$ac_func=yes"
11065 echo "configure: failed program was:" >&5
11066 cat conftest.$ac_ext >&5
11068 eval "ac_cv_func_$ac_func=no"
11073 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11074 echo "$ac_t""yes" 1>&6
11075 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11076 cat >> confdefs.h <<EOF
11077 #define $ac_tr_func 1
11081 echo "$ac_t""no" 1>&6
11089 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
11090 echo "configure:11091: checking for isnanl declaration" >&5
11091 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
11092 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11093 echo $ac_n "(cached) $ac_c" 1>&6
11098 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11099 ac_cpp='$CXXCPP $CPPFLAGS'
11100 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11101 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11102 cross_compiling=$ac_cv_prog_cxx_cross
11104 cat > conftest.$ac_ext <<EOF
11105 #line 11106 "configure"
11106 #include "confdefs.h"
11108 #ifdef HAVE_IEEEFP_H
11109 #include <ieeefp.h>
11116 if { (eval echo configure:11117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11118 glibcpp_cv_func_isnanl_use=yes
11120 echo "configure: failed program was:" >&5
11121 cat conftest.$ac_ext >&5
11123 glibcpp_cv_func_isnanl_use=no
11127 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11128 ac_cpp='$CPP $CPPFLAGS'
11129 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11130 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11131 cross_compiling=$ac_cv_prog_cc_cross
11137 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11139 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
11140 for ac_func in isnanl
11142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11143 echo "configure:11144: checking for $ac_func" >&5
11144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11145 echo $ac_n "(cached) $ac_c" 1>&6
11147 cat > conftest.$ac_ext <<EOF
11148 #line 11149 "configure"
11149 #include "confdefs.h"
11150 /* System header to define __stub macros and hopefully few prototypes,
11151 which can conflict with char $ac_func(); below. */
11152 #include <assert.h>
11153 /* Override any gcc2 internal prototype to avoid an error. */
11154 /* We use char because int might match the return type of a gcc2
11155 builtin and then its argument prototype would still apply. */
11160 /* The GNU C library defines this for functions which it implements
11161 to always fail with ENOSYS. Some functions are actually named
11162 something starting with __ and the normal name is an alias. */
11163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11171 if { (eval echo configure:11172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11173 eval "ac_cv_func_$ac_func=yes"
11175 echo "configure: failed program was:" >&5
11176 cat conftest.$ac_ext >&5
11178 eval "ac_cv_func_$ac_func=no"
11183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11184 echo "$ac_t""yes" 1>&6
11185 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11186 cat >> confdefs.h <<EOF
11187 #define $ac_tr_func 1
11191 echo "$ac_t""no" 1>&6
11197 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
11198 echo "configure:11199: checking for _isnanl declaration" >&5
11199 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
11200 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
11201 echo $ac_n "(cached) $ac_c" 1>&6
11206 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11207 ac_cpp='$CXXCPP $CPPFLAGS'
11208 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11209 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11210 cross_compiling=$ac_cv_prog_cxx_cross
11212 cat > conftest.$ac_ext <<EOF
11213 #line 11214 "configure"
11214 #include "confdefs.h"
11216 #ifdef HAVE_IEEEFP_H
11217 #include <ieeefp.h>
11224 if { (eval echo configure:11225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11226 glibcpp_cv_func__isnanl_use=yes
11228 echo "configure: failed program was:" >&5
11229 cat conftest.$ac_ext >&5
11231 glibcpp_cv_func__isnanl_use=no
11235 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11236 ac_cpp='$CPP $CPPFLAGS'
11237 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11238 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11239 cross_compiling=$ac_cv_prog_cc_cross
11245 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11247 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
11248 for ac_func in _isnanl
11250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11251 echo "configure:11252: checking for $ac_func" >&5
11252 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11253 echo $ac_n "(cached) $ac_c" 1>&6
11255 cat > conftest.$ac_ext <<EOF
11256 #line 11257 "configure"
11257 #include "confdefs.h"
11258 /* System header to define __stub macros and hopefully few prototypes,
11259 which can conflict with char $ac_func(); below. */
11260 #include <assert.h>
11261 /* Override any gcc2 internal prototype to avoid an error. */
11262 /* We use char because int might match the return type of a gcc2
11263 builtin and then its argument prototype would still apply. */
11268 /* The GNU C library defines this for functions which it implements
11269 to always fail with ENOSYS. Some functions are actually named
11270 something starting with __ and the normal name is an alias. */
11271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11279 if { (eval echo configure:11280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11281 eval "ac_cv_func_$ac_func=yes"
11283 echo "configure: failed program was:" >&5
11284 cat conftest.$ac_ext >&5
11286 eval "ac_cv_func_$ac_func=no"
11291 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11292 echo "$ac_t""yes" 1>&6
11293 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11294 cat >> confdefs.h <<EOF
11295 #define $ac_tr_func 1
11299 echo "$ac_t""no" 1>&6
11308 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
11309 echo "configure:11310: checking for isinfl declaration" >&5
11310 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
11311 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
11312 echo $ac_n "(cached) $ac_c" 1>&6
11317 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11318 ac_cpp='$CXXCPP $CPPFLAGS'
11319 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11320 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11321 cross_compiling=$ac_cv_prog_cxx_cross
11323 cat > conftest.$ac_ext <<EOF
11324 #line 11325 "configure"
11325 #include "confdefs.h"
11327 #ifdef HAVE_IEEEFP_H
11328 #include <ieeefp.h>
11335 if { (eval echo configure:11336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11337 glibcpp_cv_func_isinfl_use=yes
11339 echo "configure: failed program was:" >&5
11340 cat conftest.$ac_ext >&5
11342 glibcpp_cv_func_isinfl_use=no
11346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11347 ac_cpp='$CPP $CPPFLAGS'
11348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11350 cross_compiling=$ac_cv_prog_cc_cross
11356 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
11358 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
11359 for ac_func in isinfl
11361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11362 echo "configure:11363: checking for $ac_func" >&5
11363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11364 echo $ac_n "(cached) $ac_c" 1>&6
11366 cat > conftest.$ac_ext <<EOF
11367 #line 11368 "configure"
11368 #include "confdefs.h"
11369 /* System header to define __stub macros and hopefully few prototypes,
11370 which can conflict with char $ac_func(); below. */
11371 #include <assert.h>
11372 /* Override any gcc2 internal prototype to avoid an error. */
11373 /* We use char because int might match the return type of a gcc2
11374 builtin and then its argument prototype would still apply. */
11379 /* The GNU C library defines this for functions which it implements
11380 to always fail with ENOSYS. Some functions are actually named
11381 something starting with __ and the normal name is an alias. */
11382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11390 if { (eval echo configure:11391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11392 eval "ac_cv_func_$ac_func=yes"
11394 echo "configure: failed program was:" >&5
11395 cat conftest.$ac_ext >&5
11397 eval "ac_cv_func_$ac_func=no"
11402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11403 echo "$ac_t""yes" 1>&6
11404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11405 cat >> confdefs.h <<EOF
11406 #define $ac_tr_func 1
11410 echo "$ac_t""no" 1>&6
11416 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
11417 echo "configure:11418: checking for _isinfl declaration" >&5
11418 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
11419 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
11420 echo $ac_n "(cached) $ac_c" 1>&6
11425 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11426 ac_cpp='$CXXCPP $CPPFLAGS'
11427 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11428 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11429 cross_compiling=$ac_cv_prog_cxx_cross
11431 cat > conftest.$ac_ext <<EOF
11432 #line 11433 "configure"
11433 #include "confdefs.h"
11435 #ifdef HAVE_IEEEFP_H
11436 #include <ieeefp.h>
11443 if { (eval echo configure:11444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11445 glibcpp_cv_func__isinfl_use=yes
11447 echo "configure: failed program was:" >&5
11448 cat conftest.$ac_ext >&5
11450 glibcpp_cv_func__isinfl_use=no
11454 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11455 ac_cpp='$CPP $CPPFLAGS'
11456 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11457 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11458 cross_compiling=$ac_cv_prog_cc_cross
11464 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
11466 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
11467 for ac_func in _isinfl
11469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11470 echo "configure:11471: checking for $ac_func" >&5
11471 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11472 echo $ac_n "(cached) $ac_c" 1>&6
11474 cat > conftest.$ac_ext <<EOF
11475 #line 11476 "configure"
11476 #include "confdefs.h"
11477 /* System header to define __stub macros and hopefully few prototypes,
11478 which can conflict with char $ac_func(); below. */
11479 #include <assert.h>
11480 /* Override any gcc2 internal prototype to avoid an error. */
11481 /* We use char because int might match the return type of a gcc2
11482 builtin and then its argument prototype would still apply. */
11487 /* The GNU C library defines this for functions which it implements
11488 to always fail with ENOSYS. Some functions are actually named
11489 something starting with __ and the normal name is an alias. */
11490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11498 if { (eval echo configure:11499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11500 eval "ac_cv_func_$ac_func=yes"
11502 echo "configure: failed program was:" >&5
11503 cat conftest.$ac_ext >&5
11505 eval "ac_cv_func_$ac_func=no"
11510 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11511 echo "$ac_t""yes" 1>&6
11512 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11513 cat >> confdefs.h <<EOF
11514 #define $ac_tr_func 1
11518 echo "$ac_t""no" 1>&6
11527 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
11528 echo "configure:11529: checking for copysignl declaration" >&5
11529 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
11530 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
11531 echo $ac_n "(cached) $ac_c" 1>&6
11536 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11537 ac_cpp='$CXXCPP $CPPFLAGS'
11538 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11539 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11540 cross_compiling=$ac_cv_prog_cxx_cross
11542 cat > conftest.$ac_ext <<EOF
11543 #line 11544 "configure"
11544 #include "confdefs.h"
11550 if { (eval echo configure:11551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11552 glibcpp_cv_func_copysignl_use=yes
11554 echo "configure: failed program was:" >&5
11555 cat conftest.$ac_ext >&5
11557 glibcpp_cv_func_copysignl_use=no
11561 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11562 ac_cpp='$CPP $CPPFLAGS'
11563 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11564 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11565 cross_compiling=$ac_cv_prog_cc_cross
11571 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
11573 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
11574 for ac_func in copysignl
11576 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11577 echo "configure:11578: checking for $ac_func" >&5
11578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11579 echo $ac_n "(cached) $ac_c" 1>&6
11581 cat > conftest.$ac_ext <<EOF
11582 #line 11583 "configure"
11583 #include "confdefs.h"
11584 /* System header to define __stub macros and hopefully few prototypes,
11585 which can conflict with char $ac_func(); below. */
11586 #include <assert.h>
11587 /* Override any gcc2 internal prototype to avoid an error. */
11588 /* We use char because int might match the return type of a gcc2
11589 builtin and then its argument prototype would still apply. */
11594 /* The GNU C library defines this for functions which it implements
11595 to always fail with ENOSYS. Some functions are actually named
11596 something starting with __ and the normal name is an alias. */
11597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11605 if { (eval echo configure:11606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11607 eval "ac_cv_func_$ac_func=yes"
11609 echo "configure: failed program was:" >&5
11610 cat conftest.$ac_ext >&5
11612 eval "ac_cv_func_$ac_func=no"
11617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11618 echo "$ac_t""yes" 1>&6
11619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11620 cat >> confdefs.h <<EOF
11621 #define $ac_tr_func 1
11625 echo "$ac_t""no" 1>&6
11631 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
11632 echo "configure:11633: checking for _copysignl declaration" >&5
11633 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
11634 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
11635 echo $ac_n "(cached) $ac_c" 1>&6
11640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11641 ac_cpp='$CXXCPP $CPPFLAGS'
11642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11644 cross_compiling=$ac_cv_prog_cxx_cross
11646 cat > conftest.$ac_ext <<EOF
11647 #line 11648 "configure"
11648 #include "confdefs.h"
11654 if { (eval echo configure:11655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11656 glibcpp_cv_func__copysignl_use=yes
11658 echo "configure: failed program was:" >&5
11659 cat conftest.$ac_ext >&5
11661 glibcpp_cv_func__copysignl_use=no
11665 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11666 ac_cpp='$CPP $CPPFLAGS'
11667 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11668 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11669 cross_compiling=$ac_cv_prog_cc_cross
11675 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
11677 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
11678 for ac_func in _copysignl
11680 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11681 echo "configure:11682: checking for $ac_func" >&5
11682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11683 echo $ac_n "(cached) $ac_c" 1>&6
11685 cat > conftest.$ac_ext <<EOF
11686 #line 11687 "configure"
11687 #include "confdefs.h"
11688 /* System header to define __stub macros and hopefully few prototypes,
11689 which can conflict with char $ac_func(); below. */
11690 #include <assert.h>
11691 /* Override any gcc2 internal prototype to avoid an error. */
11692 /* We use char because int might match the return type of a gcc2
11693 builtin and then its argument prototype would still apply. */
11698 /* The GNU C library defines this for functions which it implements
11699 to always fail with ENOSYS. Some functions are actually named
11700 something starting with __ and the normal name is an alias. */
11701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11709 if { (eval echo configure:11710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11711 eval "ac_cv_func_$ac_func=yes"
11713 echo "configure: failed program was:" >&5
11714 cat conftest.$ac_ext >&5
11716 eval "ac_cv_func_$ac_func=no"
11721 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11722 echo "$ac_t""yes" 1>&6
11723 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11724 cat >> confdefs.h <<EOF
11725 #define $ac_tr_func 1
11729 echo "$ac_t""no" 1>&6
11738 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
11739 echo "configure:11740: checking for atan2l declaration" >&5
11740 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
11741 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
11742 echo $ac_n "(cached) $ac_c" 1>&6
11747 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11748 ac_cpp='$CXXCPP $CPPFLAGS'
11749 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11750 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11751 cross_compiling=$ac_cv_prog_cxx_cross
11753 cat > conftest.$ac_ext <<EOF
11754 #line 11755 "configure"
11755 #include "confdefs.h"
11761 if { (eval echo configure:11762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11763 glibcpp_cv_func_atan2l_use=yes
11765 echo "configure: failed program was:" >&5
11766 cat conftest.$ac_ext >&5
11768 glibcpp_cv_func_atan2l_use=no
11772 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11773 ac_cpp='$CPP $CPPFLAGS'
11774 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11775 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11776 cross_compiling=$ac_cv_prog_cc_cross
11782 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
11784 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
11785 for ac_func in atan2l
11787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11788 echo "configure:11789: checking for $ac_func" >&5
11789 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11790 echo $ac_n "(cached) $ac_c" 1>&6
11792 cat > conftest.$ac_ext <<EOF
11793 #line 11794 "configure"
11794 #include "confdefs.h"
11795 /* System header to define __stub macros and hopefully few prototypes,
11796 which can conflict with char $ac_func(); below. */
11797 #include <assert.h>
11798 /* Override any gcc2 internal prototype to avoid an error. */
11799 /* We use char because int might match the return type of a gcc2
11800 builtin and then its argument prototype would still apply. */
11805 /* The GNU C library defines this for functions which it implements
11806 to always fail with ENOSYS. Some functions are actually named
11807 something starting with __ and the normal name is an alias. */
11808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11816 if { (eval echo configure:11817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11818 eval "ac_cv_func_$ac_func=yes"
11820 echo "configure: failed program was:" >&5
11821 cat conftest.$ac_ext >&5
11823 eval "ac_cv_func_$ac_func=no"
11828 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11829 echo "$ac_t""yes" 1>&6
11830 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11831 cat >> confdefs.h <<EOF
11832 #define $ac_tr_func 1
11836 echo "$ac_t""no" 1>&6
11842 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
11843 echo "configure:11844: checking for _atan2l declaration" >&5
11844 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
11845 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
11846 echo $ac_n "(cached) $ac_c" 1>&6
11851 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11852 ac_cpp='$CXXCPP $CPPFLAGS'
11853 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11854 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11855 cross_compiling=$ac_cv_prog_cxx_cross
11857 cat > conftest.$ac_ext <<EOF
11858 #line 11859 "configure"
11859 #include "confdefs.h"
11865 if { (eval echo configure:11866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11867 glibcpp_cv_func__atan2l_use=yes
11869 echo "configure: failed program was:" >&5
11870 cat conftest.$ac_ext >&5
11872 glibcpp_cv_func__atan2l_use=no
11876 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11877 ac_cpp='$CPP $CPPFLAGS'
11878 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11879 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11880 cross_compiling=$ac_cv_prog_cc_cross
11886 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
11888 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
11889 for ac_func in _atan2l
11891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11892 echo "configure:11893: checking for $ac_func" >&5
11893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11894 echo $ac_n "(cached) $ac_c" 1>&6
11896 cat > conftest.$ac_ext <<EOF
11897 #line 11898 "configure"
11898 #include "confdefs.h"
11899 /* System header to define __stub macros and hopefully few prototypes,
11900 which can conflict with char $ac_func(); below. */
11901 #include <assert.h>
11902 /* Override any gcc2 internal prototype to avoid an error. */
11903 /* We use char because int might match the return type of a gcc2
11904 builtin and then its argument prototype would still apply. */
11909 /* The GNU C library defines this for functions which it implements
11910 to always fail with ENOSYS. Some functions are actually named
11911 something starting with __ and the normal name is an alias. */
11912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11920 if { (eval echo configure:11921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11922 eval "ac_cv_func_$ac_func=yes"
11924 echo "configure: failed program was:" >&5
11925 cat conftest.$ac_ext >&5
11927 eval "ac_cv_func_$ac_func=no"
11932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11933 echo "$ac_t""yes" 1>&6
11934 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11935 cat >> confdefs.h <<EOF
11936 #define $ac_tr_func 1
11940 echo "$ac_t""no" 1>&6
11949 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
11950 echo "configure:11951: checking for expl declaration" >&5
11951 if test x${glibcpp_cv_func_expl_use+set} != xset; then
11952 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
11953 echo $ac_n "(cached) $ac_c" 1>&6
11958 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11959 ac_cpp='$CXXCPP $CPPFLAGS'
11960 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11961 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11962 cross_compiling=$ac_cv_prog_cxx_cross
11964 cat > conftest.$ac_ext <<EOF
11965 #line 11966 "configure"
11966 #include "confdefs.h"
11968 #ifdef HAVE_IEEEFP_H
11969 #include <ieeefp.h>
11976 if { (eval echo configure:11977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11978 glibcpp_cv_func_expl_use=yes
11980 echo "configure: failed program was:" >&5
11981 cat conftest.$ac_ext >&5
11983 glibcpp_cv_func_expl_use=no
11987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11988 ac_cpp='$CPP $CPPFLAGS'
11989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11991 cross_compiling=$ac_cv_prog_cc_cross
11997 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
11999 if test x$glibcpp_cv_func_expl_use = x"yes"; then
12000 for ac_func in expl
12002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12003 echo "configure:12004: checking for $ac_func" >&5
12004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12005 echo $ac_n "(cached) $ac_c" 1>&6
12007 cat > conftest.$ac_ext <<EOF
12008 #line 12009 "configure"
12009 #include "confdefs.h"
12010 /* System header to define __stub macros and hopefully few prototypes,
12011 which can conflict with char $ac_func(); below. */
12012 #include <assert.h>
12013 /* Override any gcc2 internal prototype to avoid an error. */
12014 /* We use char because int might match the return type of a gcc2
12015 builtin and then its argument prototype would still apply. */
12020 /* The GNU C library defines this for functions which it implements
12021 to always fail with ENOSYS. Some functions are actually named
12022 something starting with __ and the normal name is an alias. */
12023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12031 if { (eval echo configure:12032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12033 eval "ac_cv_func_$ac_func=yes"
12035 echo "configure: failed program was:" >&5
12036 cat conftest.$ac_ext >&5
12038 eval "ac_cv_func_$ac_func=no"
12043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12044 echo "$ac_t""yes" 1>&6
12045 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12046 cat >> confdefs.h <<EOF
12047 #define $ac_tr_func 1
12051 echo "$ac_t""no" 1>&6
12057 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
12058 echo "configure:12059: checking for _expl declaration" >&5
12059 if test x${glibcpp_cv_func__expl_use+set} != xset; then
12060 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12061 echo $ac_n "(cached) $ac_c" 1>&6
12066 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12067 ac_cpp='$CXXCPP $CPPFLAGS'
12068 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12069 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12070 cross_compiling=$ac_cv_prog_cxx_cross
12072 cat > conftest.$ac_ext <<EOF
12073 #line 12074 "configure"
12074 #include "confdefs.h"
12076 #ifdef HAVE_IEEEFP_H
12077 #include <ieeefp.h>
12084 if { (eval echo configure:12085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12086 glibcpp_cv_func__expl_use=yes
12088 echo "configure: failed program was:" >&5
12089 cat conftest.$ac_ext >&5
12091 glibcpp_cv_func__expl_use=no
12095 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12096 ac_cpp='$CPP $CPPFLAGS'
12097 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12098 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12099 cross_compiling=$ac_cv_prog_cc_cross
12105 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12107 if test x$glibcpp_cv_func__expl_use = x"yes"; then
12108 for ac_func in _expl
12110 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12111 echo "configure:12112: checking for $ac_func" >&5
12112 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12113 echo $ac_n "(cached) $ac_c" 1>&6
12115 cat > conftest.$ac_ext <<EOF
12116 #line 12117 "configure"
12117 #include "confdefs.h"
12118 /* System header to define __stub macros and hopefully few prototypes,
12119 which can conflict with char $ac_func(); below. */
12120 #include <assert.h>
12121 /* Override any gcc2 internal prototype to avoid an error. */
12122 /* We use char because int might match the return type of a gcc2
12123 builtin and then its argument prototype would still apply. */
12128 /* The GNU C library defines this for functions which it implements
12129 to always fail with ENOSYS. Some functions are actually named
12130 something starting with __ and the normal name is an alias. */
12131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12139 if { (eval echo configure:12140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12141 eval "ac_cv_func_$ac_func=yes"
12143 echo "configure: failed program was:" >&5
12144 cat conftest.$ac_ext >&5
12146 eval "ac_cv_func_$ac_func=no"
12151 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12152 echo "$ac_t""yes" 1>&6
12153 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12154 cat >> confdefs.h <<EOF
12155 #define $ac_tr_func 1
12159 echo "$ac_t""no" 1>&6
12168 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
12169 echo "configure:12170: checking for fabsl declaration" >&5
12170 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
12171 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
12172 echo $ac_n "(cached) $ac_c" 1>&6
12177 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12178 ac_cpp='$CXXCPP $CPPFLAGS'
12179 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12180 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12181 cross_compiling=$ac_cv_prog_cxx_cross
12183 cat > conftest.$ac_ext <<EOF
12184 #line 12185 "configure"
12185 #include "confdefs.h"
12187 #ifdef HAVE_IEEEFP_H
12188 #include <ieeefp.h>
12195 if { (eval echo configure:12196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12197 glibcpp_cv_func_fabsl_use=yes
12199 echo "configure: failed program was:" >&5
12200 cat conftest.$ac_ext >&5
12202 glibcpp_cv_func_fabsl_use=no
12206 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12207 ac_cpp='$CPP $CPPFLAGS'
12208 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12209 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12210 cross_compiling=$ac_cv_prog_cc_cross
12216 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
12218 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
12219 for ac_func in fabsl
12221 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12222 echo "configure:12223: checking for $ac_func" >&5
12223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12224 echo $ac_n "(cached) $ac_c" 1>&6
12226 cat > conftest.$ac_ext <<EOF
12227 #line 12228 "configure"
12228 #include "confdefs.h"
12229 /* System header to define __stub macros and hopefully few prototypes,
12230 which can conflict with char $ac_func(); below. */
12231 #include <assert.h>
12232 /* Override any gcc2 internal prototype to avoid an error. */
12233 /* We use char because int might match the return type of a gcc2
12234 builtin and then its argument prototype would still apply. */
12239 /* The GNU C library defines this for functions which it implements
12240 to always fail with ENOSYS. Some functions are actually named
12241 something starting with __ and the normal name is an alias. */
12242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12250 if { (eval echo configure:12251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12252 eval "ac_cv_func_$ac_func=yes"
12254 echo "configure: failed program was:" >&5
12255 cat conftest.$ac_ext >&5
12257 eval "ac_cv_func_$ac_func=no"
12262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12263 echo "$ac_t""yes" 1>&6
12264 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12265 cat >> confdefs.h <<EOF
12266 #define $ac_tr_func 1
12270 echo "$ac_t""no" 1>&6
12276 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
12277 echo "configure:12278: checking for _fabsl declaration" >&5
12278 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
12279 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12280 echo $ac_n "(cached) $ac_c" 1>&6
12285 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12286 ac_cpp='$CXXCPP $CPPFLAGS'
12287 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12288 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12289 cross_compiling=$ac_cv_prog_cxx_cross
12291 cat > conftest.$ac_ext <<EOF
12292 #line 12293 "configure"
12293 #include "confdefs.h"
12295 #ifdef HAVE_IEEEFP_H
12296 #include <ieeefp.h>
12303 if { (eval echo configure:12304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12305 glibcpp_cv_func__fabsl_use=yes
12307 echo "configure: failed program was:" >&5
12308 cat conftest.$ac_ext >&5
12310 glibcpp_cv_func__fabsl_use=no
12314 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12315 ac_cpp='$CPP $CPPFLAGS'
12316 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12317 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12318 cross_compiling=$ac_cv_prog_cc_cross
12324 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
12326 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
12327 for ac_func in _fabsl
12329 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12330 echo "configure:12331: checking for $ac_func" >&5
12331 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12332 echo $ac_n "(cached) $ac_c" 1>&6
12334 cat > conftest.$ac_ext <<EOF
12335 #line 12336 "configure"
12336 #include "confdefs.h"
12337 /* System header to define __stub macros and hopefully few prototypes,
12338 which can conflict with char $ac_func(); below. */
12339 #include <assert.h>
12340 /* Override any gcc2 internal prototype to avoid an error. */
12341 /* We use char because int might match the return type of a gcc2
12342 builtin and then its argument prototype would still apply. */
12347 /* The GNU C library defines this for functions which it implements
12348 to always fail with ENOSYS. Some functions are actually named
12349 something starting with __ and the normal name is an alias. */
12350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12358 if { (eval echo configure:12359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12360 eval "ac_cv_func_$ac_func=yes"
12362 echo "configure: failed program was:" >&5
12363 cat conftest.$ac_ext >&5
12365 eval "ac_cv_func_$ac_func=no"
12370 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12371 echo "$ac_t""yes" 1>&6
12372 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12373 cat >> confdefs.h <<EOF
12374 #define $ac_tr_func 1
12378 echo "$ac_t""no" 1>&6
12387 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
12388 echo "configure:12389: checking for fmodl declaration" >&5
12389 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
12390 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
12391 echo $ac_n "(cached) $ac_c" 1>&6
12396 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12397 ac_cpp='$CXXCPP $CPPFLAGS'
12398 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12399 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12400 cross_compiling=$ac_cv_prog_cxx_cross
12402 cat > conftest.$ac_ext <<EOF
12403 #line 12404 "configure"
12404 #include "confdefs.h"
12410 if { (eval echo configure:12411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12412 glibcpp_cv_func_fmodl_use=yes
12414 echo "configure: failed program was:" >&5
12415 cat conftest.$ac_ext >&5
12417 glibcpp_cv_func_fmodl_use=no
12421 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12422 ac_cpp='$CPP $CPPFLAGS'
12423 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12424 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12425 cross_compiling=$ac_cv_prog_cc_cross
12431 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
12433 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
12434 for ac_func in fmodl
12436 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12437 echo "configure:12438: checking for $ac_func" >&5
12438 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12439 echo $ac_n "(cached) $ac_c" 1>&6
12441 cat > conftest.$ac_ext <<EOF
12442 #line 12443 "configure"
12443 #include "confdefs.h"
12444 /* System header to define __stub macros and hopefully few prototypes,
12445 which can conflict with char $ac_func(); below. */
12446 #include <assert.h>
12447 /* Override any gcc2 internal prototype to avoid an error. */
12448 /* We use char because int might match the return type of a gcc2
12449 builtin and then its argument prototype would still apply. */
12454 /* The GNU C library defines this for functions which it implements
12455 to always fail with ENOSYS. Some functions are actually named
12456 something starting with __ and the normal name is an alias. */
12457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12465 if { (eval echo configure:12466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12467 eval "ac_cv_func_$ac_func=yes"
12469 echo "configure: failed program was:" >&5
12470 cat conftest.$ac_ext >&5
12472 eval "ac_cv_func_$ac_func=no"
12477 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12478 echo "$ac_t""yes" 1>&6
12479 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12480 cat >> confdefs.h <<EOF
12481 #define $ac_tr_func 1
12485 echo "$ac_t""no" 1>&6
12491 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
12492 echo "configure:12493: checking for _fmodl declaration" >&5
12493 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
12494 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
12495 echo $ac_n "(cached) $ac_c" 1>&6
12500 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12501 ac_cpp='$CXXCPP $CPPFLAGS'
12502 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12503 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12504 cross_compiling=$ac_cv_prog_cxx_cross
12506 cat > conftest.$ac_ext <<EOF
12507 #line 12508 "configure"
12508 #include "confdefs.h"
12514 if { (eval echo configure:12515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12516 glibcpp_cv_func__fmodl_use=yes
12518 echo "configure: failed program was:" >&5
12519 cat conftest.$ac_ext >&5
12521 glibcpp_cv_func__fmodl_use=no
12525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12526 ac_cpp='$CPP $CPPFLAGS'
12527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12529 cross_compiling=$ac_cv_prog_cc_cross
12535 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
12537 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
12538 for ac_func in _fmodl
12540 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12541 echo "configure:12542: checking for $ac_func" >&5
12542 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12543 echo $ac_n "(cached) $ac_c" 1>&6
12545 cat > conftest.$ac_ext <<EOF
12546 #line 12547 "configure"
12547 #include "confdefs.h"
12548 /* System header to define __stub macros and hopefully few prototypes,
12549 which can conflict with char $ac_func(); below. */
12550 #include <assert.h>
12551 /* Override any gcc2 internal prototype to avoid an error. */
12552 /* We use char because int might match the return type of a gcc2
12553 builtin and then its argument prototype would still apply. */
12558 /* The GNU C library defines this for functions which it implements
12559 to always fail with ENOSYS. Some functions are actually named
12560 something starting with __ and the normal name is an alias. */
12561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12569 if { (eval echo configure:12570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12571 eval "ac_cv_func_$ac_func=yes"
12573 echo "configure: failed program was:" >&5
12574 cat conftest.$ac_ext >&5
12576 eval "ac_cv_func_$ac_func=no"
12581 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12582 echo "$ac_t""yes" 1>&6
12583 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12584 cat >> confdefs.h <<EOF
12585 #define $ac_tr_func 1
12589 echo "$ac_t""no" 1>&6
12598 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
12599 echo "configure:12600: checking for frexpl declaration" >&5
12600 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
12601 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
12602 echo $ac_n "(cached) $ac_c" 1>&6
12607 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12608 ac_cpp='$CXXCPP $CPPFLAGS'
12609 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12610 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12611 cross_compiling=$ac_cv_prog_cxx_cross
12613 cat > conftest.$ac_ext <<EOF
12614 #line 12615 "configure"
12615 #include "confdefs.h"
12621 if { (eval echo configure:12622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12623 glibcpp_cv_func_frexpl_use=yes
12625 echo "configure: failed program was:" >&5
12626 cat conftest.$ac_ext >&5
12628 glibcpp_cv_func_frexpl_use=no
12632 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12633 ac_cpp='$CPP $CPPFLAGS'
12634 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12635 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12636 cross_compiling=$ac_cv_prog_cc_cross
12642 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
12644 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
12645 for ac_func in frexpl
12647 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12648 echo "configure:12649: checking for $ac_func" >&5
12649 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12650 echo $ac_n "(cached) $ac_c" 1>&6
12652 cat > conftest.$ac_ext <<EOF
12653 #line 12654 "configure"
12654 #include "confdefs.h"
12655 /* System header to define __stub macros and hopefully few prototypes,
12656 which can conflict with char $ac_func(); below. */
12657 #include <assert.h>
12658 /* Override any gcc2 internal prototype to avoid an error. */
12659 /* We use char because int might match the return type of a gcc2
12660 builtin and then its argument prototype would still apply. */
12665 /* The GNU C library defines this for functions which it implements
12666 to always fail with ENOSYS. Some functions are actually named
12667 something starting with __ and the normal name is an alias. */
12668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12676 if { (eval echo configure:12677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12678 eval "ac_cv_func_$ac_func=yes"
12680 echo "configure: failed program was:" >&5
12681 cat conftest.$ac_ext >&5
12683 eval "ac_cv_func_$ac_func=no"
12688 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12689 echo "$ac_t""yes" 1>&6
12690 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12691 cat >> confdefs.h <<EOF
12692 #define $ac_tr_func 1
12696 echo "$ac_t""no" 1>&6
12702 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
12703 echo "configure:12704: checking for _frexpl declaration" >&5
12704 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
12705 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
12706 echo $ac_n "(cached) $ac_c" 1>&6
12711 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12712 ac_cpp='$CXXCPP $CPPFLAGS'
12713 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12714 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12715 cross_compiling=$ac_cv_prog_cxx_cross
12717 cat > conftest.$ac_ext <<EOF
12718 #line 12719 "configure"
12719 #include "confdefs.h"
12725 if { (eval echo configure:12726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12727 glibcpp_cv_func__frexpl_use=yes
12729 echo "configure: failed program was:" >&5
12730 cat conftest.$ac_ext >&5
12732 glibcpp_cv_func__frexpl_use=no
12736 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12737 ac_cpp='$CPP $CPPFLAGS'
12738 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12739 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12740 cross_compiling=$ac_cv_prog_cc_cross
12746 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
12748 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
12749 for ac_func in _frexpl
12751 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12752 echo "configure:12753: checking for $ac_func" >&5
12753 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12754 echo $ac_n "(cached) $ac_c" 1>&6
12756 cat > conftest.$ac_ext <<EOF
12757 #line 12758 "configure"
12758 #include "confdefs.h"
12759 /* System header to define __stub macros and hopefully few prototypes,
12760 which can conflict with char $ac_func(); below. */
12761 #include <assert.h>
12762 /* Override any gcc2 internal prototype to avoid an error. */
12763 /* We use char because int might match the return type of a gcc2
12764 builtin and then its argument prototype would still apply. */
12769 /* The GNU C library defines this for functions which it implements
12770 to always fail with ENOSYS. Some functions are actually named
12771 something starting with __ and the normal name is an alias. */
12772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12780 if { (eval echo configure:12781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12782 eval "ac_cv_func_$ac_func=yes"
12784 echo "configure: failed program was:" >&5
12785 cat conftest.$ac_ext >&5
12787 eval "ac_cv_func_$ac_func=no"
12792 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12793 echo "$ac_t""yes" 1>&6
12794 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12795 cat >> confdefs.h <<EOF
12796 #define $ac_tr_func 1
12800 echo "$ac_t""no" 1>&6
12809 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
12810 echo "configure:12811: checking for ldexpl declaration" >&5
12811 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
12812 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
12813 echo $ac_n "(cached) $ac_c" 1>&6
12818 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12819 ac_cpp='$CXXCPP $CPPFLAGS'
12820 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12821 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12822 cross_compiling=$ac_cv_prog_cxx_cross
12824 cat > conftest.$ac_ext <<EOF
12825 #line 12826 "configure"
12826 #include "confdefs.h"
12832 if { (eval echo configure:12833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12834 glibcpp_cv_func_ldexpl_use=yes
12836 echo "configure: failed program was:" >&5
12837 cat conftest.$ac_ext >&5
12839 glibcpp_cv_func_ldexpl_use=no
12843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12844 ac_cpp='$CPP $CPPFLAGS'
12845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12846 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12847 cross_compiling=$ac_cv_prog_cc_cross
12853 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
12855 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
12856 for ac_func in ldexpl
12858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12859 echo "configure:12860: checking for $ac_func" >&5
12860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12861 echo $ac_n "(cached) $ac_c" 1>&6
12863 cat > conftest.$ac_ext <<EOF
12864 #line 12865 "configure"
12865 #include "confdefs.h"
12866 /* System header to define __stub macros and hopefully few prototypes,
12867 which can conflict with char $ac_func(); below. */
12868 #include <assert.h>
12869 /* Override any gcc2 internal prototype to avoid an error. */
12870 /* We use char because int might match the return type of a gcc2
12871 builtin and then its argument prototype would still apply. */
12876 /* The GNU C library defines this for functions which it implements
12877 to always fail with ENOSYS. Some functions are actually named
12878 something starting with __ and the normal name is an alias. */
12879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12887 if { (eval echo configure:12888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12889 eval "ac_cv_func_$ac_func=yes"
12891 echo "configure: failed program was:" >&5
12892 cat conftest.$ac_ext >&5
12894 eval "ac_cv_func_$ac_func=no"
12899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12900 echo "$ac_t""yes" 1>&6
12901 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12902 cat >> confdefs.h <<EOF
12903 #define $ac_tr_func 1
12907 echo "$ac_t""no" 1>&6
12913 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
12914 echo "configure:12915: checking for _ldexpl declaration" >&5
12915 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
12916 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
12917 echo $ac_n "(cached) $ac_c" 1>&6
12922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12923 ac_cpp='$CXXCPP $CPPFLAGS'
12924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12926 cross_compiling=$ac_cv_prog_cxx_cross
12928 cat > conftest.$ac_ext <<EOF
12929 #line 12930 "configure"
12930 #include "confdefs.h"
12936 if { (eval echo configure:12937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12938 glibcpp_cv_func__ldexpl_use=yes
12940 echo "configure: failed program was:" >&5
12941 cat conftest.$ac_ext >&5
12943 glibcpp_cv_func__ldexpl_use=no
12947 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12948 ac_cpp='$CPP $CPPFLAGS'
12949 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12950 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12951 cross_compiling=$ac_cv_prog_cc_cross
12957 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
12959 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
12960 for ac_func in _ldexpl
12962 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12963 echo "configure:12964: checking for $ac_func" >&5
12964 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12965 echo $ac_n "(cached) $ac_c" 1>&6
12967 cat > conftest.$ac_ext <<EOF
12968 #line 12969 "configure"
12969 #include "confdefs.h"
12970 /* System header to define __stub macros and hopefully few prototypes,
12971 which can conflict with char $ac_func(); below. */
12972 #include <assert.h>
12973 /* Override any gcc2 internal prototype to avoid an error. */
12974 /* We use char because int might match the return type of a gcc2
12975 builtin and then its argument prototype would still apply. */
12980 /* The GNU C library defines this for functions which it implements
12981 to always fail with ENOSYS. Some functions are actually named
12982 something starting with __ and the normal name is an alias. */
12983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12991 if { (eval echo configure:12992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12993 eval "ac_cv_func_$ac_func=yes"
12995 echo "configure: failed program was:" >&5
12996 cat conftest.$ac_ext >&5
12998 eval "ac_cv_func_$ac_func=no"
13003 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13004 echo "$ac_t""yes" 1>&6
13005 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13006 cat >> confdefs.h <<EOF
13007 #define $ac_tr_func 1
13011 echo "$ac_t""no" 1>&6
13020 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
13021 echo "configure:13022: checking for logl declaration" >&5
13022 if test x${glibcpp_cv_func_logl_use+set} != xset; then
13023 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
13024 echo $ac_n "(cached) $ac_c" 1>&6
13029 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13030 ac_cpp='$CXXCPP $CPPFLAGS'
13031 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13032 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13033 cross_compiling=$ac_cv_prog_cxx_cross
13035 cat > conftest.$ac_ext <<EOF
13036 #line 13037 "configure"
13037 #include "confdefs.h"
13039 #ifdef HAVE_IEEEFP_H
13040 #include <ieeefp.h>
13047 if { (eval echo configure:13048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13049 glibcpp_cv_func_logl_use=yes
13051 echo "configure: failed program was:" >&5
13052 cat conftest.$ac_ext >&5
13054 glibcpp_cv_func_logl_use=no
13058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13059 ac_cpp='$CPP $CPPFLAGS'
13060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13062 cross_compiling=$ac_cv_prog_cc_cross
13068 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
13070 if test x$glibcpp_cv_func_logl_use = x"yes"; then
13071 for ac_func in logl
13073 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13074 echo "configure:13075: checking for $ac_func" >&5
13075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13076 echo $ac_n "(cached) $ac_c" 1>&6
13078 cat > conftest.$ac_ext <<EOF
13079 #line 13080 "configure"
13080 #include "confdefs.h"
13081 /* System header to define __stub macros and hopefully few prototypes,
13082 which can conflict with char $ac_func(); below. */
13083 #include <assert.h>
13084 /* Override any gcc2 internal prototype to avoid an error. */
13085 /* We use char because int might match the return type of a gcc2
13086 builtin and then its argument prototype would still apply. */
13091 /* The GNU C library defines this for functions which it implements
13092 to always fail with ENOSYS. Some functions are actually named
13093 something starting with __ and the normal name is an alias. */
13094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13102 if { (eval echo configure:13103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13104 eval "ac_cv_func_$ac_func=yes"
13106 echo "configure: failed program was:" >&5
13107 cat conftest.$ac_ext >&5
13109 eval "ac_cv_func_$ac_func=no"
13114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13115 echo "$ac_t""yes" 1>&6
13116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13117 cat >> confdefs.h <<EOF
13118 #define $ac_tr_func 1
13122 echo "$ac_t""no" 1>&6
13128 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
13129 echo "configure:13130: checking for _logl declaration" >&5
13130 if test x${glibcpp_cv_func__logl_use+set} != xset; then
13131 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
13132 echo $ac_n "(cached) $ac_c" 1>&6
13137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13138 ac_cpp='$CXXCPP $CPPFLAGS'
13139 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13140 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13141 cross_compiling=$ac_cv_prog_cxx_cross
13143 cat > conftest.$ac_ext <<EOF
13144 #line 13145 "configure"
13145 #include "confdefs.h"
13147 #ifdef HAVE_IEEEFP_H
13148 #include <ieeefp.h>
13155 if { (eval echo configure:13156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13157 glibcpp_cv_func__logl_use=yes
13159 echo "configure: failed program was:" >&5
13160 cat conftest.$ac_ext >&5
13162 glibcpp_cv_func__logl_use=no
13166 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13167 ac_cpp='$CPP $CPPFLAGS'
13168 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13169 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13170 cross_compiling=$ac_cv_prog_cc_cross
13176 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
13178 if test x$glibcpp_cv_func__logl_use = x"yes"; then
13179 for ac_func in _logl
13181 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13182 echo "configure:13183: checking for $ac_func" >&5
13183 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13184 echo $ac_n "(cached) $ac_c" 1>&6
13186 cat > conftest.$ac_ext <<EOF
13187 #line 13188 "configure"
13188 #include "confdefs.h"
13189 /* System header to define __stub macros and hopefully few prototypes,
13190 which can conflict with char $ac_func(); below. */
13191 #include <assert.h>
13192 /* Override any gcc2 internal prototype to avoid an error. */
13193 /* We use char because int might match the return type of a gcc2
13194 builtin and then its argument prototype would still apply. */
13199 /* The GNU C library defines this for functions which it implements
13200 to always fail with ENOSYS. Some functions are actually named
13201 something starting with __ and the normal name is an alias. */
13202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13210 if { (eval echo configure:13211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13212 eval "ac_cv_func_$ac_func=yes"
13214 echo "configure: failed program was:" >&5
13215 cat conftest.$ac_ext >&5
13217 eval "ac_cv_func_$ac_func=no"
13222 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13223 echo "$ac_t""yes" 1>&6
13224 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13225 cat >> confdefs.h <<EOF
13226 #define $ac_tr_func 1
13230 echo "$ac_t""no" 1>&6
13239 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
13240 echo "configure:13241: checking for log10l declaration" >&5
13241 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
13242 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
13243 echo $ac_n "(cached) $ac_c" 1>&6
13248 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13249 ac_cpp='$CXXCPP $CPPFLAGS'
13250 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13251 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13252 cross_compiling=$ac_cv_prog_cxx_cross
13254 cat > conftest.$ac_ext <<EOF
13255 #line 13256 "configure"
13256 #include "confdefs.h"
13258 #ifdef HAVE_IEEEFP_H
13259 #include <ieeefp.h>
13266 if { (eval echo configure:13267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13268 glibcpp_cv_func_log10l_use=yes
13270 echo "configure: failed program was:" >&5
13271 cat conftest.$ac_ext >&5
13273 glibcpp_cv_func_log10l_use=no
13277 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13278 ac_cpp='$CPP $CPPFLAGS'
13279 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13280 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13281 cross_compiling=$ac_cv_prog_cc_cross
13287 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
13289 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
13290 for ac_func in log10l
13292 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13293 echo "configure:13294: checking for $ac_func" >&5
13294 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13295 echo $ac_n "(cached) $ac_c" 1>&6
13297 cat > conftest.$ac_ext <<EOF
13298 #line 13299 "configure"
13299 #include "confdefs.h"
13300 /* System header to define __stub macros and hopefully few prototypes,
13301 which can conflict with char $ac_func(); below. */
13302 #include <assert.h>
13303 /* Override any gcc2 internal prototype to avoid an error. */
13304 /* We use char because int might match the return type of a gcc2
13305 builtin and then its argument prototype would still apply. */
13310 /* The GNU C library defines this for functions which it implements
13311 to always fail with ENOSYS. Some functions are actually named
13312 something starting with __ and the normal name is an alias. */
13313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13321 if { (eval echo configure:13322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13323 eval "ac_cv_func_$ac_func=yes"
13325 echo "configure: failed program was:" >&5
13326 cat conftest.$ac_ext >&5
13328 eval "ac_cv_func_$ac_func=no"
13333 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13334 echo "$ac_t""yes" 1>&6
13335 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13336 cat >> confdefs.h <<EOF
13337 #define $ac_tr_func 1
13341 echo "$ac_t""no" 1>&6
13347 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
13348 echo "configure:13349: checking for _log10l declaration" >&5
13349 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
13350 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
13351 echo $ac_n "(cached) $ac_c" 1>&6
13356 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13357 ac_cpp='$CXXCPP $CPPFLAGS'
13358 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13359 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13360 cross_compiling=$ac_cv_prog_cxx_cross
13362 cat > conftest.$ac_ext <<EOF
13363 #line 13364 "configure"
13364 #include "confdefs.h"
13366 #ifdef HAVE_IEEEFP_H
13367 #include <ieeefp.h>
13374 if { (eval echo configure:13375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13376 glibcpp_cv_func__log10l_use=yes
13378 echo "configure: failed program was:" >&5
13379 cat conftest.$ac_ext >&5
13381 glibcpp_cv_func__log10l_use=no
13385 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13386 ac_cpp='$CPP $CPPFLAGS'
13387 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13388 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13389 cross_compiling=$ac_cv_prog_cc_cross
13395 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
13397 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
13398 for ac_func in _log10l
13400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13401 echo "configure:13402: checking for $ac_func" >&5
13402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13403 echo $ac_n "(cached) $ac_c" 1>&6
13405 cat > conftest.$ac_ext <<EOF
13406 #line 13407 "configure"
13407 #include "confdefs.h"
13408 /* System header to define __stub macros and hopefully few prototypes,
13409 which can conflict with char $ac_func(); below. */
13410 #include <assert.h>
13411 /* Override any gcc2 internal prototype to avoid an error. */
13412 /* We use char because int might match the return type of a gcc2
13413 builtin and then its argument prototype would still apply. */
13418 /* The GNU C library defines this for functions which it implements
13419 to always fail with ENOSYS. Some functions are actually named
13420 something starting with __ and the normal name is an alias. */
13421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13429 if { (eval echo configure:13430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13431 eval "ac_cv_func_$ac_func=yes"
13433 echo "configure: failed program was:" >&5
13434 cat conftest.$ac_ext >&5
13436 eval "ac_cv_func_$ac_func=no"
13441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13442 echo "$ac_t""yes" 1>&6
13443 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13444 cat >> confdefs.h <<EOF
13445 #define $ac_tr_func 1
13449 echo "$ac_t""no" 1>&6
13458 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
13459 echo "configure:13460: checking for modfl declaration" >&5
13460 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
13461 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
13462 echo $ac_n "(cached) $ac_c" 1>&6
13467 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13468 ac_cpp='$CXXCPP $CPPFLAGS'
13469 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13470 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13471 cross_compiling=$ac_cv_prog_cxx_cross
13473 cat > conftest.$ac_ext <<EOF
13474 #line 13475 "configure"
13475 #include "confdefs.h"
13481 if { (eval echo configure:13482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13483 glibcpp_cv_func_modfl_use=yes
13485 echo "configure: failed program was:" >&5
13486 cat conftest.$ac_ext >&5
13488 glibcpp_cv_func_modfl_use=no
13492 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13493 ac_cpp='$CPP $CPPFLAGS'
13494 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13495 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13496 cross_compiling=$ac_cv_prog_cc_cross
13502 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
13504 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
13505 for ac_func in modfl
13507 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13508 echo "configure:13509: checking for $ac_func" >&5
13509 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13510 echo $ac_n "(cached) $ac_c" 1>&6
13512 cat > conftest.$ac_ext <<EOF
13513 #line 13514 "configure"
13514 #include "confdefs.h"
13515 /* System header to define __stub macros and hopefully few prototypes,
13516 which can conflict with char $ac_func(); below. */
13517 #include <assert.h>
13518 /* Override any gcc2 internal prototype to avoid an error. */
13519 /* We use char because int might match the return type of a gcc2
13520 builtin and then its argument prototype would still apply. */
13525 /* The GNU C library defines this for functions which it implements
13526 to always fail with ENOSYS. Some functions are actually named
13527 something starting with __ and the normal name is an alias. */
13528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13536 if { (eval echo configure:13537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13538 eval "ac_cv_func_$ac_func=yes"
13540 echo "configure: failed program was:" >&5
13541 cat conftest.$ac_ext >&5
13543 eval "ac_cv_func_$ac_func=no"
13548 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13549 echo "$ac_t""yes" 1>&6
13550 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13551 cat >> confdefs.h <<EOF
13552 #define $ac_tr_func 1
13556 echo "$ac_t""no" 1>&6
13562 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
13563 echo "configure:13564: checking for _modfl declaration" >&5
13564 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
13565 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13566 echo $ac_n "(cached) $ac_c" 1>&6
13571 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13572 ac_cpp='$CXXCPP $CPPFLAGS'
13573 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13574 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13575 cross_compiling=$ac_cv_prog_cxx_cross
13577 cat > conftest.$ac_ext <<EOF
13578 #line 13579 "configure"
13579 #include "confdefs.h"
13585 if { (eval echo configure:13586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13587 glibcpp_cv_func__modfl_use=yes
13589 echo "configure: failed program was:" >&5
13590 cat conftest.$ac_ext >&5
13592 glibcpp_cv_func__modfl_use=no
13596 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13597 ac_cpp='$CPP $CPPFLAGS'
13598 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13599 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13600 cross_compiling=$ac_cv_prog_cc_cross
13606 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13608 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
13609 for ac_func in _modfl
13611 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13612 echo "configure:13613: checking for $ac_func" >&5
13613 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13614 echo $ac_n "(cached) $ac_c" 1>&6
13616 cat > conftest.$ac_ext <<EOF
13617 #line 13618 "configure"
13618 #include "confdefs.h"
13619 /* System header to define __stub macros and hopefully few prototypes,
13620 which can conflict with char $ac_func(); below. */
13621 #include <assert.h>
13622 /* Override any gcc2 internal prototype to avoid an error. */
13623 /* We use char because int might match the return type of a gcc2
13624 builtin and then its argument prototype would still apply. */
13629 /* The GNU C library defines this for functions which it implements
13630 to always fail with ENOSYS. Some functions are actually named
13631 something starting with __ and the normal name is an alias. */
13632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13640 if { (eval echo configure:13641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13642 eval "ac_cv_func_$ac_func=yes"
13644 echo "configure: failed program was:" >&5
13645 cat conftest.$ac_ext >&5
13647 eval "ac_cv_func_$ac_func=no"
13652 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13653 echo "$ac_t""yes" 1>&6
13654 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13655 cat >> confdefs.h <<EOF
13656 #define $ac_tr_func 1
13660 echo "$ac_t""no" 1>&6
13669 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
13670 echo "configure:13671: checking for powl declaration" >&5
13671 if test x${glibcpp_cv_func_powl_use+set} != xset; then
13672 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
13673 echo $ac_n "(cached) $ac_c" 1>&6
13678 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13679 ac_cpp='$CXXCPP $CPPFLAGS'
13680 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13681 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13682 cross_compiling=$ac_cv_prog_cxx_cross
13684 cat > conftest.$ac_ext <<EOF
13685 #line 13686 "configure"
13686 #include "confdefs.h"
13692 if { (eval echo configure:13693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13694 glibcpp_cv_func_powl_use=yes
13696 echo "configure: failed program was:" >&5
13697 cat conftest.$ac_ext >&5
13699 glibcpp_cv_func_powl_use=no
13703 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13704 ac_cpp='$CPP $CPPFLAGS'
13705 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13706 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13707 cross_compiling=$ac_cv_prog_cc_cross
13713 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
13715 if test x$glibcpp_cv_func_powl_use = x"yes"; then
13716 for ac_func in powl
13718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13719 echo "configure:13720: checking for $ac_func" >&5
13720 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13721 echo $ac_n "(cached) $ac_c" 1>&6
13723 cat > conftest.$ac_ext <<EOF
13724 #line 13725 "configure"
13725 #include "confdefs.h"
13726 /* System header to define __stub macros and hopefully few prototypes,
13727 which can conflict with char $ac_func(); below. */
13728 #include <assert.h>
13729 /* Override any gcc2 internal prototype to avoid an error. */
13730 /* We use char because int might match the return type of a gcc2
13731 builtin and then its argument prototype would still apply. */
13736 /* The GNU C library defines this for functions which it implements
13737 to always fail with ENOSYS. Some functions are actually named
13738 something starting with __ and the normal name is an alias. */
13739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13747 if { (eval echo configure:13748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13749 eval "ac_cv_func_$ac_func=yes"
13751 echo "configure: failed program was:" >&5
13752 cat conftest.$ac_ext >&5
13754 eval "ac_cv_func_$ac_func=no"
13759 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13760 echo "$ac_t""yes" 1>&6
13761 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13762 cat >> confdefs.h <<EOF
13763 #define $ac_tr_func 1
13767 echo "$ac_t""no" 1>&6
13773 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
13774 echo "configure:13775: checking for _powl declaration" >&5
13775 if test x${glibcpp_cv_func__powl_use+set} != xset; then
13776 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
13777 echo $ac_n "(cached) $ac_c" 1>&6
13782 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13783 ac_cpp='$CXXCPP $CPPFLAGS'
13784 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13785 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13786 cross_compiling=$ac_cv_prog_cxx_cross
13788 cat > conftest.$ac_ext <<EOF
13789 #line 13790 "configure"
13790 #include "confdefs.h"
13796 if { (eval echo configure:13797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13798 glibcpp_cv_func__powl_use=yes
13800 echo "configure: failed program was:" >&5
13801 cat conftest.$ac_ext >&5
13803 glibcpp_cv_func__powl_use=no
13807 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13808 ac_cpp='$CPP $CPPFLAGS'
13809 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13810 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13811 cross_compiling=$ac_cv_prog_cc_cross
13817 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
13819 if test x$glibcpp_cv_func__powl_use = x"yes"; then
13820 for ac_func in _powl
13822 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13823 echo "configure:13824: checking for $ac_func" >&5
13824 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13825 echo $ac_n "(cached) $ac_c" 1>&6
13827 cat > conftest.$ac_ext <<EOF
13828 #line 13829 "configure"
13829 #include "confdefs.h"
13830 /* System header to define __stub macros and hopefully few prototypes,
13831 which can conflict with char $ac_func(); below. */
13832 #include <assert.h>
13833 /* Override any gcc2 internal prototype to avoid an error. */
13834 /* We use char because int might match the return type of a gcc2
13835 builtin and then its argument prototype would still apply. */
13840 /* The GNU C library defines this for functions which it implements
13841 to always fail with ENOSYS. Some functions are actually named
13842 something starting with __ and the normal name is an alias. */
13843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13851 if { (eval echo configure:13852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13853 eval "ac_cv_func_$ac_func=yes"
13855 echo "configure: failed program was:" >&5
13856 cat conftest.$ac_ext >&5
13858 eval "ac_cv_func_$ac_func=no"
13863 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13864 echo "$ac_t""yes" 1>&6
13865 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13866 cat >> confdefs.h <<EOF
13867 #define $ac_tr_func 1
13871 echo "$ac_t""no" 1>&6
13880 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
13881 echo "configure:13882: checking for sqrtl declaration" >&5
13882 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
13883 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
13884 echo $ac_n "(cached) $ac_c" 1>&6
13889 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13890 ac_cpp='$CXXCPP $CPPFLAGS'
13891 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13892 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13893 cross_compiling=$ac_cv_prog_cxx_cross
13895 cat > conftest.$ac_ext <<EOF
13896 #line 13897 "configure"
13897 #include "confdefs.h"
13899 #ifdef HAVE_IEEEFP_H
13900 #include <ieeefp.h>
13907 if { (eval echo configure:13908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13909 glibcpp_cv_func_sqrtl_use=yes
13911 echo "configure: failed program was:" >&5
13912 cat conftest.$ac_ext >&5
13914 glibcpp_cv_func_sqrtl_use=no
13918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13919 ac_cpp='$CPP $CPPFLAGS'
13920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13922 cross_compiling=$ac_cv_prog_cc_cross
13928 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
13930 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
13931 for ac_func in sqrtl
13933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13934 echo "configure:13935: checking for $ac_func" >&5
13935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13936 echo $ac_n "(cached) $ac_c" 1>&6
13938 cat > conftest.$ac_ext <<EOF
13939 #line 13940 "configure"
13940 #include "confdefs.h"
13941 /* System header to define __stub macros and hopefully few prototypes,
13942 which can conflict with char $ac_func(); below. */
13943 #include <assert.h>
13944 /* Override any gcc2 internal prototype to avoid an error. */
13945 /* We use char because int might match the return type of a gcc2
13946 builtin and then its argument prototype would still apply. */
13951 /* The GNU C library defines this for functions which it implements
13952 to always fail with ENOSYS. Some functions are actually named
13953 something starting with __ and the normal name is an alias. */
13954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13962 if { (eval echo configure:13963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13964 eval "ac_cv_func_$ac_func=yes"
13966 echo "configure: failed program was:" >&5
13967 cat conftest.$ac_ext >&5
13969 eval "ac_cv_func_$ac_func=no"
13974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13975 echo "$ac_t""yes" 1>&6
13976 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13977 cat >> confdefs.h <<EOF
13978 #define $ac_tr_func 1
13982 echo "$ac_t""no" 1>&6
13988 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
13989 echo "configure:13990: checking for _sqrtl declaration" >&5
13990 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
13991 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
13992 echo $ac_n "(cached) $ac_c" 1>&6
13997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13998 ac_cpp='$CXXCPP $CPPFLAGS'
13999 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14000 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14001 cross_compiling=$ac_cv_prog_cxx_cross
14003 cat > conftest.$ac_ext <<EOF
14004 #line 14005 "configure"
14005 #include "confdefs.h"
14007 #ifdef HAVE_IEEEFP_H
14008 #include <ieeefp.h>
14015 if { (eval echo configure:14016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14017 glibcpp_cv_func__sqrtl_use=yes
14019 echo "configure: failed program was:" >&5
14020 cat conftest.$ac_ext >&5
14022 glibcpp_cv_func__sqrtl_use=no
14026 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14027 ac_cpp='$CPP $CPPFLAGS'
14028 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14029 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14030 cross_compiling=$ac_cv_prog_cc_cross
14036 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
14038 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
14039 for ac_func in _sqrtl
14041 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14042 echo "configure:14043: checking for $ac_func" >&5
14043 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14044 echo $ac_n "(cached) $ac_c" 1>&6
14046 cat > conftest.$ac_ext <<EOF
14047 #line 14048 "configure"
14048 #include "confdefs.h"
14049 /* System header to define __stub macros and hopefully few prototypes,
14050 which can conflict with char $ac_func(); below. */
14051 #include <assert.h>
14052 /* Override any gcc2 internal prototype to avoid an error. */
14053 /* We use char because int might match the return type of a gcc2
14054 builtin and then its argument prototype would still apply. */
14059 /* The GNU C library defines this for functions which it implements
14060 to always fail with ENOSYS. Some functions are actually named
14061 something starting with __ and the normal name is an alias. */
14062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14070 if { (eval echo configure:14071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14072 eval "ac_cv_func_$ac_func=yes"
14074 echo "configure: failed program was:" >&5
14075 cat conftest.$ac_ext >&5
14077 eval "ac_cv_func_$ac_func=no"
14082 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14083 echo "$ac_t""yes" 1>&6
14084 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14085 cat >> confdefs.h <<EOF
14086 #define $ac_tr_func 1
14090 echo "$ac_t""no" 1>&6
14099 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
14100 echo "configure:14101: checking for sincosl declaration" >&5
14101 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
14102 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
14103 echo $ac_n "(cached) $ac_c" 1>&6
14108 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14109 ac_cpp='$CXXCPP $CPPFLAGS'
14110 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14111 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14112 cross_compiling=$ac_cv_prog_cxx_cross
14114 cat > conftest.$ac_ext <<EOF
14115 #line 14116 "configure"
14116 #include "confdefs.h"
14122 if { (eval echo configure:14123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14124 glibcpp_cv_func_sincosl_use=yes
14126 echo "configure: failed program was:" >&5
14127 cat conftest.$ac_ext >&5
14129 glibcpp_cv_func_sincosl_use=no
14133 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14134 ac_cpp='$CPP $CPPFLAGS'
14135 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14136 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14137 cross_compiling=$ac_cv_prog_cc_cross
14143 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
14145 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
14146 for ac_func in sincosl
14148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14149 echo "configure:14150: checking for $ac_func" >&5
14150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14151 echo $ac_n "(cached) $ac_c" 1>&6
14153 cat > conftest.$ac_ext <<EOF
14154 #line 14155 "configure"
14155 #include "confdefs.h"
14156 /* System header to define __stub macros and hopefully few prototypes,
14157 which can conflict with char $ac_func(); below. */
14158 #include <assert.h>
14159 /* Override any gcc2 internal prototype to avoid an error. */
14160 /* We use char because int might match the return type of a gcc2
14161 builtin and then its argument prototype would still apply. */
14166 /* The GNU C library defines this for functions which it implements
14167 to always fail with ENOSYS. Some functions are actually named
14168 something starting with __ and the normal name is an alias. */
14169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14177 if { (eval echo configure:14178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14179 eval "ac_cv_func_$ac_func=yes"
14181 echo "configure: failed program was:" >&5
14182 cat conftest.$ac_ext >&5
14184 eval "ac_cv_func_$ac_func=no"
14189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14190 echo "$ac_t""yes" 1>&6
14191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14192 cat >> confdefs.h <<EOF
14193 #define $ac_tr_func 1
14197 echo "$ac_t""no" 1>&6
14203 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
14204 echo "configure:14205: checking for _sincosl declaration" >&5
14205 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
14206 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
14207 echo $ac_n "(cached) $ac_c" 1>&6
14212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14213 ac_cpp='$CXXCPP $CPPFLAGS'
14214 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14215 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14216 cross_compiling=$ac_cv_prog_cxx_cross
14218 cat > conftest.$ac_ext <<EOF
14219 #line 14220 "configure"
14220 #include "confdefs.h"
14226 if { (eval echo configure:14227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14228 glibcpp_cv_func__sincosl_use=yes
14230 echo "configure: failed program was:" >&5
14231 cat conftest.$ac_ext >&5
14233 glibcpp_cv_func__sincosl_use=no
14237 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14238 ac_cpp='$CPP $CPPFLAGS'
14239 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14240 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14241 cross_compiling=$ac_cv_prog_cc_cross
14247 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
14249 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
14250 for ac_func in _sincosl
14252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14253 echo "configure:14254: checking for $ac_func" >&5
14254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14255 echo $ac_n "(cached) $ac_c" 1>&6
14257 cat > conftest.$ac_ext <<EOF
14258 #line 14259 "configure"
14259 #include "confdefs.h"
14260 /* System header to define __stub macros and hopefully few prototypes,
14261 which can conflict with char $ac_func(); below. */
14262 #include <assert.h>
14263 /* Override any gcc2 internal prototype to avoid an error. */
14264 /* We use char because int might match the return type of a gcc2
14265 builtin and then its argument prototype would still apply. */
14270 /* The GNU C library defines this for functions which it implements
14271 to always fail with ENOSYS. Some functions are actually named
14272 something starting with __ and the normal name is an alias. */
14273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14281 if { (eval echo configure:14282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14283 eval "ac_cv_func_$ac_func=yes"
14285 echo "configure: failed program was:" >&5
14286 cat conftest.$ac_ext >&5
14288 eval "ac_cv_func_$ac_func=no"
14293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14294 echo "$ac_t""yes" 1>&6
14295 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14296 cat >> confdefs.h <<EOF
14297 #define $ac_tr_func 1
14301 echo "$ac_t""no" 1>&6
14310 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
14311 echo "configure:14312: checking for finitel declaration" >&5
14312 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
14313 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
14314 echo $ac_n "(cached) $ac_c" 1>&6
14319 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14320 ac_cpp='$CXXCPP $CPPFLAGS'
14321 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14322 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14323 cross_compiling=$ac_cv_prog_cxx_cross
14325 cat > conftest.$ac_ext <<EOF
14326 #line 14327 "configure"
14327 #include "confdefs.h"
14329 #ifdef HAVE_IEEEFP_H
14330 #include <ieeefp.h>
14337 if { (eval echo configure:14338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14339 glibcpp_cv_func_finitel_use=yes
14341 echo "configure: failed program was:" >&5
14342 cat conftest.$ac_ext >&5
14344 glibcpp_cv_func_finitel_use=no
14348 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14349 ac_cpp='$CPP $CPPFLAGS'
14350 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14351 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14352 cross_compiling=$ac_cv_prog_cc_cross
14358 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
14360 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
14361 for ac_func in finitel
14363 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14364 echo "configure:14365: checking for $ac_func" >&5
14365 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14366 echo $ac_n "(cached) $ac_c" 1>&6
14368 cat > conftest.$ac_ext <<EOF
14369 #line 14370 "configure"
14370 #include "confdefs.h"
14371 /* System header to define __stub macros and hopefully few prototypes,
14372 which can conflict with char $ac_func(); below. */
14373 #include <assert.h>
14374 /* Override any gcc2 internal prototype to avoid an error. */
14375 /* We use char because int might match the return type of a gcc2
14376 builtin and then its argument prototype would still apply. */
14381 /* The GNU C library defines this for functions which it implements
14382 to always fail with ENOSYS. Some functions are actually named
14383 something starting with __ and the normal name is an alias. */
14384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14392 if { (eval echo configure:14393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14394 eval "ac_cv_func_$ac_func=yes"
14396 echo "configure: failed program was:" >&5
14397 cat conftest.$ac_ext >&5
14399 eval "ac_cv_func_$ac_func=no"
14404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14405 echo "$ac_t""yes" 1>&6
14406 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14407 cat >> confdefs.h <<EOF
14408 #define $ac_tr_func 1
14412 echo "$ac_t""no" 1>&6
14418 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
14419 echo "configure:14420: checking for _finitel declaration" >&5
14420 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
14421 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
14422 echo $ac_n "(cached) $ac_c" 1>&6
14427 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14428 ac_cpp='$CXXCPP $CPPFLAGS'
14429 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14430 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14431 cross_compiling=$ac_cv_prog_cxx_cross
14433 cat > conftest.$ac_ext <<EOF
14434 #line 14435 "configure"
14435 #include "confdefs.h"
14437 #ifdef HAVE_IEEEFP_H
14438 #include <ieeefp.h>
14445 if { (eval echo configure:14446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14447 glibcpp_cv_func__finitel_use=yes
14449 echo "configure: failed program was:" >&5
14450 cat conftest.$ac_ext >&5
14452 glibcpp_cv_func__finitel_use=no
14456 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14457 ac_cpp='$CPP $CPPFLAGS'
14458 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14459 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14460 cross_compiling=$ac_cv_prog_cc_cross
14466 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14468 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
14469 for ac_func in _finitel
14471 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14472 echo "configure:14473: checking for $ac_func" >&5
14473 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14474 echo $ac_n "(cached) $ac_c" 1>&6
14476 cat > conftest.$ac_ext <<EOF
14477 #line 14478 "configure"
14478 #include "confdefs.h"
14479 /* System header to define __stub macros and hopefully few prototypes,
14480 which can conflict with char $ac_func(); below. */
14481 #include <assert.h>
14482 /* Override any gcc2 internal prototype to avoid an error. */
14483 /* We use char because int might match the return type of a gcc2
14484 builtin and then its argument prototype would still apply. */
14489 /* The GNU C library defines this for functions which it implements
14490 to always fail with ENOSYS. Some functions are actually named
14491 something starting with __ and the normal name is an alias. */
14492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14500 if { (eval echo configure:14501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14502 eval "ac_cv_func_$ac_func=yes"
14504 echo "configure: failed program was:" >&5
14505 cat conftest.$ac_ext >&5
14507 eval "ac_cv_func_$ac_func=no"
14512 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14513 echo "$ac_t""yes" 1>&6
14514 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14515 cat >> confdefs.h <<EOF
14516 #define $ac_tr_func 1
14520 echo "$ac_t""no" 1>&6
14530 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
14531 echo "configure:14532: checking for _float trig functions" >&5
14532 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
14533 echo $ac_n "(cached) $ac_c" 1>&6
14538 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14539 ac_cpp='$CXXCPP $CPPFLAGS'
14540 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14541 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14542 cross_compiling=$ac_cv_prog_cxx_cross
14544 cat > conftest.$ac_ext <<EOF
14545 #line 14546 "configure"
14546 #include "confdefs.h"
14549 `for x in _acosf _asinf _atanf \
14550 _cosf _sinf _tanf \
14551 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
14554 if { (eval echo configure:14555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14556 glibcpp_cv_func__float_trig_use=yes
14558 echo "configure: failed program was:" >&5
14559 cat conftest.$ac_ext >&5
14561 glibcpp_cv_func__float_trig_use=no
14565 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14566 ac_cpp='$CPP $CPPFLAGS'
14567 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14568 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14569 cross_compiling=$ac_cv_prog_cc_cross
14573 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
14574 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
14575 for ac_func in _acosf _asinf _atanf \
14576 _cosf _sinf _tanf \
14577 _coshf _sinhf _tanhf
14579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14580 echo "configure:14581: checking for $ac_func" >&5
14581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14582 echo $ac_n "(cached) $ac_c" 1>&6
14584 cat > conftest.$ac_ext <<EOF
14585 #line 14586 "configure"
14586 #include "confdefs.h"
14587 /* System header to define __stub macros and hopefully few prototypes,
14588 which can conflict with char $ac_func(); below. */
14589 #include <assert.h>
14590 /* Override any gcc2 internal prototype to avoid an error. */
14591 /* We use char because int might match the return type of a gcc2
14592 builtin and then its argument prototype would still apply. */
14597 /* The GNU C library defines this for functions which it implements
14598 to always fail with ENOSYS. Some functions are actually named
14599 something starting with __ and the normal name is an alias. */
14600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14608 if { (eval echo configure:14609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14610 eval "ac_cv_func_$ac_func=yes"
14612 echo "configure: failed program was:" >&5
14613 cat conftest.$ac_ext >&5
14615 eval "ac_cv_func_$ac_func=no"
14620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14621 echo "$ac_t""yes" 1>&6
14622 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14623 cat >> confdefs.h <<EOF
14624 #define $ac_tr_func 1
14628 echo "$ac_t""no" 1>&6
14635 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
14636 echo "configure:14637: checking for _float round functions" >&5
14637 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
14638 echo $ac_n "(cached) $ac_c" 1>&6
14643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14644 ac_cpp='$CXXCPP $CPPFLAGS'
14645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14647 cross_compiling=$ac_cv_prog_cxx_cross
14649 cat > conftest.$ac_ext <<EOF
14650 #line 14651 "configure"
14651 #include "confdefs.h"
14654 `for x in _ceilf _floorf; do echo "$x (0);"; done`
14657 if { (eval echo configure:14658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14659 glibcpp_cv_func__float_round_use=yes
14661 echo "configure: failed program was:" >&5
14662 cat conftest.$ac_ext >&5
14664 glibcpp_cv_func__float_round_use=no
14668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14669 ac_cpp='$CPP $CPPFLAGS'
14670 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14671 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14672 cross_compiling=$ac_cv_prog_cc_cross
14676 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
14677 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
14678 for ac_func in _ceilf _floorf
14680 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14681 echo "configure:14682: checking for $ac_func" >&5
14682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14683 echo $ac_n "(cached) $ac_c" 1>&6
14685 cat > conftest.$ac_ext <<EOF
14686 #line 14687 "configure"
14687 #include "confdefs.h"
14688 /* System header to define __stub macros and hopefully few prototypes,
14689 which can conflict with char $ac_func(); below. */
14690 #include <assert.h>
14691 /* Override any gcc2 internal prototype to avoid an error. */
14692 /* We use char because int might match the return type of a gcc2
14693 builtin and then its argument prototype would still apply. */
14698 /* The GNU C library defines this for functions which it implements
14699 to always fail with ENOSYS. Some functions are actually named
14700 something starting with __ and the normal name is an alias. */
14701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14709 if { (eval echo configure:14710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14711 eval "ac_cv_func_$ac_func=yes"
14713 echo "configure: failed program was:" >&5
14714 cat conftest.$ac_ext >&5
14716 eval "ac_cv_func_$ac_func=no"
14721 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14722 echo "$ac_t""yes" 1>&6
14723 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14724 cat >> confdefs.h <<EOF
14725 #define $ac_tr_func 1
14729 echo "$ac_t""no" 1>&6
14737 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
14738 echo "configure:14739: checking for _long double trig functions" >&5
14739 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
14740 echo $ac_n "(cached) $ac_c" 1>&6
14745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14746 ac_cpp='$CXXCPP $CPPFLAGS'
14747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14749 cross_compiling=$ac_cv_prog_cxx_cross
14751 cat > conftest.$ac_ext <<EOF
14752 #line 14753 "configure"
14753 #include "confdefs.h"
14756 `for x in _acosl _asinl _atanl \
14757 _cosl _sinl _tanl \
14758 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
14761 if { (eval echo configure:14762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14763 glibcpp_cv_func__long_double_trig_use=yes
14765 echo "configure: failed program was:" >&5
14766 cat conftest.$ac_ext >&5
14768 glibcpp_cv_func__long_double_trig_use=no
14772 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14773 ac_cpp='$CPP $CPPFLAGS'
14774 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14775 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14776 cross_compiling=$ac_cv_prog_cc_cross
14780 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
14781 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
14782 for ac_func in _acosl _asinl _atanl \
14783 _cosl _sinl _tanl \
14784 _coshl _sinhl _tanhl
14786 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14787 echo "configure:14788: checking for $ac_func" >&5
14788 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14789 echo $ac_n "(cached) $ac_c" 1>&6
14791 cat > conftest.$ac_ext <<EOF
14792 #line 14793 "configure"
14793 #include "confdefs.h"
14794 /* System header to define __stub macros and hopefully few prototypes,
14795 which can conflict with char $ac_func(); below. */
14796 #include <assert.h>
14797 /* Override any gcc2 internal prototype to avoid an error. */
14798 /* We use char because int might match the return type of a gcc2
14799 builtin and then its argument prototype would still apply. */
14804 /* The GNU C library defines this for functions which it implements
14805 to always fail with ENOSYS. Some functions are actually named
14806 something starting with __ and the normal name is an alias. */
14807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14815 if { (eval echo configure:14816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14817 eval "ac_cv_func_$ac_func=yes"
14819 echo "configure: failed program was:" >&5
14820 cat conftest.$ac_ext >&5
14822 eval "ac_cv_func_$ac_func=no"
14827 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14828 echo "$ac_t""yes" 1>&6
14829 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14830 cat >> confdefs.h <<EOF
14831 #define $ac_tr_func 1
14835 echo "$ac_t""no" 1>&6
14842 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
14843 echo "configure:14844: checking for _long double round functions" >&5
14844 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
14845 echo $ac_n "(cached) $ac_c" 1>&6
14850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14851 ac_cpp='$CXXCPP $CPPFLAGS'
14852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14854 cross_compiling=$ac_cv_prog_cxx_cross
14856 cat > conftest.$ac_ext <<EOF
14857 #line 14858 "configure"
14858 #include "confdefs.h"
14861 `for x in _ceill _floorl; do echo "$x (0);"; done`
14864 if { (eval echo configure:14865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14866 glibcpp_cv_func__long_double_round_use=yes
14868 echo "configure: failed program was:" >&5
14869 cat conftest.$ac_ext >&5
14871 glibcpp_cv_func__long_double_round_use=no
14875 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14876 ac_cpp='$CPP $CPPFLAGS'
14877 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14878 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14879 cross_compiling=$ac_cv_prog_cc_cross
14883 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
14884 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
14885 for ac_func in _ceill _floorl
14887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14888 echo "configure:14889: checking for $ac_func" >&5
14889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14890 echo $ac_n "(cached) $ac_c" 1>&6
14892 cat > conftest.$ac_ext <<EOF
14893 #line 14894 "configure"
14894 #include "confdefs.h"
14895 /* System header to define __stub macros and hopefully few prototypes,
14896 which can conflict with char $ac_func(); below. */
14897 #include <assert.h>
14898 /* Override any gcc2 internal prototype to avoid an error. */
14899 /* We use char because int might match the return type of a gcc2
14900 builtin and then its argument prototype would still apply. */
14905 /* The GNU C library defines this for functions which it implements
14906 to always fail with ENOSYS. Some functions are actually named
14907 something starting with __ and the normal name is an alias. */
14908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14916 if { (eval echo configure:14917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14918 eval "ac_cv_func_$ac_func=yes"
14920 echo "configure: failed program was:" >&5
14921 cat conftest.$ac_ext >&5
14923 eval "ac_cv_func_$ac_func=no"
14928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14929 echo "$ac_t""yes" 1>&6
14930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14931 cat >> confdefs.h <<EOF
14932 #define $ac_tr_func 1
14936 echo "$ac_t""no" 1>&6
14943 LIBS="$ac_save_LIBS"
14944 CXXFLAGS="$ac_save_CXXFLAGS"
14947 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
14948 echo "configure:14949: checking for main in -lm" >&5
14949 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
14950 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14951 echo $ac_n "(cached) $ac_c" 1>&6
14953 ac_save_LIBS="$LIBS"
14955 cat > conftest.$ac_ext <<EOF
14956 #line 14957 "configure"
14957 #include "confdefs.h"
14963 if { (eval echo configure:14964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14965 eval "ac_cv_lib_$ac_lib_var=yes"
14967 echo "configure: failed program was:" >&5
14968 cat conftest.$ac_ext >&5
14970 eval "ac_cv_lib_$ac_lib_var=no"
14973 LIBS="$ac_save_LIBS"
14976 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14977 echo "$ac_t""yes" 1>&6
14978 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
14979 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
14980 cat >> confdefs.h <<EOF
14981 #define $ac_tr_lib 1
14987 echo "$ac_t""no" 1>&6
14990 for ac_func in nan hypot hypotf atan2f expf copysignf
14992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14993 echo "configure:14994: checking for $ac_func" >&5
14994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14995 echo $ac_n "(cached) $ac_c" 1>&6
14997 cat > conftest.$ac_ext <<EOF
14998 #line 14999 "configure"
14999 #include "confdefs.h"
15000 /* System header to define __stub macros and hopefully few prototypes,
15001 which can conflict with char $ac_func(); below. */
15002 #include <assert.h>
15003 /* Override any gcc2 internal prototype to avoid an error. */
15004 /* We use char because int might match the return type of a gcc2
15005 builtin and then its argument prototype would still apply. */
15010 /* The GNU C library defines this for functions which it implements
15011 to always fail with ENOSYS. Some functions are actually named
15012 something starting with __ and the normal name is an alias. */
15013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15021 if { (eval echo configure:15022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15023 eval "ac_cv_func_$ac_func=yes"
15025 echo "configure: failed program was:" >&5
15026 cat conftest.$ac_ext >&5
15028 eval "ac_cv_func_$ac_func=no"
15033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15034 echo "$ac_t""yes" 1>&6
15035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15036 cat >> confdefs.h <<EOF
15037 #define $ac_tr_func 1
15041 echo "$ac_t""no" 1>&6
15042 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15048 USE_COMPLEX_LONG_DOUBLE=no
15049 if test x$ac_cv_func_atan2l = x"yes" &&
15050 test x$ac_cv_func_copysignl = x"yes"; then
15051 USE_COMPLEX_LONG_DOUBLE=yes
15052 for ac_func in hypotl signbitl
15054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15055 echo "configure:15056: checking for $ac_func" >&5
15056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15057 echo $ac_n "(cached) $ac_c" 1>&6
15059 cat > conftest.$ac_ext <<EOF
15060 #line 15061 "configure"
15061 #include "confdefs.h"
15062 /* System header to define __stub macros and hopefully few prototypes,
15063 which can conflict with char $ac_func(); below. */
15064 #include <assert.h>
15065 /* Override any gcc2 internal prototype to avoid an error. */
15066 /* We use char because int might match the return type of a gcc2
15067 builtin and then its argument prototype would still apply. */
15072 /* The GNU C library defines this for functions which it implements
15073 to always fail with ENOSYS. Some functions are actually named
15074 something starting with __ and the normal name is an alias. */
15075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15083 if { (eval echo configure:15084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15085 eval "ac_cv_func_$ac_func=yes"
15087 echo "configure: failed program was:" >&5
15088 cat conftest.$ac_ext >&5
15090 eval "ac_cv_func_$ac_func=no"
15095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15096 echo "$ac_t""yes" 1>&6
15097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15098 cat >> confdefs.h <<EOF
15099 #define $ac_tr_func 1
15103 echo "$ac_t""no" 1>&6
15104 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15115 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
15116 echo "configure:15117: checking for mbstate_t" >&5
15117 cat > conftest.$ac_ext <<EOF
15118 #line 15119 "configure"
15119 #include "confdefs.h"
15122 mbstate_t teststate;
15125 if { (eval echo configure:15126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15129 echo "configure: failed program was:" >&5
15130 cat conftest.$ac_ext >&5
15135 echo "$ac_t""$have_mbstate_t" 1>&6
15136 if test x"$have_mbstate_t" = xyes; then
15137 cat >> confdefs.h <<\EOF
15138 #define HAVE_MBSTATE_T 1
15143 for ac_hdr in wchar.h
15145 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15146 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15147 echo "configure:15148: checking for $ac_hdr" >&5
15148 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15149 echo $ac_n "(cached) $ac_c" 1>&6
15151 cat > conftest.$ac_ext <<EOF
15152 #line 15153 "configure"
15153 #include "confdefs.h"
15156 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15157 { (eval echo configure:15158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15158 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15159 if test -z "$ac_err"; then
15161 eval "ac_cv_header_$ac_safe=yes"
15164 echo "configure: failed program was:" >&5
15165 cat conftest.$ac_ext >&5
15167 eval "ac_cv_header_$ac_safe=no"
15171 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15172 echo "$ac_t""yes" 1>&6
15173 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15174 cat >> confdefs.h <<EOF
15175 #define $ac_tr_hdr 1
15179 echo "$ac_t""no" 1>&6
15184 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
15185 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
15186 echo "configure:15187: checking for wctype.h" >&5
15187 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15188 echo $ac_n "(cached) $ac_c" 1>&6
15190 cat > conftest.$ac_ext <<EOF
15191 #line 15192 "configure"
15192 #include "confdefs.h"
15193 #include <wctype.h>
15195 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15196 { (eval echo configure:15197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15198 if test -z "$ac_err"; then
15200 eval "ac_cv_header_$ac_safe=yes"
15203 echo "configure: failed program was:" >&5
15204 cat conftest.$ac_ext >&5
15206 eval "ac_cv_header_$ac_safe=no"
15210 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15211 echo "$ac_t""yes" 1>&6
15212 ac_has_wctype_h=yes
15214 echo "$ac_t""no" 1>&6
15219 if test x"$ac_has_wchar_h" = xyes &&
15220 test x"$ac_has_wctype_h" = xyes &&
15221 test x"$enable_c_mbchar" != xno; then
15223 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
15224 echo "configure:15225: checking for WCHAR_MIN and WCHAR_MAX" >&5
15225 cat > conftest.$ac_ext <<EOF
15226 #line 15227 "configure"
15227 #include "confdefs.h"
15230 int i = WCHAR_MIN; int j = WCHAR_MAX;
15233 if { (eval echo configure:15234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15235 has_wchar_minmax=yes
15237 echo "configure: failed program was:" >&5
15238 cat conftest.$ac_ext >&5
15240 has_wchar_minmax=no
15243 echo "$ac_t""$has_wchar_minmax" 1>&6
15245 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
15246 echo "configure:15247: checking for WEOF" >&5
15247 cat > conftest.$ac_ext <<EOF
15248 #line 15249 "configure"
15249 #include "confdefs.h"
15252 #include <stddef.h>
15257 if { (eval echo configure:15258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15261 echo "configure: failed program was:" >&5
15262 cat conftest.$ac_ext >&5
15267 echo "$ac_t""$has_weof" 1>&6
15270 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
15272 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15273 echo "configure:15274: checking for $ac_func" >&5
15274 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15275 echo $ac_n "(cached) $ac_c" 1>&6
15277 cat > conftest.$ac_ext <<EOF
15278 #line 15279 "configure"
15279 #include "confdefs.h"
15280 /* System header to define __stub macros and hopefully few prototypes,
15281 which can conflict with char $ac_func(); below. */
15282 #include <assert.h>
15283 /* Override any gcc2 internal prototype to avoid an error. */
15284 /* We use char because int might match the return type of a gcc2
15285 builtin and then its argument prototype would still apply. */
15290 /* The GNU C library defines this for functions which it implements
15291 to always fail with ENOSYS. Some functions are actually named
15292 something starting with __ and the normal name is an alias. */
15293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15301 if { (eval echo configure:15302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15303 eval "ac_cv_func_$ac_func=yes"
15305 echo "configure: failed program was:" >&5
15306 cat conftest.$ac_ext >&5
15308 eval "ac_cv_func_$ac_func=no"
15313 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15314 echo "$ac_t""yes" 1>&6
15315 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15316 cat >> confdefs.h <<EOF
15317 #define $ac_tr_func 1
15321 echo "$ac_t""no" 1>&6
15328 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
15329 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
15330 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
15331 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
15332 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
15333 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
15335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15336 echo "configure:15337: checking for $ac_func" >&5
15337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15338 echo $ac_n "(cached) $ac_c" 1>&6
15340 cat > conftest.$ac_ext <<EOF
15341 #line 15342 "configure"
15342 #include "confdefs.h"
15343 /* System header to define __stub macros and hopefully few prototypes,
15344 which can conflict with char $ac_func(); below. */
15345 #include <assert.h>
15346 /* Override any gcc2 internal prototype to avoid an error. */
15347 /* We use char because int might match the return type of a gcc2
15348 builtin and then its argument prototype would still apply. */
15353 /* The GNU C library defines this for functions which it implements
15354 to always fail with ENOSYS. Some functions are actually named
15355 something starting with __ and the normal name is an alias. */
15356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15364 if { (eval echo configure:15365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15366 eval "ac_cv_func_$ac_func=yes"
15368 echo "configure: failed program was:" >&5
15369 cat conftest.$ac_ext >&5
15371 eval "ac_cv_func_$ac_func=no"
15376 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15377 echo "$ac_t""yes" 1>&6
15378 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15379 cat >> confdefs.h <<EOF
15380 #define $ac_tr_func 1
15384 echo "$ac_t""no" 1>&6
15391 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
15392 echo "configure:15393: checking for ISO C99 wchar_t support" >&5
15393 if test x"$has_weof" = xyes &&
15394 test x"$has_wchar_minmax" = xyes &&
15395 test x"$ac_wfuncs" = xyes; then
15396 ac_isoC99_wchar_t=yes
15398 ac_isoC99_wchar_t=no
15400 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
15402 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
15403 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
15404 echo "configure:15405: checking for iconv.h" >&5
15405 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15406 echo $ac_n "(cached) $ac_c" 1>&6
15408 cat > conftest.$ac_ext <<EOF
15409 #line 15410 "configure"
15410 #include "confdefs.h"
15413 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15414 { (eval echo configure:15415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15415 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15416 if test -z "$ac_err"; then
15418 eval "ac_cv_header_$ac_safe=yes"
15421 echo "configure: failed program was:" >&5
15422 cat conftest.$ac_ext >&5
15424 eval "ac_cv_header_$ac_safe=no"
15428 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15429 echo "$ac_t""yes" 1>&6
15432 echo "$ac_t""no" 1>&6
15436 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
15437 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
15438 echo "configure:15439: checking for langinfo.h" >&5
15439 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15440 echo $ac_n "(cached) $ac_c" 1>&6
15442 cat > conftest.$ac_ext <<EOF
15443 #line 15444 "configure"
15444 #include "confdefs.h"
15445 #include <langinfo.h>
15447 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15448 { (eval echo configure:15449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15449 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15450 if test -z "$ac_err"; then
15452 eval "ac_cv_header_$ac_safe=yes"
15455 echo "configure: failed program was:" >&5
15456 cat conftest.$ac_ext >&5
15458 eval "ac_cv_header_$ac_safe=no"
15462 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15463 echo "$ac_t""yes" 1>&6
15464 ac_has_langinfo_h=yes
15466 echo "$ac_t""no" 1>&6
15467 ac_has_langinfo_h=no
15471 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
15472 echo "configure:15473: checking for iconv in -liconv" >&5
15473 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
15474 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15475 echo $ac_n "(cached) $ac_c" 1>&6
15477 ac_save_LIBS="$LIBS"
15478 LIBS="-liconv $LIBS"
15479 cat > conftest.$ac_ext <<EOF
15480 #line 15481 "configure"
15481 #include "confdefs.h"
15482 /* Override any gcc2 internal prototype to avoid an error. */
15483 /* We use char because int might match the return type of a gcc2
15484 builtin and then its argument prototype would still apply. */
15491 if { (eval echo configure:15492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15493 eval "ac_cv_lib_$ac_lib_var=yes"
15495 echo "configure: failed program was:" >&5
15496 cat conftest.$ac_ext >&5
15498 eval "ac_cv_lib_$ac_lib_var=no"
15501 LIBS="$ac_save_LIBS"
15504 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15505 echo "$ac_t""yes" 1>&6
15508 echo "$ac_t""no" 1>&6
15511 ac_save_LIBS="$LIBS"
15512 LIBS="$LIBS $libiconv"
15514 for ac_func in iconv_open iconv_close iconv nl_langinfo
15516 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15517 echo "configure:15518: checking for $ac_func" >&5
15518 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15519 echo $ac_n "(cached) $ac_c" 1>&6
15521 cat > conftest.$ac_ext <<EOF
15522 #line 15523 "configure"
15523 #include "confdefs.h"
15524 /* System header to define __stub macros and hopefully few prototypes,
15525 which can conflict with char $ac_func(); below. */
15526 #include <assert.h>
15527 /* Override any gcc2 internal prototype to avoid an error. */
15528 /* We use char because int might match the return type of a gcc2
15529 builtin and then its argument prototype would still apply. */
15534 /* The GNU C library defines this for functions which it implements
15535 to always fail with ENOSYS. Some functions are actually named
15536 something starting with __ and the normal name is an alias. */
15537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15545 if { (eval echo configure:15546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15547 eval "ac_cv_func_$ac_func=yes"
15549 echo "configure: failed program was:" >&5
15550 cat conftest.$ac_ext >&5
15552 eval "ac_cv_func_$ac_func=no"
15557 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15558 echo "$ac_t""yes" 1>&6
15559 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15560 cat >> confdefs.h <<EOF
15561 #define $ac_tr_func 1
15566 echo "$ac_t""no" 1>&6
15572 LIBS="$ac_save_LIBS"
15574 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
15575 echo "configure:15576: checking for XPG2 wchar_t support" >&5
15576 if test x"$ac_has_iconv_h" = xyes &&
15577 test x"$ac_has_langinfo_h" = xyes &&
15578 test x"$ac_XPG2funcs" = xyes; then
15579 ac_XPG2_wchar_t=yes
15583 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
15585 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
15586 echo "configure:15587: checking for enabled wchar_t specializations" >&5
15587 if test x"$ac_isoC99_wchar_t" = xyes &&
15588 test x"$ac_XPG2_wchar_t" = xyes; then
15589 cat >> confdefs.h <<\EOF
15590 #define _GLIBCPP_USE_WCHAR_T 1
15593 echo "$ac_t"""yes"" 1>&6
15595 echo "$ac_t"""no"" 1>&6
15598 echo "configure: warning: wchar_t support disabled." 1>&2
15602 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15603 ac_save_CXXFLAGS="$CXXFLAGS"
15604 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
15607 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
15608 echo "configure:15609: checking for strtold declaration" >&5
15609 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
15610 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
15611 echo $ac_n "(cached) $ac_c" 1>&6
15616 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15617 ac_cpp='$CXXCPP $CPPFLAGS'
15618 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15619 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15620 cross_compiling=$ac_cv_prog_cxx_cross
15622 cat > conftest.$ac_ext <<EOF
15623 #line 15624 "configure"
15624 #include "confdefs.h"
15625 #include <stdlib.h>
15630 if { (eval echo configure:15631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15632 glibcpp_cv_func_strtold_use=yes
15634 echo "configure: failed program was:" >&5
15635 cat conftest.$ac_ext >&5
15637 glibcpp_cv_func_strtold_use=no
15641 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15642 ac_cpp='$CPP $CPPFLAGS'
15643 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15644 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15645 cross_compiling=$ac_cv_prog_cc_cross
15651 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
15652 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
15653 for ac_func in strtold
15655 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15656 echo "configure:15657: checking for $ac_func" >&5
15657 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15658 echo $ac_n "(cached) $ac_c" 1>&6
15660 cat > conftest.$ac_ext <<EOF
15661 #line 15662 "configure"
15662 #include "confdefs.h"
15663 /* System header to define __stub macros and hopefully few prototypes,
15664 which can conflict with char $ac_func(); below. */
15665 #include <assert.h>
15666 /* Override any gcc2 internal prototype to avoid an error. */
15667 /* We use char because int might match the return type of a gcc2
15668 builtin and then its argument prototype would still apply. */
15673 /* The GNU C library defines this for functions which it implements
15674 to always fail with ENOSYS. Some functions are actually named
15675 something starting with __ and the normal name is an alias. */
15676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15684 if { (eval echo configure:15685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15686 eval "ac_cv_func_$ac_func=yes"
15688 echo "configure: failed program was:" >&5
15689 cat conftest.$ac_ext >&5
15691 eval "ac_cv_func_$ac_func=no"
15696 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15697 echo "$ac_t""yes" 1>&6
15698 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15699 cat >> confdefs.h <<EOF
15700 #define $ac_tr_func 1
15704 echo "$ac_t""no" 1>&6
15710 for ac_func in drand48
15712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15713 echo "configure:15714: checking for $ac_func" >&5
15714 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15715 echo $ac_n "(cached) $ac_c" 1>&6
15717 cat > conftest.$ac_ext <<EOF
15718 #line 15719 "configure"
15719 #include "confdefs.h"
15720 /* System header to define __stub macros and hopefully few prototypes,
15721 which can conflict with char $ac_func(); below. */
15722 #include <assert.h>
15723 /* Override any gcc2 internal prototype to avoid an error. */
15724 /* We use char because int might match the return type of a gcc2
15725 builtin and then its argument prototype would still apply. */
15730 /* The GNU C library defines this for functions which it implements
15731 to always fail with ENOSYS. Some functions are actually named
15732 something starting with __ and the normal name is an alias. */
15733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15741 if { (eval echo configure:15742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15743 eval "ac_cv_func_$ac_func=yes"
15745 echo "configure: failed program was:" >&5
15746 cat conftest.$ac_ext >&5
15748 eval "ac_cv_func_$ac_func=no"
15753 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15754 echo "$ac_t""yes" 1>&6
15755 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15756 cat >> confdefs.h <<EOF
15757 #define $ac_tr_func 1
15761 echo "$ac_t""no" 1>&6
15766 CXXFLAGS="$ac_save_CXXFLAGS"
15769 cat > conftest.$ac_ext <<EOF
15770 #line 15771 "configure"
15771 #include "confdefs.h"
15773 #include <setjmp.h>
15776 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
15779 if { (eval echo configure:15780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15781 cat >> confdefs.h <<\EOF
15782 #define HAVE_SIGSETJMP 1
15786 echo "configure: failed program was:" >&5
15787 cat conftest.$ac_ext >&5
15791 for ac_hdr in unistd.h
15793 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15794 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15795 echo "configure:15796: checking for $ac_hdr" >&5
15796 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15797 echo $ac_n "(cached) $ac_c" 1>&6
15799 cat > conftest.$ac_ext <<EOF
15800 #line 15801 "configure"
15801 #include "confdefs.h"
15804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15805 { (eval echo configure:15806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15806 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15807 if test -z "$ac_err"; then
15809 eval "ac_cv_header_$ac_safe=yes"
15812 echo "configure: failed program was:" >&5
15813 cat conftest.$ac_ext >&5
15815 eval "ac_cv_header_$ac_safe=no"
15819 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15820 echo "$ac_t""yes" 1>&6
15821 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15822 cat >> confdefs.h <<EOF
15823 #define $ac_tr_hdr 1
15827 echo "$ac_t""no" 1>&6
15831 for ac_func in getpagesize
15833 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15834 echo "configure:15835: checking for $ac_func" >&5
15835 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15836 echo $ac_n "(cached) $ac_c" 1>&6
15838 cat > conftest.$ac_ext <<EOF
15839 #line 15840 "configure"
15840 #include "confdefs.h"
15841 /* System header to define __stub macros and hopefully few prototypes,
15842 which can conflict with char $ac_func(); below. */
15843 #include <assert.h>
15844 /* Override any gcc2 internal prototype to avoid an error. */
15845 /* We use char because int might match the return type of a gcc2
15846 builtin and then its argument prototype would still apply. */
15851 /* The GNU C library defines this for functions which it implements
15852 to always fail with ENOSYS. Some functions are actually named
15853 something starting with __ and the normal name is an alias. */
15854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15862 if { (eval echo configure:15863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15864 eval "ac_cv_func_$ac_func=yes"
15866 echo "configure: failed program was:" >&5
15867 cat conftest.$ac_ext >&5
15869 eval "ac_cv_func_$ac_func=no"
15874 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15875 echo "$ac_t""yes" 1>&6
15876 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15877 cat >> confdefs.h <<EOF
15878 #define $ac_tr_func 1
15882 echo "$ac_t""no" 1>&6
15886 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
15887 echo "configure:15888: checking for working mmap" >&5
15888 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
15889 echo $ac_n "(cached) $ac_c" 1>&6
15891 if test "$cross_compiling" = yes; then
15892 ac_cv_func_mmap_fixed_mapped=no
15894 cat > conftest.$ac_ext <<EOF
15895 #line 15896 "configure"
15896 #include "confdefs.h"
15898 /* Thanks to Mike Haertel and Jim Avera for this test.
15899 Here is a matrix of mmap possibilities:
15900 mmap private not fixed
15901 mmap private fixed at somewhere currently unmapped
15902 mmap private fixed at somewhere already mapped
15903 mmap shared not fixed
15904 mmap shared fixed at somewhere currently unmapped
15905 mmap shared fixed at somewhere already mapped
15906 For private mappings, we should verify that changes cannot be read()
15907 back from the file, nor mmap's back from the file at a different
15908 address. (There have been systems where private was not correctly
15909 implemented like the infamous i386 svr4.0, and systems where the
15910 VM page cache was not coherent with the filesystem buffer cache
15911 like early versions of FreeBSD and possibly contemporary NetBSD.)
15912 For shared mappings, we should conversely verify that changes get
15913 propogated back to all the places they're supposed to be.
15915 Grep wants private fixed already mapped.
15916 The main things grep needs to know about mmap are:
15917 * does it exist and is it safe to write into the mmap'd area
15918 * how to use it (BSD variants) */
15919 #include <sys/types.h>
15921 #include <sys/mman.h>
15923 /* This mess was copied from the GNU getpagesize.h. */
15924 #ifndef HAVE_GETPAGESIZE
15925 # ifdef HAVE_UNISTD_H
15926 # include <unistd.h>
15929 /* Assume that all systems that can run configure have sys/param.h. */
15930 # ifndef HAVE_SYS_PARAM_H
15931 # define HAVE_SYS_PARAM_H 1
15934 # ifdef _SC_PAGESIZE
15935 # define getpagesize() sysconf(_SC_PAGESIZE)
15936 # else /* no _SC_PAGESIZE */
15937 # ifdef HAVE_SYS_PARAM_H
15938 # include <sys/param.h>
15939 # ifdef EXEC_PAGESIZE
15940 # define getpagesize() EXEC_PAGESIZE
15941 # else /* no EXEC_PAGESIZE */
15943 # define getpagesize() NBPG * CLSIZE
15946 # endif /* no CLSIZE */
15947 # else /* no NBPG */
15949 # define getpagesize() NBPC
15950 # else /* no NBPC */
15952 # define getpagesize() PAGESIZE
15953 # endif /* PAGESIZE */
15954 # endif /* no NBPC */
15955 # endif /* no NBPG */
15956 # endif /* no EXEC_PAGESIZE */
15957 # else /* no HAVE_SYS_PARAM_H */
15958 # define getpagesize() 8192 /* punt totally */
15959 # endif /* no HAVE_SYS_PARAM_H */
15960 # endif /* no _SC_PAGESIZE */
15962 #endif /* no HAVE_GETPAGESIZE */
15965 extern "C" { void *malloc(unsigned); }
15973 char *data, *data2, *data3;
15977 pagesize = getpagesize();
15980 * First, make a file with some known garbage in it.
15982 data = malloc(pagesize);
15985 for (i = 0; i < pagesize; ++i)
15986 *(data + i) = rand();
15988 fd = creat("conftestmmap", 0600);
15991 if (write(fd, data, pagesize) != pagesize)
15996 * Next, try to mmap the file at a fixed address which
15997 * already has something else allocated at it. If we can,
15998 * also make sure that we see the same garbage.
16000 fd = open("conftestmmap", O_RDWR);
16003 data2 = malloc(2 * pagesize);
16006 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
16007 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
16008 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16010 for (i = 0; i < pagesize; ++i)
16011 if (*(data + i) != *(data2 + i))
16015 * Finally, make sure that changes to the mapped area
16016 * do not percolate back to the file as seen by read().
16017 * (This is a bug on some variants of i386 svr4.0.)
16019 for (i = 0; i < pagesize; ++i)
16020 *(data2 + i) = *(data2 + i) + 1;
16021 data3 = malloc(pagesize);
16024 if (read(fd, data3, pagesize) != pagesize)
16026 for (i = 0; i < pagesize; ++i)
16027 if (*(data + i) != *(data3 + i))
16030 unlink("conftestmmap");
16035 if { (eval echo configure:16036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
16037 ac_cv_func_mmap_fixed_mapped=yes
16039 echo "configure: failed program was:" >&5
16040 cat conftest.$ac_ext >&5
16042 ac_cv_func_mmap_fixed_mapped=no
16049 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
16050 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16051 cat >> confdefs.h <<\EOF
16052 #define HAVE_MMAP 1
16059 # Now that ctype is determined for all possible targets, we can do this...
16067 if test "$NULL_TARGET" = yes; then
16069 NULL_TARGET_FALSE='#'
16071 NULL_TARGET_TRUE='#'
16076 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
16085 if test "$CANADIAN" = yes; then
16093 cat > confcache <<\EOF
16094 # This file is a shell script that caches the results of configure
16095 # tests run on this system so they can be shared between configure
16096 # scripts and configure runs. It is not useful on other systems.
16097 # If it contains results you don't want to keep, you may remove or edit it.
16099 # By default, configure uses ./config.cache as the cache file,
16100 # creating it if it does not exist already. You can give configure
16101 # the --cache-file=FILE option to use a different cache file; that is
16102 # what configure does when it calls configure scripts in
16103 # subdirectories, so they share the cache.
16104 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16105 # config.status only pays attention to the cache file if you give it the
16106 # --recheck option to rerun configure.
16109 # The following way of writing the cache mishandles newlines in values,
16110 # but we know of no workaround that is simple, portable, and efficient.
16111 # So, don't put newlines in cache variables' values.
16112 # Ultrix sh set writes to stderr and can't be redirected directly,
16113 # and sets the high bit in the cache file unless we assign to the vars.
16115 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16117 # `set' does not quote correctly, so add quotes (double-quote substitution
16118 # turns \\\\ into \\, and sed turns \\ into \).
16120 -e "s/'/'\\\\''/g" \
16121 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16124 # `set' quotes correctly as required by POSIX, so do not add quotes.
16125 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16128 if cmp -s $cache_file confcache; then
16131 if test -w $cache_file; then
16132 echo "updating cache $cache_file"
16133 cat confcache > $cache_file
16135 echo "not updating unwritable cache $cache_file"
16141 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
16142 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
16143 echo "configure:16144: checking for locale.h" >&5
16144 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16145 echo $ac_n "(cached) $ac_c" 1>&6
16147 cat > conftest.$ac_ext <<EOF
16148 #line 16149 "configure"
16149 #include "confdefs.h"
16150 #include <locale.h>
16152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16153 { (eval echo configure:16154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16155 if test -z "$ac_err"; then
16157 eval "ac_cv_header_$ac_safe=yes"
16160 echo "configure: failed program was:" >&5
16161 cat conftest.$ac_ext >&5
16163 eval "ac_cv_header_$ac_safe=no"
16167 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16168 echo "$ac_t""yes" 1>&6
16170 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
16171 echo "configure:16172: checking for LC_MESSAGES" >&5
16172 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16173 echo $ac_n "(cached) $ac_c" 1>&6
16175 cat > conftest.$ac_ext <<EOF
16176 #line 16177 "configure"
16177 #include "confdefs.h"
16178 #include <locale.h>
16183 if { (eval echo configure:16184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16185 ac_cv_val_LC_MESSAGES=yes
16187 echo "configure: failed program was:" >&5
16188 cat conftest.$ac_ext >&5
16190 ac_cv_val_LC_MESSAGES=no
16195 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16196 if test $ac_cv_val_LC_MESSAGES = yes; then
16197 cat >> confdefs.h <<\EOF
16198 #define HAVE_LC_MESSAGES 1
16204 echo "$ac_t""no" 1>&6
16209 if test "${multilib}" = "yes"; then
16210 multilib_arg="--enable-multilib"
16216 # Generate the various Makefiles, include files, and scripts.
16218 # Needed so that g++ can find the correct include subdir automatically.
16221 # Export all the install information
16224 glibcpp_toolexecdir=no
16225 glibcpp_toolexeclibdir=no
16227 # Export build and source directories.
16228 # These need to be absolute paths, yet at the same time need to
16229 # canonicalize only relative paths, because then amd will not unmount
16230 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
16231 glibcpp_builddir=`pwd`
16233 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
16234 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
16236 glibcpp_prefixdir=${prefix}
16238 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
16239 echo "configure:16240: checking for interface version number" >&5
16240 libstdcxx_interface=$INTERFACE
16241 echo "$ac_t""$libstdcxx_interface" 1>&6
16243 # Process the option --with-gxx-include-dir=<path to include-files directory>
16244 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
16245 echo "configure:16246: checking for --with-gxx-include-dir" >&5
16246 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
16247 if test "${with_gxx_include_dir+set}" = set; then
16248 withval="$with_gxx_include_dir"
16249 case "${withval}" in
16251 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
16258 gxx_include_dir=${withval}
16265 echo "$ac_t""$gxx_include_dir" 1>&6
16267 # Process the option "--enable-version-specific-runtime-libs"
16268 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
16269 echo "configure:16270: checking for --enable-version-specific-runtime-libs" >&5
16270 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
16271 if test "${enable_version_specific_runtime_libs+set}" = set; then
16272 enableval="$enable_version_specific_runtime_libs"
16273 version_specific_libs=yes
16274 # Need the gcc compiler version to know where to install libraries
16275 # and header files if --enable-version-specific-runtime-libs option
16277 gcc_version_trigger=${srcdir}/../gcc/version.c
16278 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
16279 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
16280 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
16281 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16282 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}
16285 version_specific_libs=no
16288 echo "$ac_t""$version_specific_libs" 1>&6
16290 # Default case for install directory for include files.
16291 if test x"$version_specific_libs" = x"no" \
16292 && test x"$gxx_include_dir" = x"no"; then
16293 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
16296 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
16297 # Install a library built with a cross compiler in tooldir, not libdir.
16298 if test x"$glibcpp_toolexecdir" = x"no"; then
16299 if test -n "$with_cross_host" &&
16300 test x"$with_cross_host" != x"no"; then
16301 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
16302 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
16304 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16305 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
16309 echo $ac_n "checking for install location""... $ac_c" 1>&6
16310 echo "configure:16311: checking for install location" >&5
16311 echo "$ac_t""$gxx_include_dir" 1>&6
16321 # Export all the include and flag information to makefiles.
16323 # Root level of the include sources.
16324 GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
16326 # Can either use include/c or include/c_std to grab "C" headers. This
16327 # variable is set to the include directory currently in use.
16328 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_CHEADERS
16330 # Passed down for canadian crosses.
16331 if test x"$CANADIAN" = xyes; then
16332 TOPLEVEL_INCLUDES='-I$(includedir)'
16335 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
16337 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
16339 #if GLIBCPP_NEED_LIBIO
16340 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
16342 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
16345 #if GLIBCPP_USE_CSHADOW
16346 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
16347 # -I$(top_blddir)/cshadow'
16349 CSTD_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
16352 # Now, export this to all the little Makefiles....
16361 # Optimization flags that are probably a good idea for thrill-seekers. Just
16362 # uncomment the lines below and make, everything else is ready to go...
16363 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
16367 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
16371 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
16372 grep "enable shared" > /dev/null; then
16373 LIBSUPCXX_PICFLAGS=-prefer-pic
16375 LIBSUPCXX_PICFLAGS=
16379 # This should be done by mkincludedir, but hack around it now.
16381 echo "checking for $blddir/include"
16383 if test ! -d "$blddir/include"; then
16384 mkdir "$blddir/include"
16387 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
16388 # and libsupc++/Makefile.am so that multilib installs will end up
16389 # installed in the correct place. To work around this not being passed
16390 # down from config-ml.in -> top_srcdir/Makefile.am ->
16391 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
16393 cat > confcache <<\EOF
16394 # This file is a shell script that caches the results of configure
16395 # tests run on this system so they can be shared between configure
16396 # scripts and configure runs. It is not useful on other systems.
16397 # If it contains results you don't want to keep, you may remove or edit it.
16399 # By default, configure uses ./config.cache as the cache file,
16400 # creating it if it does not exist already. You can give configure
16401 # the --cache-file=FILE option to use a different cache file; that is
16402 # what configure does when it calls configure scripts in
16403 # subdirectories, so they share the cache.
16404 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16405 # config.status only pays attention to the cache file if you give it the
16406 # --recheck option to rerun configure.
16409 # The following way of writing the cache mishandles newlines in values,
16410 # but we know of no workaround that is simple, portable, and efficient.
16411 # So, don't put newlines in cache variables' values.
16412 # Ultrix sh set writes to stderr and can't be redirected directly,
16413 # and sets the high bit in the cache file unless we assign to the vars.
16415 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16417 # `set' does not quote correctly, so add quotes (double-quote substitution
16418 # turns \\\\ into \\, and sed turns \\ into \).
16420 -e "s/'/'\\\\''/g" \
16421 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16424 # `set' quotes correctly as required by POSIX, so do not add quotes.
16425 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16428 if cmp -s $cache_file confcache; then
16431 if test -w $cache_file; then
16432 echo "updating cache $cache_file"
16433 cat confcache > $cache_file
16435 echo "not updating unwritable cache $cache_file"
16440 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16442 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16443 # Let make expand exec_prefix.
16444 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16446 # Any assignment to VPATH causes Sun make to only execute
16447 # the first set of double-colon rules, so remove it if not needed.
16448 # If there is a colon in the path, we need to keep it.
16449 if test "x$srcdir" = x.; then
16450 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
16453 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16455 DEFS=-DHAVE_CONFIG_H
16457 # Without the "./", some shells look in PATH for config.status.
16458 : ${CONFIG_STATUS=./config.status}
16460 echo creating $CONFIG_STATUS
16461 rm -f $CONFIG_STATUS
16462 cat > $CONFIG_STATUS <<EOF
16464 # Generated automatically by configure.
16465 # Run this file to recreate the current configuration.
16466 # This directory was configured as follows,
16467 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16469 # $0 $ac_configure_args
16471 # Compiler output produced by configure, useful for debugging
16472 # configure, is in ./config.log if it exists.
16474 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
16477 case "\$ac_option" in
16478 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16479 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16480 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16481 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16482 echo "$CONFIG_STATUS generated by autoconf version 2.13"
16484 -help | --help | --hel | --he | --h)
16485 echo "\$ac_cs_usage"; exit 0 ;;
16486 *) echo "\$ac_cs_usage"; exit 1 ;;
16490 ac_given_srcdir=$srcdir
16491 ac_given_INSTALL="$INSTALL"
16493 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
16495 cat >> $CONFIG_STATUS <<EOF
16497 # Protect against being on the right side of a sed subst in config.status.
16498 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16499 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16503 s%@CFLAGS@%$CFLAGS%g
16504 s%@CPPFLAGS@%$CPPFLAGS%g
16505 s%@CXXFLAGS@%$CXXFLAGS%g
16506 s%@FFLAGS@%$FFLAGS%g
16508 s%@LDFLAGS@%$LDFLAGS%g
16510 s%@exec_prefix@%$exec_prefix%g
16511 s%@prefix@%$prefix%g
16512 s%@program_transform_name@%$program_transform_name%g
16513 s%@bindir@%$bindir%g
16514 s%@sbindir@%$sbindir%g
16515 s%@libexecdir@%$libexecdir%g
16516 s%@datadir@%$datadir%g
16517 s%@sysconfdir@%$sysconfdir%g
16518 s%@sharedstatedir@%$sharedstatedir%g
16519 s%@localstatedir@%$localstatedir%g
16520 s%@libdir@%$libdir%g
16521 s%@includedir@%$includedir%g
16522 s%@oldincludedir@%$oldincludedir%g
16523 s%@infodir@%$infodir%g
16524 s%@mandir@%$mandir%g
16525 s%@toplevel_srcdir@%$toplevel_srcdir%g
16527 s%@host_alias@%$host_alias%g
16528 s%@host_cpu@%$host_cpu%g
16529 s%@host_vendor@%$host_vendor%g
16530 s%@host_os@%$host_os%g
16531 s%@target@%$target%g
16532 s%@target_alias@%$target_alias%g
16533 s%@target_cpu@%$target_cpu%g
16534 s%@target_vendor@%$target_vendor%g
16535 s%@target_os@%$target_os%g
16537 s%@build_alias@%$build_alias%g
16538 s%@build_cpu@%$build_cpu%g
16539 s%@build_vendor@%$build_vendor%g
16540 s%@build_os@%$build_os%g
16541 s%@glibcpp_basedir@%$glibcpp_basedir%g
16542 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16543 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16544 s%@INSTALL_DATA@%$INSTALL_DATA%g
16545 s%@PACKAGE@%$PACKAGE%g
16546 s%@VERSION@%$VERSION%g
16547 s%@ACLOCAL@%$ACLOCAL%g
16548 s%@AUTOCONF@%$AUTOCONF%g
16549 s%@AUTOMAKE@%$AUTOMAKE%g
16550 s%@AUTOHEADER@%$AUTOHEADER%g
16551 s%@MAKEINFO@%$MAKEINFO%g
16552 s%@SET_MAKE@%$SET_MAKE%g
16554 s%@glibcpp_CXX@%$glibcpp_CXX%g
16557 s%@RANLIB@%$RANLIB%g
16558 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
16559 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
16561 s%@EXEEXT@%$EXEEXT%g
16563 s%@OBJEXT@%$OBJEXT%g
16565 s%@LIBTOOL@%$LIBTOOL%g
16566 s%@CXXCPP@%$CXXCPP%g
16567 s%@enable_shared@%$enable_shared%g
16568 s%@enable_static@%$enable_static%g
16569 s%@ifGNUmake@%$ifGNUmake%g
16570 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
16572 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
16573 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
16574 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
16575 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
16576 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
16577 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
16578 s%@libio_la@%$libio_la%g
16579 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
16580 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
16581 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
16582 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
16583 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
16584 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
16585 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
16586 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
16587 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
16588 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
16589 s%@WERROR@%$WERROR%g
16590 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
16591 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
16592 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
16593 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
16594 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
16595 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
16596 s%@glibcpp_builddir@%$glibcpp_builddir%g
16597 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
16598 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
16599 s%@gxx_include_dir@%$gxx_include_dir%g
16600 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
16601 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
16602 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
16603 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
16604 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
16605 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
16606 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
16607 s%@CSTD_INCLUDES@%$CSTD_INCLUDES%g
16608 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
16609 s%@WARN_FLAGS@%$WARN_FLAGS%g
16610 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
16615 cat >> $CONFIG_STATUS <<\EOF
16617 # Split the substitutions into bite-sized pieces for seds with
16618 # small command number limits, like on Digital OSF/1 and HP-UX.
16619 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
16620 ac_file=1 # Number of current file.
16621 ac_beg=1 # First line for current file.
16622 ac_end=$ac_max_sed_cmds # Line after last line for current file.
16625 while $ac_more_lines; do
16626 if test $ac_beg -gt 1; then
16627 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
16629 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
16631 if test ! -s conftest.s$ac_file; then
16632 ac_more_lines=false
16633 rm -f conftest.s$ac_file
16635 if test -z "$ac_sed_cmds"; then
16636 ac_sed_cmds="sed -f conftest.s$ac_file"
16638 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
16640 ac_file=`expr $ac_file + 1`
16642 ac_end=`expr $ac_end + $ac_max_sed_cmds`
16645 if test -z "$ac_sed_cmds"; then
16650 cat >> $CONFIG_STATUS <<EOF
16652 CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile mkcheck testsuite_flags"}
16654 cat >> $CONFIG_STATUS <<\EOF
16655 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
16656 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16658 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16659 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16660 *) ac_file_in="${ac_file}.in" ;;
16663 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
16665 # Remove last slash and all that follows it. Not all systems have dirname.
16666 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16667 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16668 # The file is in a subdirectory.
16669 test ! -d "$ac_dir" && mkdir "$ac_dir"
16670 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
16671 # A "../" for each directory in $ac_dir_suffix.
16672 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
16674 ac_dir_suffix= ac_dots=
16677 case "$ac_given_srcdir" in
16679 if test -z "$ac_dots"; then top_srcdir=.
16680 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
16681 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
16682 *) # Relative path.
16683 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16684 top_srcdir="$ac_dots$ac_given_srcdir" ;;
16687 case "$ac_given_INSTALL" in
16688 [/$]*) INSTALL="$ac_given_INSTALL" ;;
16689 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
16692 echo creating "$ac_file"
16694 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
16696 *Makefile*) ac_comsub="1i\\
16697 # $configure_input" ;;
16701 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16703 s%@configure_input@%$configure_input%g
16704 s%@srcdir@%$srcdir%g
16705 s%@top_srcdir@%$top_srcdir%g
16706 s%@INSTALL@%$INSTALL%g
16707 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
16711 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16712 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16714 # ac_d sets the value in "#define NAME VALUE" lines.
16715 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16716 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
16719 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
16720 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16721 ac_uB='\([ ]\)%\1#\2define\3'
16724 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16725 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16726 ac_eB='$%\1#\2define\3'
16730 if test "${CONFIG_HEADERS+set}" != set; then
16732 cat >> $CONFIG_STATUS <<EOF
16733 CONFIG_HEADERS="config.h"
16735 cat >> $CONFIG_STATUS <<\EOF
16737 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
16738 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16740 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16741 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16742 *) ac_file_in="${ac_file}.in" ;;
16745 echo creating $ac_file
16747 rm -f conftest.frag conftest.in conftest.out
16748 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16749 cat $ac_file_inputs > conftest.in
16753 # Transform confdefs.h into a sed script conftest.vals that substitutes
16754 # the proper values into config.h.in to produce config.h. And first:
16755 # Protect against being on the right side of a sed subst in config.status.
16756 # Protect against being in an unquoted here document in config.status.
16757 rm -f conftest.vals
16758 cat > conftest.hdr <<\EOF
16761 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
16765 sed -n -f conftest.hdr confdefs.h > conftest.vals
16768 # This sed command replaces #undef with comments. This is necessary, for
16769 # example, in the case of _POSIX_SOURCE, which is predefined and required
16770 # on some systems where configure will not decide to define it.
16771 cat >> conftest.vals <<\EOF
16772 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
16775 # Break up conftest.vals because some shells have a limit on
16776 # the size of here documents, and old seds have small limits too.
16778 rm -f conftest.tail
16781 ac_lines=`grep -c . conftest.vals`
16782 # grep -c gives empty output for an empty file on some AIX systems.
16783 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
16784 # Write a limited-size here document to conftest.frag.
16785 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
16786 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
16788 sed -f conftest.frag conftest.in > conftest.out
16790 mv conftest.out conftest.in
16791 ' >> $CONFIG_STATUS
16792 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
16793 rm -f conftest.vals
16794 mv conftest.tail conftest.vals
16796 rm -f conftest.vals
16798 cat >> $CONFIG_STATUS <<\EOF
16799 rm -f conftest.frag conftest.h
16800 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
16801 cat conftest.in >> conftest.h
16803 if cmp -s $ac_file conftest.h 2>/dev/null; then
16804 echo "$ac_file is unchanged"
16807 # Remove last slash and all that follows it. Not all systems have dirname.
16808 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16809 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16810 # The file is in a subdirectory.
16811 test ! -d "$ac_dir" && mkdir "$ac_dir"
16814 mv conftest.h $ac_file
16820 cat >> $CONFIG_STATUS <<EOF
16821 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"
16822 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 \
16823 include/bits/ctype_base.h \
16824 include/bits/ctype_inline.h \
16825 include/bits/ctype_noninline.h include/bits/atomicity.h"
16828 cat >> $CONFIG_STATUS <<\EOF
16829 srcdir=$ac_given_srcdir
16830 while test -n "$ac_sources"; do
16831 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
16832 set $ac_sources; ac_source=$1; shift; ac_sources=$*
16834 echo "linking $srcdir/$ac_source to $ac_dest"
16836 if test ! -r $srcdir/$ac_source; then
16837 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
16841 # Make relative symlinks.
16842 # Remove last slash and all that follows it. Not all systems have dirname.
16843 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
16844 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
16845 # The dest file is in a subdirectory.
16846 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
16847 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
16848 # A "../" for each directory in $ac_dest_dir_suffix.
16849 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
16851 ac_dest_dir_suffix= ac_dots=
16855 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
16856 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
16859 # Make a symlink if possible; otherwise try a hard link.
16860 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
16861 ln $srcdir/$ac_source $ac_dest; then :
16863 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
16867 cat >> $CONFIG_STATUS <<EOF
16873 with_multisubdir=${with_multisubdir}
16874 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16875 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16876 glibcpp_basedir=${glibcpp_basedir}
16881 cat >> $CONFIG_STATUS <<\EOF
16882 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
16884 rm -f $d/gthr.h $d/gthr-single.h $d/gthr-default.h
16885 sed '/^#/s/\([A-Z_][A-Z_]*\)/_GLIBCPP_\1/g' <$d/gthr.h-in >$d/gthr.h
16886 sed 's/\(UNUSED\)/_GLIBCPP_\1/g' <$d/gthr-single.h-in \
16887 | sed 's/\(GCC[A-Z_]*_H\)/_GLIBCPP_\1/g' >$d/gthr-single.h
16888 sed 's/\(UNUSED\)/_GLIBCPP_\1/g' <$d/gthr-default.h-in \
16889 | sed 's/\(GCC[A-Z_]*_H\)/_GLIBCPP_\1/g' \
16890 | sed 's/\([A-Z_]*WEAK\)/_GLIBCPP_\1/g' >$d/gthr-default.h
16891 if test -n "$CONFIG_FILES"; then
16892 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
16893 grep '^MULTISUBDIR =' Makefile >> src/Makefile
16894 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
16897 chmod +x testsuite_flags
16901 chmod +x $CONFIG_STATUS
16902 rm -fr confdefs* $ac_clean_files
16903 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
16907 # Generate bits/c++config.h
16908 # NB: This must be the first generated file as others include it. . .
16909 $srcdir/mkc++config $blddir $srcdir
16911 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
16912 if test ! -f stamp-limits; then
16913 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
16914 if test ! -f include/bits/std_limits.h; then
16915 echo "mknumeric_limits failed to execute properly: exiting"
16923 # Sanity checking & User-visible messages.
16924 # Checks down here, otherwise they get scrolled off before
16925 # the user will notice.
16927 # Trying to get more people to read documentation. Possibly remove
16928 # check and warn all the time. There is no "informational" AC_MSG_
16929 # macro, so these are going to be printed even when --quiet/--silent
16931 if test ! -f stamp-sanity-warned; then
16932 touch stamp-sanity-warned
16934 echo "Please make certain that you read the installation information here:"
16935 echo " faster => ${srcdir}/docs/install.html"
16936 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
16938 echo "and the configuration information here:"
16939 echo " faster => ${srcdir}/docs/configopts.html"
16940 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
16942 echo "before proceeding with ${_cv_gnu_make_command}."