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 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
723 # be 'cp -p' if linking isn't available.
724 #ac_cv_prog_LN_S='cp -p'
725 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
726 echo "configure:727: checking whether ln -s works" >&5
727 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
728 echo $ac_n "(cached) $ac_c" 1>&6
731 if ln -s X conftestdata 2>/dev/null
734 ac_cv_prog_LN_S="ln -s"
739 LN_S="$ac_cv_prog_LN_S"
740 if test "$ac_cv_prog_LN_S" = "ln -s"; then
741 echo "$ac_t""yes" 1>&6
743 echo "$ac_t""no" 1>&6
747 # We use these options to decide which functions to include.
748 # Check whether --with-target-subdir or --without-target-subdir was given.
749 if test "${with_target_subdir+set}" = set; then
750 withval="$with_target_subdir"
754 # Check whether --with-cross-host or --without-cross-host was given.
755 if test "${with_cross_host+set}" = set; then
756 withval="$with_cross_host"
761 # Runs configure.host and configure.target. Have to run this before
762 # the GLIBCPP_ENABLE_* macros below.
763 # Find a good install program. We prefer a C program (faster),
764 # so one script is as good as another. But avoid the broken or
765 # incompatible versions:
766 # SysV /etc/install, /usr/sbin/install
767 # SunOS /usr/etc/install
770 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
771 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
772 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
773 # ./install, which can be erroneously created by make from ./install.sh.
774 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
775 echo "configure:776: checking for a BSD compatible install" >&5
776 if test -z "$INSTALL"; then
777 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
778 echo $ac_n "(cached) $ac_c" 1>&6
780 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
781 for ac_dir in $PATH; do
782 # Account for people who put trailing slashes in PATH elements.
784 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
786 # OSF1 and SCO ODT 3.0 have their own names for install.
787 # Don't use installbsd from OSF since it installs stuff as root
789 for ac_prog in ginstall scoinst install; do
790 if test -f $ac_dir/$ac_prog; then
791 if test $ac_prog = install &&
792 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
793 # AIX install. It has an incompatible calling convention.
796 ac_cv_path_install="$ac_dir/$ac_prog -c"
807 if test "${ac_cv_path_install+set}" = set; then
808 INSTALL="$ac_cv_path_install"
810 # As a last resort, use the slow shell script. We don't cache a
811 # path for INSTALL within a source directory, because that will
812 # break other packages using the cache if that directory is
813 # removed, or if the path is relative.
814 INSTALL="$ac_install_sh"
817 echo "$ac_t""$INSTALL" 1>&6
819 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
820 # It thinks the first close brace ends the variable substitution.
821 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
823 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
825 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
827 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
828 echo "configure:829: checking whether build environment is sane" >&5
831 echo timestamp > conftestfile
832 # Do `set' in a subshell so we don't clobber the current shell's
833 # arguments. Must try -L first in case configure is actually a
834 # symlink; some systems play weird games with the mod time of symlinks
835 # (eg FreeBSD returns the mod time of the symlink's containing
838 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
839 if test "$*" = "X"; then
841 set X `ls -t $srcdir/configure conftestfile`
843 if test "$*" != "X $srcdir/configure conftestfile" \
844 && test "$*" != "X conftestfile $srcdir/configure"; then
846 # If neither matched, then we have a broken ls. This can happen
847 # if, for instance, CONFIG_SHELL is bash and it inherits a
848 # broken ls alias from the environment. This has actually
849 # happened. Such a system could not be considered "sane".
850 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
851 alias in your environment" 1>&2; exit 1; }
854 test "$2" = conftestfile
860 { echo "configure: error: newly created file is older than distributed files!
861 Check your system clock" 1>&2; exit 1; }
864 echo "$ac_t""yes" 1>&6
865 if test "$program_transform_name" = s,x,x,; then
866 program_transform_name=
868 # Double any \ or $. echo might interpret backslashes.
869 cat <<\EOF_SED > conftestsed
870 s,\\,\\\\,g; s,\$,$$,g
872 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
875 test "$program_prefix" != NONE &&
876 program_transform_name="s,^,${program_prefix},; $program_transform_name"
877 # Use a double $ so make ignores it.
878 test "$program_suffix" != NONE &&
879 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
881 # sed with no file args requires a program.
882 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
884 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
885 echo "configure:886: checking whether ${MAKE-make} sets \${MAKE}" >&5
886 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
887 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
888 echo $ac_n "(cached) $ac_c" 1>&6
890 cat > conftestmake <<\EOF
892 @echo 'ac_maketemp="${MAKE}"'
894 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
895 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
896 if test -n "$ac_maketemp"; then
897 eval ac_cv_prog_make_${ac_make}_set=yes
899 eval ac_cv_prog_make_${ac_make}_set=no
903 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
904 echo "$ac_t""yes" 1>&6
907 echo "$ac_t""no" 1>&6
908 SET_MAKE="MAKE=${MAKE-make}"
911 if test $host != $build; then
912 ac_tool_prefix=${host_alias}-
917 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
918 echo "configure:919: checking for Cygwin environment" >&5
919 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
920 echo $ac_n "(cached) $ac_c" 1>&6
922 cat > conftest.$ac_ext <<EOF
923 #line 924 "configure"
924 #include "confdefs.h"
929 #define __CYGWIN__ __CYGWIN32__
934 if { (eval echo configure:935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
938 echo "configure: failed program was:" >&5
939 cat conftest.$ac_ext >&5
947 echo "$ac_t""$ac_cv_cygwin" 1>&6
949 test "$ac_cv_cygwin" = yes && CYGWIN=yes
950 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
951 echo "configure:952: checking for mingw32 environment" >&5
952 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
953 echo $ac_n "(cached) $ac_c" 1>&6
955 cat > conftest.$ac_ext <<EOF
956 #line 957 "configure"
957 #include "confdefs.h"
963 if { (eval echo configure:964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
967 echo "configure: failed program was:" >&5
968 cat conftest.$ac_ext >&5
976 echo "$ac_t""$ac_cv_mingw32" 1>&6
978 test "$ac_cv_mingw32" = yes && MINGW32=yes
980 # Check whether --enable-multilib or --disable-multilib was given.
981 if test "${enable_multilib+set}" = set; then
982 enableval="$enable_multilib"
983 case "${enableval}" in
986 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
992 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1000 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1001 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1003 cat >> confdefs.h <<EOF
1004 #define PACKAGE "$PACKAGE"
1007 cat >> confdefs.h <<EOF
1008 #define VERSION "$VERSION"
1013 missing_dir=`cd $ac_aux_dir && pwd`
1014 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
1015 echo "configure:1016: checking for working aclocal" >&5
1016 # Run test in a subshell; some versions of sh will print an error if
1017 # an executable is not found, even if stderr is redirected.
1018 # Redirect stdin to placate older versions of autoconf. Sigh.
1019 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1021 echo "$ac_t""found" 1>&6
1023 ACLOCAL="$missing_dir/missing aclocal"
1024 echo "$ac_t""missing" 1>&6
1027 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1028 echo "configure:1029: checking for working autoconf" >&5
1029 # Run test in a subshell; some versions of sh will print an error if
1030 # an executable is not found, even if stderr is redirected.
1031 # Redirect stdin to placate older versions of autoconf. Sigh.
1032 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1034 echo "$ac_t""found" 1>&6
1036 AUTOCONF="$missing_dir/missing autoconf"
1037 echo "$ac_t""missing" 1>&6
1040 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1041 echo "configure:1042: checking for working automake" >&5
1042 # Run test in a subshell; some versions of sh will print an error if
1043 # an executable is not found, even if stderr is redirected.
1044 # Redirect stdin to placate older versions of autoconf. Sigh.
1045 if (automake --version) < /dev/null > /dev/null 2>&1; then
1047 echo "$ac_t""found" 1>&6
1049 AUTOMAKE="$missing_dir/missing automake"
1050 echo "$ac_t""missing" 1>&6
1053 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1054 echo "configure:1055: checking for working autoheader" >&5
1055 # Run test in a subshell; some versions of sh will print an error if
1056 # an executable is not found, even if stderr is redirected.
1057 # Redirect stdin to placate older versions of autoconf. Sigh.
1058 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1059 AUTOHEADER=autoheader
1060 echo "$ac_t""found" 1>&6
1062 AUTOHEADER="$missing_dir/missing autoheader"
1063 echo "$ac_t""missing" 1>&6
1066 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1067 echo "configure:1068: checking for working makeinfo" >&5
1068 # Run test in a subshell; some versions of sh will print an error if
1069 # an executable is not found, even if stderr is redirected.
1070 # Redirect stdin to placate older versions of autoconf. Sigh.
1071 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1073 echo "$ac_t""found" 1>&6
1075 MAKEINFO="$missing_dir/missing makeinfo"
1076 echo "$ac_t""missing" 1>&6
1081 # Never versions of autoconf add an underscore to these functions.
1082 # Prevent future problems ...
1090 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1091 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1092 # are probably using a cross compiler, which will not be able to fully
1093 # link an executable. This should really be fixed in autoconf
1099 # Extract the first word of "gcc", so it can be a program name with args.
1100 set dummy gcc; ac_word=$2
1101 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1102 echo "configure:1103: checking for $ac_word" >&5
1103 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1104 echo $ac_n "(cached) $ac_c" 1>&6
1106 if test -n "$CC"; then
1107 ac_cv_prog_CC="$CC" # Let the user override the test.
1109 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1111 for ac_dir in $ac_dummy; do
1112 test -z "$ac_dir" && ac_dir=.
1113 if test -f $ac_dir/$ac_word; then
1122 if test -n "$CC"; then
1123 echo "$ac_t""$CC" 1>&6
1125 echo "$ac_t""no" 1>&6
1128 if test -z "$CC"; then
1129 # Extract the first word of "cc", so it can be a program name with args.
1130 set dummy cc; ac_word=$2
1131 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1132 echo "configure:1133: checking for $ac_word" >&5
1133 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1134 echo $ac_n "(cached) $ac_c" 1>&6
1136 if test -n "$CC"; then
1137 ac_cv_prog_CC="$CC" # Let the user override the test.
1139 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1142 for ac_dir in $ac_dummy; do
1143 test -z "$ac_dir" && ac_dir=.
1144 if test -f $ac_dir/$ac_word; then
1145 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1146 ac_prog_rejected=yes
1154 if test $ac_prog_rejected = yes; then
1155 # We found a bogon in the path, so make sure we never use it.
1156 set dummy $ac_cv_prog_CC
1158 if test $# -gt 0; then
1159 # We chose a different compiler from the bogus one.
1160 # However, it has the same basename, so the bogon will be chosen
1161 # first if we set CC to just the basename; use the full file name.
1163 set dummy "$ac_dir/$ac_word" "$@"
1171 if test -n "$CC"; then
1172 echo "$ac_t""$CC" 1>&6
1174 echo "$ac_t""no" 1>&6
1177 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1180 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1181 echo "configure:1182: checking whether we are using GNU C" >&5
1182 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1183 echo $ac_n "(cached) $ac_c" 1>&6
1185 cat > conftest.c <<EOF
1190 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1197 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1199 if test $ac_cv_prog_gcc = yes; then
1201 ac_test_CFLAGS="${CFLAGS+set}"
1202 ac_save_CFLAGS="$CFLAGS"
1204 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1205 echo "configure:1206: checking whether ${CC-cc} accepts -g" >&5
1206 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1207 echo $ac_n "(cached) $ac_c" 1>&6
1209 echo 'void f(){}' > conftest.c
1210 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1219 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1220 if test "$ac_test_CFLAGS" = set; then
1221 CFLAGS="$ac_save_CFLAGS"
1222 elif test $ac_cv_prog_cc_g = yes; then
1229 test "${CFLAGS+set}" = set || CFLAGS="-g"
1233 # Can't just call these here as g++ requires libstc++ to be built....
1236 # Likewise for AC_PROG_CXX.
1240 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1241 # flags that come in CXX while configuring libstdc++. They're different
1242 # from those used for all other target libraries. If CXX is set in
1243 # the environment, respect that here.
1245 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1247 # Extract the first word of "$ac_prog", so it can be a program name with args.
1248 set dummy $ac_prog; ac_word=$2
1249 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1250 echo "configure:1251: checking for $ac_word" >&5
1251 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1252 echo $ac_n "(cached) $ac_c" 1>&6
1254 if test -n "$glibcpp_CXX"; then
1255 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1257 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1259 for ac_dir in $ac_dummy; do
1260 test -z "$ac_dir" && ac_dir=.
1261 if test -f $ac_dir/$ac_word; then
1262 ac_cv_prog_glibcpp_CXX="$ac_prog"
1269 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1270 if test -n "$glibcpp_CXX"; then
1271 echo "$ac_t""$glibcpp_CXX" 1>&6
1273 echo "$ac_t""no" 1>&6
1276 test -n "$glibcpp_CXX" && break
1278 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1282 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1284 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1285 echo "configure:1286: checking whether we are using GNU C++" >&5
1286 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1287 echo $ac_n "(cached) $ac_c" 1>&6
1289 cat > conftest.C <<EOF
1294 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1301 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1303 if test $ac_cv_prog_gxx = yes; then
1305 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1306 ac_save_CXXFLAGS="$CXXFLAGS"
1308 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1309 echo "configure:1310: checking whether ${CXX-g++} accepts -g" >&5
1310 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1311 echo $ac_n "(cached) $ac_c" 1>&6
1313 echo 'void f(){}' > conftest.cc
1314 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1315 ac_cv_prog_cxx_g=yes
1323 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1324 if test "$ac_test_CXXFLAGS" = set; then
1325 CXXFLAGS="$ac_save_CXXFLAGS"
1326 elif test $ac_cv_prog_cxx_g = yes; then
1333 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1337 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1338 set dummy ${ac_tool_prefix}as; ac_word=$2
1339 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1340 echo "configure:1341: checking for $ac_word" >&5
1341 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1342 echo $ac_n "(cached) $ac_c" 1>&6
1344 if test -n "$AS"; then
1345 ac_cv_prog_AS="$AS" # Let the user override the test.
1347 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1349 for ac_dir in $ac_dummy; do
1350 test -z "$ac_dir" && ac_dir=.
1351 if test -f $ac_dir/$ac_word; then
1352 ac_cv_prog_AS="${ac_tool_prefix}as"
1357 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1361 if test -n "$AS"; then
1362 echo "$ac_t""$AS" 1>&6
1364 echo "$ac_t""no" 1>&6
1369 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1370 set dummy ${ac_tool_prefix}ar; ac_word=$2
1371 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1372 echo "configure:1373: checking for $ac_word" >&5
1373 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1374 echo $ac_n "(cached) $ac_c" 1>&6
1376 if test -n "$AR"; then
1377 ac_cv_prog_AR="$AR" # Let the user override the test.
1379 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1381 for ac_dir in $ac_dummy; do
1382 test -z "$ac_dir" && ac_dir=.
1383 if test -f $ac_dir/$ac_word; then
1384 ac_cv_prog_AR="${ac_tool_prefix}ar"
1389 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1393 if test -n "$AR"; then
1394 echo "$ac_t""$AR" 1>&6
1396 echo "$ac_t""no" 1>&6
1401 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1402 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1403 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1404 echo "configure:1405: checking for $ac_word" >&5
1405 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1406 echo $ac_n "(cached) $ac_c" 1>&6
1408 if test -n "$RANLIB"; then
1409 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1411 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1413 for ac_dir in $ac_dummy; do
1414 test -z "$ac_dir" && ac_dir=.
1415 if test -f $ac_dir/$ac_word; then
1416 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1423 RANLIB="$ac_cv_prog_RANLIB"
1424 if test -n "$RANLIB"; then
1425 echo "$ac_t""$RANLIB" 1>&6
1427 echo "$ac_t""no" 1>&6
1431 if test -z "$ac_cv_prog_RANLIB"; then
1432 if test -n "$ac_tool_prefix"; then
1433 # Extract the first word of "ranlib", so it can be a program name with args.
1434 set dummy ranlib; ac_word=$2
1435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1436 echo "configure:1437: checking for $ac_word" >&5
1437 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1438 echo $ac_n "(cached) $ac_c" 1>&6
1440 if test -n "$RANLIB"; then
1441 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1443 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1445 for ac_dir in $ac_dummy; do
1446 test -z "$ac_dir" && ac_dir=.
1447 if test -f $ac_dir/$ac_word; then
1448 ac_cv_prog_RANLIB="ranlib"
1453 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1456 RANLIB="$ac_cv_prog_RANLIB"
1457 if test -n "$RANLIB"; then
1458 echo "$ac_t""$RANLIB" 1>&6
1460 echo "$ac_t""no" 1>&6
1464 RANLIB="ranlib-not-found-in-path-error"
1468 # Find a good install program. We prefer a C program (faster),
1469 # so one script is as good as another. But avoid the broken or
1470 # incompatible versions:
1471 # SysV /etc/install, /usr/sbin/install
1472 # SunOS /usr/etc/install
1473 # IRIX /sbin/install
1475 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1476 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1477 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1478 # ./install, which can be erroneously created by make from ./install.sh.
1479 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1480 echo "configure:1481: checking for a BSD compatible install" >&5
1481 if test -z "$INSTALL"; then
1482 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1483 echo $ac_n "(cached) $ac_c" 1>&6
1485 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1486 for ac_dir in $PATH; do
1487 # Account for people who put trailing slashes in PATH elements.
1489 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1491 # OSF1 and SCO ODT 3.0 have their own names for install.
1492 # Don't use installbsd from OSF since it installs stuff as root
1494 for ac_prog in ginstall scoinst install; do
1495 if test -f $ac_dir/$ac_prog; then
1496 if test $ac_prog = install &&
1497 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1498 # AIX install. It has an incompatible calling convention.
1501 ac_cv_path_install="$ac_dir/$ac_prog -c"
1512 if test "${ac_cv_path_install+set}" = set; then
1513 INSTALL="$ac_cv_path_install"
1515 # As a last resort, use the slow shell script. We don't cache a
1516 # path for INSTALL within a source directory, because that will
1517 # break other packages using the cache if that directory is
1518 # removed, or if the path is relative.
1519 INSTALL="$ac_install_sh"
1522 echo "$ac_t""$INSTALL" 1>&6
1524 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1525 # It thinks the first close brace ends the variable substitution.
1526 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1528 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1530 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1533 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1534 echo "configure:1535: checking whether to enable maintainer-specific portions of Makefiles" >&5
1535 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1536 if test "${enable_maintainer_mode+set}" = set; then
1537 enableval="$enable_maintainer_mode"
1538 USE_MAINTAINER_MODE=$enableval
1540 USE_MAINTAINER_MODE=no
1543 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1546 if test $USE_MAINTAINER_MODE = yes; then
1547 MAINTAINER_MODE_TRUE=
1548 MAINTAINER_MODE_FALSE='#'
1550 MAINTAINER_MODE_TRUE='#'
1551 MAINTAINER_MODE_FALSE=
1553 MAINT=$MAINTAINER_MODE_TRUE
1557 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1558 # at least currently, we never actually build a program, so we never
1559 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1560 # fails, because we are probably configuring with a cross compiler
1561 # which cant create executables. So we include AC_EXEEXT to keep
1562 # automake happy, but we dont execute it, since we dont care about
1565 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1566 # to nothing, so nothing would remain between `then' and `fi' if it
1567 # were not for the `:' below.
1571 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1572 echo "configure:1573: checking for executable suffix" >&5
1573 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1574 echo $ac_n "(cached) $ac_c" 1>&6
1576 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1580 echo 'int main () { return 0; }' > conftest.$ac_ext
1582 if { (eval echo configure:1583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1583 for file in conftest.*; do
1585 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1586 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1590 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1593 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1598 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1599 echo "$ac_t""${ac_cv_exeext}" 1>&6
1604 . ${glibcpp_basedir}/configure.host
1606 case ${glibcpp_basedir} in
1607 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1608 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1611 # This does for the target what configure.host does for the host. In
1612 # addition to possibly modifying the same flags, it also sets up symlinks.
1614 . ${glibcpp_basedir}/configure.target
1615 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1616 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1621 # Check whether --enable-shared or --disable-shared was given.
1622 if test "${enable_shared+set}" = set; then
1623 enableval="$enable_shared"
1624 p=${PACKAGE-default}
1626 yes) enable_shared=yes ;;
1627 no) enable_shared=no ;;
1630 # Look at the argument we got. We use all the common list separators.
1631 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1632 for pkg in $enableval; do
1633 if test "X$pkg" = "X$p"; then
1644 # Check whether --enable-static or --disable-static was given.
1645 if test "${enable_static+set}" = set; then
1646 enableval="$enable_static"
1647 p=${PACKAGE-default}
1649 yes) enable_static=yes ;;
1650 no) enable_static=no ;;
1653 # Look at the argument we got. We use all the common list separators.
1654 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1655 for pkg in $enableval; do
1656 if test "X$pkg" = "X$p"; then
1667 # Check whether --enable-fast-install or --disable-fast-install was given.
1668 if test "${enable_fast_install+set}" = set; then
1669 enableval="$enable_fast_install"
1670 p=${PACKAGE-default}
1672 yes) enable_fast_install=yes ;;
1673 no) enable_fast_install=no ;;
1675 enable_fast_install=no
1676 # Look at the argument we got. We use all the common list separators.
1677 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1678 for pkg in $enableval; do
1679 if test "X$pkg" = "X$p"; then
1680 enable_fast_install=yes
1687 enable_fast_install=yes
1690 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1691 if test "${with_gnu_ld+set}" = set; then
1692 withval="$with_gnu_ld"
1693 test "$withval" = no || with_gnu_ld=yes
1699 if test "$GCC" = yes; then
1700 # Check if gcc -print-prog-name=ld gives a path.
1701 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1702 echo "configure:1703: checking for ld used by GCC" >&5
1705 # gcc leaves a trailing carriage return which upsets mingw
1706 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1708 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1711 # Accept absolute paths.
1712 [\\/]* | [A-Za-z]:[\\/]*)
1713 re_direlt='/[^/][^/]*/\.\./'
1714 # Canonicalize the path of ld
1715 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1716 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1717 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1719 test -z "$LD" && LD="$ac_prog"
1722 # If it fails, then pretend we aren't using GCC.
1726 # If it is relative, then search for the first ld in PATH.
1730 elif test "$with_gnu_ld" = yes; then
1731 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1732 echo "configure:1733: checking for GNU ld" >&5
1734 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1735 echo "configure:1736: checking for non-GNU ld" >&5
1737 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1738 echo $ac_n "(cached) $ac_c" 1>&6
1740 if test -z "$LD"; then
1741 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1742 for ac_dir in $PATH; do
1743 test -z "$ac_dir" && ac_dir=.
1744 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1745 lt_cv_path_LD="$ac_dir/$ac_prog"
1746 # Check to see if the program is GNU ld. I'd rather use --version,
1747 # but apparently some GNU ld's only accept -v.
1748 # Break only if it was the GNU/non-GNU ld that we prefer.
1749 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1750 test "$with_gnu_ld" != no && break
1752 test "$with_gnu_ld" != yes && break
1758 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1763 if test -n "$LD"; then
1764 echo "$ac_t""$LD" 1>&6
1766 echo "$ac_t""no" 1>&6
1768 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1769 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1770 echo "configure:1771: checking if the linker ($LD) is GNU ld" >&5
1771 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1772 echo $ac_n "(cached) $ac_c" 1>&6
1774 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1775 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1776 lt_cv_prog_gnu_ld=yes
1778 lt_cv_prog_gnu_ld=no
1782 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1783 with_gnu_ld=$lt_cv_prog_gnu_ld
1786 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1787 echo "configure:1788: checking for $LD option to reload object files" >&5
1788 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1789 echo $ac_n "(cached) $ac_c" 1>&6
1791 lt_cv_ld_reload_flag='-r'
1794 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1795 reload_flag=$lt_cv_ld_reload_flag
1796 test -n "$reload_flag" && reload_flag=" $reload_flag"
1798 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1799 echo "configure:1800: checking for BSD-compatible nm" >&5
1800 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1801 echo $ac_n "(cached) $ac_c" 1>&6
1803 if test -n "$NM"; then
1804 # Let the user override the test.
1807 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1808 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1809 test -z "$ac_dir" && ac_dir=.
1810 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1811 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1812 # Check to see if the nm accepts a BSD-compat flag.
1813 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1814 # nm: unknown option "B" ignored
1815 # Tru64's nm complains that /dev/null is an invalid object file
1816 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1817 lt_cv_path_NM="$tmp_nm -B"
1819 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1820 lt_cv_path_NM="$tmp_nm -p"
1823 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1824 continue # so that we can try to find one that supports BSD flags
1829 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1834 echo "$ac_t""$NM" 1>&6
1836 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1837 echo "configure:1838: checking how to recognise dependant libraries" >&5
1838 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1839 echo $ac_n "(cached) $ac_c" 1>&6
1841 lt_cv_file_magic_cmd='$MAGIC_CMD'
1842 lt_cv_file_magic_test_file=
1843 lt_cv_deplibs_check_method='unknown'
1844 # Need to set the preceding variable on all platforms that support
1845 # interlibrary dependencies.
1846 # 'none' -- dependencies not supported.
1847 # `unknown' -- same as none, but documents that we really don't know.
1848 # 'pass_all' -- all dependencies passed with no checks.
1849 # 'test_compile' -- check by making test program.
1850 # 'file_magic [regex]' -- check by looking for files in library path
1851 # which responds to the $file_magic_cmd with a given egrep regex.
1852 # If you have `file' or equivalent on your system and you're not sure
1853 # whether `pass_all' will *always* work, you probably want this one.
1857 lt_cv_deplibs_check_method=pass_all
1861 lt_cv_deplibs_check_method=pass_all
1865 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1866 lt_cv_file_magic_cmd='/usr/bin/file -L'
1867 lt_cv_file_magic_test_file=/shlib/libc.so
1870 cygwin* | mingw* |pw32*)
1871 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1872 lt_cv_file_magic_cmd='$OBJDUMP -f'
1875 darwin* | rhapsody*)
1876 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1877 lt_cv_file_magic_cmd='/usr/bin/file -L'
1879 rhapsody* | darwin1.012)
1880 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1883 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1889 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1892 # Not sure whether the presence of OpenBSD here was a mistake.
1893 # Let's accept both of them until this is cleared up.
1894 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1895 lt_cv_file_magic_cmd=/usr/bin/file
1896 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1900 lt_cv_deplibs_check_method=pass_all
1905 lt_cv_deplibs_check_method=pass_all
1909 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1910 lt_cv_file_magic_cmd=/usr/bin/file
1911 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1917 # this will be overridden with pass_all, but let us keep it just in case
1918 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1922 *-32|*"-32 ") libmagic=32-bit;;
1923 *-n32|*"-n32 ") libmagic=N32;;
1924 *-64|*"-64 ") libmagic=64-bit;;
1925 *) libmagic=never-match;;
1927 # this will be overridden with pass_all, but let us keep it just in case
1928 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1931 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1932 lt_cv_deplibs_check_method=pass_all
1935 # This must be Linux ELF.
1938 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1939 lt_cv_deplibs_check_method=pass_all ;;
1941 # glibc up to 2.1.1 does not perform some relocations on ARM
1942 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1944 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1948 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1949 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1951 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
1956 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1957 lt_cv_file_magic_cmd=/usr/bin/file
1958 lt_cv_file_magic_test_file=/usr/lib/libnls.so
1961 osf3* | osf4* | osf5*)
1962 # this will be overridden with pass_all, but let us keep it just in case
1963 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1964 lt_cv_file_magic_test_file=/shlib/libc.so
1965 lt_cv_deplibs_check_method=pass_all
1969 lt_cv_deplibs_check_method=pass_all
1973 lt_cv_deplibs_check_method=pass_all
1974 lt_cv_file_magic_test_file=/lib/libc.so
1977 sysv5uw[78]* | sysv4*uw2*)
1978 lt_cv_deplibs_check_method=pass_all
1981 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1982 case $host_vendor in
1984 lt_cv_deplibs_check_method=pass_all
1987 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]'
1988 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1996 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1997 file_magic_cmd=$lt_cv_file_magic_cmd
1998 deplibs_check_method=$lt_cv_deplibs_check_method
2000 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2001 echo "configure:2002: checking for object suffix" >&5
2002 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2003 echo $ac_n "(cached) $ac_c" 1>&6
2006 echo 'int i = 1;' > conftest.$ac_ext
2007 if { (eval echo configure:2008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2008 for ac_file in conftest.*; do
2011 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2015 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2020 echo "$ac_t""$ac_cv_objext" 1>&6
2021 OBJEXT=$ac_cv_objext
2022 ac_objext=$ac_cv_objext
2024 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2026 # Only perform the check for file, if the check method requires it
2027 case $deplibs_check_method in
2029 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2030 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2031 echo "configure:2032: checking for ${ac_tool_prefix}file" >&5
2032 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2033 echo $ac_n "(cached) $ac_c" 1>&6
2037 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2040 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2043 ac_save_MAGIC_CMD="$MAGIC_CMD"
2044 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2045 ac_dummy="/usr/bin:$PATH"
2046 for ac_dir in $ac_dummy; do
2047 test -z "$ac_dir" && ac_dir=.
2048 if test -f $ac_dir/${ac_tool_prefix}file; then
2049 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2050 if test -n "$file_magic_test_file"; then
2051 case $deplibs_check_method in
2053 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2054 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2055 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2056 egrep "$file_magic_regex" > /dev/null; then
2061 *** Warning: the command libtool uses to detect shared libraries,
2062 *** $file_magic_cmd, produces output that libtool cannot recognize.
2063 *** The result is that libtool may fail to recognize shared libraries
2064 *** as such. This will affect the creation of libtool libraries that
2065 *** depend on shared libraries, but programs linked with such libtool
2066 *** libraries will work regardless of this problem. Nevertheless, you
2067 *** may want to report the problem to your system manager and/or to
2068 *** bug-libtool@gnu.org
2078 MAGIC_CMD="$ac_save_MAGIC_CMD"
2083 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2084 if test -n "$MAGIC_CMD"; then
2085 echo "$ac_t""$MAGIC_CMD" 1>&6
2087 echo "$ac_t""no" 1>&6
2090 if test -z "$lt_cv_path_MAGIC_CMD"; then
2091 if test -n "$ac_tool_prefix"; then
2092 echo $ac_n "checking for file""... $ac_c" 1>&6
2093 echo "configure:2094: checking for file" >&5
2094 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2095 echo $ac_n "(cached) $ac_c" 1>&6
2099 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2102 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2105 ac_save_MAGIC_CMD="$MAGIC_CMD"
2106 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2107 ac_dummy="/usr/bin:$PATH"
2108 for ac_dir in $ac_dummy; do
2109 test -z "$ac_dir" && ac_dir=.
2110 if test -f $ac_dir/file; then
2111 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2112 if test -n "$file_magic_test_file"; then
2113 case $deplibs_check_method in
2115 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2116 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2117 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2118 egrep "$file_magic_regex" > /dev/null; then
2123 *** Warning: the command libtool uses to detect shared libraries,
2124 *** $file_magic_cmd, produces output that libtool cannot recognize.
2125 *** The result is that libtool may fail to recognize shared libraries
2126 *** as such. This will affect the creation of libtool libraries that
2127 *** depend on shared libraries, but programs linked with such libtool
2128 *** libraries will work regardless of this problem. Nevertheless, you
2129 *** may want to report the problem to your system manager and/or to
2130 *** bug-libtool@gnu.org
2140 MAGIC_CMD="$ac_save_MAGIC_CMD"
2145 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2146 if test -n "$MAGIC_CMD"; then
2147 echo "$ac_t""$MAGIC_CMD" 1>&6
2149 echo "$ac_t""no" 1>&6
2161 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2162 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2163 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2164 echo "configure:2165: checking for $ac_word" >&5
2165 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2166 echo $ac_n "(cached) $ac_c" 1>&6
2168 if test -n "$RANLIB"; then
2169 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2171 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2173 for ac_dir in $ac_dummy; do
2174 test -z "$ac_dir" && ac_dir=.
2175 if test -f $ac_dir/$ac_word; then
2176 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2183 RANLIB="$ac_cv_prog_RANLIB"
2184 if test -n "$RANLIB"; then
2185 echo "$ac_t""$RANLIB" 1>&6
2187 echo "$ac_t""no" 1>&6
2191 if test -z "$ac_cv_prog_RANLIB"; then
2192 if test -n "$ac_tool_prefix"; then
2193 # Extract the first word of "ranlib", so it can be a program name with args.
2194 set dummy ranlib; ac_word=$2
2195 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2196 echo "configure:2197: checking for $ac_word" >&5
2197 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2198 echo $ac_n "(cached) $ac_c" 1>&6
2200 if test -n "$RANLIB"; then
2201 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2203 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2205 for ac_dir in $ac_dummy; do
2206 test -z "$ac_dir" && ac_dir=.
2207 if test -f $ac_dir/$ac_word; then
2208 ac_cv_prog_RANLIB="ranlib"
2213 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2216 RANLIB="$ac_cv_prog_RANLIB"
2217 if test -n "$RANLIB"; then
2218 echo "$ac_t""$RANLIB" 1>&6
2220 echo "$ac_t""no" 1>&6
2228 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2229 set dummy ${ac_tool_prefix}strip; ac_word=$2
2230 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2231 echo "configure:2232: checking for $ac_word" >&5
2232 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2233 echo $ac_n "(cached) $ac_c" 1>&6
2235 if test -n "$STRIP"; then
2236 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2238 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2240 for ac_dir in $ac_dummy; do
2241 test -z "$ac_dir" && ac_dir=.
2242 if test -f $ac_dir/$ac_word; then
2243 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2250 STRIP="$ac_cv_prog_STRIP"
2251 if test -n "$STRIP"; then
2252 echo "$ac_t""$STRIP" 1>&6
2254 echo "$ac_t""no" 1>&6
2258 if test -z "$ac_cv_prog_STRIP"; then
2259 if test -n "$ac_tool_prefix"; then
2260 # Extract the first word of "strip", so it can be a program name with args.
2261 set dummy strip; ac_word=$2
2262 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2263 echo "configure:2264: checking for $ac_word" >&5
2264 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2265 echo $ac_n "(cached) $ac_c" 1>&6
2267 if test -n "$STRIP"; then
2268 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2270 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2272 for ac_dir in $ac_dummy; do
2273 test -z "$ac_dir" && ac_dir=.
2274 if test -f $ac_dir/$ac_word; then
2275 ac_cv_prog_STRIP="strip"
2280 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2283 STRIP="$ac_cv_prog_STRIP"
2284 if test -n "$STRIP"; then
2285 echo "$ac_t""$STRIP" 1>&6
2287 echo "$ac_t""no" 1>&6
2296 # Check for any special flags to pass to ltconfig.
2297 libtool_flags="--cache-file=$cache_file"
2298 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2299 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2300 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2301 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2302 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2303 libtool_flags="$libtool_flags --enable-dlopen"
2305 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2306 if test "${enable_libtool_lock+set}" = set; then
2307 enableval="$enable_libtool_lock"
2311 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2312 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2314 # Check whether --with-pic or --without-pic was given.
2315 if test "${with_pic+set}" = set; then
2322 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2323 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2325 # Some flags need to be propagated to the compiler or linker for good
2329 # Find out which ABI we are using.
2330 echo '#line 2331 "configure"' > conftest.$ac_ext
2331 if { (eval echo configure:2332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2332 case `/usr/bin/file conftest.$ac_objext` in
2348 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2349 SAVE_CFLAGS="$CFLAGS"
2350 CFLAGS="$CFLAGS -belf"
2351 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2352 echo "configure:2353: checking whether the C compiler needs -belf" >&5
2353 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2354 echo $ac_n "(cached) $ac_c" 1>&6
2358 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2359 ac_cpp='$CPP $CPPFLAGS'
2360 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2361 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2362 cross_compiling=$ac_cv_prog_cc_cross
2364 cat > conftest.$ac_ext <<EOF
2365 #line 2366 "configure"
2366 #include "confdefs.h"
2372 if { (eval echo configure:2373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2374 lt_cv_cc_needs_belf=yes
2376 echo "configure: failed program was:" >&5
2377 cat conftest.$ac_ext >&5
2379 lt_cv_cc_needs_belf=no
2383 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2384 ac_cpp='$CPP $CPPFLAGS'
2385 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2386 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2387 cross_compiling=$ac_cv_prog_cc_cross
2391 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2392 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2393 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2394 CFLAGS="$SAVE_CFLAGS"
2401 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2402 echo "configure:2403: checking how to run the C++ preprocessor" >&5
2403 if test -z "$CXXCPP"; then
2404 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2405 echo $ac_n "(cached) $ac_c" 1>&6
2408 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2409 ac_cpp='$CXXCPP $CPPFLAGS'
2410 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2411 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2412 cross_compiling=$ac_cv_prog_cxx_cross
2413 CXXCPP="${CXX-g++} -E"
2414 cat > conftest.$ac_ext <<EOF
2415 #line 2416 "configure"
2416 #include "confdefs.h"
2419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2420 { (eval echo configure:2421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2421 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2422 if test -z "$ac_err"; then
2426 echo "configure: failed program was:" >&5
2427 cat conftest.$ac_ext >&5
2432 ac_cv_prog_CXXCPP="$CXXCPP"
2434 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2435 ac_cpp='$CPP $CPPFLAGS'
2436 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2437 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2438 cross_compiling=$ac_cv_prog_cc_cross
2441 CXXCPP="$ac_cv_prog_CXXCPP"
2442 echo "$ac_t""$CXXCPP" 1>&6
2445 # Save cache, so that ltconfig can load it
2446 cat > confcache <<\EOF
2447 # This file is a shell script that caches the results of configure
2448 # tests run on this system so they can be shared between configure
2449 # scripts and configure runs. It is not useful on other systems.
2450 # If it contains results you don't want to keep, you may remove or edit it.
2452 # By default, configure uses ./config.cache as the cache file,
2453 # creating it if it does not exist already. You can give configure
2454 # the --cache-file=FILE option to use a different cache file; that is
2455 # what configure does when it calls configure scripts in
2456 # subdirectories, so they share the cache.
2457 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2458 # config.status only pays attention to the cache file if you give it the
2459 # --recheck option to rerun configure.
2462 # The following way of writing the cache mishandles newlines in values,
2463 # but we know of no workaround that is simple, portable, and efficient.
2464 # So, don't put newlines in cache variables' values.
2465 # Ultrix sh set writes to stderr and can't be redirected directly,
2466 # and sets the high bit in the cache file unless we assign to the vars.
2468 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2470 # `set' does not quote correctly, so add quotes (double-quote substitution
2471 # turns \\\\ into \\, and sed turns \\ into \).
2473 -e "s/'/'\\\\''/g" \
2474 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2477 # `set' quotes correctly as required by POSIX, so do not add quotes.
2478 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2481 if cmp -s $cache_file confcache; then
2484 if test -w $cache_file; then
2485 echo "updating cache $cache_file"
2486 cat confcache > $cache_file
2488 echo "not updating unwritable cache $cache_file"
2494 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2495 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2496 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2497 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2498 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2499 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2500 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2501 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2502 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2503 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2505 # Reload cache, that may have been modified by ltconfig
2506 if test -r "$cache_file"; then
2507 echo "loading cache $cache_file"
2510 echo "creating cache $cache_file"
2515 # This can be used to rebuild libtool when needed
2516 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2518 # Always use our own libtool.
2519 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2521 # Redirect the config.log output again, so that the ltconfig log is not
2522 # clobbered by the next message.
2523 exec 5>>./config.log
2527 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2529 lt_save_CFLAGS="$CFLAGS"
2530 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2531 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2532 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2533 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2534 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2535 deplibs_check_method="$deplibs_check_method" \
2536 file_magic_cmd="$file_magic_cmd" \
2537 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2538 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2539 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2541 CFLAGS="$lt_save_CFLAGS"
2543 # Redirect the config.log output again, so that the ltconfig log is not
2544 # clobbered by the next message.
2545 exec 5>>./config.log
2554 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2555 echo "configure:2556: checking for GNU make" >&5
2556 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2557 echo $ac_n "(cached) $ac_c" 1>&6
2559 _cv_gnu_make_command='' ;
2560 for a in "${MAKE-make}" make gmake gnumake ; do
2561 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2563 _cv_gnu_make_command=$a ;
2570 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2571 if test "x$_cv_gnu_make_command" != "x" ; then
2583 # Check for c++ or library specific bits that don't require linking.
2585 if test ! -f stamp-sanity-compiler; then
2586 echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2587 echo "configure:2588: checking for g++ that will successfully compile libstdc++-v3" >&5
2590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2591 ac_cpp='$CXXCPP $CPPFLAGS'
2592 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2593 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2594 cross_compiling=$ac_cv_prog_cxx_cross
2596 cat > conftest.$ac_ext <<EOF
2597 #line 2598 "configure"
2598 #include "confdefs.h"
2608 if { (eval echo configure:2609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2610 gpp_satisfactory=yes
2612 echo "configure: failed program was:" >&5
2613 cat conftest.$ac_ext >&5
2615 { echo "configure: error: please upgrade to GCC 3.0 or above" 1>&2; exit 1; }
2619 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2620 ac_cpp='$CPP $CPPFLAGS'
2621 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2622 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2623 cross_compiling=$ac_cv_prog_cc_cross
2625 echo "$ac_t""$gpp_satisfactory" 1>&6
2626 touch stamp-sanity-compiler
2630 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2631 # Check whether --enable-debug or --disable-debug was given.
2632 if test "${enable_debug+set}" = set; then
2633 enableval="$enable_debug"
2634 case "${enableval}" in
2635 yes) enable_debug=yes ;;
2636 no) enable_debug=no ;;
2637 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2643 case "${enable_debug}" in
2645 DEBUG_FLAGS='-O0 -ggdb3'
2653 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2654 echo "configure:2655: checking how to run the C preprocessor" >&5
2655 # On Suns, sometimes $CPP names a directory.
2656 if test -n "$CPP" && test -d "$CPP"; then
2659 if test -z "$CPP"; then
2660 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2661 echo $ac_n "(cached) $ac_c" 1>&6
2663 # This must be in double quotes, not single quotes, because CPP may get
2664 # substituted into the Makefile and "${CC-cc}" will confuse make.
2666 # On the NeXT, cc -E runs the code through the compiler's parser,
2667 # not just through cpp.
2668 cat > conftest.$ac_ext <<EOF
2669 #line 2670 "configure"
2670 #include "confdefs.h"
2674 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2675 { (eval echo configure:2676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2676 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2677 if test -z "$ac_err"; then
2681 echo "configure: failed program was:" >&5
2682 cat conftest.$ac_ext >&5
2684 CPP="${CC-cc} -E -traditional-cpp"
2685 cat > conftest.$ac_ext <<EOF
2686 #line 2687 "configure"
2687 #include "confdefs.h"
2691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2692 { (eval echo configure:2693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2694 if test -z "$ac_err"; then
2698 echo "configure: failed program was:" >&5
2699 cat conftest.$ac_ext >&5
2701 CPP="${CC-cc} -nologo -E"
2702 cat > conftest.$ac_ext <<EOF
2703 #line 2704 "configure"
2704 #include "confdefs.h"
2708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2709 { (eval echo configure:2710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2711 if test -z "$ac_err"; then
2715 echo "configure: failed program was:" >&5
2716 cat conftest.$ac_ext >&5
2725 ac_cv_prog_CPP="$CPP"
2727 CPP="$ac_cv_prog_CPP"
2729 ac_cv_prog_CPP="$CPP"
2731 echo "$ac_t""$CPP" 1>&6
2734 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2735 echo "configure:2736: checking for cstdio to use" >&5
2736 # Check whether --enable-cstdio or --disable-cstdio was given.
2737 if test "${enable_cstdio+set}" = set; then
2738 enableval="$enable_cstdio"
2739 if test x$enable_cstdio = xno; then
2747 enable_cstdio_flag=$enable_cstdio
2749 case x${enable_cstdio_flag} in
2751 CSTDIO_H=config/c_io_libio.h
2752 BASIC_FILE_H=config/basic_file_libio.h
2753 BASIC_FILE_CC=config/basic_file_libio.cc
2754 echo "$ac_t""libio" 1>&6
2756 # see if we are on a system with libio native (ie, linux)
2757 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2758 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2759 echo "configure:2760: checking for libio.h" >&5
2760 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2761 echo $ac_n "(cached) $ac_c" 1>&6
2763 cat > conftest.$ac_ext <<EOF
2764 #line 2765 "configure"
2765 #include "confdefs.h"
2768 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2769 { (eval echo configure:2770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2770 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2771 if test -z "$ac_err"; then
2773 eval "ac_cv_header_$ac_safe=yes"
2776 echo "configure: failed program was:" >&5
2777 cat conftest.$ac_ext >&5
2779 eval "ac_cv_header_$ac_safe=no"
2783 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2784 echo "$ac_t""yes" 1>&6
2787 echo "$ac_t""no" 1>&6
2792 # Need to check and see what version of glibc is being used. If
2793 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2794 # compile most of libio for linux systems.
2795 if test x$has_libio = x"yes"; then
2798 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2799 echo "configure:2800: checking for glibc version >= 2.2" >&5
2800 cat > conftest.$ac_ext <<EOF
2801 #line 2802 "configure"
2802 #include "confdefs.h"
2804 #include <features.h>
2805 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2811 egrep "ok" >/dev/null 2>&1; then
2813 glibc_satisfactory=yes
2816 glibc_satisfactory=no
2820 echo "$ac_t""$glibc_satisfactory" 1>&6
2824 # XXX at the moment, admit defeat and force the recompilation
2825 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2826 glibc_satisfactory=no
2828 if test x$glibc_satisfactory = x"yes"; then
2833 # bkoz XXX need to add checks to enable this
2834 # pme XXX here's a first pass at such a check
2835 if test x$enable_c_mbchar != xno; then
2843 # Using libio, but <libio.h> doesn't exist on the target system. . .
2845 # bkoz XXX need to add checks to enable this
2846 # pme XXX here's a first pass at such a check
2847 if test x$enable_c_mbchar != xno; then
2854 xstdio | x | xno | xnone | xyes)
2856 CSTDIO_H=config/c_io_stdio.h
2857 BASIC_FILE_H=config/basic_file_stdio.h
2858 BASIC_FILE_CC=config/basic_file_stdio.cc
2859 echo "$ac_t""stdio" 1>&6
2861 # We're not using stdio.
2866 echo "$enable_cstdio is an unknown io package" 1>&2
2874 # 2000-08-04 bkoz hack
2875 CCODECVT_C=config/c_io_libio_codecvt.c
2877 # 2000-08-04 bkoz hack
2881 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2882 GLIBCPP_BUILD_LIBIO_TRUE=
2883 GLIBCPP_BUILD_LIBIO_FALSE='#'
2885 GLIBCPP_BUILD_LIBIO_TRUE='#'
2886 GLIBCPP_BUILD_LIBIO_FALSE=
2890 if test "$need_libio" = yes; then
2891 GLIBCPP_NEED_LIBIO_TRUE=
2892 GLIBCPP_NEED_LIBIO_FALSE='#'
2894 GLIBCPP_NEED_LIBIO_TRUE='#'
2895 GLIBCPP_NEED_LIBIO_FALSE=
2899 if test "$need_wlibio" = yes; then
2900 GLIBCPP_NEED_WLIBIO_TRUE=
2901 GLIBCPP_NEED_WLIBIO_FALSE='#'
2903 GLIBCPP_NEED_WLIBIO_TRUE='#'
2904 GLIBCPP_NEED_WLIBIO_FALSE=
2906 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2907 libio_la=../libio/libio.la
2914 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2915 echo "configure:2916: checking for clocale to use" >&5
2916 # Check whether --enable-clocale or --disable-clocale was given.
2917 if test "${enable_clocale+set}" = set; then
2918 enableval="$enable_clocale"
2919 if test x$enable_clocale = xno; then
2920 enable_clocale=generic
2923 enable_clocale=generic
2927 enable_clocale_flag=$enable_clocale
2929 case x${enable_clocale_flag} in
2931 CLOCALE_H=config/c_locale_gnu.h
2932 CLOCALE_CC=config/c_locale_gnu.cc
2933 echo "$ac_t""gnu" 1>&6
2936 CLOCALE_H=config/c_locale_generic.h
2937 CLOCALE_CC=config/c_locale_generic.cc
2938 echo "$ac_t""generic" 1>&6
2941 echo "$enable_clocale is an unknown locale package" 1>&2
2949 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2950 if test "${enable_c_mbchar+set}" = set; then
2951 enableval="$enable_c_mbchar"
2952 case "$enableval" in
2953 yes) enable_c_mbchar=yes ;;
2954 no) enable_c_mbchar=no ;;
2955 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2962 # Check whether --enable-c99 or --disable-c99 was given.
2963 if test "${enable_c99+set}" = set; then
2964 enableval="$enable_c99"
2965 case "$enableval" in
2966 yes) enable_c99=yes ;;
2967 no) enable_c99=no ;;
2968 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
2976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2977 ac_cpp='$CXXCPP $CPPFLAGS'
2978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2980 cross_compiling=$ac_cv_prog_cxx_cross
2983 # Check for the existence of <math.h> functions used if C99 is enabled.
2985 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
2986 echo "configure:2987: checking for ISO C99 support in <math.h>" >&5
2987 cat > conftest.$ac_ext <<EOF
2988 #line 2989 "configure"
2989 #include "confdefs.h"
2995 if { (eval echo configure:2996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2998 echo "configure: failed program was:" >&5
2999 cat conftest.$ac_ext >&5
3004 cat > conftest.$ac_ext <<EOF
3005 #line 3006 "configure"
3006 #include "confdefs.h"
3012 if { (eval echo configure:3013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3015 echo "configure: failed program was:" >&5
3016 cat conftest.$ac_ext >&5
3021 cat > conftest.$ac_ext <<EOF
3022 #line 3023 "configure"
3023 #include "confdefs.h"
3029 if { (eval echo configure:3030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3032 echo "configure: failed program was:" >&5
3033 cat conftest.$ac_ext >&5
3038 cat > conftest.$ac_ext <<EOF
3039 #line 3040 "configure"
3040 #include "confdefs.h"
3046 if { (eval echo configure:3047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3049 echo "configure: failed program was:" >&5
3050 cat conftest.$ac_ext >&5
3055 cat > conftest.$ac_ext <<EOF
3056 #line 3057 "configure"
3057 #include "confdefs.h"
3063 if { (eval echo configure:3064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3066 echo "configure: failed program was:" >&5
3067 cat conftest.$ac_ext >&5
3072 cat > conftest.$ac_ext <<EOF
3073 #line 3074 "configure"
3074 #include "confdefs.h"
3080 if { (eval echo configure:3081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3083 echo "configure: failed program was:" >&5
3084 cat conftest.$ac_ext >&5
3089 cat > conftest.$ac_ext <<EOF
3090 #line 3091 "configure"
3091 #include "confdefs.h"
3097 if { (eval echo configure:3098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3100 echo "configure: failed program was:" >&5
3101 cat conftest.$ac_ext >&5
3106 cat > conftest.$ac_ext <<EOF
3107 #line 3108 "configure"
3108 #include "confdefs.h"
3111 isgreaterequal(0.0,0.0);
3114 if { (eval echo configure:3115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3117 echo "configure: failed program was:" >&5
3118 cat conftest.$ac_ext >&5
3123 cat > conftest.$ac_ext <<EOF
3124 #line 3125 "configure"
3125 #include "confdefs.h"
3131 if { (eval echo configure:3132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3134 echo "configure: failed program was:" >&5
3135 cat conftest.$ac_ext >&5
3140 cat > conftest.$ac_ext <<EOF
3141 #line 3142 "configure"
3142 #include "confdefs.h"
3145 islessequal(0.0,0.0);
3148 if { (eval echo configure:3149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3151 echo "configure: failed program was:" >&5
3152 cat conftest.$ac_ext >&5
3157 cat > conftest.$ac_ext <<EOF
3158 #line 3159 "configure"
3159 #include "confdefs.h"
3162 islessgreater(0.0,0.0);
3165 if { (eval echo configure:3166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3168 echo "configure: failed program was:" >&5
3169 cat conftest.$ac_ext >&5
3174 cat > conftest.$ac_ext <<EOF
3175 #line 3176 "configure"
3176 #include "confdefs.h"
3179 isunordered(0.0,0.0);
3182 if { (eval echo configure:3183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3185 echo "configure: failed program was:" >&5
3186 cat conftest.$ac_ext >&5
3191 echo "$ac_t""$ac_c99_math" 1>&6
3193 # Check for the existence in <stdio.h> of vscanf, et. al.
3195 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3196 echo "configure:3197: checking for ISO C99 support in <stdio.h>" >&5
3197 cat > conftest.$ac_ext <<EOF
3198 #line 3199 "configure"
3199 #include "confdefs.h"
3202 snprintf("12", 0, "%i");
3205 if { (eval echo configure:3206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3208 echo "configure: failed program was:" >&5
3209 cat conftest.$ac_ext >&5
3214 cat > conftest.$ac_ext <<EOF
3215 #line 3216 "configure"
3216 #include "confdefs.h"
3219 void foo(char* fmt, ...)
3220 {va_list args; va_start(args, fmt);
3221 vfscanf(stderr, "%i", args);}
3226 if { (eval echo configure:3227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3229 echo "configure: failed program was:" >&5
3230 cat conftest.$ac_ext >&5
3235 cat > conftest.$ac_ext <<EOF
3236 #line 3237 "configure"
3237 #include "confdefs.h"
3240 void foo(char* fmt, ...)
3241 {va_list args; va_start(args, fmt);
3242 vscanf("%i", args);}
3247 if { (eval echo configure:3248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3250 echo "configure: failed program was:" >&5
3251 cat conftest.$ac_ext >&5
3256 cat > conftest.$ac_ext <<EOF
3257 #line 3258 "configure"
3258 #include "confdefs.h"
3261 void foo(char* fmt, ...)
3262 {va_list args; va_start(args, fmt);
3263 vsnprintf(fmt, 0, "%i", args);}
3268 if { (eval echo configure:3269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3271 echo "configure: failed program was:" >&5
3272 cat conftest.$ac_ext >&5
3277 cat > conftest.$ac_ext <<EOF
3278 #line 3279 "configure"
3279 #include "confdefs.h"
3282 void foo(char* fmt, ...)
3283 {va_list args; va_start(args, fmt);
3284 vsscanf(fmt, "%i", args);}
3289 if { (eval echo configure:3290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3292 echo "configure: failed program was:" >&5
3293 cat conftest.$ac_ext >&5
3298 echo "$ac_t""$ac_c99_stdio" 1>&6
3300 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3302 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3303 echo "configure:3304: checking for lldiv_t declaration" >&5
3304 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3305 echo $ac_n "(cached) $ac_c" 1>&6
3308 cat > conftest.$ac_ext <<EOF
3309 #line 3310 "configure"
3310 #include "confdefs.h"
3316 if { (eval echo configure:3317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3320 echo "configure: failed program was:" >&5
3321 cat conftest.$ac_ext >&5
3329 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3331 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3332 echo "configure:3333: checking for ISO C99 support in <stdlib.h>" >&5
3333 cat > conftest.$ac_ext <<EOF
3334 #line 3335 "configure"
3335 #include "confdefs.h"
3338 char* tmp; strtof("gnu", &tmp);
3341 if { (eval echo configure:3342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3344 echo "configure: failed program was:" >&5
3345 cat conftest.$ac_ext >&5
3350 cat > conftest.$ac_ext <<EOF
3351 #line 3352 "configure"
3352 #include "confdefs.h"
3355 char* tmp; strtold("gnu", &tmp);
3358 if { (eval echo configure:3359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3361 echo "configure: failed program was:" >&5
3362 cat conftest.$ac_ext >&5
3367 cat > conftest.$ac_ext <<EOF
3368 #line 3369 "configure"
3369 #include "confdefs.h"
3372 char* tmp; strtoll("gnu", &tmp, 10);
3375 if { (eval echo configure:3376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3378 echo "configure: failed program was:" >&5
3379 cat conftest.$ac_ext >&5
3384 cat > conftest.$ac_ext <<EOF
3385 #line 3386 "configure"
3386 #include "confdefs.h"
3389 char* tmp; strtoull("gnu", &tmp, 10);
3392 if { (eval echo configure:3393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3395 echo "configure: failed program was:" >&5
3396 cat conftest.$ac_ext >&5
3401 cat > conftest.$ac_ext <<EOF
3402 #line 3403 "configure"
3403 #include "confdefs.h"
3409 if { (eval echo configure:3410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3412 echo "configure: failed program was:" >&5
3413 cat conftest.$ac_ext >&5
3418 cat > conftest.$ac_ext <<EOF
3419 #line 3420 "configure"
3420 #include "confdefs.h"
3426 if { (eval echo configure:3427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3429 echo "configure: failed program was:" >&5
3430 cat conftest.$ac_ext >&5
3435 cat > conftest.$ac_ext <<EOF
3436 #line 3437 "configure"
3437 #include "confdefs.h"
3443 if { (eval echo configure:3444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3446 echo "configure: failed program was:" >&5
3447 cat conftest.$ac_ext >&5
3452 cat > conftest.$ac_ext <<EOF
3453 #line 3454 "configure"
3454 #include "confdefs.h"
3460 if { (eval echo configure:3461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3463 echo "configure: failed program was:" >&5
3464 cat conftest.$ac_ext >&5
3469 if test x"$ac_c99_lldiv_t" = x"no"; then
3472 echo "$ac_t""$ac_c99_stdlib" 1>&6
3474 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3475 # XXX the wchar.h checks should be rolled into the general C99 bits.
3477 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3478 echo "configure:3479: checking for additional ISO C99 support in <wchar.h>" >&5
3479 cat > conftest.$ac_ext <<EOF
3480 #line 3481 "configure"
3481 #include "confdefs.h"
3484 wcstold(L"10.0", NULL);
3487 if { (eval echo configure:3488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3490 echo "configure: failed program was:" >&5
3491 cat conftest.$ac_ext >&5
3496 cat > conftest.$ac_ext <<EOF
3497 #line 3498 "configure"
3498 #include "confdefs.h"
3501 wcstoll(L"10", NULL, 10);
3504 if { (eval echo configure:3505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3507 echo "configure: failed program was:" >&5
3508 cat conftest.$ac_ext >&5
3513 cat > conftest.$ac_ext <<EOF
3514 #line 3515 "configure"
3515 #include "confdefs.h"
3518 wcstoull(L"10", NULL, 10);
3521 if { (eval echo configure:3522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3524 echo "configure: failed program was:" >&5
3525 cat conftest.$ac_ext >&5
3530 echo "$ac_t""$ac_c99_wchar" 1>&6
3532 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3533 echo "configure:3534: checking for enabled ISO C99 support" >&5
3534 if test x"$ac_c99_math" = x"no" ||
3535 test x"$ac_c99_stdio" = x"no" ||
3536 test x"$ac_c99_stdlib" = x"no" ||
3537 test x"$ac_c99_wchar" = x"no"; then
3540 echo "$ac_t""$enable_c99" 1>&6
3542 # Option parsed, now set things appropriately
3543 if test x"$enable_c99" = x"yes"; then
3544 cat >> confdefs.h <<\EOF
3545 #define _GLIBCPP_USE_C99 1
3551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3552 ac_cpp='$CPP $CPPFLAGS'
3553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3555 cross_compiling=$ac_cv_prog_cc_cross
3559 # Check whether --enable-long-long or --disable-long-long was given.
3560 if test "${enable_long_long+set}" = set; then
3561 enableval="$enable_long_long"
3562 case "$enableval" in
3563 yes) enable_long_long=yes ;;
3564 no) enable_long_long=no ;;
3565 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3568 enable_long_long=yes
3571 # iostreams require strtoll, strtoull to compile. If the
3572 # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
3573 # go ahead and allow long long to be used.
3574 if test x"$enable_c99" = x"no"; then
3575 enable_long_long=no;
3578 # Option parsed, now set things appropriately
3579 echo $ac_n "checking for enabled long long support""... $ac_c" 1>&6
3580 echo "configure:3581: checking for enabled long long support" >&5
3581 if test x"$enable_long_long" = xyes; then
3582 cat >> confdefs.h <<\EOF
3583 #define _GLIBCPP_USE_LONG_LONG 1
3587 echo "$ac_t""$enable_long_long" 1>&6
3589 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3590 echo "configure:3591: checking for c header strategy to use" >&5
3591 # Check whether --enable-cheaders or --disable-cheaders was given.
3592 if test "${enable_cheaders+set}" = set; then
3593 enableval="$enable_cheaders"
3595 case "$enableval" in
3600 enable_cheaders=c_std
3603 enable_cheaders=c_shadow
3605 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3609 enable_cheaders=c_std
3612 echo "$ac_t""$enable_cheaders" 1>&6
3614 case "$enable_cheaders" in
3616 CSHADOW_FLAGS="-fno-builtin"
3617 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3618 cat >> confdefs.h <<\EOF
3619 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3625 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3629 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3637 if test "$enable_cheaders" = c_shadow; then
3638 GLIBCPP_USE_CSHADOW_TRUE=
3639 GLIBCPP_USE_CSHADOW_FALSE='#'
3641 GLIBCPP_USE_CSHADOW_TRUE='#'
3642 GLIBCPP_USE_CSHADOW_FALSE=
3646 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3647 echo "configure:3648: checking for thread model used by GCC" >&5
3648 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3649 echo "$ac_t""$target_thread_file" 1>&6
3651 if test $target_thread_file != single; then
3652 cat >> confdefs.h <<\EOF
3653 #define HAVE_GTHR_DEFAULT 1
3656 cat >> confdefs.h <<\EOF
3657 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3662 glibcpp_thread_h=gthr-$target_thread_file.h
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" || test x"$build" != x"$host"; then
3760 # We are being configured with some form of cross compiler.
3761 # mknumeric_limits may not work correctly, either because the
3762 # compiler may not run on this machine, may not be able to link
3763 # executables, or may produce executables we can't run on this
3765 GLIBCPP_IS_CROSS_COMPILING=1
3767 # If Canadian cross, then don't pick up tools from the build
3769 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
3775 case "$target_alias" in
3777 # Construct linux crosses by hand, eliminating bits that need ld...
3778 # Check for available headers.
3779 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3780 machine/endian.h machine/param.h sys/machine.h fp.h locale.h \
3783 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3784 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3785 echo "configure:3786: checking for $ac_hdr" >&5
3786 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3787 echo $ac_n "(cached) $ac_c" 1>&6
3789 cat > conftest.$ac_ext <<EOF
3790 #line 3791 "configure"
3791 #include "confdefs.h"
3794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3795 { (eval echo configure:3796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3796 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3797 if test -z "$ac_err"; then
3799 eval "ac_cv_header_$ac_safe=yes"
3802 echo "configure: failed program was:" >&5
3803 cat conftest.$ac_ext >&5
3805 eval "ac_cv_header_$ac_safe=no"
3809 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3810 echo "$ac_t""yes" 1>&6
3811 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3812 cat >> confdefs.h <<EOF
3813 #define $ac_tr_hdr 1
3817 echo "$ac_t""no" 1>&6
3822 # GLIBCPP_CHECK_COMPILER_FEATURES
3823 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3826 # If we're not using GNU ld, then there's no point in even trying these
3827 # tests. Check for that first. We should have already tested for gld
3828 # by now (in libtool), but require it now just to be safe...
3833 # Set --gc-sections.
3834 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3835 # GNU ld it is! Joy and bunny rabbits!
3837 # All these tests are for C++; save the language and the compiler flags.
3838 # Need to do this so that g++ won't try to link in libstdc++
3839 ac_test_CFLAGS="${CFLAGS+set}"
3840 ac_save_CFLAGS="$CFLAGS"
3841 CFLAGS='-x c++ -Wl,--gc-sections'
3843 # Check for -Wl,--gc-sections
3844 # XXX This test is broken at the moment, as symbols required for
3845 # linking are now in libsupc++ (not built yet.....). In addition,
3846 # this test has cored on solaris in the past. In addition,
3847 # --gc-sections doesn't really work at the moment (keeps on discarding
3848 # used sections, first .eh_frame and now some of the glibc sections for
3849 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3850 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3851 echo "configure:3852: checking for ld that supports -Wl,--gc-sections" >&5
3852 if test "$cross_compiling" = yes; then
3853 ac_sectionLDflags=yes
3855 cat > conftest.$ac_ext <<EOF
3856 #line 3857 "configure"
3857 #include "confdefs.h"
3867 if { (eval echo configure:3868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3869 ac_sectionLDflags=yes
3871 echo "configure: failed program was:" >&5
3872 cat conftest.$ac_ext >&5
3874 ac_sectionLFflags=no
3879 if test "$ac_test_CFLAGS" = set; then
3880 CFLAGS="$ac_save_CFLAGS"
3882 # this is the suspicious part
3885 if test "$ac_sectionLDflags" = "yes"; then
3886 SECTION_LDFLAGS='-Wl,--gc-sections'
3888 echo "$ac_t""$ac_sectionLDflags" 1>&6
3891 # Set linker optimization flags.
3892 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
3893 test x"$enable_debug" = x"no"; then
3894 OPT_LDFLAGS='-Wl,-O1'
3900 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3901 # GLIBCPP_CHECK_MATH_SUPPORT
3902 cat >> confdefs.h <<\EOF
3903 #define HAVE_ACOSF 1
3906 cat >> confdefs.h <<\EOF
3907 #define HAVE_ASINF 1
3910 cat >> confdefs.h <<\EOF
3911 #define HAVE_ATAN2F 1
3914 cat >> confdefs.h <<\EOF
3915 #define HAVE_ATANF 1
3918 cat >> confdefs.h <<\EOF
3919 #define HAVE_CEILF 1
3922 cat >> confdefs.h <<\EOF
3923 #define HAVE_COPYSIGN 1
3926 cat >> confdefs.h <<\EOF
3927 #define HAVE_COPYSIGNF 1
3930 cat >> confdefs.h <<\EOF
3934 cat >> confdefs.h <<\EOF
3935 #define HAVE_COSHF 1
3938 cat >> confdefs.h <<\EOF
3942 cat >> confdefs.h <<\EOF
3943 #define HAVE_FABSF 1
3946 cat >> confdefs.h <<\EOF
3947 #define HAVE_FINITE 1
3950 cat >> confdefs.h <<\EOF
3951 #define HAVE_FINITEF 1
3954 cat >> confdefs.h <<\EOF
3955 #define HAVE_FLOORF 1
3958 cat >> confdefs.h <<\EOF
3959 #define HAVE_FMODF 1
3962 cat >> confdefs.h <<\EOF
3963 #define HAVE_FREXPF 1
3966 cat >> confdefs.h <<\EOF
3967 #define HAVE_ISINF 1
3970 cat >> confdefs.h <<\EOF
3971 #define HAVE_ISINFF 1
3974 cat >> confdefs.h <<\EOF
3975 #define HAVE_ISNAN 1
3978 cat >> confdefs.h <<\EOF
3979 #define HAVE_ISNANF 1
3982 cat >> confdefs.h <<\EOF
3983 #define HAVE_LDEXPF 1
3986 cat >> confdefs.h <<\EOF
3987 #define HAVE_LOG10F 1
3990 cat >> confdefs.h <<\EOF
3994 cat >> confdefs.h <<\EOF
3995 #define HAVE_MODFF 1
3998 cat >> confdefs.h <<\EOF
4002 cat >> confdefs.h <<\EOF
4003 #define HAVE_SINCOS 1
4006 cat >> confdefs.h <<\EOF
4007 #define HAVE_SINCOSF 1
4010 cat >> confdefs.h <<\EOF
4014 cat >> confdefs.h <<\EOF
4015 #define HAVE_SINHF 1
4018 cat >> confdefs.h <<\EOF
4019 #define HAVE_SQRTF 1
4022 cat >> confdefs.h <<\EOF
4026 cat >> confdefs.h <<\EOF
4027 #define HAVE_TANHF 1
4031 # At some point, we should differentiate between architectures
4032 # like x86, which have long double versions, and alpha/powerpc/etc.,
4033 # which don't. For the time being, punt.
4034 if test x"long_double_math_on_this_cpu" = x"yes"; then
4035 cat >> confdefs.h <<\EOF
4036 #define HAVE_ACOSL 1
4039 cat >> confdefs.h <<\EOF
4040 #define HAVE_ASINL 1
4043 cat >> confdefs.h <<\EOF
4044 #define HAVE_ATAN2L 1
4047 cat >> confdefs.h <<\EOF
4048 #define HAVE_ATANL 1
4051 cat >> confdefs.h <<\EOF
4052 #define HAVE_CEILL 1
4055 cat >> confdefs.h <<\EOF
4056 #define HAVE_COPYSIGNL 1
4059 cat >> confdefs.h <<\EOF
4063 cat >> confdefs.h <<\EOF
4064 #define HAVE_COSHL 1
4067 cat >> confdefs.h <<\EOF
4071 cat >> confdefs.h <<\EOF
4072 #define HAVE_FABSL 1
4075 cat >> confdefs.h <<\EOF
4076 #define HAVE_FINITEL 1
4079 cat >> confdefs.h <<\EOF
4080 #define HAVE_FLOORL 1
4083 cat >> confdefs.h <<\EOF
4084 #define HAVE_FMODL 1
4087 cat >> confdefs.h <<\EOF
4088 #define HAVE_FREXPL 1
4091 cat >> confdefs.h <<\EOF
4092 #define HAVE_ISINFL 1
4095 cat >> confdefs.h <<\EOF
4096 #define HAVE_ISNANL 1
4099 cat >> confdefs.h <<\EOF
4100 #define HAVE_LDEXPL 1
4103 cat >> confdefs.h <<\EOF
4104 #define HAVE_LOG10L 1
4107 cat >> confdefs.h <<\EOF
4111 cat >> confdefs.h <<\EOF
4112 #define HAVE_MODFL 1
4115 cat >> confdefs.h <<\EOF
4119 cat >> confdefs.h <<\EOF
4120 #define HAVE_SINCOSL 1
4123 cat >> confdefs.h <<\EOF
4127 cat >> confdefs.h <<\EOF
4128 #define HAVE_SINHL 1
4131 cat >> confdefs.h <<\EOF
4132 #define HAVE_SQRTL 1
4135 cat >> confdefs.h <<\EOF
4139 cat >> confdefs.h <<\EOF
4140 #define HAVE_TANHL 1
4145 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4146 echo "configure:4147: checking for main in -lm" >&5
4147 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4148 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4149 echo $ac_n "(cached) $ac_c" 1>&6
4151 ac_save_LIBS="$LIBS"
4153 cat > conftest.$ac_ext <<EOF
4154 #line 4155 "configure"
4155 #include "confdefs.h"
4161 if { (eval echo configure:4162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4163 eval "ac_cv_lib_$ac_lib_var=yes"
4165 echo "configure: failed program was:" >&5
4166 cat conftest.$ac_ext >&5
4168 eval "ac_cv_lib_$ac_lib_var=no"
4171 LIBS="$ac_save_LIBS"
4174 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4175 echo "$ac_t""yes" 1>&6
4176 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4177 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4178 cat >> confdefs.h <<EOF
4179 #define $ac_tr_lib 1
4185 echo "$ac_t""no" 1>&6
4188 for ac_func in nan hypot hypotf copysignf
4190 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4191 echo "configure:4192: checking for $ac_func" >&5
4192 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4193 echo $ac_n "(cached) $ac_c" 1>&6
4195 cat > conftest.$ac_ext <<EOF
4196 #line 4197 "configure"
4197 #include "confdefs.h"
4198 /* System header to define __stub macros and hopefully few prototypes,
4199 which can conflict with char $ac_func(); below. */
4201 /* Override any gcc2 internal prototype to avoid an error. */
4202 /* We use char because int might match the return type of a gcc2
4203 builtin and then its argument prototype would still apply. */
4208 /* The GNU C library defines this for functions which it implements
4209 to always fail with ENOSYS. Some functions are actually named
4210 something starting with __ and the normal name is an alias. */
4211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4219 if { (eval echo configure:4220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4221 eval "ac_cv_func_$ac_func=yes"
4223 echo "configure: failed program was:" >&5
4224 cat conftest.$ac_ext >&5
4226 eval "ac_cv_func_$ac_func=no"
4231 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4232 echo "$ac_t""yes" 1>&6
4233 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4234 cat >> confdefs.h <<EOF
4235 #define $ac_tr_func 1
4239 echo "$ac_t""no" 1>&6
4240 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4246 USE_COMPLEX_LONG_DOUBLE=no
4247 if test x$ac_cv_func_atan2l = x"yes" &&
4248 test x$ac_cv_func_copysignl = x"yes"; then
4249 USE_COMPLEX_LONG_DOUBLE=yes
4250 for ac_func in hypotl signbitl
4252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4253 echo "configure:4254: checking for $ac_func" >&5
4254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4255 echo $ac_n "(cached) $ac_c" 1>&6
4257 cat > conftest.$ac_ext <<EOF
4258 #line 4259 "configure"
4259 #include "confdefs.h"
4260 /* System header to define __stub macros and hopefully few prototypes,
4261 which can conflict with char $ac_func(); below. */
4263 /* Override any gcc2 internal prototype to avoid an error. */
4264 /* We use char because int might match the return type of a gcc2
4265 builtin and then its argument prototype would still apply. */
4270 /* The GNU C library defines this for functions which it implements
4271 to always fail with ENOSYS. Some functions are actually named
4272 something starting with __ and the normal name is an alias. */
4273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4281 if { (eval echo configure:4282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4283 eval "ac_cv_func_$ac_func=yes"
4285 echo "configure: failed program was:" >&5
4286 cat conftest.$ac_ext >&5
4288 eval "ac_cv_func_$ac_func=no"
4293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4294 echo "$ac_t""yes" 1>&6
4295 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4296 cat >> confdefs.h <<EOF
4297 #define $ac_tr_func 1
4301 echo "$ac_t""no" 1>&6
4302 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4313 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4314 echo "configure:4315: checking for mbstate_t" >&5
4315 cat > conftest.$ac_ext <<EOF
4316 #line 4317 "configure"
4317 #include "confdefs.h"
4320 mbstate_t teststate;
4323 if { (eval echo configure:4324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4327 echo "configure: failed program was:" >&5
4328 cat conftest.$ac_ext >&5
4333 echo "$ac_t""$have_mbstate_t" 1>&6
4334 if test x"$have_mbstate_t" = xyes; then
4335 cat >> confdefs.h <<\EOF
4336 #define HAVE_MBSTATE_T 1
4341 for ac_hdr in wchar.h
4343 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4344 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4345 echo "configure:4346: checking for $ac_hdr" >&5
4346 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4347 echo $ac_n "(cached) $ac_c" 1>&6
4349 cat > conftest.$ac_ext <<EOF
4350 #line 4351 "configure"
4351 #include "confdefs.h"
4354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4355 { (eval echo configure:4356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4357 if test -z "$ac_err"; then
4359 eval "ac_cv_header_$ac_safe=yes"
4362 echo "configure: failed program was:" >&5
4363 cat conftest.$ac_ext >&5
4365 eval "ac_cv_header_$ac_safe=no"
4369 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4370 echo "$ac_t""yes" 1>&6
4371 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4372 cat >> confdefs.h <<EOF
4373 #define $ac_tr_hdr 1
4377 echo "$ac_t""no" 1>&6
4382 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4383 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4384 echo "configure:4385: checking for wctype.h" >&5
4385 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4386 echo $ac_n "(cached) $ac_c" 1>&6
4388 cat > conftest.$ac_ext <<EOF
4389 #line 4390 "configure"
4390 #include "confdefs.h"
4393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4394 { (eval echo configure:4395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4395 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4396 if test -z "$ac_err"; then
4398 eval "ac_cv_header_$ac_safe=yes"
4401 echo "configure: failed program was:" >&5
4402 cat conftest.$ac_ext >&5
4404 eval "ac_cv_header_$ac_safe=no"
4408 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4409 echo "$ac_t""yes" 1>&6
4412 echo "$ac_t""no" 1>&6
4417 if test x"$ac_has_wchar_h" = xyes &&
4418 test x"$ac_has_wctype_h" = xyes &&
4419 test x"$enable_c_mbchar" != xno; then
4421 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4422 echo "configure:4423: checking for WCHAR_MIN and WCHAR_MAX" >&5
4423 cat > conftest.$ac_ext <<EOF
4424 #line 4425 "configure"
4425 #include "confdefs.h"
4428 int i = WCHAR_MIN; int j = WCHAR_MAX;
4431 if { (eval echo configure:4432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4433 has_wchar_minmax=yes
4435 echo "configure: failed program was:" >&5
4436 cat conftest.$ac_ext >&5
4441 echo "$ac_t""$has_wchar_minmax" 1>&6
4443 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4444 echo "configure:4445: checking for WEOF" >&5
4445 cat > conftest.$ac_ext <<EOF
4446 #line 4447 "configure"
4447 #include "confdefs.h"
4455 if { (eval echo configure:4456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4459 echo "configure: failed program was:" >&5
4460 cat conftest.$ac_ext >&5
4465 echo "$ac_t""$has_weof" 1>&6
4468 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4471 echo "configure:4472: checking for $ac_func" >&5
4472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4473 echo $ac_n "(cached) $ac_c" 1>&6
4475 cat > conftest.$ac_ext <<EOF
4476 #line 4477 "configure"
4477 #include "confdefs.h"
4478 /* System header to define __stub macros and hopefully few prototypes,
4479 which can conflict with char $ac_func(); below. */
4481 /* Override any gcc2 internal prototype to avoid an error. */
4482 /* We use char because int might match the return type of a gcc2
4483 builtin and then its argument prototype would still apply. */
4488 /* The GNU C library defines this for functions which it implements
4489 to always fail with ENOSYS. Some functions are actually named
4490 something starting with __ and the normal name is an alias. */
4491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4499 if { (eval echo configure:4500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4501 eval "ac_cv_func_$ac_func=yes"
4503 echo "configure: failed program was:" >&5
4504 cat conftest.$ac_ext >&5
4506 eval "ac_cv_func_$ac_func=no"
4511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4512 echo "$ac_t""yes" 1>&6
4513 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4514 cat >> confdefs.h <<EOF
4515 #define $ac_tr_func 1
4519 echo "$ac_t""no" 1>&6
4526 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4527 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4528 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4529 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4530 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4531 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4534 echo "configure:4535: checking for $ac_func" >&5
4535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4536 echo $ac_n "(cached) $ac_c" 1>&6
4538 cat > conftest.$ac_ext <<EOF
4539 #line 4540 "configure"
4540 #include "confdefs.h"
4541 /* System header to define __stub macros and hopefully few prototypes,
4542 which can conflict with char $ac_func(); below. */
4544 /* Override any gcc2 internal prototype to avoid an error. */
4545 /* We use char because int might match the return type of a gcc2
4546 builtin and then its argument prototype would still apply. */
4551 /* The GNU C library defines this for functions which it implements
4552 to always fail with ENOSYS. Some functions are actually named
4553 something starting with __ and the normal name is an alias. */
4554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4562 if { (eval echo configure:4563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4564 eval "ac_cv_func_$ac_func=yes"
4566 echo "configure: failed program was:" >&5
4567 cat conftest.$ac_ext >&5
4569 eval "ac_cv_func_$ac_func=no"
4574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4575 echo "$ac_t""yes" 1>&6
4576 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4577 cat >> confdefs.h <<EOF
4578 #define $ac_tr_func 1
4582 echo "$ac_t""no" 1>&6
4589 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4590 echo "configure:4591: checking for ISO C99 wchar_t support" >&5
4591 if test x"$has_weof" = xyes &&
4592 test x"$has_wchar_minmax" = xyes &&
4593 test x"$ac_wfuncs" = xyes; then
4594 ac_isoC99_wchar_t=yes
4596 ac_isoC99_wchar_t=no
4598 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4600 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4601 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4602 echo "configure:4603: checking for iconv.h" >&5
4603 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4604 echo $ac_n "(cached) $ac_c" 1>&6
4606 cat > conftest.$ac_ext <<EOF
4607 #line 4608 "configure"
4608 #include "confdefs.h"
4611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4612 { (eval echo configure:4613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4614 if test -z "$ac_err"; then
4616 eval "ac_cv_header_$ac_safe=yes"
4619 echo "configure: failed program was:" >&5
4620 cat conftest.$ac_ext >&5
4622 eval "ac_cv_header_$ac_safe=no"
4626 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4627 echo "$ac_t""yes" 1>&6
4630 echo "$ac_t""no" 1>&6
4634 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4635 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4636 echo "configure:4637: checking for langinfo.h" >&5
4637 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4638 echo $ac_n "(cached) $ac_c" 1>&6
4640 cat > conftest.$ac_ext <<EOF
4641 #line 4642 "configure"
4642 #include "confdefs.h"
4643 #include <langinfo.h>
4645 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4646 { (eval echo configure:4647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4647 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4648 if test -z "$ac_err"; then
4650 eval "ac_cv_header_$ac_safe=yes"
4653 echo "configure: failed program was:" >&5
4654 cat conftest.$ac_ext >&5
4656 eval "ac_cv_header_$ac_safe=no"
4660 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4661 echo "$ac_t""yes" 1>&6
4662 ac_has_langinfo_h=yes
4664 echo "$ac_t""no" 1>&6
4665 ac_has_langinfo_h=no
4669 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4670 echo "configure:4671: checking for iconv in -liconv" >&5
4671 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4672 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4673 echo $ac_n "(cached) $ac_c" 1>&6
4675 ac_save_LIBS="$LIBS"
4676 LIBS="-liconv $LIBS"
4677 cat > conftest.$ac_ext <<EOF
4678 #line 4679 "configure"
4679 #include "confdefs.h"
4680 /* Override any gcc2 internal prototype to avoid an error. */
4681 /* We use char because int might match the return type of a gcc2
4682 builtin and then its argument prototype would still apply. */
4689 if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4691 eval "ac_cv_lib_$ac_lib_var=yes"
4693 echo "configure: failed program was:" >&5
4694 cat conftest.$ac_ext >&5
4696 eval "ac_cv_lib_$ac_lib_var=no"
4699 LIBS="$ac_save_LIBS"
4702 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4703 echo "$ac_t""yes" 1>&6
4706 echo "$ac_t""no" 1>&6
4709 ac_save_LIBS="$LIBS"
4710 LIBS="$LIBS $libiconv"
4712 for ac_func in iconv_open iconv_close iconv nl_langinfo
4714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4715 echo "configure:4716: checking for $ac_func" >&5
4716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4717 echo $ac_n "(cached) $ac_c" 1>&6
4719 cat > conftest.$ac_ext <<EOF
4720 #line 4721 "configure"
4721 #include "confdefs.h"
4722 /* System header to define __stub macros and hopefully few prototypes,
4723 which can conflict with char $ac_func(); below. */
4725 /* Override any gcc2 internal prototype to avoid an error. */
4726 /* We use char because int might match the return type of a gcc2
4727 builtin and then its argument prototype would still apply. */
4732 /* The GNU C library defines this for functions which it implements
4733 to always fail with ENOSYS. Some functions are actually named
4734 something starting with __ and the normal name is an alias. */
4735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4743 if { (eval echo configure:4744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4745 eval "ac_cv_func_$ac_func=yes"
4747 echo "configure: failed program was:" >&5
4748 cat conftest.$ac_ext >&5
4750 eval "ac_cv_func_$ac_func=no"
4755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4756 echo "$ac_t""yes" 1>&6
4757 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4758 cat >> confdefs.h <<EOF
4759 #define $ac_tr_func 1
4764 echo "$ac_t""no" 1>&6
4770 LIBS="$ac_save_LIBS"
4772 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4773 echo "configure:4774: checking for XPG2 wchar_t support" >&5
4774 if test x"$ac_has_iconv_h" = xyes &&
4775 test x"$ac_has_langinfo_h" = xyes &&
4776 test x"$ac_XPG2funcs" = xyes; then
4781 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4783 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4784 echo "configure:4785: checking for enabled wchar_t specializations" >&5
4785 if test x"$ac_isoC99_wchar_t" = xyes &&
4786 test x"$ac_XPG2_wchar_t" = xyes; then
4787 cat >> confdefs.h <<\EOF
4788 #define _GLIBCPP_USE_WCHAR_T 1
4791 echo "$ac_t"""yes"" 1>&6
4793 echo "$ac_t"""no"" 1>&6
4796 echo "configure: warning: wchar_t support disabled." 1>&2
4799 os_include_dir="config/os/gnu-linux"
4800 # GLIBCPP_CHECK_STDLIB_SUPPORT
4801 cat >> confdefs.h <<\EOF
4802 #define HAVE_STRTOF 1
4805 cat >> confdefs.h <<\EOF
4806 #define HAVE_STRTOLD 1
4810 cat >> confdefs.h <<\EOF
4816 # We assume newlib. This lets us hard-code the functions we know
4818 cat >> confdefs.h <<\EOF
4819 #define HAVE_FINITE 1
4822 cat >> confdefs.h <<\EOF
4823 #define HAVE_ISNAN 1
4826 cat >> confdefs.h <<\EOF
4827 #define HAVE_ISNANF 1
4830 cat >> confdefs.h <<\EOF
4831 #define HAVE_ISINF 1
4834 cat >> confdefs.h <<\EOF
4835 #define HAVE_ISINFF 1
4839 os_include_dir="config/os/newlib"
4841 # need to check for faster f versions of math functions, ie sinf?
4846 # We are being configured natively. We can do more elaborate tests
4847 # that include AC_TRY_COMPILE now, as the linker is assumed to be
4849 GLIBCPP_IS_CROSS_COMPILING=0
4852 # Check for available headers.
4853 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
4854 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
4856 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4857 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4858 echo "configure:4859: checking for $ac_hdr" >&5
4859 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4860 echo $ac_n "(cached) $ac_c" 1>&6
4862 cat > conftest.$ac_ext <<EOF
4863 #line 4864 "configure"
4864 #include "confdefs.h"
4867 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4868 { (eval echo configure:4869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4869 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4870 if test -z "$ac_err"; then
4872 eval "ac_cv_header_$ac_safe=yes"
4875 echo "configure: failed program was:" >&5
4876 cat conftest.$ac_ext >&5
4878 eval "ac_cv_header_$ac_safe=no"
4882 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4883 echo "$ac_t""yes" 1>&6
4884 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4885 cat >> confdefs.h <<EOF
4886 #define $ac_tr_hdr 1
4890 echo "$ac_t""no" 1>&6
4896 # All these tests are for C++; save the language and the compiler flags.
4897 # The CXXFLAGS thing is suspicious, but based on similar bits previously
4898 # found in GLIBCPP_CONFIGURE.
4901 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4902 ac_cpp='$CXXCPP $CPPFLAGS'
4903 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4904 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4905 cross_compiling=$ac_cv_prog_cxx_cross
4907 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4908 ac_save_CXXFLAGS="$CXXFLAGS"
4910 # Check for maintainer-mode bits.
4911 if test x"$USE_MAINTAINER_MODE" = xno; then
4917 # Check for -ffunction-sections -fdata-sections
4918 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
4919 echo "configure:4920: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
4920 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
4921 cat > conftest.$ac_ext <<EOF
4922 #line 4923 "configure"
4923 #include "confdefs.h"
4930 if { (eval echo configure:4931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4934 echo "configure: failed program was:" >&5
4935 cat conftest.$ac_ext >&5
4940 if test "$ac_test_CXXFLAGS" = set; then
4941 CXXFLAGS="$ac_save_CXXFLAGS"
4943 # this is the suspicious part
4946 if test x"$ac_fdsections" = x"yes" &&
4947 test x"$enable_debug" = x"no"; then
4948 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4950 echo "$ac_t""$ac_fdsections" 1>&6
4953 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4954 ac_cpp='$CPP $CPPFLAGS'
4955 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4956 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4957 cross_compiling=$ac_cv_prog_cc_cross
4963 # If we're not using GNU ld, then there's no point in even trying these
4964 # tests. Check for that first. We should have already tested for gld
4965 # by now (in libtool), but require it now just to be safe...
4970 # Set --gc-sections.
4971 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4972 # GNU ld it is! Joy and bunny rabbits!
4974 # All these tests are for C++; save the language and the compiler flags.
4975 # Need to do this so that g++ won't try to link in libstdc++
4976 ac_test_CFLAGS="${CFLAGS+set}"
4977 ac_save_CFLAGS="$CFLAGS"
4978 CFLAGS='-x c++ -Wl,--gc-sections'
4980 # Check for -Wl,--gc-sections
4981 # XXX This test is broken at the moment, as symbols required for
4982 # linking are now in libsupc++ (not built yet.....). In addition,
4983 # this test has cored on solaris in the past. In addition,
4984 # --gc-sections doesn't really work at the moment (keeps on discarding
4985 # used sections, first .eh_frame and now some of the glibc sections for
4986 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4987 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4988 echo "configure:4989: checking for ld that supports -Wl,--gc-sections" >&5
4989 if test "$cross_compiling" = yes; then
4990 ac_sectionLDflags=yes
4992 cat > conftest.$ac_ext <<EOF
4993 #line 4994 "configure"
4994 #include "confdefs.h"
5004 if { (eval echo configure:5005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5006 ac_sectionLDflags=yes
5008 echo "configure: failed program was:" >&5
5009 cat conftest.$ac_ext >&5
5011 ac_sectionLFflags=no
5016 if test "$ac_test_CFLAGS" = set; then
5017 CFLAGS="$ac_save_CFLAGS"
5019 # this is the suspicious part
5022 if test "$ac_sectionLDflags" = "yes"; then
5023 SECTION_LDFLAGS='-Wl,--gc-sections'
5025 echo "$ac_t""$ac_sectionLDflags" 1>&6
5028 # Set linker optimization flags.
5029 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
5030 test x"$enable_debug" = x"no"; then
5031 OPT_LDFLAGS='-Wl,-O1'
5039 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
5040 echo "configure:5041: checking for __builtin_abs declaration" >&5
5041 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
5042 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5043 echo $ac_n "(cached) $ac_c" 1>&6
5048 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5049 ac_cpp='$CXXCPP $CPPFLAGS'
5050 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5051 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5052 cross_compiling=$ac_cv_prog_cxx_cross
5054 cat > conftest.$ac_ext <<EOF
5055 #line 5056 "configure"
5056 #include "confdefs.h"
5062 if { (eval echo configure:5063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5064 glibcpp_cv_func___builtin_abs_use=yes
5066 echo "configure: failed program was:" >&5
5067 cat conftest.$ac_ext >&5
5069 glibcpp_cv_func___builtin_abs_use=no
5073 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5074 ac_cpp='$CPP $CPPFLAGS'
5075 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5076 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5077 cross_compiling=$ac_cv_prog_cc_cross
5083 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5084 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
5085 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
5086 echo "configure:5087: checking for __builtin_abs linkage" >&5
5087 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
5088 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5089 echo $ac_n "(cached) $ac_c" 1>&6
5092 cat > conftest.$ac_ext <<EOF
5093 #line 5094 "configure"
5094 #include "confdefs.h"
5100 if { (eval echo configure:5101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5102 glibcpp_cv_func___builtin_abs_link=yes
5104 echo "configure: failed program was:" >&5
5105 cat conftest.$ac_ext >&5
5107 glibcpp_cv_func___builtin_abs_link=no
5114 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5115 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
5116 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5117 cat >> confdefs.h <<EOF
5118 #define ${ac_tr_func} 1
5125 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
5126 echo "configure:5127: checking for __builtin_fabsf declaration" >&5
5127 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
5128 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5129 echo $ac_n "(cached) $ac_c" 1>&6
5134 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5135 ac_cpp='$CXXCPP $CPPFLAGS'
5136 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5137 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5138 cross_compiling=$ac_cv_prog_cxx_cross
5140 cat > conftest.$ac_ext <<EOF
5141 #line 5142 "configure"
5142 #include "confdefs.h"
5148 if { (eval echo configure:5149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5150 glibcpp_cv_func___builtin_fabsf_use=yes
5152 echo "configure: failed program was:" >&5
5153 cat conftest.$ac_ext >&5
5155 glibcpp_cv_func___builtin_fabsf_use=no
5159 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5160 ac_cpp='$CPP $CPPFLAGS'
5161 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5162 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5163 cross_compiling=$ac_cv_prog_cc_cross
5169 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5170 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
5171 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
5172 echo "configure:5173: checking for __builtin_fabsf linkage" >&5
5173 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
5174 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5175 echo $ac_n "(cached) $ac_c" 1>&6
5178 cat > conftest.$ac_ext <<EOF
5179 #line 5180 "configure"
5180 #include "confdefs.h"
5186 if { (eval echo configure:5187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5188 glibcpp_cv_func___builtin_fabsf_link=yes
5190 echo "configure: failed program was:" >&5
5191 cat conftest.$ac_ext >&5
5193 glibcpp_cv_func___builtin_fabsf_link=no
5200 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5201 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
5202 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5203 cat >> confdefs.h <<EOF
5204 #define ${ac_tr_func} 1
5211 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
5212 echo "configure:5213: checking for __builtin_fabs declaration" >&5
5213 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
5214 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5215 echo $ac_n "(cached) $ac_c" 1>&6
5220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5221 ac_cpp='$CXXCPP $CPPFLAGS'
5222 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5223 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5224 cross_compiling=$ac_cv_prog_cxx_cross
5226 cat > conftest.$ac_ext <<EOF
5227 #line 5228 "configure"
5228 #include "confdefs.h"
5234 if { (eval echo configure:5235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5236 glibcpp_cv_func___builtin_fabs_use=yes
5238 echo "configure: failed program was:" >&5
5239 cat conftest.$ac_ext >&5
5241 glibcpp_cv_func___builtin_fabs_use=no
5245 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5246 ac_cpp='$CPP $CPPFLAGS'
5247 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5248 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5249 cross_compiling=$ac_cv_prog_cc_cross
5255 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5256 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
5257 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
5258 echo "configure:5259: checking for __builtin_fabs linkage" >&5
5259 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
5260 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5261 echo $ac_n "(cached) $ac_c" 1>&6
5264 cat > conftest.$ac_ext <<EOF
5265 #line 5266 "configure"
5266 #include "confdefs.h"
5272 if { (eval echo configure:5273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5274 glibcpp_cv_func___builtin_fabs_link=yes
5276 echo "configure: failed program was:" >&5
5277 cat conftest.$ac_ext >&5
5279 glibcpp_cv_func___builtin_fabs_link=no
5286 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5287 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
5288 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5289 cat >> confdefs.h <<EOF
5290 #define ${ac_tr_func} 1
5297 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
5298 echo "configure:5299: checking for __builtin_fabsl declaration" >&5
5299 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
5300 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5301 echo $ac_n "(cached) $ac_c" 1>&6
5306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5307 ac_cpp='$CXXCPP $CPPFLAGS'
5308 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5309 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5310 cross_compiling=$ac_cv_prog_cxx_cross
5312 cat > conftest.$ac_ext <<EOF
5313 #line 5314 "configure"
5314 #include "confdefs.h"
5320 if { (eval echo configure:5321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5322 glibcpp_cv_func___builtin_fabsl_use=yes
5324 echo "configure: failed program was:" >&5
5325 cat conftest.$ac_ext >&5
5327 glibcpp_cv_func___builtin_fabsl_use=no
5331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5332 ac_cpp='$CPP $CPPFLAGS'
5333 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5334 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5335 cross_compiling=$ac_cv_prog_cc_cross
5341 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5342 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
5343 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
5344 echo "configure:5345: checking for __builtin_fabsl linkage" >&5
5345 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
5346 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5347 echo $ac_n "(cached) $ac_c" 1>&6
5350 cat > conftest.$ac_ext <<EOF
5351 #line 5352 "configure"
5352 #include "confdefs.h"
5358 if { (eval echo configure:5359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5360 glibcpp_cv_func___builtin_fabsl_link=yes
5362 echo "configure: failed program was:" >&5
5363 cat conftest.$ac_ext >&5
5365 glibcpp_cv_func___builtin_fabsl_link=no
5372 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5373 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
5374 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5375 cat >> confdefs.h <<EOF
5376 #define ${ac_tr_func} 1
5383 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
5384 echo "configure:5385: checking for __builtin_labs declaration" >&5
5385 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
5386 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5387 echo $ac_n "(cached) $ac_c" 1>&6
5392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5393 ac_cpp='$CXXCPP $CPPFLAGS'
5394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5396 cross_compiling=$ac_cv_prog_cxx_cross
5398 cat > conftest.$ac_ext <<EOF
5399 #line 5400 "configure"
5400 #include "confdefs.h"
5406 if { (eval echo configure:5407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5408 glibcpp_cv_func___builtin_labs_use=yes
5410 echo "configure: failed program was:" >&5
5411 cat conftest.$ac_ext >&5
5413 glibcpp_cv_func___builtin_labs_use=no
5417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5418 ac_cpp='$CPP $CPPFLAGS'
5419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5421 cross_compiling=$ac_cv_prog_cc_cross
5427 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5428 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5429 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5430 echo "configure:5431: checking for __builtin_labs linkage" >&5
5431 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5432 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5433 echo $ac_n "(cached) $ac_c" 1>&6
5436 cat > conftest.$ac_ext <<EOF
5437 #line 5438 "configure"
5438 #include "confdefs.h"
5444 if { (eval echo configure:5445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5446 glibcpp_cv_func___builtin_labs_link=yes
5448 echo "configure: failed program was:" >&5
5449 cat conftest.$ac_ext >&5
5451 glibcpp_cv_func___builtin_labs_link=no
5458 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5459 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5460 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5461 cat >> confdefs.h <<EOF
5462 #define ${ac_tr_func} 1
5470 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5471 echo "configure:5472: checking for __builtin_sqrtf declaration" >&5
5472 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5473 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5474 echo $ac_n "(cached) $ac_c" 1>&6
5479 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5480 ac_cpp='$CXXCPP $CPPFLAGS'
5481 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5482 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5483 cross_compiling=$ac_cv_prog_cxx_cross
5485 cat > conftest.$ac_ext <<EOF
5486 #line 5487 "configure"
5487 #include "confdefs.h"
5493 if { (eval echo configure:5494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5495 glibcpp_cv_func___builtin_sqrtf_use=yes
5497 echo "configure: failed program was:" >&5
5498 cat conftest.$ac_ext >&5
5500 glibcpp_cv_func___builtin_sqrtf_use=no
5504 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5505 ac_cpp='$CPP $CPPFLAGS'
5506 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5507 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5508 cross_compiling=$ac_cv_prog_cc_cross
5514 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5515 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5516 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5517 echo "configure:5518: checking for __builtin_sqrtf linkage" >&5
5518 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5519 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5520 echo $ac_n "(cached) $ac_c" 1>&6
5523 cat > conftest.$ac_ext <<EOF
5524 #line 5525 "configure"
5525 #include "confdefs.h"
5531 if { (eval echo configure:5532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5533 glibcpp_cv_func___builtin_sqrtf_link=yes
5535 echo "configure: failed program was:" >&5
5536 cat conftest.$ac_ext >&5
5538 glibcpp_cv_func___builtin_sqrtf_link=no
5545 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5546 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5547 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5548 cat >> confdefs.h <<EOF
5549 #define ${ac_tr_func} 1
5556 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5557 echo "configure:5558: checking for __builtin_fsqrt declaration" >&5
5558 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5559 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5560 echo $ac_n "(cached) $ac_c" 1>&6
5565 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5566 ac_cpp='$CXXCPP $CPPFLAGS'
5567 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5568 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5569 cross_compiling=$ac_cv_prog_cxx_cross
5571 cat > conftest.$ac_ext <<EOF
5572 #line 5573 "configure"
5573 #include "confdefs.h"
5579 if { (eval echo configure:5580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5581 glibcpp_cv_func___builtin_fsqrt_use=yes
5583 echo "configure: failed program was:" >&5
5584 cat conftest.$ac_ext >&5
5586 glibcpp_cv_func___builtin_fsqrt_use=no
5590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5591 ac_cpp='$CPP $CPPFLAGS'
5592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5594 cross_compiling=$ac_cv_prog_cc_cross
5600 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5601 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5602 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5603 echo "configure:5604: checking for __builtin_fsqrt linkage" >&5
5604 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5605 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5606 echo $ac_n "(cached) $ac_c" 1>&6
5609 cat > conftest.$ac_ext <<EOF
5610 #line 5611 "configure"
5611 #include "confdefs.h"
5617 if { (eval echo configure:5618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5619 glibcpp_cv_func___builtin_fsqrt_link=yes
5621 echo "configure: failed program was:" >&5
5622 cat conftest.$ac_ext >&5
5624 glibcpp_cv_func___builtin_fsqrt_link=no
5631 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5632 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5633 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5634 cat >> confdefs.h <<EOF
5635 #define ${ac_tr_func} 1
5642 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5643 echo "configure:5644: checking for __builtin_sqrtl declaration" >&5
5644 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5645 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5646 echo $ac_n "(cached) $ac_c" 1>&6
5651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5652 ac_cpp='$CXXCPP $CPPFLAGS'
5653 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5654 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5655 cross_compiling=$ac_cv_prog_cxx_cross
5657 cat > conftest.$ac_ext <<EOF
5658 #line 5659 "configure"
5659 #include "confdefs.h"
5665 if { (eval echo configure:5666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5667 glibcpp_cv_func___builtin_sqrtl_use=yes
5669 echo "configure: failed program was:" >&5
5670 cat conftest.$ac_ext >&5
5672 glibcpp_cv_func___builtin_sqrtl_use=no
5676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5677 ac_cpp='$CPP $CPPFLAGS'
5678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5680 cross_compiling=$ac_cv_prog_cc_cross
5686 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5687 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5688 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5689 echo "configure:5690: checking for __builtin_sqrtl linkage" >&5
5690 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5691 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5692 echo $ac_n "(cached) $ac_c" 1>&6
5695 cat > conftest.$ac_ext <<EOF
5696 #line 5697 "configure"
5697 #include "confdefs.h"
5703 if { (eval echo configure:5704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5705 glibcpp_cv_func___builtin_sqrtl_link=yes
5707 echo "configure: failed program was:" >&5
5708 cat conftest.$ac_ext >&5
5710 glibcpp_cv_func___builtin_sqrtl_link=no
5717 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5718 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5719 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5720 cat >> confdefs.h <<EOF
5721 #define ${ac_tr_func} 1
5729 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5730 echo "configure:5731: checking for __builtin_sinf declaration" >&5
5731 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5732 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5733 echo $ac_n "(cached) $ac_c" 1>&6
5738 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5739 ac_cpp='$CXXCPP $CPPFLAGS'
5740 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5741 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5742 cross_compiling=$ac_cv_prog_cxx_cross
5744 cat > conftest.$ac_ext <<EOF
5745 #line 5746 "configure"
5746 #include "confdefs.h"
5752 if { (eval echo configure:5753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5754 glibcpp_cv_func___builtin_sinf_use=yes
5756 echo "configure: failed program was:" >&5
5757 cat conftest.$ac_ext >&5
5759 glibcpp_cv_func___builtin_sinf_use=no
5763 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5764 ac_cpp='$CPP $CPPFLAGS'
5765 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5766 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5767 cross_compiling=$ac_cv_prog_cc_cross
5773 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5774 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5775 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5776 echo "configure:5777: checking for __builtin_sinf linkage" >&5
5777 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5778 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5779 echo $ac_n "(cached) $ac_c" 1>&6
5782 cat > conftest.$ac_ext <<EOF
5783 #line 5784 "configure"
5784 #include "confdefs.h"
5790 if { (eval echo configure:5791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5792 glibcpp_cv_func___builtin_sinf_link=yes
5794 echo "configure: failed program was:" >&5
5795 cat conftest.$ac_ext >&5
5797 glibcpp_cv_func___builtin_sinf_link=no
5804 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5805 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
5806 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5807 cat >> confdefs.h <<EOF
5808 #define ${ac_tr_func} 1
5815 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
5816 echo "configure:5817: checking for __builtin_sin declaration" >&5
5817 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
5818 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5819 echo $ac_n "(cached) $ac_c" 1>&6
5824 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5825 ac_cpp='$CXXCPP $CPPFLAGS'
5826 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5827 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5828 cross_compiling=$ac_cv_prog_cxx_cross
5830 cat > conftest.$ac_ext <<EOF
5831 #line 5832 "configure"
5832 #include "confdefs.h"
5838 if { (eval echo configure:5839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5840 glibcpp_cv_func___builtin_sin_use=yes
5842 echo "configure: failed program was:" >&5
5843 cat conftest.$ac_ext >&5
5845 glibcpp_cv_func___builtin_sin_use=no
5849 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5850 ac_cpp='$CPP $CPPFLAGS'
5851 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5852 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5853 cross_compiling=$ac_cv_prog_cc_cross
5859 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
5860 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
5861 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
5862 echo "configure:5863: checking for __builtin_sin linkage" >&5
5863 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
5864 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
5865 echo $ac_n "(cached) $ac_c" 1>&6
5868 cat > conftest.$ac_ext <<EOF
5869 #line 5870 "configure"
5870 #include "confdefs.h"
5876 if { (eval echo configure:5877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5878 glibcpp_cv_func___builtin_sin_link=yes
5880 echo "configure: failed program was:" >&5
5881 cat conftest.$ac_ext >&5
5883 glibcpp_cv_func___builtin_sin_link=no
5890 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
5891 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
5892 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5893 cat >> confdefs.h <<EOF
5894 #define ${ac_tr_func} 1
5901 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
5902 echo "configure:5903: checking for __builtin_sinl declaration" >&5
5903 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
5904 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
5905 echo $ac_n "(cached) $ac_c" 1>&6
5910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5911 ac_cpp='$CXXCPP $CPPFLAGS'
5912 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5913 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5914 cross_compiling=$ac_cv_prog_cxx_cross
5916 cat > conftest.$ac_ext <<EOF
5917 #line 5918 "configure"
5918 #include "confdefs.h"
5924 if { (eval echo configure:5925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5926 glibcpp_cv_func___builtin_sinl_use=yes
5928 echo "configure: failed program was:" >&5
5929 cat conftest.$ac_ext >&5
5931 glibcpp_cv_func___builtin_sinl_use=no
5935 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5936 ac_cpp='$CPP $CPPFLAGS'
5937 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5938 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5939 cross_compiling=$ac_cv_prog_cc_cross
5945 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
5946 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
5947 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
5948 echo "configure:5949: checking for __builtin_sinl linkage" >&5
5949 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
5950 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
5951 echo $ac_n "(cached) $ac_c" 1>&6
5954 cat > conftest.$ac_ext <<EOF
5955 #line 5956 "configure"
5956 #include "confdefs.h"
5962 if { (eval echo configure:5963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5964 glibcpp_cv_func___builtin_sinl_link=yes
5966 echo "configure: failed program was:" >&5
5967 cat conftest.$ac_ext >&5
5969 glibcpp_cv_func___builtin_sinl_link=no
5976 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
5977 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
5978 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5979 cat >> confdefs.h <<EOF
5980 #define ${ac_tr_func} 1
5988 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
5989 echo "configure:5990: checking for __builtin_cosf declaration" >&5
5990 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
5991 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
5992 echo $ac_n "(cached) $ac_c" 1>&6
5997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5998 ac_cpp='$CXXCPP $CPPFLAGS'
5999 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6000 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6001 cross_compiling=$ac_cv_prog_cxx_cross
6003 cat > conftest.$ac_ext <<EOF
6004 #line 6005 "configure"
6005 #include "confdefs.h"
6011 if { (eval echo configure:6012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6013 glibcpp_cv_func___builtin_cosf_use=yes
6015 echo "configure: failed program was:" >&5
6016 cat conftest.$ac_ext >&5
6018 glibcpp_cv_func___builtin_cosf_use=no
6022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6023 ac_cpp='$CPP $CPPFLAGS'
6024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6026 cross_compiling=$ac_cv_prog_cc_cross
6032 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6033 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
6034 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
6035 echo "configure:6036: checking for __builtin_cosf linkage" >&5
6036 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
6037 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6038 echo $ac_n "(cached) $ac_c" 1>&6
6041 cat > conftest.$ac_ext <<EOF
6042 #line 6043 "configure"
6043 #include "confdefs.h"
6049 if { (eval echo configure:6050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6051 glibcpp_cv_func___builtin_cosf_link=yes
6053 echo "configure: failed program was:" >&5
6054 cat conftest.$ac_ext >&5
6056 glibcpp_cv_func___builtin_cosf_link=no
6063 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6064 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
6065 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6066 cat >> confdefs.h <<EOF
6067 #define ${ac_tr_func} 1
6074 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
6075 echo "configure:6076: checking for __builtin_cos declaration" >&5
6076 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
6077 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6078 echo $ac_n "(cached) $ac_c" 1>&6
6083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6084 ac_cpp='$CXXCPP $CPPFLAGS'
6085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6087 cross_compiling=$ac_cv_prog_cxx_cross
6089 cat > conftest.$ac_ext <<EOF
6090 #line 6091 "configure"
6091 #include "confdefs.h"
6097 if { (eval echo configure:6098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6099 glibcpp_cv_func___builtin_cos_use=yes
6101 echo "configure: failed program was:" >&5
6102 cat conftest.$ac_ext >&5
6104 glibcpp_cv_func___builtin_cos_use=no
6108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6109 ac_cpp='$CPP $CPPFLAGS'
6110 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6111 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6112 cross_compiling=$ac_cv_prog_cc_cross
6118 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6119 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
6120 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
6121 echo "configure:6122: checking for __builtin_cos linkage" >&5
6122 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
6123 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6124 echo $ac_n "(cached) $ac_c" 1>&6
6127 cat > conftest.$ac_ext <<EOF
6128 #line 6129 "configure"
6129 #include "confdefs.h"
6135 if { (eval echo configure:6136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6137 glibcpp_cv_func___builtin_cos_link=yes
6139 echo "configure: failed program was:" >&5
6140 cat conftest.$ac_ext >&5
6142 glibcpp_cv_func___builtin_cos_link=no
6149 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6150 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
6151 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6152 cat >> confdefs.h <<EOF
6153 #define ${ac_tr_func} 1
6160 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
6161 echo "configure:6162: checking for __builtin_cosl declaration" >&5
6162 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
6163 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6164 echo $ac_n "(cached) $ac_c" 1>&6
6169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6170 ac_cpp='$CXXCPP $CPPFLAGS'
6171 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6172 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6173 cross_compiling=$ac_cv_prog_cxx_cross
6175 cat > conftest.$ac_ext <<EOF
6176 #line 6177 "configure"
6177 #include "confdefs.h"
6183 if { (eval echo configure:6184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6185 glibcpp_cv_func___builtin_cosl_use=yes
6187 echo "configure: failed program was:" >&5
6188 cat conftest.$ac_ext >&5
6190 glibcpp_cv_func___builtin_cosl_use=no
6194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6195 ac_cpp='$CPP $CPPFLAGS'
6196 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6197 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6198 cross_compiling=$ac_cv_prog_cc_cross
6204 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6205 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
6206 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
6207 echo "configure:6208: checking for __builtin_cosl linkage" >&5
6208 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
6209 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6210 echo $ac_n "(cached) $ac_c" 1>&6
6213 cat > conftest.$ac_ext <<EOF
6214 #line 6215 "configure"
6215 #include "confdefs.h"
6221 if { (eval echo configure:6222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6223 glibcpp_cv_func___builtin_cosl_link=yes
6225 echo "configure: failed program was:" >&5
6226 cat conftest.$ac_ext >&5
6228 glibcpp_cv_func___builtin_cosl_link=no
6235 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6236 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
6237 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6238 cat >> confdefs.h <<EOF
6239 #define ${ac_tr_func} 1
6247 if test x$dummyvar = x"yes"; then
6248 cat >> confdefs.h <<\EOF
6249 #define HAVE___BUILTIN_ABS 1
6252 cat >> confdefs.h <<\EOF
6253 #define HAVE___BUILTIN_LABS 1
6256 cat >> confdefs.h <<\EOF
6257 #define HAVE___BUILTIN_COS 1
6260 cat >> confdefs.h <<\EOF
6261 #define HAVE___BUILTIN_COSF 1
6264 cat >> confdefs.h <<\EOF
6265 #define HAVE___BUILTIN_COSL 1
6268 cat >> confdefs.h <<\EOF
6269 #define HAVE___BUILTIN_FABS 1
6272 cat >> confdefs.h <<\EOF
6273 #define HAVE___BUILTIN_FABSF 1
6276 cat >> confdefs.h <<\EOF
6277 #define HAVE___BUILTIN_FABSL 1
6280 cat >> confdefs.h <<\EOF
6281 #define HAVE___BUILTIN_SIN 1
6284 cat >> confdefs.h <<\EOF
6285 #define HAVE___BUILTIN_SINF 1
6288 cat >> confdefs.h <<\EOF
6289 #define HAVE___BUILTIN_SINL 1
6292 cat >> confdefs.h <<\EOF
6293 #define HAVE___BUILTIN_FSQRT 1
6296 cat >> confdefs.h <<\EOF
6297 #define HAVE___BUILTIN_SQRTF 1
6300 cat >> confdefs.h <<\EOF
6301 #define HAVE___BUILTIN_SQRTL 1
6307 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6308 ac_save_CXXFLAGS="$CXXFLAGS"
6309 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
6311 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
6312 echo "configure:6313: checking for sin in -lm" >&5
6313 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
6314 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6315 echo $ac_n "(cached) $ac_c" 1>&6
6317 ac_save_LIBS="$LIBS"
6319 cat > conftest.$ac_ext <<EOF
6320 #line 6321 "configure"
6321 #include "confdefs.h"
6322 /* Override any gcc2 internal prototype to avoid an error. */
6323 /* We use char because int might match the return type of a gcc2
6324 builtin and then its argument prototype would still apply. */
6331 if { (eval echo configure:6332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6333 eval "ac_cv_lib_$ac_lib_var=yes"
6335 echo "configure: failed program was:" >&5
6336 cat conftest.$ac_ext >&5
6338 eval "ac_cv_lib_$ac_lib_var=no"
6341 LIBS="$ac_save_LIBS"
6344 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6345 echo "$ac_t""yes" 1>&6
6348 echo "$ac_t""no" 1>&6
6351 ac_save_LIBS="$LIBS"
6356 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
6357 echo "configure:6358: checking for isinf declaration" >&5
6358 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
6359 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6360 echo $ac_n "(cached) $ac_c" 1>&6
6365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6366 ac_cpp='$CXXCPP $CPPFLAGS'
6367 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6368 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6369 cross_compiling=$ac_cv_prog_cxx_cross
6371 cat > conftest.$ac_ext <<EOF
6372 #line 6373 "configure"
6373 #include "confdefs.h"
6375 #ifdef HAVE_IEEEFP_H
6383 if { (eval echo configure:6384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6385 glibcpp_cv_func_isinf_use=yes
6387 echo "configure: failed program was:" >&5
6388 cat conftest.$ac_ext >&5
6390 glibcpp_cv_func_isinf_use=no
6394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6395 ac_cpp='$CPP $CPPFLAGS'
6396 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6397 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6398 cross_compiling=$ac_cv_prog_cc_cross
6404 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6406 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
6407 for ac_func in isinf
6409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6410 echo "configure:6411: checking for $ac_func" >&5
6411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6412 echo $ac_n "(cached) $ac_c" 1>&6
6414 cat > conftest.$ac_ext <<EOF
6415 #line 6416 "configure"
6416 #include "confdefs.h"
6417 /* System header to define __stub macros and hopefully few prototypes,
6418 which can conflict with char $ac_func(); below. */
6420 /* Override any gcc2 internal prototype to avoid an error. */
6421 /* We use char because int might match the return type of a gcc2
6422 builtin and then its argument prototype would still apply. */
6427 /* The GNU C library defines this for functions which it implements
6428 to always fail with ENOSYS. Some functions are actually named
6429 something starting with __ and the normal name is an alias. */
6430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6438 if { (eval echo configure:6439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6440 eval "ac_cv_func_$ac_func=yes"
6442 echo "configure: failed program was:" >&5
6443 cat conftest.$ac_ext >&5
6445 eval "ac_cv_func_$ac_func=no"
6450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6451 echo "$ac_t""yes" 1>&6
6452 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6453 cat >> confdefs.h <<EOF
6454 #define $ac_tr_func 1
6458 echo "$ac_t""no" 1>&6
6464 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6465 echo "configure:6466: checking for _isinf declaration" >&5
6466 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6467 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6468 echo $ac_n "(cached) $ac_c" 1>&6
6473 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6474 ac_cpp='$CXXCPP $CPPFLAGS'
6475 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6476 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6477 cross_compiling=$ac_cv_prog_cxx_cross
6479 cat > conftest.$ac_ext <<EOF
6480 #line 6481 "configure"
6481 #include "confdefs.h"
6483 #ifdef HAVE_IEEEFP_H
6491 if { (eval echo configure:6492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6493 glibcpp_cv_func__isinf_use=yes
6495 echo "configure: failed program was:" >&5
6496 cat conftest.$ac_ext >&5
6498 glibcpp_cv_func__isinf_use=no
6502 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6503 ac_cpp='$CPP $CPPFLAGS'
6504 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6505 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6506 cross_compiling=$ac_cv_prog_cc_cross
6512 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6514 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6515 for ac_func in _isinf
6517 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6518 echo "configure:6519: checking for $ac_func" >&5
6519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6520 echo $ac_n "(cached) $ac_c" 1>&6
6522 cat > conftest.$ac_ext <<EOF
6523 #line 6524 "configure"
6524 #include "confdefs.h"
6525 /* System header to define __stub macros and hopefully few prototypes,
6526 which can conflict with char $ac_func(); below. */
6528 /* Override any gcc2 internal prototype to avoid an error. */
6529 /* We use char because int might match the return type of a gcc2
6530 builtin and then its argument prototype would still apply. */
6535 /* The GNU C library defines this for functions which it implements
6536 to always fail with ENOSYS. Some functions are actually named
6537 something starting with __ and the normal name is an alias. */
6538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6546 if { (eval echo configure:6547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6548 eval "ac_cv_func_$ac_func=yes"
6550 echo "configure: failed program was:" >&5
6551 cat conftest.$ac_ext >&5
6553 eval "ac_cv_func_$ac_func=no"
6558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6559 echo "$ac_t""yes" 1>&6
6560 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6561 cat >> confdefs.h <<EOF
6562 #define $ac_tr_func 1
6566 echo "$ac_t""no" 1>&6
6575 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6576 echo "configure:6577: checking for isnan declaration" >&5
6577 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6578 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6579 echo $ac_n "(cached) $ac_c" 1>&6
6584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6585 ac_cpp='$CXXCPP $CPPFLAGS'
6586 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6587 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6588 cross_compiling=$ac_cv_prog_cxx_cross
6590 cat > conftest.$ac_ext <<EOF
6591 #line 6592 "configure"
6592 #include "confdefs.h"
6594 #ifdef HAVE_IEEEFP_H
6602 if { (eval echo configure:6603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6604 glibcpp_cv_func_isnan_use=yes
6606 echo "configure: failed program was:" >&5
6607 cat conftest.$ac_ext >&5
6609 glibcpp_cv_func_isnan_use=no
6613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6614 ac_cpp='$CPP $CPPFLAGS'
6615 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6616 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6617 cross_compiling=$ac_cv_prog_cc_cross
6623 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6625 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6626 for ac_func in isnan
6628 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6629 echo "configure:6630: checking for $ac_func" >&5
6630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6631 echo $ac_n "(cached) $ac_c" 1>&6
6633 cat > conftest.$ac_ext <<EOF
6634 #line 6635 "configure"
6635 #include "confdefs.h"
6636 /* System header to define __stub macros and hopefully few prototypes,
6637 which can conflict with char $ac_func(); below. */
6639 /* Override any gcc2 internal prototype to avoid an error. */
6640 /* We use char because int might match the return type of a gcc2
6641 builtin and then its argument prototype would still apply. */
6646 /* The GNU C library defines this for functions which it implements
6647 to always fail with ENOSYS. Some functions are actually named
6648 something starting with __ and the normal name is an alias. */
6649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6657 if { (eval echo configure:6658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6659 eval "ac_cv_func_$ac_func=yes"
6661 echo "configure: failed program was:" >&5
6662 cat conftest.$ac_ext >&5
6664 eval "ac_cv_func_$ac_func=no"
6669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6670 echo "$ac_t""yes" 1>&6
6671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6672 cat >> confdefs.h <<EOF
6673 #define $ac_tr_func 1
6677 echo "$ac_t""no" 1>&6
6683 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6684 echo "configure:6685: checking for _isnan declaration" >&5
6685 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6686 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6687 echo $ac_n "(cached) $ac_c" 1>&6
6692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6693 ac_cpp='$CXXCPP $CPPFLAGS'
6694 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6695 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6696 cross_compiling=$ac_cv_prog_cxx_cross
6698 cat > conftest.$ac_ext <<EOF
6699 #line 6700 "configure"
6700 #include "confdefs.h"
6702 #ifdef HAVE_IEEEFP_H
6710 if { (eval echo configure:6711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6712 glibcpp_cv_func__isnan_use=yes
6714 echo "configure: failed program was:" >&5
6715 cat conftest.$ac_ext >&5
6717 glibcpp_cv_func__isnan_use=no
6721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6722 ac_cpp='$CPP $CPPFLAGS'
6723 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6724 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6725 cross_compiling=$ac_cv_prog_cc_cross
6731 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6733 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
6734 for ac_func in _isnan
6736 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6737 echo "configure:6738: checking for $ac_func" >&5
6738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6739 echo $ac_n "(cached) $ac_c" 1>&6
6741 cat > conftest.$ac_ext <<EOF
6742 #line 6743 "configure"
6743 #include "confdefs.h"
6744 /* System header to define __stub macros and hopefully few prototypes,
6745 which can conflict with char $ac_func(); below. */
6747 /* Override any gcc2 internal prototype to avoid an error. */
6748 /* We use char because int might match the return type of a gcc2
6749 builtin and then its argument prototype would still apply. */
6754 /* The GNU C library defines this for functions which it implements
6755 to always fail with ENOSYS. Some functions are actually named
6756 something starting with __ and the normal name is an alias. */
6757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6765 if { (eval echo configure:6766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6767 eval "ac_cv_func_$ac_func=yes"
6769 echo "configure: failed program was:" >&5
6770 cat conftest.$ac_ext >&5
6772 eval "ac_cv_func_$ac_func=no"
6777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6778 echo "$ac_t""yes" 1>&6
6779 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6780 cat >> confdefs.h <<EOF
6781 #define $ac_tr_func 1
6785 echo "$ac_t""no" 1>&6
6794 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
6795 echo "configure:6796: checking for finite declaration" >&5
6796 if test x${glibcpp_cv_func_finite_use+set} != xset; then
6797 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6798 echo $ac_n "(cached) $ac_c" 1>&6
6803 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6804 ac_cpp='$CXXCPP $CPPFLAGS'
6805 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6806 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6807 cross_compiling=$ac_cv_prog_cxx_cross
6809 cat > conftest.$ac_ext <<EOF
6810 #line 6811 "configure"
6811 #include "confdefs.h"
6813 #ifdef HAVE_IEEEFP_H
6821 if { (eval echo configure:6822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6823 glibcpp_cv_func_finite_use=yes
6825 echo "configure: failed program was:" >&5
6826 cat conftest.$ac_ext >&5
6828 glibcpp_cv_func_finite_use=no
6832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6833 ac_cpp='$CPP $CPPFLAGS'
6834 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6835 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6836 cross_compiling=$ac_cv_prog_cc_cross
6842 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
6844 if test x$glibcpp_cv_func_finite_use = x"yes"; then
6845 for ac_func in finite
6847 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6848 echo "configure:6849: checking for $ac_func" >&5
6849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6850 echo $ac_n "(cached) $ac_c" 1>&6
6852 cat > conftest.$ac_ext <<EOF
6853 #line 6854 "configure"
6854 #include "confdefs.h"
6855 /* System header to define __stub macros and hopefully few prototypes,
6856 which can conflict with char $ac_func(); below. */
6858 /* Override any gcc2 internal prototype to avoid an error. */
6859 /* We use char because int might match the return type of a gcc2
6860 builtin and then its argument prototype would still apply. */
6865 /* The GNU C library defines this for functions which it implements
6866 to always fail with ENOSYS. Some functions are actually named
6867 something starting with __ and the normal name is an alias. */
6868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6876 if { (eval echo configure:6877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6878 eval "ac_cv_func_$ac_func=yes"
6880 echo "configure: failed program was:" >&5
6881 cat conftest.$ac_ext >&5
6883 eval "ac_cv_func_$ac_func=no"
6888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6889 echo "$ac_t""yes" 1>&6
6890 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6891 cat >> confdefs.h <<EOF
6892 #define $ac_tr_func 1
6896 echo "$ac_t""no" 1>&6
6902 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
6903 echo "configure:6904: checking for _finite declaration" >&5
6904 if test x${glibcpp_cv_func__finite_use+set} != xset; then
6905 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
6906 echo $ac_n "(cached) $ac_c" 1>&6
6911 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6912 ac_cpp='$CXXCPP $CPPFLAGS'
6913 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6914 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6915 cross_compiling=$ac_cv_prog_cxx_cross
6917 cat > conftest.$ac_ext <<EOF
6918 #line 6919 "configure"
6919 #include "confdefs.h"
6921 #ifdef HAVE_IEEEFP_H
6929 if { (eval echo configure:6930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6931 glibcpp_cv_func__finite_use=yes
6933 echo "configure: failed program was:" >&5
6934 cat conftest.$ac_ext >&5
6936 glibcpp_cv_func__finite_use=no
6940 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6941 ac_cpp='$CPP $CPPFLAGS'
6942 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6943 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6944 cross_compiling=$ac_cv_prog_cc_cross
6950 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
6952 if test x$glibcpp_cv_func__finite_use = x"yes"; then
6953 for ac_func in _finite
6955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6956 echo "configure:6957: checking for $ac_func" >&5
6957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6958 echo $ac_n "(cached) $ac_c" 1>&6
6960 cat > conftest.$ac_ext <<EOF
6961 #line 6962 "configure"
6962 #include "confdefs.h"
6963 /* System header to define __stub macros and hopefully few prototypes,
6964 which can conflict with char $ac_func(); below. */
6966 /* Override any gcc2 internal prototype to avoid an error. */
6967 /* We use char because int might match the return type of a gcc2
6968 builtin and then its argument prototype would still apply. */
6973 /* The GNU C library defines this for functions which it implements
6974 to always fail with ENOSYS. Some functions are actually named
6975 something starting with __ and the normal name is an alias. */
6976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6984 if { (eval echo configure:6985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6986 eval "ac_cv_func_$ac_func=yes"
6988 echo "configure: failed program was:" >&5
6989 cat conftest.$ac_ext >&5
6991 eval "ac_cv_func_$ac_func=no"
6996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6997 echo "$ac_t""yes" 1>&6
6998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6999 cat >> confdefs.h <<EOF
7000 #define $ac_tr_func 1
7004 echo "$ac_t""no" 1>&6
7013 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
7014 echo "configure:7015: checking for copysign declaration" >&5
7015 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
7016 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7017 echo $ac_n "(cached) $ac_c" 1>&6
7022 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7023 ac_cpp='$CXXCPP $CPPFLAGS'
7024 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7025 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7026 cross_compiling=$ac_cv_prog_cxx_cross
7028 cat > conftest.$ac_ext <<EOF
7029 #line 7030 "configure"
7030 #include "confdefs.h"
7036 if { (eval echo configure:7037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7038 glibcpp_cv_func_copysign_use=yes
7040 echo "configure: failed program was:" >&5
7041 cat conftest.$ac_ext >&5
7043 glibcpp_cv_func_copysign_use=no
7047 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7048 ac_cpp='$CPP $CPPFLAGS'
7049 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7050 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7051 cross_compiling=$ac_cv_prog_cc_cross
7057 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7059 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
7060 for ac_func in copysign
7062 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7063 echo "configure:7064: checking for $ac_func" >&5
7064 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7065 echo $ac_n "(cached) $ac_c" 1>&6
7067 cat > conftest.$ac_ext <<EOF
7068 #line 7069 "configure"
7069 #include "confdefs.h"
7070 /* System header to define __stub macros and hopefully few prototypes,
7071 which can conflict with char $ac_func(); below. */
7073 /* Override any gcc2 internal prototype to avoid an error. */
7074 /* We use char because int might match the return type of a gcc2
7075 builtin and then its argument prototype would still apply. */
7080 /* The GNU C library defines this for functions which it implements
7081 to always fail with ENOSYS. Some functions are actually named
7082 something starting with __ and the normal name is an alias. */
7083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7091 if { (eval echo configure:7092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7093 eval "ac_cv_func_$ac_func=yes"
7095 echo "configure: failed program was:" >&5
7096 cat conftest.$ac_ext >&5
7098 eval "ac_cv_func_$ac_func=no"
7103 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7104 echo "$ac_t""yes" 1>&6
7105 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7106 cat >> confdefs.h <<EOF
7107 #define $ac_tr_func 1
7111 echo "$ac_t""no" 1>&6
7117 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
7118 echo "configure:7119: checking for _copysign declaration" >&5
7119 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
7120 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7121 echo $ac_n "(cached) $ac_c" 1>&6
7126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7127 ac_cpp='$CXXCPP $CPPFLAGS'
7128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7130 cross_compiling=$ac_cv_prog_cxx_cross
7132 cat > conftest.$ac_ext <<EOF
7133 #line 7134 "configure"
7134 #include "confdefs.h"
7140 if { (eval echo configure:7141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7142 glibcpp_cv_func__copysign_use=yes
7144 echo "configure: failed program was:" >&5
7145 cat conftest.$ac_ext >&5
7147 glibcpp_cv_func__copysign_use=no
7151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7152 ac_cpp='$CPP $CPPFLAGS'
7153 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7154 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7155 cross_compiling=$ac_cv_prog_cc_cross
7161 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7163 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
7164 for ac_func in _copysign
7166 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7167 echo "configure:7168: checking for $ac_func" >&5
7168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7169 echo $ac_n "(cached) $ac_c" 1>&6
7171 cat > conftest.$ac_ext <<EOF
7172 #line 7173 "configure"
7173 #include "confdefs.h"
7174 /* System header to define __stub macros and hopefully few prototypes,
7175 which can conflict with char $ac_func(); below. */
7177 /* Override any gcc2 internal prototype to avoid an error. */
7178 /* We use char because int might match the return type of a gcc2
7179 builtin and then its argument prototype would still apply. */
7184 /* The GNU C library defines this for functions which it implements
7185 to always fail with ENOSYS. Some functions are actually named
7186 something starting with __ and the normal name is an alias. */
7187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7195 if { (eval echo configure:7196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7197 eval "ac_cv_func_$ac_func=yes"
7199 echo "configure: failed program was:" >&5
7200 cat conftest.$ac_ext >&5
7202 eval "ac_cv_func_$ac_func=no"
7207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7208 echo "$ac_t""yes" 1>&6
7209 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7210 cat >> confdefs.h <<EOF
7211 #define $ac_tr_func 1
7215 echo "$ac_t""no" 1>&6
7224 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
7225 echo "configure:7226: checking for sincos declaration" >&5
7226 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
7227 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7228 echo $ac_n "(cached) $ac_c" 1>&6
7233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7234 ac_cpp='$CXXCPP $CPPFLAGS'
7235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7237 cross_compiling=$ac_cv_prog_cxx_cross
7239 cat > conftest.$ac_ext <<EOF
7240 #line 7241 "configure"
7241 #include "confdefs.h"
7247 if { (eval echo configure:7248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7249 glibcpp_cv_func_sincos_use=yes
7251 echo "configure: failed program was:" >&5
7252 cat conftest.$ac_ext >&5
7254 glibcpp_cv_func_sincos_use=no
7258 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7259 ac_cpp='$CPP $CPPFLAGS'
7260 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7261 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7262 cross_compiling=$ac_cv_prog_cc_cross
7268 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7270 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
7271 for ac_func in sincos
7273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7274 echo "configure:7275: checking for $ac_func" >&5
7275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7276 echo $ac_n "(cached) $ac_c" 1>&6
7278 cat > conftest.$ac_ext <<EOF
7279 #line 7280 "configure"
7280 #include "confdefs.h"
7281 /* System header to define __stub macros and hopefully few prototypes,
7282 which can conflict with char $ac_func(); below. */
7284 /* Override any gcc2 internal prototype to avoid an error. */
7285 /* We use char because int might match the return type of a gcc2
7286 builtin and then its argument prototype would still apply. */
7291 /* The GNU C library defines this for functions which it implements
7292 to always fail with ENOSYS. Some functions are actually named
7293 something starting with __ and the normal name is an alias. */
7294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7302 if { (eval echo configure:7303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7304 eval "ac_cv_func_$ac_func=yes"
7306 echo "configure: failed program was:" >&5
7307 cat conftest.$ac_ext >&5
7309 eval "ac_cv_func_$ac_func=no"
7314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7315 echo "$ac_t""yes" 1>&6
7316 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7317 cat >> confdefs.h <<EOF
7318 #define $ac_tr_func 1
7322 echo "$ac_t""no" 1>&6
7328 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
7329 echo "configure:7330: checking for _sincos declaration" >&5
7330 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
7331 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7332 echo $ac_n "(cached) $ac_c" 1>&6
7337 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7338 ac_cpp='$CXXCPP $CPPFLAGS'
7339 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7340 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7341 cross_compiling=$ac_cv_prog_cxx_cross
7343 cat > conftest.$ac_ext <<EOF
7344 #line 7345 "configure"
7345 #include "confdefs.h"
7351 if { (eval echo configure:7352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7353 glibcpp_cv_func__sincos_use=yes
7355 echo "configure: failed program was:" >&5
7356 cat conftest.$ac_ext >&5
7358 glibcpp_cv_func__sincos_use=no
7362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7363 ac_cpp='$CPP $CPPFLAGS'
7364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7366 cross_compiling=$ac_cv_prog_cc_cross
7372 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7374 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
7375 for ac_func in _sincos
7377 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7378 echo "configure:7379: checking for $ac_func" >&5
7379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7380 echo $ac_n "(cached) $ac_c" 1>&6
7382 cat > conftest.$ac_ext <<EOF
7383 #line 7384 "configure"
7384 #include "confdefs.h"
7385 /* System header to define __stub macros and hopefully few prototypes,
7386 which can conflict with char $ac_func(); below. */
7388 /* Override any gcc2 internal prototype to avoid an error. */
7389 /* We use char because int might match the return type of a gcc2
7390 builtin and then its argument prototype would still apply. */
7395 /* The GNU C library defines this for functions which it implements
7396 to always fail with ENOSYS. Some functions are actually named
7397 something starting with __ and the normal name is an alias. */
7398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7406 if { (eval echo configure:7407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7408 eval "ac_cv_func_$ac_func=yes"
7410 echo "configure: failed program was:" >&5
7411 cat conftest.$ac_ext >&5
7413 eval "ac_cv_func_$ac_func=no"
7418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7419 echo "$ac_t""yes" 1>&6
7420 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7421 cat >> confdefs.h <<EOF
7422 #define $ac_tr_func 1
7426 echo "$ac_t""no" 1>&6
7435 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7436 echo "configure:7437: checking for fpclass declaration" >&5
7437 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7438 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7439 echo $ac_n "(cached) $ac_c" 1>&6
7444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7445 ac_cpp='$CXXCPP $CPPFLAGS'
7446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7448 cross_compiling=$ac_cv_prog_cxx_cross
7450 cat > conftest.$ac_ext <<EOF
7451 #line 7452 "configure"
7452 #include "confdefs.h"
7454 #ifdef HAVE_IEEEFP_H
7462 if { (eval echo configure:7463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7464 glibcpp_cv_func_fpclass_use=yes
7466 echo "configure: failed program was:" >&5
7467 cat conftest.$ac_ext >&5
7469 glibcpp_cv_func_fpclass_use=no
7473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7474 ac_cpp='$CPP $CPPFLAGS'
7475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7477 cross_compiling=$ac_cv_prog_cc_cross
7483 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7485 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7486 for ac_func in fpclass
7488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7489 echo "configure:7490: checking for $ac_func" >&5
7490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7491 echo $ac_n "(cached) $ac_c" 1>&6
7493 cat > conftest.$ac_ext <<EOF
7494 #line 7495 "configure"
7495 #include "confdefs.h"
7496 /* System header to define __stub macros and hopefully few prototypes,
7497 which can conflict with char $ac_func(); below. */
7499 /* Override any gcc2 internal prototype to avoid an error. */
7500 /* We use char because int might match the return type of a gcc2
7501 builtin and then its argument prototype would still apply. */
7506 /* The GNU C library defines this for functions which it implements
7507 to always fail with ENOSYS. Some functions are actually named
7508 something starting with __ and the normal name is an alias. */
7509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7517 if { (eval echo configure:7518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7519 eval "ac_cv_func_$ac_func=yes"
7521 echo "configure: failed program was:" >&5
7522 cat conftest.$ac_ext >&5
7524 eval "ac_cv_func_$ac_func=no"
7529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7530 echo "$ac_t""yes" 1>&6
7531 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7532 cat >> confdefs.h <<EOF
7533 #define $ac_tr_func 1
7537 echo "$ac_t""no" 1>&6
7543 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7544 echo "configure:7545: checking for _fpclass declaration" >&5
7545 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7546 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7547 echo $ac_n "(cached) $ac_c" 1>&6
7552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7553 ac_cpp='$CXXCPP $CPPFLAGS'
7554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7556 cross_compiling=$ac_cv_prog_cxx_cross
7558 cat > conftest.$ac_ext <<EOF
7559 #line 7560 "configure"
7560 #include "confdefs.h"
7562 #ifdef HAVE_IEEEFP_H
7570 if { (eval echo configure:7571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7572 glibcpp_cv_func__fpclass_use=yes
7574 echo "configure: failed program was:" >&5
7575 cat conftest.$ac_ext >&5
7577 glibcpp_cv_func__fpclass_use=no
7581 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7582 ac_cpp='$CPP $CPPFLAGS'
7583 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7584 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7585 cross_compiling=$ac_cv_prog_cc_cross
7591 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7593 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7594 for ac_func in _fpclass
7596 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7597 echo "configure:7598: checking for $ac_func" >&5
7598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7599 echo $ac_n "(cached) $ac_c" 1>&6
7601 cat > conftest.$ac_ext <<EOF
7602 #line 7603 "configure"
7603 #include "confdefs.h"
7604 /* System header to define __stub macros and hopefully few prototypes,
7605 which can conflict with char $ac_func(); below. */
7607 /* Override any gcc2 internal prototype to avoid an error. */
7608 /* We use char because int might match the return type of a gcc2
7609 builtin and then its argument prototype would still apply. */
7614 /* The GNU C library defines this for functions which it implements
7615 to always fail with ENOSYS. Some functions are actually named
7616 something starting with __ and the normal name is an alias. */
7617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7625 if { (eval echo configure:7626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7627 eval "ac_cv_func_$ac_func=yes"
7629 echo "configure: failed program was:" >&5
7630 cat conftest.$ac_ext >&5
7632 eval "ac_cv_func_$ac_func=no"
7637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7638 echo "$ac_t""yes" 1>&6
7639 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7640 cat >> confdefs.h <<EOF
7641 #define $ac_tr_func 1
7645 echo "$ac_t""no" 1>&6
7654 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7655 echo "configure:7656: checking for qfpclass declaration" >&5
7656 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7657 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7658 echo $ac_n "(cached) $ac_c" 1>&6
7663 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7664 ac_cpp='$CXXCPP $CPPFLAGS'
7665 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7666 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7667 cross_compiling=$ac_cv_prog_cxx_cross
7669 cat > conftest.$ac_ext <<EOF
7670 #line 7671 "configure"
7671 #include "confdefs.h"
7673 #ifdef HAVE_IEEEFP_H
7681 if { (eval echo configure:7682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7683 glibcpp_cv_func_qfpclass_use=yes
7685 echo "configure: failed program was:" >&5
7686 cat conftest.$ac_ext >&5
7688 glibcpp_cv_func_qfpclass_use=no
7692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7693 ac_cpp='$CPP $CPPFLAGS'
7694 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7695 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7696 cross_compiling=$ac_cv_prog_cc_cross
7702 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7704 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
7705 for ac_func in qfpclass
7707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7708 echo "configure:7709: checking for $ac_func" >&5
7709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7710 echo $ac_n "(cached) $ac_c" 1>&6
7712 cat > conftest.$ac_ext <<EOF
7713 #line 7714 "configure"
7714 #include "confdefs.h"
7715 /* System header to define __stub macros and hopefully few prototypes,
7716 which can conflict with char $ac_func(); below. */
7718 /* Override any gcc2 internal prototype to avoid an error. */
7719 /* We use char because int might match the return type of a gcc2
7720 builtin and then its argument prototype would still apply. */
7725 /* The GNU C library defines this for functions which it implements
7726 to always fail with ENOSYS. Some functions are actually named
7727 something starting with __ and the normal name is an alias. */
7728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7736 if { (eval echo configure:7737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7738 eval "ac_cv_func_$ac_func=yes"
7740 echo "configure: failed program was:" >&5
7741 cat conftest.$ac_ext >&5
7743 eval "ac_cv_func_$ac_func=no"
7748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7749 echo "$ac_t""yes" 1>&6
7750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7751 cat >> confdefs.h <<EOF
7752 #define $ac_tr_func 1
7756 echo "$ac_t""no" 1>&6
7762 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
7763 echo "configure:7764: checking for _qfpclass declaration" >&5
7764 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
7765 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7766 echo $ac_n "(cached) $ac_c" 1>&6
7771 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7772 ac_cpp='$CXXCPP $CPPFLAGS'
7773 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7774 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7775 cross_compiling=$ac_cv_prog_cxx_cross
7777 cat > conftest.$ac_ext <<EOF
7778 #line 7779 "configure"
7779 #include "confdefs.h"
7781 #ifdef HAVE_IEEEFP_H
7789 if { (eval echo configure:7790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7791 glibcpp_cv_func__qfpclass_use=yes
7793 echo "configure: failed program was:" >&5
7794 cat conftest.$ac_ext >&5
7796 glibcpp_cv_func__qfpclass_use=no
7800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7801 ac_cpp='$CPP $CPPFLAGS'
7802 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7803 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7804 cross_compiling=$ac_cv_prog_cc_cross
7810 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7812 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
7813 for ac_func in _qfpclass
7815 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7816 echo "configure:7817: checking for $ac_func" >&5
7817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7818 echo $ac_n "(cached) $ac_c" 1>&6
7820 cat > conftest.$ac_ext <<EOF
7821 #line 7822 "configure"
7822 #include "confdefs.h"
7823 /* System header to define __stub macros and hopefully few prototypes,
7824 which can conflict with char $ac_func(); below. */
7826 /* Override any gcc2 internal prototype to avoid an error. */
7827 /* We use char because int might match the return type of a gcc2
7828 builtin and then its argument prototype would still apply. */
7833 /* The GNU C library defines this for functions which it implements
7834 to always fail with ENOSYS. Some functions are actually named
7835 something starting with __ and the normal name is an alias. */
7836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7844 if { (eval echo configure:7845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7846 eval "ac_cv_func_$ac_func=yes"
7848 echo "configure: failed program was:" >&5
7849 cat conftest.$ac_ext >&5
7851 eval "ac_cv_func_$ac_func=no"
7856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7857 echo "$ac_t""yes" 1>&6
7858 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7859 cat >> confdefs.h <<EOF
7860 #define $ac_tr_func 1
7864 echo "$ac_t""no" 1>&6
7873 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
7874 echo "configure:7875: checking for float trig functions" >&5
7875 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
7876 echo $ac_n "(cached) $ac_c" 1>&6
7881 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7882 ac_cpp='$CXXCPP $CPPFLAGS'
7883 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7884 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7885 cross_compiling=$ac_cv_prog_cxx_cross
7887 cat > conftest.$ac_ext <<EOF
7888 #line 7889 "configure"
7889 #include "confdefs.h"
7892 `for x in acosf asinf atanf \
7894 coshf sinhf tanhf; do echo "$x (0);"; done`
7897 if { (eval echo configure:7898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7899 glibcpp_cv_func_float_trig_use=yes
7901 echo "configure: failed program was:" >&5
7902 cat conftest.$ac_ext >&5
7904 glibcpp_cv_func_float_trig_use=no
7908 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7909 ac_cpp='$CPP $CPPFLAGS'
7910 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7911 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7912 cross_compiling=$ac_cv_prog_cc_cross
7916 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
7917 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
7918 for ac_func in acosf asinf atanf \
7922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7923 echo "configure:7924: checking for $ac_func" >&5
7924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7925 echo $ac_n "(cached) $ac_c" 1>&6
7927 cat > conftest.$ac_ext <<EOF
7928 #line 7929 "configure"
7929 #include "confdefs.h"
7930 /* System header to define __stub macros and hopefully few prototypes,
7931 which can conflict with char $ac_func(); below. */
7933 /* Override any gcc2 internal prototype to avoid an error. */
7934 /* We use char because int might match the return type of a gcc2
7935 builtin and then its argument prototype would still apply. */
7940 /* The GNU C library defines this for functions which it implements
7941 to always fail with ENOSYS. Some functions are actually named
7942 something starting with __ and the normal name is an alias. */
7943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7951 if { (eval echo configure:7952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7953 eval "ac_cv_func_$ac_func=yes"
7955 echo "configure: failed program was:" >&5
7956 cat conftest.$ac_ext >&5
7958 eval "ac_cv_func_$ac_func=no"
7963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7964 echo "$ac_t""yes" 1>&6
7965 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7966 cat >> confdefs.h <<EOF
7967 #define $ac_tr_func 1
7971 echo "$ac_t""no" 1>&6
7978 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
7979 echo "configure:7980: checking for float round functions" >&5
7980 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
7981 echo $ac_n "(cached) $ac_c" 1>&6
7986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7987 ac_cpp='$CXXCPP $CPPFLAGS'
7988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7990 cross_compiling=$ac_cv_prog_cxx_cross
7992 cat > conftest.$ac_ext <<EOF
7993 #line 7994 "configure"
7994 #include "confdefs.h"
7997 `for x in ceilf floorf; do echo "$x (0);"; done`
8000 if { (eval echo configure:8001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8002 glibcpp_cv_func_float_round_use=yes
8004 echo "configure: failed program was:" >&5
8005 cat conftest.$ac_ext >&5
8007 glibcpp_cv_func_float_round_use=no
8011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8012 ac_cpp='$CPP $CPPFLAGS'
8013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8015 cross_compiling=$ac_cv_prog_cc_cross
8019 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8020 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
8021 for ac_func in ceilf floorf
8023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8024 echo "configure:8025: checking for $ac_func" >&5
8025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8026 echo $ac_n "(cached) $ac_c" 1>&6
8028 cat > conftest.$ac_ext <<EOF
8029 #line 8030 "configure"
8030 #include "confdefs.h"
8031 /* System header to define __stub macros and hopefully few prototypes,
8032 which can conflict with char $ac_func(); below. */
8034 /* Override any gcc2 internal prototype to avoid an error. */
8035 /* We use char because int might match the return type of a gcc2
8036 builtin and then its argument prototype would still apply. */
8041 /* The GNU C library defines this for functions which it implements
8042 to always fail with ENOSYS. Some functions are actually named
8043 something starting with __ and the normal name is an alias. */
8044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8052 if { (eval echo configure:8053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8054 eval "ac_cv_func_$ac_func=yes"
8056 echo "configure: failed program was:" >&5
8057 cat conftest.$ac_ext >&5
8059 eval "ac_cv_func_$ac_func=no"
8064 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8065 echo "$ac_t""yes" 1>&6
8066 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8067 cat >> confdefs.h <<EOF
8068 #define $ac_tr_func 1
8072 echo "$ac_t""no" 1>&6
8080 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
8081 echo "configure:8082: checking for isnanf declaration" >&5
8082 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
8083 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8084 echo $ac_n "(cached) $ac_c" 1>&6
8089 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8090 ac_cpp='$CXXCPP $CPPFLAGS'
8091 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8092 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8093 cross_compiling=$ac_cv_prog_cxx_cross
8095 cat > conftest.$ac_ext <<EOF
8096 #line 8097 "configure"
8097 #include "confdefs.h"
8099 #ifdef HAVE_IEEEFP_H
8107 if { (eval echo configure:8108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8109 glibcpp_cv_func_isnanf_use=yes
8111 echo "configure: failed program was:" >&5
8112 cat conftest.$ac_ext >&5
8114 glibcpp_cv_func_isnanf_use=no
8118 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8119 ac_cpp='$CPP $CPPFLAGS'
8120 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8121 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8122 cross_compiling=$ac_cv_prog_cc_cross
8128 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8130 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
8131 for ac_func in isnanf
8133 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8134 echo "configure:8135: checking for $ac_func" >&5
8135 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8136 echo $ac_n "(cached) $ac_c" 1>&6
8138 cat > conftest.$ac_ext <<EOF
8139 #line 8140 "configure"
8140 #include "confdefs.h"
8141 /* System header to define __stub macros and hopefully few prototypes,
8142 which can conflict with char $ac_func(); below. */
8144 /* Override any gcc2 internal prototype to avoid an error. */
8145 /* We use char because int might match the return type of a gcc2
8146 builtin and then its argument prototype would still apply. */
8151 /* The GNU C library defines this for functions which it implements
8152 to always fail with ENOSYS. Some functions are actually named
8153 something starting with __ and the normal name is an alias. */
8154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8162 if { (eval echo configure:8163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8164 eval "ac_cv_func_$ac_func=yes"
8166 echo "configure: failed program was:" >&5
8167 cat conftest.$ac_ext >&5
8169 eval "ac_cv_func_$ac_func=no"
8174 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8175 echo "$ac_t""yes" 1>&6
8176 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8177 cat >> confdefs.h <<EOF
8178 #define $ac_tr_func 1
8182 echo "$ac_t""no" 1>&6
8188 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
8189 echo "configure:8190: checking for _isnanf declaration" >&5
8190 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
8191 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8192 echo $ac_n "(cached) $ac_c" 1>&6
8197 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8198 ac_cpp='$CXXCPP $CPPFLAGS'
8199 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8200 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8201 cross_compiling=$ac_cv_prog_cxx_cross
8203 cat > conftest.$ac_ext <<EOF
8204 #line 8205 "configure"
8205 #include "confdefs.h"
8207 #ifdef HAVE_IEEEFP_H
8215 if { (eval echo configure:8216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8217 glibcpp_cv_func__isnanf_use=yes
8219 echo "configure: failed program was:" >&5
8220 cat conftest.$ac_ext >&5
8222 glibcpp_cv_func__isnanf_use=no
8226 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8227 ac_cpp='$CPP $CPPFLAGS'
8228 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8229 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8230 cross_compiling=$ac_cv_prog_cc_cross
8236 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8238 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
8239 for ac_func in _isnanf
8241 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8242 echo "configure:8243: checking for $ac_func" >&5
8243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8244 echo $ac_n "(cached) $ac_c" 1>&6
8246 cat > conftest.$ac_ext <<EOF
8247 #line 8248 "configure"
8248 #include "confdefs.h"
8249 /* System header to define __stub macros and hopefully few prototypes,
8250 which can conflict with char $ac_func(); below. */
8252 /* Override any gcc2 internal prototype to avoid an error. */
8253 /* We use char because int might match the return type of a gcc2
8254 builtin and then its argument prototype would still apply. */
8259 /* The GNU C library defines this for functions which it implements
8260 to always fail with ENOSYS. Some functions are actually named
8261 something starting with __ and the normal name is an alias. */
8262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8270 if { (eval echo configure:8271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8272 eval "ac_cv_func_$ac_func=yes"
8274 echo "configure: failed program was:" >&5
8275 cat conftest.$ac_ext >&5
8277 eval "ac_cv_func_$ac_func=no"
8282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8283 echo "$ac_t""yes" 1>&6
8284 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8285 cat >> confdefs.h <<EOF
8286 #define $ac_tr_func 1
8290 echo "$ac_t""no" 1>&6
8299 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
8300 echo "configure:8301: checking for isinff declaration" >&5
8301 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
8302 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8303 echo $ac_n "(cached) $ac_c" 1>&6
8308 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8309 ac_cpp='$CXXCPP $CPPFLAGS'
8310 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8311 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8312 cross_compiling=$ac_cv_prog_cxx_cross
8314 cat > conftest.$ac_ext <<EOF
8315 #line 8316 "configure"
8316 #include "confdefs.h"
8318 #ifdef HAVE_IEEEFP_H
8326 if { (eval echo configure:8327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8328 glibcpp_cv_func_isinff_use=yes
8330 echo "configure: failed program was:" >&5
8331 cat conftest.$ac_ext >&5
8333 glibcpp_cv_func_isinff_use=no
8337 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8338 ac_cpp='$CPP $CPPFLAGS'
8339 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8340 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8341 cross_compiling=$ac_cv_prog_cc_cross
8347 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8349 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
8350 for ac_func in isinff
8352 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8353 echo "configure:8354: checking for $ac_func" >&5
8354 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8355 echo $ac_n "(cached) $ac_c" 1>&6
8357 cat > conftest.$ac_ext <<EOF
8358 #line 8359 "configure"
8359 #include "confdefs.h"
8360 /* System header to define __stub macros and hopefully few prototypes,
8361 which can conflict with char $ac_func(); below. */
8363 /* Override any gcc2 internal prototype to avoid an error. */
8364 /* We use char because int might match the return type of a gcc2
8365 builtin and then its argument prototype would still apply. */
8370 /* The GNU C library defines this for functions which it implements
8371 to always fail with ENOSYS. Some functions are actually named
8372 something starting with __ and the normal name is an alias. */
8373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8381 if { (eval echo configure:8382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8383 eval "ac_cv_func_$ac_func=yes"
8385 echo "configure: failed program was:" >&5
8386 cat conftest.$ac_ext >&5
8388 eval "ac_cv_func_$ac_func=no"
8393 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8394 echo "$ac_t""yes" 1>&6
8395 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8396 cat >> confdefs.h <<EOF
8397 #define $ac_tr_func 1
8401 echo "$ac_t""no" 1>&6
8407 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
8408 echo "configure:8409: checking for _isinff declaration" >&5
8409 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
8410 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8411 echo $ac_n "(cached) $ac_c" 1>&6
8416 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8417 ac_cpp='$CXXCPP $CPPFLAGS'
8418 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8419 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8420 cross_compiling=$ac_cv_prog_cxx_cross
8422 cat > conftest.$ac_ext <<EOF
8423 #line 8424 "configure"
8424 #include "confdefs.h"
8426 #ifdef HAVE_IEEEFP_H
8434 if { (eval echo configure:8435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8436 glibcpp_cv_func__isinff_use=yes
8438 echo "configure: failed program was:" >&5
8439 cat conftest.$ac_ext >&5
8441 glibcpp_cv_func__isinff_use=no
8445 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8446 ac_cpp='$CPP $CPPFLAGS'
8447 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8448 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8449 cross_compiling=$ac_cv_prog_cc_cross
8455 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8457 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8458 for ac_func in _isinff
8460 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8461 echo "configure:8462: checking for $ac_func" >&5
8462 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8463 echo $ac_n "(cached) $ac_c" 1>&6
8465 cat > conftest.$ac_ext <<EOF
8466 #line 8467 "configure"
8467 #include "confdefs.h"
8468 /* System header to define __stub macros and hopefully few prototypes,
8469 which can conflict with char $ac_func(); below. */
8471 /* Override any gcc2 internal prototype to avoid an error. */
8472 /* We use char because int might match the return type of a gcc2
8473 builtin and then its argument prototype would still apply. */
8478 /* The GNU C library defines this for functions which it implements
8479 to always fail with ENOSYS. Some functions are actually named
8480 something starting with __ and the normal name is an alias. */
8481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8489 if { (eval echo configure:8490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8491 eval "ac_cv_func_$ac_func=yes"
8493 echo "configure: failed program was:" >&5
8494 cat conftest.$ac_ext >&5
8496 eval "ac_cv_func_$ac_func=no"
8501 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8502 echo "$ac_t""yes" 1>&6
8503 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8504 cat >> confdefs.h <<EOF
8505 #define $ac_tr_func 1
8509 echo "$ac_t""no" 1>&6
8518 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
8519 echo "configure:8520: checking for fabsf declaration" >&5
8520 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
8521 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8522 echo $ac_n "(cached) $ac_c" 1>&6
8527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8528 ac_cpp='$CXXCPP $CPPFLAGS'
8529 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8530 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8531 cross_compiling=$ac_cv_prog_cxx_cross
8533 cat > conftest.$ac_ext <<EOF
8534 #line 8535 "configure"
8535 #include "confdefs.h"
8537 #ifdef HAVE_IEEEFP_H
8545 if { (eval echo configure:8546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8547 glibcpp_cv_func_fabsf_use=yes
8549 echo "configure: failed program was:" >&5
8550 cat conftest.$ac_ext >&5
8552 glibcpp_cv_func_fabsf_use=no
8556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8557 ac_cpp='$CPP $CPPFLAGS'
8558 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8559 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8560 cross_compiling=$ac_cv_prog_cc_cross
8566 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8568 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
8569 for ac_func in fabsf
8571 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8572 echo "configure:8573: checking for $ac_func" >&5
8573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8574 echo $ac_n "(cached) $ac_c" 1>&6
8576 cat > conftest.$ac_ext <<EOF
8577 #line 8578 "configure"
8578 #include "confdefs.h"
8579 /* System header to define __stub macros and hopefully few prototypes,
8580 which can conflict with char $ac_func(); below. */
8582 /* Override any gcc2 internal prototype to avoid an error. */
8583 /* We use char because int might match the return type of a gcc2
8584 builtin and then its argument prototype would still apply. */
8589 /* The GNU C library defines this for functions which it implements
8590 to always fail with ENOSYS. Some functions are actually named
8591 something starting with __ and the normal name is an alias. */
8592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8600 if { (eval echo configure:8601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8602 eval "ac_cv_func_$ac_func=yes"
8604 echo "configure: failed program was:" >&5
8605 cat conftest.$ac_ext >&5
8607 eval "ac_cv_func_$ac_func=no"
8612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8613 echo "$ac_t""yes" 1>&6
8614 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8615 cat >> confdefs.h <<EOF
8616 #define $ac_tr_func 1
8620 echo "$ac_t""no" 1>&6
8626 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
8627 echo "configure:8628: checking for _fabsf declaration" >&5
8628 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
8629 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
8630 echo $ac_n "(cached) $ac_c" 1>&6
8635 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8636 ac_cpp='$CXXCPP $CPPFLAGS'
8637 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8638 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8639 cross_compiling=$ac_cv_prog_cxx_cross
8641 cat > conftest.$ac_ext <<EOF
8642 #line 8643 "configure"
8643 #include "confdefs.h"
8645 #ifdef HAVE_IEEEFP_H
8653 if { (eval echo configure:8654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8655 glibcpp_cv_func__fabsf_use=yes
8657 echo "configure: failed program was:" >&5
8658 cat conftest.$ac_ext >&5
8660 glibcpp_cv_func__fabsf_use=no
8664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8665 ac_cpp='$CPP $CPPFLAGS'
8666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8668 cross_compiling=$ac_cv_prog_cc_cross
8674 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
8676 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
8677 for ac_func in _fabsf
8679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8680 echo "configure:8681: checking for $ac_func" >&5
8681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8682 echo $ac_n "(cached) $ac_c" 1>&6
8684 cat > conftest.$ac_ext <<EOF
8685 #line 8686 "configure"
8686 #include "confdefs.h"
8687 /* System header to define __stub macros and hopefully few prototypes,
8688 which can conflict with char $ac_func(); below. */
8690 /* Override any gcc2 internal prototype to avoid an error. */
8691 /* We use char because int might match the return type of a gcc2
8692 builtin and then its argument prototype would still apply. */
8697 /* The GNU C library defines this for functions which it implements
8698 to always fail with ENOSYS. Some functions are actually named
8699 something starting with __ and the normal name is an alias. */
8700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8708 if { (eval echo configure:8709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8710 eval "ac_cv_func_$ac_func=yes"
8712 echo "configure: failed program was:" >&5
8713 cat conftest.$ac_ext >&5
8715 eval "ac_cv_func_$ac_func=no"
8720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8721 echo "$ac_t""yes" 1>&6
8722 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8723 cat >> confdefs.h <<EOF
8724 #define $ac_tr_func 1
8728 echo "$ac_t""no" 1>&6
8737 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
8738 echo "configure:8739: checking for fmodf declaration" >&5
8739 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
8740 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
8741 echo $ac_n "(cached) $ac_c" 1>&6
8746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8747 ac_cpp='$CXXCPP $CPPFLAGS'
8748 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8749 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8750 cross_compiling=$ac_cv_prog_cxx_cross
8752 cat > conftest.$ac_ext <<EOF
8753 #line 8754 "configure"
8754 #include "confdefs.h"
8760 if { (eval echo configure:8761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8762 glibcpp_cv_func_fmodf_use=yes
8764 echo "configure: failed program was:" >&5
8765 cat conftest.$ac_ext >&5
8767 glibcpp_cv_func_fmodf_use=no
8771 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8772 ac_cpp='$CPP $CPPFLAGS'
8773 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8774 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8775 cross_compiling=$ac_cv_prog_cc_cross
8781 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
8783 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
8784 for ac_func in fmodf
8786 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8787 echo "configure:8788: checking for $ac_func" >&5
8788 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8789 echo $ac_n "(cached) $ac_c" 1>&6
8791 cat > conftest.$ac_ext <<EOF
8792 #line 8793 "configure"
8793 #include "confdefs.h"
8794 /* System header to define __stub macros and hopefully few prototypes,
8795 which can conflict with char $ac_func(); below. */
8797 /* Override any gcc2 internal prototype to avoid an error. */
8798 /* We use char because int might match the return type of a gcc2
8799 builtin and then its argument prototype would still apply. */
8804 /* The GNU C library defines this for functions which it implements
8805 to always fail with ENOSYS. Some functions are actually named
8806 something starting with __ and the normal name is an alias. */
8807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8815 if { (eval echo configure:8816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8817 eval "ac_cv_func_$ac_func=yes"
8819 echo "configure: failed program was:" >&5
8820 cat conftest.$ac_ext >&5
8822 eval "ac_cv_func_$ac_func=no"
8827 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8828 echo "$ac_t""yes" 1>&6
8829 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8830 cat >> confdefs.h <<EOF
8831 #define $ac_tr_func 1
8835 echo "$ac_t""no" 1>&6
8841 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
8842 echo "configure:8843: checking for _fmodf declaration" >&5
8843 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
8844 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
8845 echo $ac_n "(cached) $ac_c" 1>&6
8850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8851 ac_cpp='$CXXCPP $CPPFLAGS'
8852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8854 cross_compiling=$ac_cv_prog_cxx_cross
8856 cat > conftest.$ac_ext <<EOF
8857 #line 8858 "configure"
8858 #include "confdefs.h"
8864 if { (eval echo configure:8865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8866 glibcpp_cv_func__fmodf_use=yes
8868 echo "configure: failed program was:" >&5
8869 cat conftest.$ac_ext >&5
8871 glibcpp_cv_func__fmodf_use=no
8875 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8876 ac_cpp='$CPP $CPPFLAGS'
8877 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8878 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8879 cross_compiling=$ac_cv_prog_cc_cross
8885 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
8887 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
8888 for ac_func in _fmodf
8890 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8891 echo "configure:8892: checking for $ac_func" >&5
8892 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8893 echo $ac_n "(cached) $ac_c" 1>&6
8895 cat > conftest.$ac_ext <<EOF
8896 #line 8897 "configure"
8897 #include "confdefs.h"
8898 /* System header to define __stub macros and hopefully few prototypes,
8899 which can conflict with char $ac_func(); below. */
8901 /* Override any gcc2 internal prototype to avoid an error. */
8902 /* We use char because int might match the return type of a gcc2
8903 builtin and then its argument prototype would still apply. */
8908 /* The GNU C library defines this for functions which it implements
8909 to always fail with ENOSYS. Some functions are actually named
8910 something starting with __ and the normal name is an alias. */
8911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8919 if { (eval echo configure:8920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8921 eval "ac_cv_func_$ac_func=yes"
8923 echo "configure: failed program was:" >&5
8924 cat conftest.$ac_ext >&5
8926 eval "ac_cv_func_$ac_func=no"
8931 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8932 echo "$ac_t""yes" 1>&6
8933 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8934 cat >> confdefs.h <<EOF
8935 #define $ac_tr_func 1
8939 echo "$ac_t""no" 1>&6
8948 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
8949 echo "configure:8950: checking for frexpf declaration" >&5
8950 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
8951 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
8952 echo $ac_n "(cached) $ac_c" 1>&6
8957 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8958 ac_cpp='$CXXCPP $CPPFLAGS'
8959 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8960 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8961 cross_compiling=$ac_cv_prog_cxx_cross
8963 cat > conftest.$ac_ext <<EOF
8964 #line 8965 "configure"
8965 #include "confdefs.h"
8971 if { (eval echo configure:8972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8973 glibcpp_cv_func_frexpf_use=yes
8975 echo "configure: failed program was:" >&5
8976 cat conftest.$ac_ext >&5
8978 glibcpp_cv_func_frexpf_use=no
8982 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8983 ac_cpp='$CPP $CPPFLAGS'
8984 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8985 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8986 cross_compiling=$ac_cv_prog_cc_cross
8992 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
8994 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
8995 for ac_func in frexpf
8997 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8998 echo "configure:8999: checking for $ac_func" >&5
8999 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9000 echo $ac_n "(cached) $ac_c" 1>&6
9002 cat > conftest.$ac_ext <<EOF
9003 #line 9004 "configure"
9004 #include "confdefs.h"
9005 /* System header to define __stub macros and hopefully few prototypes,
9006 which can conflict with char $ac_func(); below. */
9008 /* Override any gcc2 internal prototype to avoid an error. */
9009 /* We use char because int might match the return type of a gcc2
9010 builtin and then its argument prototype would still apply. */
9015 /* The GNU C library defines this for functions which it implements
9016 to always fail with ENOSYS. Some functions are actually named
9017 something starting with __ and the normal name is an alias. */
9018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9026 if { (eval echo configure:9027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9028 eval "ac_cv_func_$ac_func=yes"
9030 echo "configure: failed program was:" >&5
9031 cat conftest.$ac_ext >&5
9033 eval "ac_cv_func_$ac_func=no"
9038 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9039 echo "$ac_t""yes" 1>&6
9040 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9041 cat >> confdefs.h <<EOF
9042 #define $ac_tr_func 1
9046 echo "$ac_t""no" 1>&6
9052 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
9053 echo "configure:9054: checking for _frexpf declaration" >&5
9054 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
9055 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9056 echo $ac_n "(cached) $ac_c" 1>&6
9061 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9062 ac_cpp='$CXXCPP $CPPFLAGS'
9063 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9064 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9065 cross_compiling=$ac_cv_prog_cxx_cross
9067 cat > conftest.$ac_ext <<EOF
9068 #line 9069 "configure"
9069 #include "confdefs.h"
9075 if { (eval echo configure:9076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9077 glibcpp_cv_func__frexpf_use=yes
9079 echo "configure: failed program was:" >&5
9080 cat conftest.$ac_ext >&5
9082 glibcpp_cv_func__frexpf_use=no
9086 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9087 ac_cpp='$CPP $CPPFLAGS'
9088 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9089 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9090 cross_compiling=$ac_cv_prog_cc_cross
9096 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9098 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
9099 for ac_func in _frexpf
9101 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9102 echo "configure:9103: checking for $ac_func" >&5
9103 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9104 echo $ac_n "(cached) $ac_c" 1>&6
9106 cat > conftest.$ac_ext <<EOF
9107 #line 9108 "configure"
9108 #include "confdefs.h"
9109 /* System header to define __stub macros and hopefully few prototypes,
9110 which can conflict with char $ac_func(); below. */
9112 /* Override any gcc2 internal prototype to avoid an error. */
9113 /* We use char because int might match the return type of a gcc2
9114 builtin and then its argument prototype would still apply. */
9119 /* The GNU C library defines this for functions which it implements
9120 to always fail with ENOSYS. Some functions are actually named
9121 something starting with __ and the normal name is an alias. */
9122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9130 if { (eval echo configure:9131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9132 eval "ac_cv_func_$ac_func=yes"
9134 echo "configure: failed program was:" >&5
9135 cat conftest.$ac_ext >&5
9137 eval "ac_cv_func_$ac_func=no"
9142 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9143 echo "$ac_t""yes" 1>&6
9144 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9145 cat >> confdefs.h <<EOF
9146 #define $ac_tr_func 1
9150 echo "$ac_t""no" 1>&6
9159 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
9160 echo "configure:9161: checking for ldexpf declaration" >&5
9161 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
9162 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
9163 echo $ac_n "(cached) $ac_c" 1>&6
9168 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9169 ac_cpp='$CXXCPP $CPPFLAGS'
9170 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9171 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9172 cross_compiling=$ac_cv_prog_cxx_cross
9174 cat > conftest.$ac_ext <<EOF
9175 #line 9176 "configure"
9176 #include "confdefs.h"
9182 if { (eval echo configure:9183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9184 glibcpp_cv_func_ldexpf_use=yes
9186 echo "configure: failed program was:" >&5
9187 cat conftest.$ac_ext >&5
9189 glibcpp_cv_func_ldexpf_use=no
9193 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9194 ac_cpp='$CPP $CPPFLAGS'
9195 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9196 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9197 cross_compiling=$ac_cv_prog_cc_cross
9203 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
9205 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
9206 for ac_func in ldexpf
9208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9209 echo "configure:9210: checking for $ac_func" >&5
9210 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9211 echo $ac_n "(cached) $ac_c" 1>&6
9213 cat > conftest.$ac_ext <<EOF
9214 #line 9215 "configure"
9215 #include "confdefs.h"
9216 /* System header to define __stub macros and hopefully few prototypes,
9217 which can conflict with char $ac_func(); below. */
9219 /* Override any gcc2 internal prototype to avoid an error. */
9220 /* We use char because int might match the return type of a gcc2
9221 builtin and then its argument prototype would still apply. */
9226 /* The GNU C library defines this for functions which it implements
9227 to always fail with ENOSYS. Some functions are actually named
9228 something starting with __ and the normal name is an alias. */
9229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9237 if { (eval echo configure:9238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9239 eval "ac_cv_func_$ac_func=yes"
9241 echo "configure: failed program was:" >&5
9242 cat conftest.$ac_ext >&5
9244 eval "ac_cv_func_$ac_func=no"
9249 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9250 echo "$ac_t""yes" 1>&6
9251 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9252 cat >> confdefs.h <<EOF
9253 #define $ac_tr_func 1
9257 echo "$ac_t""no" 1>&6
9263 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
9264 echo "configure:9265: checking for _ldexpf declaration" >&5
9265 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
9266 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9267 echo $ac_n "(cached) $ac_c" 1>&6
9272 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9273 ac_cpp='$CXXCPP $CPPFLAGS'
9274 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9275 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9276 cross_compiling=$ac_cv_prog_cxx_cross
9278 cat > conftest.$ac_ext <<EOF
9279 #line 9280 "configure"
9280 #include "confdefs.h"
9286 if { (eval echo configure:9287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9288 glibcpp_cv_func__ldexpf_use=yes
9290 echo "configure: failed program was:" >&5
9291 cat conftest.$ac_ext >&5
9293 glibcpp_cv_func__ldexpf_use=no
9297 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9298 ac_cpp='$CPP $CPPFLAGS'
9299 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9300 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9301 cross_compiling=$ac_cv_prog_cc_cross
9307 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
9309 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
9310 for ac_func in _ldexpf
9312 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9313 echo "configure:9314: checking for $ac_func" >&5
9314 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9315 echo $ac_n "(cached) $ac_c" 1>&6
9317 cat > conftest.$ac_ext <<EOF
9318 #line 9319 "configure"
9319 #include "confdefs.h"
9320 /* System header to define __stub macros and hopefully few prototypes,
9321 which can conflict with char $ac_func(); below. */
9323 /* Override any gcc2 internal prototype to avoid an error. */
9324 /* We use char because int might match the return type of a gcc2
9325 builtin and then its argument prototype would still apply. */
9330 /* The GNU C library defines this for functions which it implements
9331 to always fail with ENOSYS. Some functions are actually named
9332 something starting with __ and the normal name is an alias. */
9333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9341 if { (eval echo configure:9342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9343 eval "ac_cv_func_$ac_func=yes"
9345 echo "configure: failed program was:" >&5
9346 cat conftest.$ac_ext >&5
9348 eval "ac_cv_func_$ac_func=no"
9353 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9354 echo "$ac_t""yes" 1>&6
9355 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9356 cat >> confdefs.h <<EOF
9357 #define $ac_tr_func 1
9361 echo "$ac_t""no" 1>&6
9370 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
9371 echo "configure:9372: checking for logf declaration" >&5
9372 if test x${glibcpp_cv_func_logf_use+set} != xset; then
9373 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
9374 echo $ac_n "(cached) $ac_c" 1>&6
9379 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9380 ac_cpp='$CXXCPP $CPPFLAGS'
9381 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9382 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9383 cross_compiling=$ac_cv_prog_cxx_cross
9385 cat > conftest.$ac_ext <<EOF
9386 #line 9387 "configure"
9387 #include "confdefs.h"
9389 #ifdef HAVE_IEEEFP_H
9397 if { (eval echo configure:9398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9399 glibcpp_cv_func_logf_use=yes
9401 echo "configure: failed program was:" >&5
9402 cat conftest.$ac_ext >&5
9404 glibcpp_cv_func_logf_use=no
9408 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9409 ac_cpp='$CPP $CPPFLAGS'
9410 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9411 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9412 cross_compiling=$ac_cv_prog_cc_cross
9418 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
9420 if test x$glibcpp_cv_func_logf_use = x"yes"; then
9423 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9424 echo "configure:9425: checking for $ac_func" >&5
9425 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9426 echo $ac_n "(cached) $ac_c" 1>&6
9428 cat > conftest.$ac_ext <<EOF
9429 #line 9430 "configure"
9430 #include "confdefs.h"
9431 /* System header to define __stub macros and hopefully few prototypes,
9432 which can conflict with char $ac_func(); below. */
9434 /* Override any gcc2 internal prototype to avoid an error. */
9435 /* We use char because int might match the return type of a gcc2
9436 builtin and then its argument prototype would still apply. */
9441 /* The GNU C library defines this for functions which it implements
9442 to always fail with ENOSYS. Some functions are actually named
9443 something starting with __ and the normal name is an alias. */
9444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9452 if { (eval echo configure:9453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9454 eval "ac_cv_func_$ac_func=yes"
9456 echo "configure: failed program was:" >&5
9457 cat conftest.$ac_ext >&5
9459 eval "ac_cv_func_$ac_func=no"
9464 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9465 echo "$ac_t""yes" 1>&6
9466 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9467 cat >> confdefs.h <<EOF
9468 #define $ac_tr_func 1
9472 echo "$ac_t""no" 1>&6
9478 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
9479 echo "configure:9480: checking for _logf declaration" >&5
9480 if test x${glibcpp_cv_func__logf_use+set} != xset; then
9481 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
9482 echo $ac_n "(cached) $ac_c" 1>&6
9487 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9488 ac_cpp='$CXXCPP $CPPFLAGS'
9489 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9490 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9491 cross_compiling=$ac_cv_prog_cxx_cross
9493 cat > conftest.$ac_ext <<EOF
9494 #line 9495 "configure"
9495 #include "confdefs.h"
9497 #ifdef HAVE_IEEEFP_H
9505 if { (eval echo configure:9506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9507 glibcpp_cv_func__logf_use=yes
9509 echo "configure: failed program was:" >&5
9510 cat conftest.$ac_ext >&5
9512 glibcpp_cv_func__logf_use=no
9516 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9517 ac_cpp='$CPP $CPPFLAGS'
9518 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9519 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9520 cross_compiling=$ac_cv_prog_cc_cross
9526 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
9528 if test x$glibcpp_cv_func__logf_use = x"yes"; then
9529 for ac_func in _logf
9531 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9532 echo "configure:9533: checking for $ac_func" >&5
9533 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9534 echo $ac_n "(cached) $ac_c" 1>&6
9536 cat > conftest.$ac_ext <<EOF
9537 #line 9538 "configure"
9538 #include "confdefs.h"
9539 /* System header to define __stub macros and hopefully few prototypes,
9540 which can conflict with char $ac_func(); below. */
9542 /* Override any gcc2 internal prototype to avoid an error. */
9543 /* We use char because int might match the return type of a gcc2
9544 builtin and then its argument prototype would still apply. */
9549 /* The GNU C library defines this for functions which it implements
9550 to always fail with ENOSYS. Some functions are actually named
9551 something starting with __ and the normal name is an alias. */
9552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9560 if { (eval echo configure:9561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9562 eval "ac_cv_func_$ac_func=yes"
9564 echo "configure: failed program was:" >&5
9565 cat conftest.$ac_ext >&5
9567 eval "ac_cv_func_$ac_func=no"
9572 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9573 echo "$ac_t""yes" 1>&6
9574 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9575 cat >> confdefs.h <<EOF
9576 #define $ac_tr_func 1
9580 echo "$ac_t""no" 1>&6
9589 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
9590 echo "configure:9591: checking for log10f declaration" >&5
9591 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
9592 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
9593 echo $ac_n "(cached) $ac_c" 1>&6
9598 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9599 ac_cpp='$CXXCPP $CPPFLAGS'
9600 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9601 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9602 cross_compiling=$ac_cv_prog_cxx_cross
9604 cat > conftest.$ac_ext <<EOF
9605 #line 9606 "configure"
9606 #include "confdefs.h"
9608 #ifdef HAVE_IEEEFP_H
9616 if { (eval echo configure:9617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9618 glibcpp_cv_func_log10f_use=yes
9620 echo "configure: failed program was:" >&5
9621 cat conftest.$ac_ext >&5
9623 glibcpp_cv_func_log10f_use=no
9627 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9628 ac_cpp='$CPP $CPPFLAGS'
9629 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9630 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9631 cross_compiling=$ac_cv_prog_cc_cross
9637 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
9639 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
9640 for ac_func in log10f
9642 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9643 echo "configure:9644: checking for $ac_func" >&5
9644 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9645 echo $ac_n "(cached) $ac_c" 1>&6
9647 cat > conftest.$ac_ext <<EOF
9648 #line 9649 "configure"
9649 #include "confdefs.h"
9650 /* System header to define __stub macros and hopefully few prototypes,
9651 which can conflict with char $ac_func(); below. */
9653 /* Override any gcc2 internal prototype to avoid an error. */
9654 /* We use char because int might match the return type of a gcc2
9655 builtin and then its argument prototype would still apply. */
9660 /* The GNU C library defines this for functions which it implements
9661 to always fail with ENOSYS. Some functions are actually named
9662 something starting with __ and the normal name is an alias. */
9663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9671 if { (eval echo configure:9672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9673 eval "ac_cv_func_$ac_func=yes"
9675 echo "configure: failed program was:" >&5
9676 cat conftest.$ac_ext >&5
9678 eval "ac_cv_func_$ac_func=no"
9683 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9684 echo "$ac_t""yes" 1>&6
9685 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9686 cat >> confdefs.h <<EOF
9687 #define $ac_tr_func 1
9691 echo "$ac_t""no" 1>&6
9697 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
9698 echo "configure:9699: checking for _log10f declaration" >&5
9699 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
9700 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
9701 echo $ac_n "(cached) $ac_c" 1>&6
9706 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9707 ac_cpp='$CXXCPP $CPPFLAGS'
9708 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9709 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9710 cross_compiling=$ac_cv_prog_cxx_cross
9712 cat > conftest.$ac_ext <<EOF
9713 #line 9714 "configure"
9714 #include "confdefs.h"
9716 #ifdef HAVE_IEEEFP_H
9724 if { (eval echo configure:9725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9726 glibcpp_cv_func__log10f_use=yes
9728 echo "configure: failed program was:" >&5
9729 cat conftest.$ac_ext >&5
9731 glibcpp_cv_func__log10f_use=no
9735 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9736 ac_cpp='$CPP $CPPFLAGS'
9737 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9738 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9739 cross_compiling=$ac_cv_prog_cc_cross
9745 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
9747 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
9748 for ac_func in _log10f
9750 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9751 echo "configure:9752: checking for $ac_func" >&5
9752 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9753 echo $ac_n "(cached) $ac_c" 1>&6
9755 cat > conftest.$ac_ext <<EOF
9756 #line 9757 "configure"
9757 #include "confdefs.h"
9758 /* System header to define __stub macros and hopefully few prototypes,
9759 which can conflict with char $ac_func(); below. */
9761 /* Override any gcc2 internal prototype to avoid an error. */
9762 /* We use char because int might match the return type of a gcc2
9763 builtin and then its argument prototype would still apply. */
9768 /* The GNU C library defines this for functions which it implements
9769 to always fail with ENOSYS. Some functions are actually named
9770 something starting with __ and the normal name is an alias. */
9771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9779 if { (eval echo configure:9780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9781 eval "ac_cv_func_$ac_func=yes"
9783 echo "configure: failed program was:" >&5
9784 cat conftest.$ac_ext >&5
9786 eval "ac_cv_func_$ac_func=no"
9791 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9792 echo "$ac_t""yes" 1>&6
9793 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9794 cat >> confdefs.h <<EOF
9795 #define $ac_tr_func 1
9799 echo "$ac_t""no" 1>&6
9808 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
9809 echo "configure:9810: checking for modff declaration" >&5
9810 if test x${glibcpp_cv_func_modff_use+set} != xset; then
9811 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
9812 echo $ac_n "(cached) $ac_c" 1>&6
9817 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9818 ac_cpp='$CXXCPP $CPPFLAGS'
9819 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9820 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9821 cross_compiling=$ac_cv_prog_cxx_cross
9823 cat > conftest.$ac_ext <<EOF
9824 #line 9825 "configure"
9825 #include "confdefs.h"
9831 if { (eval echo configure:9832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9833 glibcpp_cv_func_modff_use=yes
9835 echo "configure: failed program was:" >&5
9836 cat conftest.$ac_ext >&5
9838 glibcpp_cv_func_modff_use=no
9842 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9843 ac_cpp='$CPP $CPPFLAGS'
9844 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9845 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9846 cross_compiling=$ac_cv_prog_cc_cross
9852 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
9854 if test x$glibcpp_cv_func_modff_use = x"yes"; then
9855 for ac_func in modff
9857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9858 echo "configure:9859: checking for $ac_func" >&5
9859 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9860 echo $ac_n "(cached) $ac_c" 1>&6
9862 cat > conftest.$ac_ext <<EOF
9863 #line 9864 "configure"
9864 #include "confdefs.h"
9865 /* System header to define __stub macros and hopefully few prototypes,
9866 which can conflict with char $ac_func(); below. */
9868 /* Override any gcc2 internal prototype to avoid an error. */
9869 /* We use char because int might match the return type of a gcc2
9870 builtin and then its argument prototype would still apply. */
9875 /* The GNU C library defines this for functions which it implements
9876 to always fail with ENOSYS. Some functions are actually named
9877 something starting with __ and the normal name is an alias. */
9878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9886 if { (eval echo configure:9887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9888 eval "ac_cv_func_$ac_func=yes"
9890 echo "configure: failed program was:" >&5
9891 cat conftest.$ac_ext >&5
9893 eval "ac_cv_func_$ac_func=no"
9898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9899 echo "$ac_t""yes" 1>&6
9900 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9901 cat >> confdefs.h <<EOF
9902 #define $ac_tr_func 1
9906 echo "$ac_t""no" 1>&6
9912 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
9913 echo "configure:9914: checking for _modff declaration" >&5
9914 if test x${glibcpp_cv_func__modff_use+set} != xset; then
9915 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
9916 echo $ac_n "(cached) $ac_c" 1>&6
9921 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9922 ac_cpp='$CXXCPP $CPPFLAGS'
9923 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9924 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9925 cross_compiling=$ac_cv_prog_cxx_cross
9927 cat > conftest.$ac_ext <<EOF
9928 #line 9929 "configure"
9929 #include "confdefs.h"
9935 if { (eval echo configure:9936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9937 glibcpp_cv_func__modff_use=yes
9939 echo "configure: failed program was:" >&5
9940 cat conftest.$ac_ext >&5
9942 glibcpp_cv_func__modff_use=no
9946 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9947 ac_cpp='$CPP $CPPFLAGS'
9948 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9949 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9950 cross_compiling=$ac_cv_prog_cc_cross
9956 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
9958 if test x$glibcpp_cv_func__modff_use = x"yes"; then
9959 for ac_func in _modff
9961 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9962 echo "configure:9963: checking for $ac_func" >&5
9963 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9964 echo $ac_n "(cached) $ac_c" 1>&6
9966 cat > conftest.$ac_ext <<EOF
9967 #line 9968 "configure"
9968 #include "confdefs.h"
9969 /* System header to define __stub macros and hopefully few prototypes,
9970 which can conflict with char $ac_func(); below. */
9972 /* Override any gcc2 internal prototype to avoid an error. */
9973 /* We use char because int might match the return type of a gcc2
9974 builtin and then its argument prototype would still apply. */
9979 /* The GNU C library defines this for functions which it implements
9980 to always fail with ENOSYS. Some functions are actually named
9981 something starting with __ and the normal name is an alias. */
9982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9990 if { (eval echo configure:9991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9992 eval "ac_cv_func_$ac_func=yes"
9994 echo "configure: failed program was:" >&5
9995 cat conftest.$ac_ext >&5
9997 eval "ac_cv_func_$ac_func=no"
10002 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10003 echo "$ac_t""yes" 1>&6
10004 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10005 cat >> confdefs.h <<EOF
10006 #define $ac_tr_func 1
10010 echo "$ac_t""no" 1>&6
10019 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
10020 echo "configure:10021: checking for powf declaration" >&5
10021 if test x${glibcpp_cv_func_powf_use+set} != xset; then
10022 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10023 echo $ac_n "(cached) $ac_c" 1>&6
10028 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10029 ac_cpp='$CXXCPP $CPPFLAGS'
10030 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10031 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10032 cross_compiling=$ac_cv_prog_cxx_cross
10034 cat > conftest.$ac_ext <<EOF
10035 #line 10036 "configure"
10036 #include "confdefs.h"
10042 if { (eval echo configure:10043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10044 glibcpp_cv_func_powf_use=yes
10046 echo "configure: failed program was:" >&5
10047 cat conftest.$ac_ext >&5
10049 glibcpp_cv_func_powf_use=no
10053 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10054 ac_cpp='$CPP $CPPFLAGS'
10055 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10056 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10057 cross_compiling=$ac_cv_prog_cc_cross
10063 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10065 if test x$glibcpp_cv_func_powf_use = x"yes"; then
10066 for ac_func in powf
10068 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10069 echo "configure:10070: checking for $ac_func" >&5
10070 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10071 echo $ac_n "(cached) $ac_c" 1>&6
10073 cat > conftest.$ac_ext <<EOF
10074 #line 10075 "configure"
10075 #include "confdefs.h"
10076 /* System header to define __stub macros and hopefully few prototypes,
10077 which can conflict with char $ac_func(); below. */
10078 #include <assert.h>
10079 /* Override any gcc2 internal prototype to avoid an error. */
10080 /* We use char because int might match the return type of a gcc2
10081 builtin and then its argument prototype would still apply. */
10086 /* The GNU C library defines this for functions which it implements
10087 to always fail with ENOSYS. Some functions are actually named
10088 something starting with __ and the normal name is an alias. */
10089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10097 if { (eval echo configure:10098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10099 eval "ac_cv_func_$ac_func=yes"
10101 echo "configure: failed program was:" >&5
10102 cat conftest.$ac_ext >&5
10104 eval "ac_cv_func_$ac_func=no"
10109 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10110 echo "$ac_t""yes" 1>&6
10111 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10112 cat >> confdefs.h <<EOF
10113 #define $ac_tr_func 1
10117 echo "$ac_t""no" 1>&6
10123 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
10124 echo "configure:10125: checking for _powf declaration" >&5
10125 if test x${glibcpp_cv_func__powf_use+set} != xset; then
10126 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10127 echo $ac_n "(cached) $ac_c" 1>&6
10132 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10133 ac_cpp='$CXXCPP $CPPFLAGS'
10134 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10135 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10136 cross_compiling=$ac_cv_prog_cxx_cross
10138 cat > conftest.$ac_ext <<EOF
10139 #line 10140 "configure"
10140 #include "confdefs.h"
10146 if { (eval echo configure:10147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10148 glibcpp_cv_func__powf_use=yes
10150 echo "configure: failed program was:" >&5
10151 cat conftest.$ac_ext >&5
10153 glibcpp_cv_func__powf_use=no
10157 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10158 ac_cpp='$CPP $CPPFLAGS'
10159 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10160 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10161 cross_compiling=$ac_cv_prog_cc_cross
10167 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
10169 if test x$glibcpp_cv_func__powf_use = x"yes"; then
10170 for ac_func in _powf
10172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10173 echo "configure:10174: checking for $ac_func" >&5
10174 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10175 echo $ac_n "(cached) $ac_c" 1>&6
10177 cat > conftest.$ac_ext <<EOF
10178 #line 10179 "configure"
10179 #include "confdefs.h"
10180 /* System header to define __stub macros and hopefully few prototypes,
10181 which can conflict with char $ac_func(); below. */
10182 #include <assert.h>
10183 /* Override any gcc2 internal prototype to avoid an error. */
10184 /* We use char because int might match the return type of a gcc2
10185 builtin and then its argument prototype would still apply. */
10190 /* The GNU C library defines this for functions which it implements
10191 to always fail with ENOSYS. Some functions are actually named
10192 something starting with __ and the normal name is an alias. */
10193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10201 if { (eval echo configure:10202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10203 eval "ac_cv_func_$ac_func=yes"
10205 echo "configure: failed program was:" >&5
10206 cat conftest.$ac_ext >&5
10208 eval "ac_cv_func_$ac_func=no"
10213 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10214 echo "$ac_t""yes" 1>&6
10215 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10216 cat >> confdefs.h <<EOF
10217 #define $ac_tr_func 1
10221 echo "$ac_t""no" 1>&6
10230 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
10231 echo "configure:10232: checking for sqrtf declaration" >&5
10232 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
10233 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10234 echo $ac_n "(cached) $ac_c" 1>&6
10239 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10240 ac_cpp='$CXXCPP $CPPFLAGS'
10241 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10242 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10243 cross_compiling=$ac_cv_prog_cxx_cross
10245 cat > conftest.$ac_ext <<EOF
10246 #line 10247 "configure"
10247 #include "confdefs.h"
10249 #ifdef HAVE_IEEEFP_H
10250 #include <ieeefp.h>
10257 if { (eval echo configure:10258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10259 glibcpp_cv_func_sqrtf_use=yes
10261 echo "configure: failed program was:" >&5
10262 cat conftest.$ac_ext >&5
10264 glibcpp_cv_func_sqrtf_use=no
10268 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10269 ac_cpp='$CPP $CPPFLAGS'
10270 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10271 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10272 cross_compiling=$ac_cv_prog_cc_cross
10278 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10280 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
10281 for ac_func in sqrtf
10283 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10284 echo "configure:10285: checking for $ac_func" >&5
10285 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10286 echo $ac_n "(cached) $ac_c" 1>&6
10288 cat > conftest.$ac_ext <<EOF
10289 #line 10290 "configure"
10290 #include "confdefs.h"
10291 /* System header to define __stub macros and hopefully few prototypes,
10292 which can conflict with char $ac_func(); below. */
10293 #include <assert.h>
10294 /* Override any gcc2 internal prototype to avoid an error. */
10295 /* We use char because int might match the return type of a gcc2
10296 builtin and then its argument prototype would still apply. */
10301 /* The GNU C library defines this for functions which it implements
10302 to always fail with ENOSYS. Some functions are actually named
10303 something starting with __ and the normal name is an alias. */
10304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10312 if { (eval echo configure:10313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10314 eval "ac_cv_func_$ac_func=yes"
10316 echo "configure: failed program was:" >&5
10317 cat conftest.$ac_ext >&5
10319 eval "ac_cv_func_$ac_func=no"
10324 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10325 echo "$ac_t""yes" 1>&6
10326 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10327 cat >> confdefs.h <<EOF
10328 #define $ac_tr_func 1
10332 echo "$ac_t""no" 1>&6
10338 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
10339 echo "configure:10340: checking for _sqrtf declaration" >&5
10340 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
10341 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
10342 echo $ac_n "(cached) $ac_c" 1>&6
10347 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10348 ac_cpp='$CXXCPP $CPPFLAGS'
10349 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10350 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10351 cross_compiling=$ac_cv_prog_cxx_cross
10353 cat > conftest.$ac_ext <<EOF
10354 #line 10355 "configure"
10355 #include "confdefs.h"
10357 #ifdef HAVE_IEEEFP_H
10358 #include <ieeefp.h>
10365 if { (eval echo configure:10366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10367 glibcpp_cv_func__sqrtf_use=yes
10369 echo "configure: failed program was:" >&5
10370 cat conftest.$ac_ext >&5
10372 glibcpp_cv_func__sqrtf_use=no
10376 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10377 ac_cpp='$CPP $CPPFLAGS'
10378 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10379 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10380 cross_compiling=$ac_cv_prog_cc_cross
10386 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
10388 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
10389 for ac_func in _sqrtf
10391 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10392 echo "configure:10393: checking for $ac_func" >&5
10393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10394 echo $ac_n "(cached) $ac_c" 1>&6
10396 cat > conftest.$ac_ext <<EOF
10397 #line 10398 "configure"
10398 #include "confdefs.h"
10399 /* System header to define __stub macros and hopefully few prototypes,
10400 which can conflict with char $ac_func(); below. */
10401 #include <assert.h>
10402 /* Override any gcc2 internal prototype to avoid an error. */
10403 /* We use char because int might match the return type of a gcc2
10404 builtin and then its argument prototype would still apply. */
10409 /* The GNU C library defines this for functions which it implements
10410 to always fail with ENOSYS. Some functions are actually named
10411 something starting with __ and the normal name is an alias. */
10412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10420 if { (eval echo configure:10421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10422 eval "ac_cv_func_$ac_func=yes"
10424 echo "configure: failed program was:" >&5
10425 cat conftest.$ac_ext >&5
10427 eval "ac_cv_func_$ac_func=no"
10432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10433 echo "$ac_t""yes" 1>&6
10434 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10435 cat >> confdefs.h <<EOF
10436 #define $ac_tr_func 1
10440 echo "$ac_t""no" 1>&6
10449 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
10450 echo "configure:10451: checking for sincosf declaration" >&5
10451 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
10452 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
10453 echo $ac_n "(cached) $ac_c" 1>&6
10458 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10459 ac_cpp='$CXXCPP $CPPFLAGS'
10460 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10461 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10462 cross_compiling=$ac_cv_prog_cxx_cross
10464 cat > conftest.$ac_ext <<EOF
10465 #line 10466 "configure"
10466 #include "confdefs.h"
10472 if { (eval echo configure:10473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10474 glibcpp_cv_func_sincosf_use=yes
10476 echo "configure: failed program was:" >&5
10477 cat conftest.$ac_ext >&5
10479 glibcpp_cv_func_sincosf_use=no
10483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10484 ac_cpp='$CPP $CPPFLAGS'
10485 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10486 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10487 cross_compiling=$ac_cv_prog_cc_cross
10493 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
10495 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
10496 for ac_func in sincosf
10498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10499 echo "configure:10500: checking for $ac_func" >&5
10500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10501 echo $ac_n "(cached) $ac_c" 1>&6
10503 cat > conftest.$ac_ext <<EOF
10504 #line 10505 "configure"
10505 #include "confdefs.h"
10506 /* System header to define __stub macros and hopefully few prototypes,
10507 which can conflict with char $ac_func(); below. */
10508 #include <assert.h>
10509 /* Override any gcc2 internal prototype to avoid an error. */
10510 /* We use char because int might match the return type of a gcc2
10511 builtin and then its argument prototype would still apply. */
10516 /* The GNU C library defines this for functions which it implements
10517 to always fail with ENOSYS. Some functions are actually named
10518 something starting with __ and the normal name is an alias. */
10519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10527 if { (eval echo configure:10528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10529 eval "ac_cv_func_$ac_func=yes"
10531 echo "configure: failed program was:" >&5
10532 cat conftest.$ac_ext >&5
10534 eval "ac_cv_func_$ac_func=no"
10539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10540 echo "$ac_t""yes" 1>&6
10541 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10542 cat >> confdefs.h <<EOF
10543 #define $ac_tr_func 1
10547 echo "$ac_t""no" 1>&6
10553 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
10554 echo "configure:10555: checking for _sincosf declaration" >&5
10555 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
10556 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
10557 echo $ac_n "(cached) $ac_c" 1>&6
10562 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10563 ac_cpp='$CXXCPP $CPPFLAGS'
10564 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10565 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10566 cross_compiling=$ac_cv_prog_cxx_cross
10568 cat > conftest.$ac_ext <<EOF
10569 #line 10570 "configure"
10570 #include "confdefs.h"
10576 if { (eval echo configure:10577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10578 glibcpp_cv_func__sincosf_use=yes
10580 echo "configure: failed program was:" >&5
10581 cat conftest.$ac_ext >&5
10583 glibcpp_cv_func__sincosf_use=no
10587 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10588 ac_cpp='$CPP $CPPFLAGS'
10589 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10590 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10591 cross_compiling=$ac_cv_prog_cc_cross
10597 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
10599 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
10600 for ac_func in _sincosf
10602 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10603 echo "configure:10604: checking for $ac_func" >&5
10604 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10605 echo $ac_n "(cached) $ac_c" 1>&6
10607 cat > conftest.$ac_ext <<EOF
10608 #line 10609 "configure"
10609 #include "confdefs.h"
10610 /* System header to define __stub macros and hopefully few prototypes,
10611 which can conflict with char $ac_func(); below. */
10612 #include <assert.h>
10613 /* Override any gcc2 internal prototype to avoid an error. */
10614 /* We use char because int might match the return type of a gcc2
10615 builtin and then its argument prototype would still apply. */
10620 /* The GNU C library defines this for functions which it implements
10621 to always fail with ENOSYS. Some functions are actually named
10622 something starting with __ and the normal name is an alias. */
10623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10631 if { (eval echo configure:10632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10633 eval "ac_cv_func_$ac_func=yes"
10635 echo "configure: failed program was:" >&5
10636 cat conftest.$ac_ext >&5
10638 eval "ac_cv_func_$ac_func=no"
10643 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10644 echo "$ac_t""yes" 1>&6
10645 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10646 cat >> confdefs.h <<EOF
10647 #define $ac_tr_func 1
10651 echo "$ac_t""no" 1>&6
10660 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
10661 echo "configure:10662: checking for finitef declaration" >&5
10662 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
10663 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
10664 echo $ac_n "(cached) $ac_c" 1>&6
10669 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10670 ac_cpp='$CXXCPP $CPPFLAGS'
10671 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10672 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10673 cross_compiling=$ac_cv_prog_cxx_cross
10675 cat > conftest.$ac_ext <<EOF
10676 #line 10677 "configure"
10677 #include "confdefs.h"
10679 #ifdef HAVE_IEEEFP_H
10680 #include <ieeefp.h>
10687 if { (eval echo configure:10688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10689 glibcpp_cv_func_finitef_use=yes
10691 echo "configure: failed program was:" >&5
10692 cat conftest.$ac_ext >&5
10694 glibcpp_cv_func_finitef_use=no
10698 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10699 ac_cpp='$CPP $CPPFLAGS'
10700 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10701 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10702 cross_compiling=$ac_cv_prog_cc_cross
10708 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
10710 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
10711 for ac_func in finitef
10713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10714 echo "configure:10715: checking for $ac_func" >&5
10715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10716 echo $ac_n "(cached) $ac_c" 1>&6
10718 cat > conftest.$ac_ext <<EOF
10719 #line 10720 "configure"
10720 #include "confdefs.h"
10721 /* System header to define __stub macros and hopefully few prototypes,
10722 which can conflict with char $ac_func(); below. */
10723 #include <assert.h>
10724 /* Override any gcc2 internal prototype to avoid an error. */
10725 /* We use char because int might match the return type of a gcc2
10726 builtin and then its argument prototype would still apply. */
10731 /* The GNU C library defines this for functions which it implements
10732 to always fail with ENOSYS. Some functions are actually named
10733 something starting with __ and the normal name is an alias. */
10734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10742 if { (eval echo configure:10743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10744 eval "ac_cv_func_$ac_func=yes"
10746 echo "configure: failed program was:" >&5
10747 cat conftest.$ac_ext >&5
10749 eval "ac_cv_func_$ac_func=no"
10754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10755 echo "$ac_t""yes" 1>&6
10756 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10757 cat >> confdefs.h <<EOF
10758 #define $ac_tr_func 1
10762 echo "$ac_t""no" 1>&6
10768 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
10769 echo "configure:10770: checking for _finitef declaration" >&5
10770 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
10771 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
10772 echo $ac_n "(cached) $ac_c" 1>&6
10777 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10778 ac_cpp='$CXXCPP $CPPFLAGS'
10779 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10780 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10781 cross_compiling=$ac_cv_prog_cxx_cross
10783 cat > conftest.$ac_ext <<EOF
10784 #line 10785 "configure"
10785 #include "confdefs.h"
10787 #ifdef HAVE_IEEEFP_H
10788 #include <ieeefp.h>
10795 if { (eval echo configure:10796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10797 glibcpp_cv_func__finitef_use=yes
10799 echo "configure: failed program was:" >&5
10800 cat conftest.$ac_ext >&5
10802 glibcpp_cv_func__finitef_use=no
10806 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10807 ac_cpp='$CPP $CPPFLAGS'
10808 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10809 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10810 cross_compiling=$ac_cv_prog_cc_cross
10816 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
10818 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
10819 for ac_func in _finitef
10821 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10822 echo "configure:10823: checking for $ac_func" >&5
10823 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10824 echo $ac_n "(cached) $ac_c" 1>&6
10826 cat > conftest.$ac_ext <<EOF
10827 #line 10828 "configure"
10828 #include "confdefs.h"
10829 /* System header to define __stub macros and hopefully few prototypes,
10830 which can conflict with char $ac_func(); below. */
10831 #include <assert.h>
10832 /* Override any gcc2 internal prototype to avoid an error. */
10833 /* We use char because int might match the return type of a gcc2
10834 builtin and then its argument prototype would still apply. */
10839 /* The GNU C library defines this for functions which it implements
10840 to always fail with ENOSYS. Some functions are actually named
10841 something starting with __ and the normal name is an alias. */
10842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10850 if { (eval echo configure:10851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10852 eval "ac_cv_func_$ac_func=yes"
10854 echo "configure: failed program was:" >&5
10855 cat conftest.$ac_ext >&5
10857 eval "ac_cv_func_$ac_func=no"
10862 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10863 echo "$ac_t""yes" 1>&6
10864 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10865 cat >> confdefs.h <<EOF
10866 #define $ac_tr_func 1
10870 echo "$ac_t""no" 1>&6
10879 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
10880 echo "configure:10881: checking for long double trig functions" >&5
10881 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
10882 echo $ac_n "(cached) $ac_c" 1>&6
10887 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10888 ac_cpp='$CXXCPP $CPPFLAGS'
10889 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10890 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10891 cross_compiling=$ac_cv_prog_cxx_cross
10893 cat > conftest.$ac_ext <<EOF
10894 #line 10895 "configure"
10895 #include "confdefs.h"
10898 `for x in acosl asinl atanl \
10900 coshl sinhl tanhl; do echo "$x (0);"; done`
10903 if { (eval echo configure:10904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10905 glibcpp_cv_func_long_double_trig_use=yes
10907 echo "configure: failed program was:" >&5
10908 cat conftest.$ac_ext >&5
10910 glibcpp_cv_func_long_double_trig_use=no
10914 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10915 ac_cpp='$CPP $CPPFLAGS'
10916 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10917 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10918 cross_compiling=$ac_cv_prog_cc_cross
10922 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
10923 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
10924 for ac_func in acosl asinl atanl \
10928 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10929 echo "configure:10930: checking for $ac_func" >&5
10930 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10931 echo $ac_n "(cached) $ac_c" 1>&6
10933 cat > conftest.$ac_ext <<EOF
10934 #line 10935 "configure"
10935 #include "confdefs.h"
10936 /* System header to define __stub macros and hopefully few prototypes,
10937 which can conflict with char $ac_func(); below. */
10938 #include <assert.h>
10939 /* Override any gcc2 internal prototype to avoid an error. */
10940 /* We use char because int might match the return type of a gcc2
10941 builtin and then its argument prototype would still apply. */
10946 /* The GNU C library defines this for functions which it implements
10947 to always fail with ENOSYS. Some functions are actually named
10948 something starting with __ and the normal name is an alias. */
10949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10957 if { (eval echo configure:10958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10959 eval "ac_cv_func_$ac_func=yes"
10961 echo "configure: failed program was:" >&5
10962 cat conftest.$ac_ext >&5
10964 eval "ac_cv_func_$ac_func=no"
10969 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10970 echo "$ac_t""yes" 1>&6
10971 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10972 cat >> confdefs.h <<EOF
10973 #define $ac_tr_func 1
10977 echo "$ac_t""no" 1>&6
10984 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
10985 echo "configure:10986: checking for long double round functions" >&5
10986 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
10987 echo $ac_n "(cached) $ac_c" 1>&6
10992 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10993 ac_cpp='$CXXCPP $CPPFLAGS'
10994 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10995 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10996 cross_compiling=$ac_cv_prog_cxx_cross
10998 cat > conftest.$ac_ext <<EOF
10999 #line 11000 "configure"
11000 #include "confdefs.h"
11003 `for x in ceill floorl; do echo "$x (0);"; done`
11006 if { (eval echo configure:11007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11008 glibcpp_cv_func_long_double_round_use=yes
11010 echo "configure: failed program was:" >&5
11011 cat conftest.$ac_ext >&5
11013 glibcpp_cv_func_long_double_round_use=no
11017 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11018 ac_cpp='$CPP $CPPFLAGS'
11019 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11020 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11021 cross_compiling=$ac_cv_prog_cc_cross
11025 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11026 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
11027 for ac_func in ceill floorl
11029 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11030 echo "configure:11031: checking for $ac_func" >&5
11031 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11032 echo $ac_n "(cached) $ac_c" 1>&6
11034 cat > conftest.$ac_ext <<EOF
11035 #line 11036 "configure"
11036 #include "confdefs.h"
11037 /* System header to define __stub macros and hopefully few prototypes,
11038 which can conflict with char $ac_func(); below. */
11039 #include <assert.h>
11040 /* Override any gcc2 internal prototype to avoid an error. */
11041 /* We use char because int might match the return type of a gcc2
11042 builtin and then its argument prototype would still apply. */
11047 /* The GNU C library defines this for functions which it implements
11048 to always fail with ENOSYS. Some functions are actually named
11049 something starting with __ and the normal name is an alias. */
11050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11058 if { (eval echo configure:11059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11060 eval "ac_cv_func_$ac_func=yes"
11062 echo "configure: failed program was:" >&5
11063 cat conftest.$ac_ext >&5
11065 eval "ac_cv_func_$ac_func=no"
11070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11071 echo "$ac_t""yes" 1>&6
11072 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11073 cat >> confdefs.h <<EOF
11074 #define $ac_tr_func 1
11078 echo "$ac_t""no" 1>&6
11086 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
11087 echo "configure:11088: checking for isnanl declaration" >&5
11088 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
11089 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11090 echo $ac_n "(cached) $ac_c" 1>&6
11095 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11096 ac_cpp='$CXXCPP $CPPFLAGS'
11097 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11098 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11099 cross_compiling=$ac_cv_prog_cxx_cross
11101 cat > conftest.$ac_ext <<EOF
11102 #line 11103 "configure"
11103 #include "confdefs.h"
11105 #ifdef HAVE_IEEEFP_H
11106 #include <ieeefp.h>
11113 if { (eval echo configure:11114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11115 glibcpp_cv_func_isnanl_use=yes
11117 echo "configure: failed program was:" >&5
11118 cat conftest.$ac_ext >&5
11120 glibcpp_cv_func_isnanl_use=no
11124 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11125 ac_cpp='$CPP $CPPFLAGS'
11126 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11127 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11128 cross_compiling=$ac_cv_prog_cc_cross
11134 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11136 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
11137 for ac_func in isnanl
11139 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11140 echo "configure:11141: checking for $ac_func" >&5
11141 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11142 echo $ac_n "(cached) $ac_c" 1>&6
11144 cat > conftest.$ac_ext <<EOF
11145 #line 11146 "configure"
11146 #include "confdefs.h"
11147 /* System header to define __stub macros and hopefully few prototypes,
11148 which can conflict with char $ac_func(); below. */
11149 #include <assert.h>
11150 /* Override any gcc2 internal prototype to avoid an error. */
11151 /* We use char because int might match the return type of a gcc2
11152 builtin and then its argument prototype would still apply. */
11157 /* The GNU C library defines this for functions which it implements
11158 to always fail with ENOSYS. Some functions are actually named
11159 something starting with __ and the normal name is an alias. */
11160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11168 if { (eval echo configure:11169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11170 eval "ac_cv_func_$ac_func=yes"
11172 echo "configure: failed program was:" >&5
11173 cat conftest.$ac_ext >&5
11175 eval "ac_cv_func_$ac_func=no"
11180 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11181 echo "$ac_t""yes" 1>&6
11182 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11183 cat >> confdefs.h <<EOF
11184 #define $ac_tr_func 1
11188 echo "$ac_t""no" 1>&6
11194 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
11195 echo "configure:11196: checking for _isnanl declaration" >&5
11196 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
11197 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
11198 echo $ac_n "(cached) $ac_c" 1>&6
11203 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11204 ac_cpp='$CXXCPP $CPPFLAGS'
11205 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11206 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11207 cross_compiling=$ac_cv_prog_cxx_cross
11209 cat > conftest.$ac_ext <<EOF
11210 #line 11211 "configure"
11211 #include "confdefs.h"
11213 #ifdef HAVE_IEEEFP_H
11214 #include <ieeefp.h>
11221 if { (eval echo configure:11222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11223 glibcpp_cv_func__isnanl_use=yes
11225 echo "configure: failed program was:" >&5
11226 cat conftest.$ac_ext >&5
11228 glibcpp_cv_func__isnanl_use=no
11232 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11233 ac_cpp='$CPP $CPPFLAGS'
11234 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11235 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11236 cross_compiling=$ac_cv_prog_cc_cross
11242 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11244 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
11245 for ac_func in _isnanl
11247 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11248 echo "configure:11249: checking for $ac_func" >&5
11249 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11250 echo $ac_n "(cached) $ac_c" 1>&6
11252 cat > conftest.$ac_ext <<EOF
11253 #line 11254 "configure"
11254 #include "confdefs.h"
11255 /* System header to define __stub macros and hopefully few prototypes,
11256 which can conflict with char $ac_func(); below. */
11257 #include <assert.h>
11258 /* Override any gcc2 internal prototype to avoid an error. */
11259 /* We use char because int might match the return type of a gcc2
11260 builtin and then its argument prototype would still apply. */
11265 /* The GNU C library defines this for functions which it implements
11266 to always fail with ENOSYS. Some functions are actually named
11267 something starting with __ and the normal name is an alias. */
11268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11276 if { (eval echo configure:11277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11278 eval "ac_cv_func_$ac_func=yes"
11280 echo "configure: failed program was:" >&5
11281 cat conftest.$ac_ext >&5
11283 eval "ac_cv_func_$ac_func=no"
11288 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11289 echo "$ac_t""yes" 1>&6
11290 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11291 cat >> confdefs.h <<EOF
11292 #define $ac_tr_func 1
11296 echo "$ac_t""no" 1>&6
11305 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
11306 echo "configure:11307: checking for isinfl declaration" >&5
11307 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
11308 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
11309 echo $ac_n "(cached) $ac_c" 1>&6
11314 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11315 ac_cpp='$CXXCPP $CPPFLAGS'
11316 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11317 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11318 cross_compiling=$ac_cv_prog_cxx_cross
11320 cat > conftest.$ac_ext <<EOF
11321 #line 11322 "configure"
11322 #include "confdefs.h"
11324 #ifdef HAVE_IEEEFP_H
11325 #include <ieeefp.h>
11332 if { (eval echo configure:11333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11334 glibcpp_cv_func_isinfl_use=yes
11336 echo "configure: failed program was:" >&5
11337 cat conftest.$ac_ext >&5
11339 glibcpp_cv_func_isinfl_use=no
11343 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11344 ac_cpp='$CPP $CPPFLAGS'
11345 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11346 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11347 cross_compiling=$ac_cv_prog_cc_cross
11353 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
11355 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
11356 for ac_func in isinfl
11358 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11359 echo "configure:11360: checking for $ac_func" >&5
11360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11361 echo $ac_n "(cached) $ac_c" 1>&6
11363 cat > conftest.$ac_ext <<EOF
11364 #line 11365 "configure"
11365 #include "confdefs.h"
11366 /* System header to define __stub macros and hopefully few prototypes,
11367 which can conflict with char $ac_func(); below. */
11368 #include <assert.h>
11369 /* Override any gcc2 internal prototype to avoid an error. */
11370 /* We use char because int might match the return type of a gcc2
11371 builtin and then its argument prototype would still apply. */
11376 /* The GNU C library defines this for functions which it implements
11377 to always fail with ENOSYS. Some functions are actually named
11378 something starting with __ and the normal name is an alias. */
11379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11387 if { (eval echo configure:11388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11389 eval "ac_cv_func_$ac_func=yes"
11391 echo "configure: failed program was:" >&5
11392 cat conftest.$ac_ext >&5
11394 eval "ac_cv_func_$ac_func=no"
11399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11400 echo "$ac_t""yes" 1>&6
11401 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11402 cat >> confdefs.h <<EOF
11403 #define $ac_tr_func 1
11407 echo "$ac_t""no" 1>&6
11413 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
11414 echo "configure:11415: checking for _isinfl declaration" >&5
11415 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
11416 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
11417 echo $ac_n "(cached) $ac_c" 1>&6
11422 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11423 ac_cpp='$CXXCPP $CPPFLAGS'
11424 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11425 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11426 cross_compiling=$ac_cv_prog_cxx_cross
11428 cat > conftest.$ac_ext <<EOF
11429 #line 11430 "configure"
11430 #include "confdefs.h"
11432 #ifdef HAVE_IEEEFP_H
11433 #include <ieeefp.h>
11440 if { (eval echo configure:11441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11442 glibcpp_cv_func__isinfl_use=yes
11444 echo "configure: failed program was:" >&5
11445 cat conftest.$ac_ext >&5
11447 glibcpp_cv_func__isinfl_use=no
11451 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11452 ac_cpp='$CPP $CPPFLAGS'
11453 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11454 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11455 cross_compiling=$ac_cv_prog_cc_cross
11461 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
11463 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
11464 for ac_func in _isinfl
11466 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11467 echo "configure:11468: checking for $ac_func" >&5
11468 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11469 echo $ac_n "(cached) $ac_c" 1>&6
11471 cat > conftest.$ac_ext <<EOF
11472 #line 11473 "configure"
11473 #include "confdefs.h"
11474 /* System header to define __stub macros and hopefully few prototypes,
11475 which can conflict with char $ac_func(); below. */
11476 #include <assert.h>
11477 /* Override any gcc2 internal prototype to avoid an error. */
11478 /* We use char because int might match the return type of a gcc2
11479 builtin and then its argument prototype would still apply. */
11484 /* The GNU C library defines this for functions which it implements
11485 to always fail with ENOSYS. Some functions are actually named
11486 something starting with __ and the normal name is an alias. */
11487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11495 if { (eval echo configure:11496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11497 eval "ac_cv_func_$ac_func=yes"
11499 echo "configure: failed program was:" >&5
11500 cat conftest.$ac_ext >&5
11502 eval "ac_cv_func_$ac_func=no"
11507 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11508 echo "$ac_t""yes" 1>&6
11509 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11510 cat >> confdefs.h <<EOF
11511 #define $ac_tr_func 1
11515 echo "$ac_t""no" 1>&6
11524 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
11525 echo "configure:11526: checking for copysignl declaration" >&5
11526 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
11527 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
11528 echo $ac_n "(cached) $ac_c" 1>&6
11533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11534 ac_cpp='$CXXCPP $CPPFLAGS'
11535 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11536 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11537 cross_compiling=$ac_cv_prog_cxx_cross
11539 cat > conftest.$ac_ext <<EOF
11540 #line 11541 "configure"
11541 #include "confdefs.h"
11547 if { (eval echo configure:11548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11549 glibcpp_cv_func_copysignl_use=yes
11551 echo "configure: failed program was:" >&5
11552 cat conftest.$ac_ext >&5
11554 glibcpp_cv_func_copysignl_use=no
11558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11559 ac_cpp='$CPP $CPPFLAGS'
11560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11562 cross_compiling=$ac_cv_prog_cc_cross
11568 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
11570 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
11571 for ac_func in copysignl
11573 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11574 echo "configure:11575: checking for $ac_func" >&5
11575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11576 echo $ac_n "(cached) $ac_c" 1>&6
11578 cat > conftest.$ac_ext <<EOF
11579 #line 11580 "configure"
11580 #include "confdefs.h"
11581 /* System header to define __stub macros and hopefully few prototypes,
11582 which can conflict with char $ac_func(); below. */
11583 #include <assert.h>
11584 /* Override any gcc2 internal prototype to avoid an error. */
11585 /* We use char because int might match the return type of a gcc2
11586 builtin and then its argument prototype would still apply. */
11591 /* The GNU C library defines this for functions which it implements
11592 to always fail with ENOSYS. Some functions are actually named
11593 something starting with __ and the normal name is an alias. */
11594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11602 if { (eval echo configure:11603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11604 eval "ac_cv_func_$ac_func=yes"
11606 echo "configure: failed program was:" >&5
11607 cat conftest.$ac_ext >&5
11609 eval "ac_cv_func_$ac_func=no"
11614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11615 echo "$ac_t""yes" 1>&6
11616 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11617 cat >> confdefs.h <<EOF
11618 #define $ac_tr_func 1
11622 echo "$ac_t""no" 1>&6
11628 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
11629 echo "configure:11630: checking for _copysignl declaration" >&5
11630 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
11631 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
11632 echo $ac_n "(cached) $ac_c" 1>&6
11637 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11638 ac_cpp='$CXXCPP $CPPFLAGS'
11639 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11640 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11641 cross_compiling=$ac_cv_prog_cxx_cross
11643 cat > conftest.$ac_ext <<EOF
11644 #line 11645 "configure"
11645 #include "confdefs.h"
11651 if { (eval echo configure:11652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11653 glibcpp_cv_func__copysignl_use=yes
11655 echo "configure: failed program was:" >&5
11656 cat conftest.$ac_ext >&5
11658 glibcpp_cv_func__copysignl_use=no
11662 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11663 ac_cpp='$CPP $CPPFLAGS'
11664 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11665 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11666 cross_compiling=$ac_cv_prog_cc_cross
11672 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
11674 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
11675 for ac_func in _copysignl
11677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11678 echo "configure:11679: checking for $ac_func" >&5
11679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11680 echo $ac_n "(cached) $ac_c" 1>&6
11682 cat > conftest.$ac_ext <<EOF
11683 #line 11684 "configure"
11684 #include "confdefs.h"
11685 /* System header to define __stub macros and hopefully few prototypes,
11686 which can conflict with char $ac_func(); below. */
11687 #include <assert.h>
11688 /* Override any gcc2 internal prototype to avoid an error. */
11689 /* We use char because int might match the return type of a gcc2
11690 builtin and then its argument prototype would still apply. */
11695 /* The GNU C library defines this for functions which it implements
11696 to always fail with ENOSYS. Some functions are actually named
11697 something starting with __ and the normal name is an alias. */
11698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11706 if { (eval echo configure:11707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11708 eval "ac_cv_func_$ac_func=yes"
11710 echo "configure: failed program was:" >&5
11711 cat conftest.$ac_ext >&5
11713 eval "ac_cv_func_$ac_func=no"
11718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11719 echo "$ac_t""yes" 1>&6
11720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11721 cat >> confdefs.h <<EOF
11722 #define $ac_tr_func 1
11726 echo "$ac_t""no" 1>&6
11735 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
11736 echo "configure:11737: checking for atan2l declaration" >&5
11737 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
11738 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
11739 echo $ac_n "(cached) $ac_c" 1>&6
11744 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11745 ac_cpp='$CXXCPP $CPPFLAGS'
11746 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11747 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11748 cross_compiling=$ac_cv_prog_cxx_cross
11750 cat > conftest.$ac_ext <<EOF
11751 #line 11752 "configure"
11752 #include "confdefs.h"
11758 if { (eval echo configure:11759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11760 glibcpp_cv_func_atan2l_use=yes
11762 echo "configure: failed program was:" >&5
11763 cat conftest.$ac_ext >&5
11765 glibcpp_cv_func_atan2l_use=no
11769 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11770 ac_cpp='$CPP $CPPFLAGS'
11771 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11772 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11773 cross_compiling=$ac_cv_prog_cc_cross
11779 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
11781 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
11782 for ac_func in atan2l
11784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11785 echo "configure:11786: checking for $ac_func" >&5
11786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11787 echo $ac_n "(cached) $ac_c" 1>&6
11789 cat > conftest.$ac_ext <<EOF
11790 #line 11791 "configure"
11791 #include "confdefs.h"
11792 /* System header to define __stub macros and hopefully few prototypes,
11793 which can conflict with char $ac_func(); below. */
11794 #include <assert.h>
11795 /* Override any gcc2 internal prototype to avoid an error. */
11796 /* We use char because int might match the return type of a gcc2
11797 builtin and then its argument prototype would still apply. */
11802 /* The GNU C library defines this for functions which it implements
11803 to always fail with ENOSYS. Some functions are actually named
11804 something starting with __ and the normal name is an alias. */
11805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11813 if { (eval echo configure:11814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11815 eval "ac_cv_func_$ac_func=yes"
11817 echo "configure: failed program was:" >&5
11818 cat conftest.$ac_ext >&5
11820 eval "ac_cv_func_$ac_func=no"
11825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11826 echo "$ac_t""yes" 1>&6
11827 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11828 cat >> confdefs.h <<EOF
11829 #define $ac_tr_func 1
11833 echo "$ac_t""no" 1>&6
11839 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
11840 echo "configure:11841: checking for _atan2l declaration" >&5
11841 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
11842 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
11843 echo $ac_n "(cached) $ac_c" 1>&6
11848 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11849 ac_cpp='$CXXCPP $CPPFLAGS'
11850 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11851 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11852 cross_compiling=$ac_cv_prog_cxx_cross
11854 cat > conftest.$ac_ext <<EOF
11855 #line 11856 "configure"
11856 #include "confdefs.h"
11862 if { (eval echo configure:11863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11864 glibcpp_cv_func__atan2l_use=yes
11866 echo "configure: failed program was:" >&5
11867 cat conftest.$ac_ext >&5
11869 glibcpp_cv_func__atan2l_use=no
11873 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11874 ac_cpp='$CPP $CPPFLAGS'
11875 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11876 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11877 cross_compiling=$ac_cv_prog_cc_cross
11883 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
11885 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
11886 for ac_func in _atan2l
11888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11889 echo "configure:11890: checking for $ac_func" >&5
11890 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11891 echo $ac_n "(cached) $ac_c" 1>&6
11893 cat > conftest.$ac_ext <<EOF
11894 #line 11895 "configure"
11895 #include "confdefs.h"
11896 /* System header to define __stub macros and hopefully few prototypes,
11897 which can conflict with char $ac_func(); below. */
11898 #include <assert.h>
11899 /* Override any gcc2 internal prototype to avoid an error. */
11900 /* We use char because int might match the return type of a gcc2
11901 builtin and then its argument prototype would still apply. */
11906 /* The GNU C library defines this for functions which it implements
11907 to always fail with ENOSYS. Some functions are actually named
11908 something starting with __ and the normal name is an alias. */
11909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11917 if { (eval echo configure:11918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11919 eval "ac_cv_func_$ac_func=yes"
11921 echo "configure: failed program was:" >&5
11922 cat conftest.$ac_ext >&5
11924 eval "ac_cv_func_$ac_func=no"
11929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11930 echo "$ac_t""yes" 1>&6
11931 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11932 cat >> confdefs.h <<EOF
11933 #define $ac_tr_func 1
11937 echo "$ac_t""no" 1>&6
11946 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
11947 echo "configure:11948: checking for expl declaration" >&5
11948 if test x${glibcpp_cv_func_expl_use+set} != xset; then
11949 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
11950 echo $ac_n "(cached) $ac_c" 1>&6
11955 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11956 ac_cpp='$CXXCPP $CPPFLAGS'
11957 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11958 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11959 cross_compiling=$ac_cv_prog_cxx_cross
11961 cat > conftest.$ac_ext <<EOF
11962 #line 11963 "configure"
11963 #include "confdefs.h"
11965 #ifdef HAVE_IEEEFP_H
11966 #include <ieeefp.h>
11973 if { (eval echo configure:11974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11975 glibcpp_cv_func_expl_use=yes
11977 echo "configure: failed program was:" >&5
11978 cat conftest.$ac_ext >&5
11980 glibcpp_cv_func_expl_use=no
11984 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11985 ac_cpp='$CPP $CPPFLAGS'
11986 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11987 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11988 cross_compiling=$ac_cv_prog_cc_cross
11994 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
11996 if test x$glibcpp_cv_func_expl_use = x"yes"; then
11997 for ac_func in expl
11999 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12000 echo "configure:12001: checking for $ac_func" >&5
12001 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12002 echo $ac_n "(cached) $ac_c" 1>&6
12004 cat > conftest.$ac_ext <<EOF
12005 #line 12006 "configure"
12006 #include "confdefs.h"
12007 /* System header to define __stub macros and hopefully few prototypes,
12008 which can conflict with char $ac_func(); below. */
12009 #include <assert.h>
12010 /* Override any gcc2 internal prototype to avoid an error. */
12011 /* We use char because int might match the return type of a gcc2
12012 builtin and then its argument prototype would still apply. */
12017 /* The GNU C library defines this for functions which it implements
12018 to always fail with ENOSYS. Some functions are actually named
12019 something starting with __ and the normal name is an alias. */
12020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12028 if { (eval echo configure:12029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12030 eval "ac_cv_func_$ac_func=yes"
12032 echo "configure: failed program was:" >&5
12033 cat conftest.$ac_ext >&5
12035 eval "ac_cv_func_$ac_func=no"
12040 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12041 echo "$ac_t""yes" 1>&6
12042 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12043 cat >> confdefs.h <<EOF
12044 #define $ac_tr_func 1
12048 echo "$ac_t""no" 1>&6
12054 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
12055 echo "configure:12056: checking for _expl declaration" >&5
12056 if test x${glibcpp_cv_func__expl_use+set} != xset; then
12057 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12058 echo $ac_n "(cached) $ac_c" 1>&6
12063 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12064 ac_cpp='$CXXCPP $CPPFLAGS'
12065 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12066 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12067 cross_compiling=$ac_cv_prog_cxx_cross
12069 cat > conftest.$ac_ext <<EOF
12070 #line 12071 "configure"
12071 #include "confdefs.h"
12073 #ifdef HAVE_IEEEFP_H
12074 #include <ieeefp.h>
12081 if { (eval echo configure:12082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12083 glibcpp_cv_func__expl_use=yes
12085 echo "configure: failed program was:" >&5
12086 cat conftest.$ac_ext >&5
12088 glibcpp_cv_func__expl_use=no
12092 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12093 ac_cpp='$CPP $CPPFLAGS'
12094 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12095 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12096 cross_compiling=$ac_cv_prog_cc_cross
12102 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12104 if test x$glibcpp_cv_func__expl_use = x"yes"; then
12105 for ac_func in _expl
12107 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12108 echo "configure:12109: checking for $ac_func" >&5
12109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12110 echo $ac_n "(cached) $ac_c" 1>&6
12112 cat > conftest.$ac_ext <<EOF
12113 #line 12114 "configure"
12114 #include "confdefs.h"
12115 /* System header to define __stub macros and hopefully few prototypes,
12116 which can conflict with char $ac_func(); below. */
12117 #include <assert.h>
12118 /* Override any gcc2 internal prototype to avoid an error. */
12119 /* We use char because int might match the return type of a gcc2
12120 builtin and then its argument prototype would still apply. */
12125 /* The GNU C library defines this for functions which it implements
12126 to always fail with ENOSYS. Some functions are actually named
12127 something starting with __ and the normal name is an alias. */
12128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12136 if { (eval echo configure:12137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12138 eval "ac_cv_func_$ac_func=yes"
12140 echo "configure: failed program was:" >&5
12141 cat conftest.$ac_ext >&5
12143 eval "ac_cv_func_$ac_func=no"
12148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12149 echo "$ac_t""yes" 1>&6
12150 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12151 cat >> confdefs.h <<EOF
12152 #define $ac_tr_func 1
12156 echo "$ac_t""no" 1>&6
12165 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
12166 echo "configure:12167: checking for fabsl declaration" >&5
12167 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
12168 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
12169 echo $ac_n "(cached) $ac_c" 1>&6
12174 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12175 ac_cpp='$CXXCPP $CPPFLAGS'
12176 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12177 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12178 cross_compiling=$ac_cv_prog_cxx_cross
12180 cat > conftest.$ac_ext <<EOF
12181 #line 12182 "configure"
12182 #include "confdefs.h"
12184 #ifdef HAVE_IEEEFP_H
12185 #include <ieeefp.h>
12192 if { (eval echo configure:12193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12194 glibcpp_cv_func_fabsl_use=yes
12196 echo "configure: failed program was:" >&5
12197 cat conftest.$ac_ext >&5
12199 glibcpp_cv_func_fabsl_use=no
12203 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12204 ac_cpp='$CPP $CPPFLAGS'
12205 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12206 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12207 cross_compiling=$ac_cv_prog_cc_cross
12213 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
12215 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
12216 for ac_func in fabsl
12218 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12219 echo "configure:12220: checking for $ac_func" >&5
12220 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12221 echo $ac_n "(cached) $ac_c" 1>&6
12223 cat > conftest.$ac_ext <<EOF
12224 #line 12225 "configure"
12225 #include "confdefs.h"
12226 /* System header to define __stub macros and hopefully few prototypes,
12227 which can conflict with char $ac_func(); below. */
12228 #include <assert.h>
12229 /* Override any gcc2 internal prototype to avoid an error. */
12230 /* We use char because int might match the return type of a gcc2
12231 builtin and then its argument prototype would still apply. */
12236 /* The GNU C library defines this for functions which it implements
12237 to always fail with ENOSYS. Some functions are actually named
12238 something starting with __ and the normal name is an alias. */
12239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12247 if { (eval echo configure:12248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12249 eval "ac_cv_func_$ac_func=yes"
12251 echo "configure: failed program was:" >&5
12252 cat conftest.$ac_ext >&5
12254 eval "ac_cv_func_$ac_func=no"
12259 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12260 echo "$ac_t""yes" 1>&6
12261 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12262 cat >> confdefs.h <<EOF
12263 #define $ac_tr_func 1
12267 echo "$ac_t""no" 1>&6
12273 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
12274 echo "configure:12275: checking for _fabsl declaration" >&5
12275 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
12276 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12277 echo $ac_n "(cached) $ac_c" 1>&6
12282 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12283 ac_cpp='$CXXCPP $CPPFLAGS'
12284 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12285 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12286 cross_compiling=$ac_cv_prog_cxx_cross
12288 cat > conftest.$ac_ext <<EOF
12289 #line 12290 "configure"
12290 #include "confdefs.h"
12292 #ifdef HAVE_IEEEFP_H
12293 #include <ieeefp.h>
12300 if { (eval echo configure:12301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12302 glibcpp_cv_func__fabsl_use=yes
12304 echo "configure: failed program was:" >&5
12305 cat conftest.$ac_ext >&5
12307 glibcpp_cv_func__fabsl_use=no
12311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12312 ac_cpp='$CPP $CPPFLAGS'
12313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12315 cross_compiling=$ac_cv_prog_cc_cross
12321 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
12323 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
12324 for ac_func in _fabsl
12326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12327 echo "configure:12328: checking for $ac_func" >&5
12328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12329 echo $ac_n "(cached) $ac_c" 1>&6
12331 cat > conftest.$ac_ext <<EOF
12332 #line 12333 "configure"
12333 #include "confdefs.h"
12334 /* System header to define __stub macros and hopefully few prototypes,
12335 which can conflict with char $ac_func(); below. */
12336 #include <assert.h>
12337 /* Override any gcc2 internal prototype to avoid an error. */
12338 /* We use char because int might match the return type of a gcc2
12339 builtin and then its argument prototype would still apply. */
12344 /* The GNU C library defines this for functions which it implements
12345 to always fail with ENOSYS. Some functions are actually named
12346 something starting with __ and the normal name is an alias. */
12347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12355 if { (eval echo configure:12356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12357 eval "ac_cv_func_$ac_func=yes"
12359 echo "configure: failed program was:" >&5
12360 cat conftest.$ac_ext >&5
12362 eval "ac_cv_func_$ac_func=no"
12367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12368 echo "$ac_t""yes" 1>&6
12369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12370 cat >> confdefs.h <<EOF
12371 #define $ac_tr_func 1
12375 echo "$ac_t""no" 1>&6
12384 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
12385 echo "configure:12386: checking for fmodl declaration" >&5
12386 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
12387 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
12388 echo $ac_n "(cached) $ac_c" 1>&6
12393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12394 ac_cpp='$CXXCPP $CPPFLAGS'
12395 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12396 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12397 cross_compiling=$ac_cv_prog_cxx_cross
12399 cat > conftest.$ac_ext <<EOF
12400 #line 12401 "configure"
12401 #include "confdefs.h"
12407 if { (eval echo configure:12408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12409 glibcpp_cv_func_fmodl_use=yes
12411 echo "configure: failed program was:" >&5
12412 cat conftest.$ac_ext >&5
12414 glibcpp_cv_func_fmodl_use=no
12418 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12419 ac_cpp='$CPP $CPPFLAGS'
12420 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12421 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12422 cross_compiling=$ac_cv_prog_cc_cross
12428 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
12430 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
12431 for ac_func in fmodl
12433 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12434 echo "configure:12435: checking for $ac_func" >&5
12435 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12436 echo $ac_n "(cached) $ac_c" 1>&6
12438 cat > conftest.$ac_ext <<EOF
12439 #line 12440 "configure"
12440 #include "confdefs.h"
12441 /* System header to define __stub macros and hopefully few prototypes,
12442 which can conflict with char $ac_func(); below. */
12443 #include <assert.h>
12444 /* Override any gcc2 internal prototype to avoid an error. */
12445 /* We use char because int might match the return type of a gcc2
12446 builtin and then its argument prototype would still apply. */
12451 /* The GNU C library defines this for functions which it implements
12452 to always fail with ENOSYS. Some functions are actually named
12453 something starting with __ and the normal name is an alias. */
12454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12462 if { (eval echo configure:12463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12464 eval "ac_cv_func_$ac_func=yes"
12466 echo "configure: failed program was:" >&5
12467 cat conftest.$ac_ext >&5
12469 eval "ac_cv_func_$ac_func=no"
12474 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12475 echo "$ac_t""yes" 1>&6
12476 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12477 cat >> confdefs.h <<EOF
12478 #define $ac_tr_func 1
12482 echo "$ac_t""no" 1>&6
12488 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
12489 echo "configure:12490: checking for _fmodl declaration" >&5
12490 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
12491 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
12492 echo $ac_n "(cached) $ac_c" 1>&6
12497 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12498 ac_cpp='$CXXCPP $CPPFLAGS'
12499 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12500 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12501 cross_compiling=$ac_cv_prog_cxx_cross
12503 cat > conftest.$ac_ext <<EOF
12504 #line 12505 "configure"
12505 #include "confdefs.h"
12511 if { (eval echo configure:12512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12513 glibcpp_cv_func__fmodl_use=yes
12515 echo "configure: failed program was:" >&5
12516 cat conftest.$ac_ext >&5
12518 glibcpp_cv_func__fmodl_use=no
12522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12523 ac_cpp='$CPP $CPPFLAGS'
12524 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12525 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12526 cross_compiling=$ac_cv_prog_cc_cross
12532 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
12534 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
12535 for ac_func in _fmodl
12537 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12538 echo "configure:12539: checking for $ac_func" >&5
12539 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12540 echo $ac_n "(cached) $ac_c" 1>&6
12542 cat > conftest.$ac_ext <<EOF
12543 #line 12544 "configure"
12544 #include "confdefs.h"
12545 /* System header to define __stub macros and hopefully few prototypes,
12546 which can conflict with char $ac_func(); below. */
12547 #include <assert.h>
12548 /* Override any gcc2 internal prototype to avoid an error. */
12549 /* We use char because int might match the return type of a gcc2
12550 builtin and then its argument prototype would still apply. */
12555 /* The GNU C library defines this for functions which it implements
12556 to always fail with ENOSYS. Some functions are actually named
12557 something starting with __ and the normal name is an alias. */
12558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12566 if { (eval echo configure:12567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12568 eval "ac_cv_func_$ac_func=yes"
12570 echo "configure: failed program was:" >&5
12571 cat conftest.$ac_ext >&5
12573 eval "ac_cv_func_$ac_func=no"
12578 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12579 echo "$ac_t""yes" 1>&6
12580 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12581 cat >> confdefs.h <<EOF
12582 #define $ac_tr_func 1
12586 echo "$ac_t""no" 1>&6
12595 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
12596 echo "configure:12597: checking for frexpl declaration" >&5
12597 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
12598 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
12599 echo $ac_n "(cached) $ac_c" 1>&6
12604 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12605 ac_cpp='$CXXCPP $CPPFLAGS'
12606 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12607 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12608 cross_compiling=$ac_cv_prog_cxx_cross
12610 cat > conftest.$ac_ext <<EOF
12611 #line 12612 "configure"
12612 #include "confdefs.h"
12618 if { (eval echo configure:12619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12620 glibcpp_cv_func_frexpl_use=yes
12622 echo "configure: failed program was:" >&5
12623 cat conftest.$ac_ext >&5
12625 glibcpp_cv_func_frexpl_use=no
12629 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12630 ac_cpp='$CPP $CPPFLAGS'
12631 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12632 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12633 cross_compiling=$ac_cv_prog_cc_cross
12639 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
12641 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
12642 for ac_func in frexpl
12644 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12645 echo "configure:12646: checking for $ac_func" >&5
12646 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12647 echo $ac_n "(cached) $ac_c" 1>&6
12649 cat > conftest.$ac_ext <<EOF
12650 #line 12651 "configure"
12651 #include "confdefs.h"
12652 /* System header to define __stub macros and hopefully few prototypes,
12653 which can conflict with char $ac_func(); below. */
12654 #include <assert.h>
12655 /* Override any gcc2 internal prototype to avoid an error. */
12656 /* We use char because int might match the return type of a gcc2
12657 builtin and then its argument prototype would still apply. */
12662 /* The GNU C library defines this for functions which it implements
12663 to always fail with ENOSYS. Some functions are actually named
12664 something starting with __ and the normal name is an alias. */
12665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12673 if { (eval echo configure:12674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12675 eval "ac_cv_func_$ac_func=yes"
12677 echo "configure: failed program was:" >&5
12678 cat conftest.$ac_ext >&5
12680 eval "ac_cv_func_$ac_func=no"
12685 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12686 echo "$ac_t""yes" 1>&6
12687 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12688 cat >> confdefs.h <<EOF
12689 #define $ac_tr_func 1
12693 echo "$ac_t""no" 1>&6
12699 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
12700 echo "configure:12701: checking for _frexpl declaration" >&5
12701 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
12702 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
12703 echo $ac_n "(cached) $ac_c" 1>&6
12708 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12709 ac_cpp='$CXXCPP $CPPFLAGS'
12710 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12711 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12712 cross_compiling=$ac_cv_prog_cxx_cross
12714 cat > conftest.$ac_ext <<EOF
12715 #line 12716 "configure"
12716 #include "confdefs.h"
12722 if { (eval echo configure:12723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12724 glibcpp_cv_func__frexpl_use=yes
12726 echo "configure: failed program was:" >&5
12727 cat conftest.$ac_ext >&5
12729 glibcpp_cv_func__frexpl_use=no
12733 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12734 ac_cpp='$CPP $CPPFLAGS'
12735 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12736 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12737 cross_compiling=$ac_cv_prog_cc_cross
12743 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
12745 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
12746 for ac_func in _frexpl
12748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12749 echo "configure:12750: checking for $ac_func" >&5
12750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12751 echo $ac_n "(cached) $ac_c" 1>&6
12753 cat > conftest.$ac_ext <<EOF
12754 #line 12755 "configure"
12755 #include "confdefs.h"
12756 /* System header to define __stub macros and hopefully few prototypes,
12757 which can conflict with char $ac_func(); below. */
12758 #include <assert.h>
12759 /* Override any gcc2 internal prototype to avoid an error. */
12760 /* We use char because int might match the return type of a gcc2
12761 builtin and then its argument prototype would still apply. */
12766 /* The GNU C library defines this for functions which it implements
12767 to always fail with ENOSYS. Some functions are actually named
12768 something starting with __ and the normal name is an alias. */
12769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12777 if { (eval echo configure:12778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12779 eval "ac_cv_func_$ac_func=yes"
12781 echo "configure: failed program was:" >&5
12782 cat conftest.$ac_ext >&5
12784 eval "ac_cv_func_$ac_func=no"
12789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12790 echo "$ac_t""yes" 1>&6
12791 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12792 cat >> confdefs.h <<EOF
12793 #define $ac_tr_func 1
12797 echo "$ac_t""no" 1>&6
12806 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
12807 echo "configure:12808: checking for ldexpl declaration" >&5
12808 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
12809 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
12810 echo $ac_n "(cached) $ac_c" 1>&6
12815 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12816 ac_cpp='$CXXCPP $CPPFLAGS'
12817 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12818 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12819 cross_compiling=$ac_cv_prog_cxx_cross
12821 cat > conftest.$ac_ext <<EOF
12822 #line 12823 "configure"
12823 #include "confdefs.h"
12829 if { (eval echo configure:12830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12831 glibcpp_cv_func_ldexpl_use=yes
12833 echo "configure: failed program was:" >&5
12834 cat conftest.$ac_ext >&5
12836 glibcpp_cv_func_ldexpl_use=no
12840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12841 ac_cpp='$CPP $CPPFLAGS'
12842 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12843 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12844 cross_compiling=$ac_cv_prog_cc_cross
12850 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
12852 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
12853 for ac_func in ldexpl
12855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12856 echo "configure:12857: checking for $ac_func" >&5
12857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12858 echo $ac_n "(cached) $ac_c" 1>&6
12860 cat > conftest.$ac_ext <<EOF
12861 #line 12862 "configure"
12862 #include "confdefs.h"
12863 /* System header to define __stub macros and hopefully few prototypes,
12864 which can conflict with char $ac_func(); below. */
12865 #include <assert.h>
12866 /* Override any gcc2 internal prototype to avoid an error. */
12867 /* We use char because int might match the return type of a gcc2
12868 builtin and then its argument prototype would still apply. */
12873 /* The GNU C library defines this for functions which it implements
12874 to always fail with ENOSYS. Some functions are actually named
12875 something starting with __ and the normal name is an alias. */
12876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12884 if { (eval echo configure:12885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12886 eval "ac_cv_func_$ac_func=yes"
12888 echo "configure: failed program was:" >&5
12889 cat conftest.$ac_ext >&5
12891 eval "ac_cv_func_$ac_func=no"
12896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12897 echo "$ac_t""yes" 1>&6
12898 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12899 cat >> confdefs.h <<EOF
12900 #define $ac_tr_func 1
12904 echo "$ac_t""no" 1>&6
12910 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
12911 echo "configure:12912: checking for _ldexpl declaration" >&5
12912 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
12913 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
12914 echo $ac_n "(cached) $ac_c" 1>&6
12919 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12920 ac_cpp='$CXXCPP $CPPFLAGS'
12921 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12922 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12923 cross_compiling=$ac_cv_prog_cxx_cross
12925 cat > conftest.$ac_ext <<EOF
12926 #line 12927 "configure"
12927 #include "confdefs.h"
12933 if { (eval echo configure:12934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12935 glibcpp_cv_func__ldexpl_use=yes
12937 echo "configure: failed program was:" >&5
12938 cat conftest.$ac_ext >&5
12940 glibcpp_cv_func__ldexpl_use=no
12944 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12945 ac_cpp='$CPP $CPPFLAGS'
12946 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12947 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12948 cross_compiling=$ac_cv_prog_cc_cross
12954 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
12956 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
12957 for ac_func in _ldexpl
12959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12960 echo "configure:12961: checking for $ac_func" >&5
12961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12962 echo $ac_n "(cached) $ac_c" 1>&6
12964 cat > conftest.$ac_ext <<EOF
12965 #line 12966 "configure"
12966 #include "confdefs.h"
12967 /* System header to define __stub macros and hopefully few prototypes,
12968 which can conflict with char $ac_func(); below. */
12969 #include <assert.h>
12970 /* Override any gcc2 internal prototype to avoid an error. */
12971 /* We use char because int might match the return type of a gcc2
12972 builtin and then its argument prototype would still apply. */
12977 /* The GNU C library defines this for functions which it implements
12978 to always fail with ENOSYS. Some functions are actually named
12979 something starting with __ and the normal name is an alias. */
12980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12988 if { (eval echo configure:12989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12990 eval "ac_cv_func_$ac_func=yes"
12992 echo "configure: failed program was:" >&5
12993 cat conftest.$ac_ext >&5
12995 eval "ac_cv_func_$ac_func=no"
13000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13001 echo "$ac_t""yes" 1>&6
13002 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13003 cat >> confdefs.h <<EOF
13004 #define $ac_tr_func 1
13008 echo "$ac_t""no" 1>&6
13017 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
13018 echo "configure:13019: checking for logl declaration" >&5
13019 if test x${glibcpp_cv_func_logl_use+set} != xset; then
13020 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
13021 echo $ac_n "(cached) $ac_c" 1>&6
13026 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13027 ac_cpp='$CXXCPP $CPPFLAGS'
13028 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13029 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13030 cross_compiling=$ac_cv_prog_cxx_cross
13032 cat > conftest.$ac_ext <<EOF
13033 #line 13034 "configure"
13034 #include "confdefs.h"
13036 #ifdef HAVE_IEEEFP_H
13037 #include <ieeefp.h>
13044 if { (eval echo configure:13045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13046 glibcpp_cv_func_logl_use=yes
13048 echo "configure: failed program was:" >&5
13049 cat conftest.$ac_ext >&5
13051 glibcpp_cv_func_logl_use=no
13055 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13056 ac_cpp='$CPP $CPPFLAGS'
13057 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13058 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13059 cross_compiling=$ac_cv_prog_cc_cross
13065 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
13067 if test x$glibcpp_cv_func_logl_use = x"yes"; then
13068 for ac_func in logl
13070 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13071 echo "configure:13072: checking for $ac_func" >&5
13072 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13073 echo $ac_n "(cached) $ac_c" 1>&6
13075 cat > conftest.$ac_ext <<EOF
13076 #line 13077 "configure"
13077 #include "confdefs.h"
13078 /* System header to define __stub macros and hopefully few prototypes,
13079 which can conflict with char $ac_func(); below. */
13080 #include <assert.h>
13081 /* Override any gcc2 internal prototype to avoid an error. */
13082 /* We use char because int might match the return type of a gcc2
13083 builtin and then its argument prototype would still apply. */
13088 /* The GNU C library defines this for functions which it implements
13089 to always fail with ENOSYS. Some functions are actually named
13090 something starting with __ and the normal name is an alias. */
13091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13099 if { (eval echo configure:13100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13101 eval "ac_cv_func_$ac_func=yes"
13103 echo "configure: failed program was:" >&5
13104 cat conftest.$ac_ext >&5
13106 eval "ac_cv_func_$ac_func=no"
13111 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13112 echo "$ac_t""yes" 1>&6
13113 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13114 cat >> confdefs.h <<EOF
13115 #define $ac_tr_func 1
13119 echo "$ac_t""no" 1>&6
13125 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
13126 echo "configure:13127: checking for _logl declaration" >&5
13127 if test x${glibcpp_cv_func__logl_use+set} != xset; then
13128 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
13129 echo $ac_n "(cached) $ac_c" 1>&6
13134 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13135 ac_cpp='$CXXCPP $CPPFLAGS'
13136 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13137 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13138 cross_compiling=$ac_cv_prog_cxx_cross
13140 cat > conftest.$ac_ext <<EOF
13141 #line 13142 "configure"
13142 #include "confdefs.h"
13144 #ifdef HAVE_IEEEFP_H
13145 #include <ieeefp.h>
13152 if { (eval echo configure:13153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13154 glibcpp_cv_func__logl_use=yes
13156 echo "configure: failed program was:" >&5
13157 cat conftest.$ac_ext >&5
13159 glibcpp_cv_func__logl_use=no
13163 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13164 ac_cpp='$CPP $CPPFLAGS'
13165 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13166 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13167 cross_compiling=$ac_cv_prog_cc_cross
13173 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
13175 if test x$glibcpp_cv_func__logl_use = x"yes"; then
13176 for ac_func in _logl
13178 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13179 echo "configure:13180: checking for $ac_func" >&5
13180 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13181 echo $ac_n "(cached) $ac_c" 1>&6
13183 cat > conftest.$ac_ext <<EOF
13184 #line 13185 "configure"
13185 #include "confdefs.h"
13186 /* System header to define __stub macros and hopefully few prototypes,
13187 which can conflict with char $ac_func(); below. */
13188 #include <assert.h>
13189 /* Override any gcc2 internal prototype to avoid an error. */
13190 /* We use char because int might match the return type of a gcc2
13191 builtin and then its argument prototype would still apply. */
13196 /* The GNU C library defines this for functions which it implements
13197 to always fail with ENOSYS. Some functions are actually named
13198 something starting with __ and the normal name is an alias. */
13199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13207 if { (eval echo configure:13208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13209 eval "ac_cv_func_$ac_func=yes"
13211 echo "configure: failed program was:" >&5
13212 cat conftest.$ac_ext >&5
13214 eval "ac_cv_func_$ac_func=no"
13219 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13220 echo "$ac_t""yes" 1>&6
13221 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13222 cat >> confdefs.h <<EOF
13223 #define $ac_tr_func 1
13227 echo "$ac_t""no" 1>&6
13236 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
13237 echo "configure:13238: checking for log10l declaration" >&5
13238 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
13239 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
13240 echo $ac_n "(cached) $ac_c" 1>&6
13245 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13246 ac_cpp='$CXXCPP $CPPFLAGS'
13247 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13248 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13249 cross_compiling=$ac_cv_prog_cxx_cross
13251 cat > conftest.$ac_ext <<EOF
13252 #line 13253 "configure"
13253 #include "confdefs.h"
13255 #ifdef HAVE_IEEEFP_H
13256 #include <ieeefp.h>
13263 if { (eval echo configure:13264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13265 glibcpp_cv_func_log10l_use=yes
13267 echo "configure: failed program was:" >&5
13268 cat conftest.$ac_ext >&5
13270 glibcpp_cv_func_log10l_use=no
13274 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13275 ac_cpp='$CPP $CPPFLAGS'
13276 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13277 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13278 cross_compiling=$ac_cv_prog_cc_cross
13284 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
13286 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
13287 for ac_func in log10l
13289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13290 echo "configure:13291: checking for $ac_func" >&5
13291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13292 echo $ac_n "(cached) $ac_c" 1>&6
13294 cat > conftest.$ac_ext <<EOF
13295 #line 13296 "configure"
13296 #include "confdefs.h"
13297 /* System header to define __stub macros and hopefully few prototypes,
13298 which can conflict with char $ac_func(); below. */
13299 #include <assert.h>
13300 /* Override any gcc2 internal prototype to avoid an error. */
13301 /* We use char because int might match the return type of a gcc2
13302 builtin and then its argument prototype would still apply. */
13307 /* The GNU C library defines this for functions which it implements
13308 to always fail with ENOSYS. Some functions are actually named
13309 something starting with __ and the normal name is an alias. */
13310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13318 if { (eval echo configure:13319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13320 eval "ac_cv_func_$ac_func=yes"
13322 echo "configure: failed program was:" >&5
13323 cat conftest.$ac_ext >&5
13325 eval "ac_cv_func_$ac_func=no"
13330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13331 echo "$ac_t""yes" 1>&6
13332 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13333 cat >> confdefs.h <<EOF
13334 #define $ac_tr_func 1
13338 echo "$ac_t""no" 1>&6
13344 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
13345 echo "configure:13346: checking for _log10l declaration" >&5
13346 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
13347 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
13348 echo $ac_n "(cached) $ac_c" 1>&6
13353 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13354 ac_cpp='$CXXCPP $CPPFLAGS'
13355 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13356 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13357 cross_compiling=$ac_cv_prog_cxx_cross
13359 cat > conftest.$ac_ext <<EOF
13360 #line 13361 "configure"
13361 #include "confdefs.h"
13363 #ifdef HAVE_IEEEFP_H
13364 #include <ieeefp.h>
13371 if { (eval echo configure:13372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13373 glibcpp_cv_func__log10l_use=yes
13375 echo "configure: failed program was:" >&5
13376 cat conftest.$ac_ext >&5
13378 glibcpp_cv_func__log10l_use=no
13382 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13383 ac_cpp='$CPP $CPPFLAGS'
13384 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13385 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13386 cross_compiling=$ac_cv_prog_cc_cross
13392 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
13394 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
13395 for ac_func in _log10l
13397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13398 echo "configure:13399: checking for $ac_func" >&5
13399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13400 echo $ac_n "(cached) $ac_c" 1>&6
13402 cat > conftest.$ac_ext <<EOF
13403 #line 13404 "configure"
13404 #include "confdefs.h"
13405 /* System header to define __stub macros and hopefully few prototypes,
13406 which can conflict with char $ac_func(); below. */
13407 #include <assert.h>
13408 /* Override any gcc2 internal prototype to avoid an error. */
13409 /* We use char because int might match the return type of a gcc2
13410 builtin and then its argument prototype would still apply. */
13415 /* The GNU C library defines this for functions which it implements
13416 to always fail with ENOSYS. Some functions are actually named
13417 something starting with __ and the normal name is an alias. */
13418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13426 if { (eval echo configure:13427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13428 eval "ac_cv_func_$ac_func=yes"
13430 echo "configure: failed program was:" >&5
13431 cat conftest.$ac_ext >&5
13433 eval "ac_cv_func_$ac_func=no"
13438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13439 echo "$ac_t""yes" 1>&6
13440 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13441 cat >> confdefs.h <<EOF
13442 #define $ac_tr_func 1
13446 echo "$ac_t""no" 1>&6
13455 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
13456 echo "configure:13457: checking for modfl declaration" >&5
13457 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
13458 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
13459 echo $ac_n "(cached) $ac_c" 1>&6
13464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13465 ac_cpp='$CXXCPP $CPPFLAGS'
13466 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13467 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13468 cross_compiling=$ac_cv_prog_cxx_cross
13470 cat > conftest.$ac_ext <<EOF
13471 #line 13472 "configure"
13472 #include "confdefs.h"
13478 if { (eval echo configure:13479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13480 glibcpp_cv_func_modfl_use=yes
13482 echo "configure: failed program was:" >&5
13483 cat conftest.$ac_ext >&5
13485 glibcpp_cv_func_modfl_use=no
13489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13490 ac_cpp='$CPP $CPPFLAGS'
13491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13493 cross_compiling=$ac_cv_prog_cc_cross
13499 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
13501 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
13502 for ac_func in modfl
13504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13505 echo "configure:13506: checking for $ac_func" >&5
13506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13507 echo $ac_n "(cached) $ac_c" 1>&6
13509 cat > conftest.$ac_ext <<EOF
13510 #line 13511 "configure"
13511 #include "confdefs.h"
13512 /* System header to define __stub macros and hopefully few prototypes,
13513 which can conflict with char $ac_func(); below. */
13514 #include <assert.h>
13515 /* Override any gcc2 internal prototype to avoid an error. */
13516 /* We use char because int might match the return type of a gcc2
13517 builtin and then its argument prototype would still apply. */
13522 /* The GNU C library defines this for functions which it implements
13523 to always fail with ENOSYS. Some functions are actually named
13524 something starting with __ and the normal name is an alias. */
13525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13533 if { (eval echo configure:13534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13535 eval "ac_cv_func_$ac_func=yes"
13537 echo "configure: failed program was:" >&5
13538 cat conftest.$ac_ext >&5
13540 eval "ac_cv_func_$ac_func=no"
13545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13546 echo "$ac_t""yes" 1>&6
13547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13548 cat >> confdefs.h <<EOF
13549 #define $ac_tr_func 1
13553 echo "$ac_t""no" 1>&6
13559 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
13560 echo "configure:13561: checking for _modfl declaration" >&5
13561 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
13562 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13563 echo $ac_n "(cached) $ac_c" 1>&6
13568 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13569 ac_cpp='$CXXCPP $CPPFLAGS'
13570 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13571 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13572 cross_compiling=$ac_cv_prog_cxx_cross
13574 cat > conftest.$ac_ext <<EOF
13575 #line 13576 "configure"
13576 #include "confdefs.h"
13582 if { (eval echo configure:13583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13584 glibcpp_cv_func__modfl_use=yes
13586 echo "configure: failed program was:" >&5
13587 cat conftest.$ac_ext >&5
13589 glibcpp_cv_func__modfl_use=no
13593 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13594 ac_cpp='$CPP $CPPFLAGS'
13595 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13596 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13597 cross_compiling=$ac_cv_prog_cc_cross
13603 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13605 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
13606 for ac_func in _modfl
13608 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13609 echo "configure:13610: checking for $ac_func" >&5
13610 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13611 echo $ac_n "(cached) $ac_c" 1>&6
13613 cat > conftest.$ac_ext <<EOF
13614 #line 13615 "configure"
13615 #include "confdefs.h"
13616 /* System header to define __stub macros and hopefully few prototypes,
13617 which can conflict with char $ac_func(); below. */
13618 #include <assert.h>
13619 /* Override any gcc2 internal prototype to avoid an error. */
13620 /* We use char because int might match the return type of a gcc2
13621 builtin and then its argument prototype would still apply. */
13626 /* The GNU C library defines this for functions which it implements
13627 to always fail with ENOSYS. Some functions are actually named
13628 something starting with __ and the normal name is an alias. */
13629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13637 if { (eval echo configure:13638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13639 eval "ac_cv_func_$ac_func=yes"
13641 echo "configure: failed program was:" >&5
13642 cat conftest.$ac_ext >&5
13644 eval "ac_cv_func_$ac_func=no"
13649 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13650 echo "$ac_t""yes" 1>&6
13651 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13652 cat >> confdefs.h <<EOF
13653 #define $ac_tr_func 1
13657 echo "$ac_t""no" 1>&6
13666 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
13667 echo "configure:13668: checking for powl declaration" >&5
13668 if test x${glibcpp_cv_func_powl_use+set} != xset; then
13669 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
13670 echo $ac_n "(cached) $ac_c" 1>&6
13675 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13676 ac_cpp='$CXXCPP $CPPFLAGS'
13677 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13678 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13679 cross_compiling=$ac_cv_prog_cxx_cross
13681 cat > conftest.$ac_ext <<EOF
13682 #line 13683 "configure"
13683 #include "confdefs.h"
13689 if { (eval echo configure:13690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13691 glibcpp_cv_func_powl_use=yes
13693 echo "configure: failed program was:" >&5
13694 cat conftest.$ac_ext >&5
13696 glibcpp_cv_func_powl_use=no
13700 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13701 ac_cpp='$CPP $CPPFLAGS'
13702 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13703 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13704 cross_compiling=$ac_cv_prog_cc_cross
13710 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
13712 if test x$glibcpp_cv_func_powl_use = x"yes"; then
13713 for ac_func in powl
13715 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13716 echo "configure:13717: checking for $ac_func" >&5
13717 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13718 echo $ac_n "(cached) $ac_c" 1>&6
13720 cat > conftest.$ac_ext <<EOF
13721 #line 13722 "configure"
13722 #include "confdefs.h"
13723 /* System header to define __stub macros and hopefully few prototypes,
13724 which can conflict with char $ac_func(); below. */
13725 #include <assert.h>
13726 /* Override any gcc2 internal prototype to avoid an error. */
13727 /* We use char because int might match the return type of a gcc2
13728 builtin and then its argument prototype would still apply. */
13733 /* The GNU C library defines this for functions which it implements
13734 to always fail with ENOSYS. Some functions are actually named
13735 something starting with __ and the normal name is an alias. */
13736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13744 if { (eval echo configure:13745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13746 eval "ac_cv_func_$ac_func=yes"
13748 echo "configure: failed program was:" >&5
13749 cat conftest.$ac_ext >&5
13751 eval "ac_cv_func_$ac_func=no"
13756 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13757 echo "$ac_t""yes" 1>&6
13758 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13759 cat >> confdefs.h <<EOF
13760 #define $ac_tr_func 1
13764 echo "$ac_t""no" 1>&6
13770 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
13771 echo "configure:13772: checking for _powl declaration" >&5
13772 if test x${glibcpp_cv_func__powl_use+set} != xset; then
13773 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
13774 echo $ac_n "(cached) $ac_c" 1>&6
13779 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13780 ac_cpp='$CXXCPP $CPPFLAGS'
13781 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13782 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13783 cross_compiling=$ac_cv_prog_cxx_cross
13785 cat > conftest.$ac_ext <<EOF
13786 #line 13787 "configure"
13787 #include "confdefs.h"
13793 if { (eval echo configure:13794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13795 glibcpp_cv_func__powl_use=yes
13797 echo "configure: failed program was:" >&5
13798 cat conftest.$ac_ext >&5
13800 glibcpp_cv_func__powl_use=no
13804 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13805 ac_cpp='$CPP $CPPFLAGS'
13806 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13807 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13808 cross_compiling=$ac_cv_prog_cc_cross
13814 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
13816 if test x$glibcpp_cv_func__powl_use = x"yes"; then
13817 for ac_func in _powl
13819 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13820 echo "configure:13821: checking for $ac_func" >&5
13821 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13822 echo $ac_n "(cached) $ac_c" 1>&6
13824 cat > conftest.$ac_ext <<EOF
13825 #line 13826 "configure"
13826 #include "confdefs.h"
13827 /* System header to define __stub macros and hopefully few prototypes,
13828 which can conflict with char $ac_func(); below. */
13829 #include <assert.h>
13830 /* Override any gcc2 internal prototype to avoid an error. */
13831 /* We use char because int might match the return type of a gcc2
13832 builtin and then its argument prototype would still apply. */
13837 /* The GNU C library defines this for functions which it implements
13838 to always fail with ENOSYS. Some functions are actually named
13839 something starting with __ and the normal name is an alias. */
13840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13848 if { (eval echo configure:13849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13850 eval "ac_cv_func_$ac_func=yes"
13852 echo "configure: failed program was:" >&5
13853 cat conftest.$ac_ext >&5
13855 eval "ac_cv_func_$ac_func=no"
13860 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13861 echo "$ac_t""yes" 1>&6
13862 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13863 cat >> confdefs.h <<EOF
13864 #define $ac_tr_func 1
13868 echo "$ac_t""no" 1>&6
13877 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
13878 echo "configure:13879: checking for sqrtl declaration" >&5
13879 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
13880 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
13881 echo $ac_n "(cached) $ac_c" 1>&6
13886 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13887 ac_cpp='$CXXCPP $CPPFLAGS'
13888 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13889 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13890 cross_compiling=$ac_cv_prog_cxx_cross
13892 cat > conftest.$ac_ext <<EOF
13893 #line 13894 "configure"
13894 #include "confdefs.h"
13896 #ifdef HAVE_IEEEFP_H
13897 #include <ieeefp.h>
13904 if { (eval echo configure:13905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13906 glibcpp_cv_func_sqrtl_use=yes
13908 echo "configure: failed program was:" >&5
13909 cat conftest.$ac_ext >&5
13911 glibcpp_cv_func_sqrtl_use=no
13915 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13916 ac_cpp='$CPP $CPPFLAGS'
13917 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13918 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13919 cross_compiling=$ac_cv_prog_cc_cross
13925 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
13927 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
13928 for ac_func in sqrtl
13930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13931 echo "configure:13932: checking for $ac_func" >&5
13932 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13933 echo $ac_n "(cached) $ac_c" 1>&6
13935 cat > conftest.$ac_ext <<EOF
13936 #line 13937 "configure"
13937 #include "confdefs.h"
13938 /* System header to define __stub macros and hopefully few prototypes,
13939 which can conflict with char $ac_func(); below. */
13940 #include <assert.h>
13941 /* Override any gcc2 internal prototype to avoid an error. */
13942 /* We use char because int might match the return type of a gcc2
13943 builtin and then its argument prototype would still apply. */
13948 /* The GNU C library defines this for functions which it implements
13949 to always fail with ENOSYS. Some functions are actually named
13950 something starting with __ and the normal name is an alias. */
13951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13959 if { (eval echo configure:13960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13961 eval "ac_cv_func_$ac_func=yes"
13963 echo "configure: failed program was:" >&5
13964 cat conftest.$ac_ext >&5
13966 eval "ac_cv_func_$ac_func=no"
13971 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13972 echo "$ac_t""yes" 1>&6
13973 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13974 cat >> confdefs.h <<EOF
13975 #define $ac_tr_func 1
13979 echo "$ac_t""no" 1>&6
13985 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
13986 echo "configure:13987: checking for _sqrtl declaration" >&5
13987 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
13988 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
13989 echo $ac_n "(cached) $ac_c" 1>&6
13994 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13995 ac_cpp='$CXXCPP $CPPFLAGS'
13996 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13997 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13998 cross_compiling=$ac_cv_prog_cxx_cross
14000 cat > conftest.$ac_ext <<EOF
14001 #line 14002 "configure"
14002 #include "confdefs.h"
14004 #ifdef HAVE_IEEEFP_H
14005 #include <ieeefp.h>
14012 if { (eval echo configure:14013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14014 glibcpp_cv_func__sqrtl_use=yes
14016 echo "configure: failed program was:" >&5
14017 cat conftest.$ac_ext >&5
14019 glibcpp_cv_func__sqrtl_use=no
14023 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14024 ac_cpp='$CPP $CPPFLAGS'
14025 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14026 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14027 cross_compiling=$ac_cv_prog_cc_cross
14033 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
14035 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
14036 for ac_func in _sqrtl
14038 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14039 echo "configure:14040: checking for $ac_func" >&5
14040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14041 echo $ac_n "(cached) $ac_c" 1>&6
14043 cat > conftest.$ac_ext <<EOF
14044 #line 14045 "configure"
14045 #include "confdefs.h"
14046 /* System header to define __stub macros and hopefully few prototypes,
14047 which can conflict with char $ac_func(); below. */
14048 #include <assert.h>
14049 /* Override any gcc2 internal prototype to avoid an error. */
14050 /* We use char because int might match the return type of a gcc2
14051 builtin and then its argument prototype would still apply. */
14056 /* The GNU C library defines this for functions which it implements
14057 to always fail with ENOSYS. Some functions are actually named
14058 something starting with __ and the normal name is an alias. */
14059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14067 if { (eval echo configure:14068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14069 eval "ac_cv_func_$ac_func=yes"
14071 echo "configure: failed program was:" >&5
14072 cat conftest.$ac_ext >&5
14074 eval "ac_cv_func_$ac_func=no"
14079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14080 echo "$ac_t""yes" 1>&6
14081 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14082 cat >> confdefs.h <<EOF
14083 #define $ac_tr_func 1
14087 echo "$ac_t""no" 1>&6
14096 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
14097 echo "configure:14098: checking for sincosl declaration" >&5
14098 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
14099 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
14100 echo $ac_n "(cached) $ac_c" 1>&6
14105 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14106 ac_cpp='$CXXCPP $CPPFLAGS'
14107 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14108 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14109 cross_compiling=$ac_cv_prog_cxx_cross
14111 cat > conftest.$ac_ext <<EOF
14112 #line 14113 "configure"
14113 #include "confdefs.h"
14119 if { (eval echo configure:14120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14121 glibcpp_cv_func_sincosl_use=yes
14123 echo "configure: failed program was:" >&5
14124 cat conftest.$ac_ext >&5
14126 glibcpp_cv_func_sincosl_use=no
14130 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14131 ac_cpp='$CPP $CPPFLAGS'
14132 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14133 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14134 cross_compiling=$ac_cv_prog_cc_cross
14140 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
14142 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
14143 for ac_func in sincosl
14145 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14146 echo "configure:14147: checking for $ac_func" >&5
14147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14148 echo $ac_n "(cached) $ac_c" 1>&6
14150 cat > conftest.$ac_ext <<EOF
14151 #line 14152 "configure"
14152 #include "confdefs.h"
14153 /* System header to define __stub macros and hopefully few prototypes,
14154 which can conflict with char $ac_func(); below. */
14155 #include <assert.h>
14156 /* Override any gcc2 internal prototype to avoid an error. */
14157 /* We use char because int might match the return type of a gcc2
14158 builtin and then its argument prototype would still apply. */
14163 /* The GNU C library defines this for functions which it implements
14164 to always fail with ENOSYS. Some functions are actually named
14165 something starting with __ and the normal name is an alias. */
14166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14174 if { (eval echo configure:14175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14176 eval "ac_cv_func_$ac_func=yes"
14178 echo "configure: failed program was:" >&5
14179 cat conftest.$ac_ext >&5
14181 eval "ac_cv_func_$ac_func=no"
14186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14187 echo "$ac_t""yes" 1>&6
14188 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14189 cat >> confdefs.h <<EOF
14190 #define $ac_tr_func 1
14194 echo "$ac_t""no" 1>&6
14200 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
14201 echo "configure:14202: checking for _sincosl declaration" >&5
14202 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
14203 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
14204 echo $ac_n "(cached) $ac_c" 1>&6
14209 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14210 ac_cpp='$CXXCPP $CPPFLAGS'
14211 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14212 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14213 cross_compiling=$ac_cv_prog_cxx_cross
14215 cat > conftest.$ac_ext <<EOF
14216 #line 14217 "configure"
14217 #include "confdefs.h"
14223 if { (eval echo configure:14224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14225 glibcpp_cv_func__sincosl_use=yes
14227 echo "configure: failed program was:" >&5
14228 cat conftest.$ac_ext >&5
14230 glibcpp_cv_func__sincosl_use=no
14234 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14235 ac_cpp='$CPP $CPPFLAGS'
14236 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14237 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14238 cross_compiling=$ac_cv_prog_cc_cross
14244 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
14246 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
14247 for ac_func in _sincosl
14249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14250 echo "configure:14251: checking for $ac_func" >&5
14251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14252 echo $ac_n "(cached) $ac_c" 1>&6
14254 cat > conftest.$ac_ext <<EOF
14255 #line 14256 "configure"
14256 #include "confdefs.h"
14257 /* System header to define __stub macros and hopefully few prototypes,
14258 which can conflict with char $ac_func(); below. */
14259 #include <assert.h>
14260 /* Override any gcc2 internal prototype to avoid an error. */
14261 /* We use char because int might match the return type of a gcc2
14262 builtin and then its argument prototype would still apply. */
14267 /* The GNU C library defines this for functions which it implements
14268 to always fail with ENOSYS. Some functions are actually named
14269 something starting with __ and the normal name is an alias. */
14270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14278 if { (eval echo configure:14279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14280 eval "ac_cv_func_$ac_func=yes"
14282 echo "configure: failed program was:" >&5
14283 cat conftest.$ac_ext >&5
14285 eval "ac_cv_func_$ac_func=no"
14290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14291 echo "$ac_t""yes" 1>&6
14292 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14293 cat >> confdefs.h <<EOF
14294 #define $ac_tr_func 1
14298 echo "$ac_t""no" 1>&6
14307 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
14308 echo "configure:14309: checking for finitel declaration" >&5
14309 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
14310 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
14311 echo $ac_n "(cached) $ac_c" 1>&6
14316 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14317 ac_cpp='$CXXCPP $CPPFLAGS'
14318 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14319 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14320 cross_compiling=$ac_cv_prog_cxx_cross
14322 cat > conftest.$ac_ext <<EOF
14323 #line 14324 "configure"
14324 #include "confdefs.h"
14326 #ifdef HAVE_IEEEFP_H
14327 #include <ieeefp.h>
14334 if { (eval echo configure:14335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14336 glibcpp_cv_func_finitel_use=yes
14338 echo "configure: failed program was:" >&5
14339 cat conftest.$ac_ext >&5
14341 glibcpp_cv_func_finitel_use=no
14345 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14346 ac_cpp='$CPP $CPPFLAGS'
14347 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14348 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14349 cross_compiling=$ac_cv_prog_cc_cross
14355 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
14357 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
14358 for ac_func in finitel
14360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14361 echo "configure:14362: checking for $ac_func" >&5
14362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14363 echo $ac_n "(cached) $ac_c" 1>&6
14365 cat > conftest.$ac_ext <<EOF
14366 #line 14367 "configure"
14367 #include "confdefs.h"
14368 /* System header to define __stub macros and hopefully few prototypes,
14369 which can conflict with char $ac_func(); below. */
14370 #include <assert.h>
14371 /* Override any gcc2 internal prototype to avoid an error. */
14372 /* We use char because int might match the return type of a gcc2
14373 builtin and then its argument prototype would still apply. */
14378 /* The GNU C library defines this for functions which it implements
14379 to always fail with ENOSYS. Some functions are actually named
14380 something starting with __ and the normal name is an alias. */
14381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14389 if { (eval echo configure:14390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14391 eval "ac_cv_func_$ac_func=yes"
14393 echo "configure: failed program was:" >&5
14394 cat conftest.$ac_ext >&5
14396 eval "ac_cv_func_$ac_func=no"
14401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14402 echo "$ac_t""yes" 1>&6
14403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14404 cat >> confdefs.h <<EOF
14405 #define $ac_tr_func 1
14409 echo "$ac_t""no" 1>&6
14415 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
14416 echo "configure:14417: checking for _finitel declaration" >&5
14417 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
14418 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
14419 echo $ac_n "(cached) $ac_c" 1>&6
14424 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14425 ac_cpp='$CXXCPP $CPPFLAGS'
14426 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14427 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14428 cross_compiling=$ac_cv_prog_cxx_cross
14430 cat > conftest.$ac_ext <<EOF
14431 #line 14432 "configure"
14432 #include "confdefs.h"
14434 #ifdef HAVE_IEEEFP_H
14435 #include <ieeefp.h>
14442 if { (eval echo configure:14443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14444 glibcpp_cv_func__finitel_use=yes
14446 echo "configure: failed program was:" >&5
14447 cat conftest.$ac_ext >&5
14449 glibcpp_cv_func__finitel_use=no
14453 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14454 ac_cpp='$CPP $CPPFLAGS'
14455 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14456 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14457 cross_compiling=$ac_cv_prog_cc_cross
14463 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14465 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
14466 for ac_func in _finitel
14468 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14469 echo "configure:14470: checking for $ac_func" >&5
14470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14471 echo $ac_n "(cached) $ac_c" 1>&6
14473 cat > conftest.$ac_ext <<EOF
14474 #line 14475 "configure"
14475 #include "confdefs.h"
14476 /* System header to define __stub macros and hopefully few prototypes,
14477 which can conflict with char $ac_func(); below. */
14478 #include <assert.h>
14479 /* Override any gcc2 internal prototype to avoid an error. */
14480 /* We use char because int might match the return type of a gcc2
14481 builtin and then its argument prototype would still apply. */
14486 /* The GNU C library defines this for functions which it implements
14487 to always fail with ENOSYS. Some functions are actually named
14488 something starting with __ and the normal name is an alias. */
14489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14497 if { (eval echo configure:14498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14499 eval "ac_cv_func_$ac_func=yes"
14501 echo "configure: failed program was:" >&5
14502 cat conftest.$ac_ext >&5
14504 eval "ac_cv_func_$ac_func=no"
14509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14510 echo "$ac_t""yes" 1>&6
14511 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14512 cat >> confdefs.h <<EOF
14513 #define $ac_tr_func 1
14517 echo "$ac_t""no" 1>&6
14527 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
14528 echo "configure:14529: checking for _float trig functions" >&5
14529 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
14530 echo $ac_n "(cached) $ac_c" 1>&6
14535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14536 ac_cpp='$CXXCPP $CPPFLAGS'
14537 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14538 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14539 cross_compiling=$ac_cv_prog_cxx_cross
14541 cat > conftest.$ac_ext <<EOF
14542 #line 14543 "configure"
14543 #include "confdefs.h"
14546 `for x in _acosf _asinf _atanf \
14547 _cosf _sinf _tanf \
14548 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
14551 if { (eval echo configure:14552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14553 glibcpp_cv_func__float_trig_use=yes
14555 echo "configure: failed program was:" >&5
14556 cat conftest.$ac_ext >&5
14558 glibcpp_cv_func__float_trig_use=no
14562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14563 ac_cpp='$CPP $CPPFLAGS'
14564 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14565 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14566 cross_compiling=$ac_cv_prog_cc_cross
14570 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
14571 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
14572 for ac_func in _acosf _asinf _atanf \
14573 _cosf _sinf _tanf \
14574 _coshf _sinhf _tanhf
14576 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14577 echo "configure:14578: checking for $ac_func" >&5
14578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14579 echo $ac_n "(cached) $ac_c" 1>&6
14581 cat > conftest.$ac_ext <<EOF
14582 #line 14583 "configure"
14583 #include "confdefs.h"
14584 /* System header to define __stub macros and hopefully few prototypes,
14585 which can conflict with char $ac_func(); below. */
14586 #include <assert.h>
14587 /* Override any gcc2 internal prototype to avoid an error. */
14588 /* We use char because int might match the return type of a gcc2
14589 builtin and then its argument prototype would still apply. */
14594 /* The GNU C library defines this for functions which it implements
14595 to always fail with ENOSYS. Some functions are actually named
14596 something starting with __ and the normal name is an alias. */
14597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14605 if { (eval echo configure:14606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14607 eval "ac_cv_func_$ac_func=yes"
14609 echo "configure: failed program was:" >&5
14610 cat conftest.$ac_ext >&5
14612 eval "ac_cv_func_$ac_func=no"
14617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14618 echo "$ac_t""yes" 1>&6
14619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14620 cat >> confdefs.h <<EOF
14621 #define $ac_tr_func 1
14625 echo "$ac_t""no" 1>&6
14632 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
14633 echo "configure:14634: checking for _float round functions" >&5
14634 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
14635 echo $ac_n "(cached) $ac_c" 1>&6
14640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14641 ac_cpp='$CXXCPP $CPPFLAGS'
14642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14644 cross_compiling=$ac_cv_prog_cxx_cross
14646 cat > conftest.$ac_ext <<EOF
14647 #line 14648 "configure"
14648 #include "confdefs.h"
14651 `for x in _ceilf _floorf; do echo "$x (0);"; done`
14654 if { (eval echo configure:14655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14656 glibcpp_cv_func__float_round_use=yes
14658 echo "configure: failed program was:" >&5
14659 cat conftest.$ac_ext >&5
14661 glibcpp_cv_func__float_round_use=no
14665 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14666 ac_cpp='$CPP $CPPFLAGS'
14667 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14668 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14669 cross_compiling=$ac_cv_prog_cc_cross
14673 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
14674 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
14675 for ac_func in _ceilf _floorf
14677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14678 echo "configure:14679: checking for $ac_func" >&5
14679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14680 echo $ac_n "(cached) $ac_c" 1>&6
14682 cat > conftest.$ac_ext <<EOF
14683 #line 14684 "configure"
14684 #include "confdefs.h"
14685 /* System header to define __stub macros and hopefully few prototypes,
14686 which can conflict with char $ac_func(); below. */
14687 #include <assert.h>
14688 /* Override any gcc2 internal prototype to avoid an error. */
14689 /* We use char because int might match the return type of a gcc2
14690 builtin and then its argument prototype would still apply. */
14695 /* The GNU C library defines this for functions which it implements
14696 to always fail with ENOSYS. Some functions are actually named
14697 something starting with __ and the normal name is an alias. */
14698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14706 if { (eval echo configure:14707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14708 eval "ac_cv_func_$ac_func=yes"
14710 echo "configure: failed program was:" >&5
14711 cat conftest.$ac_ext >&5
14713 eval "ac_cv_func_$ac_func=no"
14718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14719 echo "$ac_t""yes" 1>&6
14720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14721 cat >> confdefs.h <<EOF
14722 #define $ac_tr_func 1
14726 echo "$ac_t""no" 1>&6
14734 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
14735 echo "configure:14736: checking for _long double trig functions" >&5
14736 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
14737 echo $ac_n "(cached) $ac_c" 1>&6
14742 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14743 ac_cpp='$CXXCPP $CPPFLAGS'
14744 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14745 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14746 cross_compiling=$ac_cv_prog_cxx_cross
14748 cat > conftest.$ac_ext <<EOF
14749 #line 14750 "configure"
14750 #include "confdefs.h"
14753 `for x in _acosl _asinl _atanl \
14754 _cosl _sinl _tanl \
14755 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
14758 if { (eval echo configure:14759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14760 glibcpp_cv_func__long_double_trig_use=yes
14762 echo "configure: failed program was:" >&5
14763 cat conftest.$ac_ext >&5
14765 glibcpp_cv_func__long_double_trig_use=no
14769 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14770 ac_cpp='$CPP $CPPFLAGS'
14771 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14772 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14773 cross_compiling=$ac_cv_prog_cc_cross
14777 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
14778 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
14779 for ac_func in _acosl _asinl _atanl \
14780 _cosl _sinl _tanl \
14781 _coshl _sinhl _tanhl
14783 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14784 echo "configure:14785: checking for $ac_func" >&5
14785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14786 echo $ac_n "(cached) $ac_c" 1>&6
14788 cat > conftest.$ac_ext <<EOF
14789 #line 14790 "configure"
14790 #include "confdefs.h"
14791 /* System header to define __stub macros and hopefully few prototypes,
14792 which can conflict with char $ac_func(); below. */
14793 #include <assert.h>
14794 /* Override any gcc2 internal prototype to avoid an error. */
14795 /* We use char because int might match the return type of a gcc2
14796 builtin and then its argument prototype would still apply. */
14801 /* The GNU C library defines this for functions which it implements
14802 to always fail with ENOSYS. Some functions are actually named
14803 something starting with __ and the normal name is an alias. */
14804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14812 if { (eval echo configure:14813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14814 eval "ac_cv_func_$ac_func=yes"
14816 echo "configure: failed program was:" >&5
14817 cat conftest.$ac_ext >&5
14819 eval "ac_cv_func_$ac_func=no"
14824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14825 echo "$ac_t""yes" 1>&6
14826 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14827 cat >> confdefs.h <<EOF
14828 #define $ac_tr_func 1
14832 echo "$ac_t""no" 1>&6
14839 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
14840 echo "configure:14841: checking for _long double round functions" >&5
14841 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
14842 echo $ac_n "(cached) $ac_c" 1>&6
14847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14848 ac_cpp='$CXXCPP $CPPFLAGS'
14849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14851 cross_compiling=$ac_cv_prog_cxx_cross
14853 cat > conftest.$ac_ext <<EOF
14854 #line 14855 "configure"
14855 #include "confdefs.h"
14858 `for x in _ceill _floorl; do echo "$x (0);"; done`
14861 if { (eval echo configure:14862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14863 glibcpp_cv_func__long_double_round_use=yes
14865 echo "configure: failed program was:" >&5
14866 cat conftest.$ac_ext >&5
14868 glibcpp_cv_func__long_double_round_use=no
14872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14873 ac_cpp='$CPP $CPPFLAGS'
14874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14876 cross_compiling=$ac_cv_prog_cc_cross
14880 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
14881 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
14882 for ac_func in _ceill _floorl
14884 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14885 echo "configure:14886: checking for $ac_func" >&5
14886 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14887 echo $ac_n "(cached) $ac_c" 1>&6
14889 cat > conftest.$ac_ext <<EOF
14890 #line 14891 "configure"
14891 #include "confdefs.h"
14892 /* System header to define __stub macros and hopefully few prototypes,
14893 which can conflict with char $ac_func(); below. */
14894 #include <assert.h>
14895 /* Override any gcc2 internal prototype to avoid an error. */
14896 /* We use char because int might match the return type of a gcc2
14897 builtin and then its argument prototype would still apply. */
14902 /* The GNU C library defines this for functions which it implements
14903 to always fail with ENOSYS. Some functions are actually named
14904 something starting with __ and the normal name is an alias. */
14905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14913 if { (eval echo configure:14914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14915 eval "ac_cv_func_$ac_func=yes"
14917 echo "configure: failed program was:" >&5
14918 cat conftest.$ac_ext >&5
14920 eval "ac_cv_func_$ac_func=no"
14925 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14926 echo "$ac_t""yes" 1>&6
14927 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14928 cat >> confdefs.h <<EOF
14929 #define $ac_tr_func 1
14933 echo "$ac_t""no" 1>&6
14940 LIBS="$ac_save_LIBS"
14941 CXXFLAGS="$ac_save_CXXFLAGS"
14944 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
14945 echo "configure:14946: checking for main in -lm" >&5
14946 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
14947 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14948 echo $ac_n "(cached) $ac_c" 1>&6
14950 ac_save_LIBS="$LIBS"
14952 cat > conftest.$ac_ext <<EOF
14953 #line 14954 "configure"
14954 #include "confdefs.h"
14960 if { (eval echo configure:14961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14962 eval "ac_cv_lib_$ac_lib_var=yes"
14964 echo "configure: failed program was:" >&5
14965 cat conftest.$ac_ext >&5
14967 eval "ac_cv_lib_$ac_lib_var=no"
14970 LIBS="$ac_save_LIBS"
14973 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14974 echo "$ac_t""yes" 1>&6
14975 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
14976 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
14977 cat >> confdefs.h <<EOF
14978 #define $ac_tr_lib 1
14984 echo "$ac_t""no" 1>&6
14987 for ac_func in nan hypot hypotf copysignf
14989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14990 echo "configure:14991: checking for $ac_func" >&5
14991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14992 echo $ac_n "(cached) $ac_c" 1>&6
14994 cat > conftest.$ac_ext <<EOF
14995 #line 14996 "configure"
14996 #include "confdefs.h"
14997 /* System header to define __stub macros and hopefully few prototypes,
14998 which can conflict with char $ac_func(); below. */
14999 #include <assert.h>
15000 /* Override any gcc2 internal prototype to avoid an error. */
15001 /* We use char because int might match the return type of a gcc2
15002 builtin and then its argument prototype would still apply. */
15007 /* The GNU C library defines this for functions which it implements
15008 to always fail with ENOSYS. Some functions are actually named
15009 something starting with __ and the normal name is an alias. */
15010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15018 if { (eval echo configure:15019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15020 eval "ac_cv_func_$ac_func=yes"
15022 echo "configure: failed program was:" >&5
15023 cat conftest.$ac_ext >&5
15025 eval "ac_cv_func_$ac_func=no"
15030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15031 echo "$ac_t""yes" 1>&6
15032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15033 cat >> confdefs.h <<EOF
15034 #define $ac_tr_func 1
15038 echo "$ac_t""no" 1>&6
15039 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15045 USE_COMPLEX_LONG_DOUBLE=no
15046 if test x$ac_cv_func_atan2l = x"yes" &&
15047 test x$ac_cv_func_copysignl = x"yes"; then
15048 USE_COMPLEX_LONG_DOUBLE=yes
15049 for ac_func in hypotl signbitl
15051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15052 echo "configure:15053: checking for $ac_func" >&5
15053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15054 echo $ac_n "(cached) $ac_c" 1>&6
15056 cat > conftest.$ac_ext <<EOF
15057 #line 15058 "configure"
15058 #include "confdefs.h"
15059 /* System header to define __stub macros and hopefully few prototypes,
15060 which can conflict with char $ac_func(); below. */
15061 #include <assert.h>
15062 /* Override any gcc2 internal prototype to avoid an error. */
15063 /* We use char because int might match the return type of a gcc2
15064 builtin and then its argument prototype would still apply. */
15069 /* The GNU C library defines this for functions which it implements
15070 to always fail with ENOSYS. Some functions are actually named
15071 something starting with __ and the normal name is an alias. */
15072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15080 if { (eval echo configure:15081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15082 eval "ac_cv_func_$ac_func=yes"
15084 echo "configure: failed program was:" >&5
15085 cat conftest.$ac_ext >&5
15087 eval "ac_cv_func_$ac_func=no"
15092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15093 echo "$ac_t""yes" 1>&6
15094 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15095 cat >> confdefs.h <<EOF
15096 #define $ac_tr_func 1
15100 echo "$ac_t""no" 1>&6
15101 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15112 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
15113 echo "configure:15114: checking for mbstate_t" >&5
15114 cat > conftest.$ac_ext <<EOF
15115 #line 15116 "configure"
15116 #include "confdefs.h"
15119 mbstate_t teststate;
15122 if { (eval echo configure:15123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15126 echo "configure: failed program was:" >&5
15127 cat conftest.$ac_ext >&5
15132 echo "$ac_t""$have_mbstate_t" 1>&6
15133 if test x"$have_mbstate_t" = xyes; then
15134 cat >> confdefs.h <<\EOF
15135 #define HAVE_MBSTATE_T 1
15140 for ac_hdr in wchar.h
15142 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15143 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15144 echo "configure:15145: checking for $ac_hdr" >&5
15145 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15146 echo $ac_n "(cached) $ac_c" 1>&6
15148 cat > conftest.$ac_ext <<EOF
15149 #line 15150 "configure"
15150 #include "confdefs.h"
15153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15154 { (eval echo configure:15155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15155 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15156 if test -z "$ac_err"; then
15158 eval "ac_cv_header_$ac_safe=yes"
15161 echo "configure: failed program was:" >&5
15162 cat conftest.$ac_ext >&5
15164 eval "ac_cv_header_$ac_safe=no"
15168 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15169 echo "$ac_t""yes" 1>&6
15170 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15171 cat >> confdefs.h <<EOF
15172 #define $ac_tr_hdr 1
15176 echo "$ac_t""no" 1>&6
15181 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
15182 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
15183 echo "configure:15184: checking for wctype.h" >&5
15184 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15185 echo $ac_n "(cached) $ac_c" 1>&6
15187 cat > conftest.$ac_ext <<EOF
15188 #line 15189 "configure"
15189 #include "confdefs.h"
15190 #include <wctype.h>
15192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15193 { (eval echo configure:15194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15194 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15195 if test -z "$ac_err"; then
15197 eval "ac_cv_header_$ac_safe=yes"
15200 echo "configure: failed program was:" >&5
15201 cat conftest.$ac_ext >&5
15203 eval "ac_cv_header_$ac_safe=no"
15207 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15208 echo "$ac_t""yes" 1>&6
15209 ac_has_wctype_h=yes
15211 echo "$ac_t""no" 1>&6
15216 if test x"$ac_has_wchar_h" = xyes &&
15217 test x"$ac_has_wctype_h" = xyes &&
15218 test x"$enable_c_mbchar" != xno; then
15220 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
15221 echo "configure:15222: checking for WCHAR_MIN and WCHAR_MAX" >&5
15222 cat > conftest.$ac_ext <<EOF
15223 #line 15224 "configure"
15224 #include "confdefs.h"
15227 int i = WCHAR_MIN; int j = WCHAR_MAX;
15230 if { (eval echo configure:15231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15232 has_wchar_minmax=yes
15234 echo "configure: failed program was:" >&5
15235 cat conftest.$ac_ext >&5
15237 has_wchar_minmax=no
15240 echo "$ac_t""$has_wchar_minmax" 1>&6
15242 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
15243 echo "configure:15244: checking for WEOF" >&5
15244 cat > conftest.$ac_ext <<EOF
15245 #line 15246 "configure"
15246 #include "confdefs.h"
15249 #include <stddef.h>
15254 if { (eval echo configure:15255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15258 echo "configure: failed program was:" >&5
15259 cat conftest.$ac_ext >&5
15264 echo "$ac_t""$has_weof" 1>&6
15267 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
15269 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15270 echo "configure:15271: checking for $ac_func" >&5
15271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15272 echo $ac_n "(cached) $ac_c" 1>&6
15274 cat > conftest.$ac_ext <<EOF
15275 #line 15276 "configure"
15276 #include "confdefs.h"
15277 /* System header to define __stub macros and hopefully few prototypes,
15278 which can conflict with char $ac_func(); below. */
15279 #include <assert.h>
15280 /* Override any gcc2 internal prototype to avoid an error. */
15281 /* We use char because int might match the return type of a gcc2
15282 builtin and then its argument prototype would still apply. */
15287 /* The GNU C library defines this for functions which it implements
15288 to always fail with ENOSYS. Some functions are actually named
15289 something starting with __ and the normal name is an alias. */
15290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15298 if { (eval echo configure:15299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15300 eval "ac_cv_func_$ac_func=yes"
15302 echo "configure: failed program was:" >&5
15303 cat conftest.$ac_ext >&5
15305 eval "ac_cv_func_$ac_func=no"
15310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15311 echo "$ac_t""yes" 1>&6
15312 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15313 cat >> confdefs.h <<EOF
15314 #define $ac_tr_func 1
15318 echo "$ac_t""no" 1>&6
15325 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
15326 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
15327 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
15328 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
15329 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
15330 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
15332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15333 echo "configure:15334: checking for $ac_func" >&5
15334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15335 echo $ac_n "(cached) $ac_c" 1>&6
15337 cat > conftest.$ac_ext <<EOF
15338 #line 15339 "configure"
15339 #include "confdefs.h"
15340 /* System header to define __stub macros and hopefully few prototypes,
15341 which can conflict with char $ac_func(); below. */
15342 #include <assert.h>
15343 /* Override any gcc2 internal prototype to avoid an error. */
15344 /* We use char because int might match the return type of a gcc2
15345 builtin and then its argument prototype would still apply. */
15350 /* The GNU C library defines this for functions which it implements
15351 to always fail with ENOSYS. Some functions are actually named
15352 something starting with __ and the normal name is an alias. */
15353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15361 if { (eval echo configure:15362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15363 eval "ac_cv_func_$ac_func=yes"
15365 echo "configure: failed program was:" >&5
15366 cat conftest.$ac_ext >&5
15368 eval "ac_cv_func_$ac_func=no"
15373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15374 echo "$ac_t""yes" 1>&6
15375 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15376 cat >> confdefs.h <<EOF
15377 #define $ac_tr_func 1
15381 echo "$ac_t""no" 1>&6
15388 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
15389 echo "configure:15390: checking for ISO C99 wchar_t support" >&5
15390 if test x"$has_weof" = xyes &&
15391 test x"$has_wchar_minmax" = xyes &&
15392 test x"$ac_wfuncs" = xyes; then
15393 ac_isoC99_wchar_t=yes
15395 ac_isoC99_wchar_t=no
15397 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
15399 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
15400 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
15401 echo "configure:15402: checking for iconv.h" >&5
15402 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15403 echo $ac_n "(cached) $ac_c" 1>&6
15405 cat > conftest.$ac_ext <<EOF
15406 #line 15407 "configure"
15407 #include "confdefs.h"
15410 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15411 { (eval echo configure:15412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15412 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15413 if test -z "$ac_err"; then
15415 eval "ac_cv_header_$ac_safe=yes"
15418 echo "configure: failed program was:" >&5
15419 cat conftest.$ac_ext >&5
15421 eval "ac_cv_header_$ac_safe=no"
15425 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15426 echo "$ac_t""yes" 1>&6
15429 echo "$ac_t""no" 1>&6
15433 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
15434 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
15435 echo "configure:15436: checking for langinfo.h" >&5
15436 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15437 echo $ac_n "(cached) $ac_c" 1>&6
15439 cat > conftest.$ac_ext <<EOF
15440 #line 15441 "configure"
15441 #include "confdefs.h"
15442 #include <langinfo.h>
15444 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15445 { (eval echo configure:15446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15446 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15447 if test -z "$ac_err"; then
15449 eval "ac_cv_header_$ac_safe=yes"
15452 echo "configure: failed program was:" >&5
15453 cat conftest.$ac_ext >&5
15455 eval "ac_cv_header_$ac_safe=no"
15459 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15460 echo "$ac_t""yes" 1>&6
15461 ac_has_langinfo_h=yes
15463 echo "$ac_t""no" 1>&6
15464 ac_has_langinfo_h=no
15468 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
15469 echo "configure:15470: checking for iconv in -liconv" >&5
15470 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
15471 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15472 echo $ac_n "(cached) $ac_c" 1>&6
15474 ac_save_LIBS="$LIBS"
15475 LIBS="-liconv $LIBS"
15476 cat > conftest.$ac_ext <<EOF
15477 #line 15478 "configure"
15478 #include "confdefs.h"
15479 /* Override any gcc2 internal prototype to avoid an error. */
15480 /* We use char because int might match the return type of a gcc2
15481 builtin and then its argument prototype would still apply. */
15488 if { (eval echo configure:15489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15490 eval "ac_cv_lib_$ac_lib_var=yes"
15492 echo "configure: failed program was:" >&5
15493 cat conftest.$ac_ext >&5
15495 eval "ac_cv_lib_$ac_lib_var=no"
15498 LIBS="$ac_save_LIBS"
15501 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15502 echo "$ac_t""yes" 1>&6
15505 echo "$ac_t""no" 1>&6
15508 ac_save_LIBS="$LIBS"
15509 LIBS="$LIBS $libiconv"
15511 for ac_func in iconv_open iconv_close iconv nl_langinfo
15513 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15514 echo "configure:15515: checking for $ac_func" >&5
15515 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15516 echo $ac_n "(cached) $ac_c" 1>&6
15518 cat > conftest.$ac_ext <<EOF
15519 #line 15520 "configure"
15520 #include "confdefs.h"
15521 /* System header to define __stub macros and hopefully few prototypes,
15522 which can conflict with char $ac_func(); below. */
15523 #include <assert.h>
15524 /* Override any gcc2 internal prototype to avoid an error. */
15525 /* We use char because int might match the return type of a gcc2
15526 builtin and then its argument prototype would still apply. */
15531 /* The GNU C library defines this for functions which it implements
15532 to always fail with ENOSYS. Some functions are actually named
15533 something starting with __ and the normal name is an alias. */
15534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15542 if { (eval echo configure:15543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15544 eval "ac_cv_func_$ac_func=yes"
15546 echo "configure: failed program was:" >&5
15547 cat conftest.$ac_ext >&5
15549 eval "ac_cv_func_$ac_func=no"
15554 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15555 echo "$ac_t""yes" 1>&6
15556 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15557 cat >> confdefs.h <<EOF
15558 #define $ac_tr_func 1
15563 echo "$ac_t""no" 1>&6
15569 LIBS="$ac_save_LIBS"
15571 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
15572 echo "configure:15573: checking for XPG2 wchar_t support" >&5
15573 if test x"$ac_has_iconv_h" = xyes &&
15574 test x"$ac_has_langinfo_h" = xyes &&
15575 test x"$ac_XPG2funcs" = xyes; then
15576 ac_XPG2_wchar_t=yes
15580 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
15582 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
15583 echo "configure:15584: checking for enabled wchar_t specializations" >&5
15584 if test x"$ac_isoC99_wchar_t" = xyes &&
15585 test x"$ac_XPG2_wchar_t" = xyes; then
15586 cat >> confdefs.h <<\EOF
15587 #define _GLIBCPP_USE_WCHAR_T 1
15590 echo "$ac_t"""yes"" 1>&6
15592 echo "$ac_t"""no"" 1>&6
15595 echo "configure: warning: wchar_t support disabled." 1>&2
15599 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15600 ac_save_CXXFLAGS="$CXXFLAGS"
15601 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
15604 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
15605 echo "configure:15606: checking for strtold declaration" >&5
15606 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
15607 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
15608 echo $ac_n "(cached) $ac_c" 1>&6
15613 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15614 ac_cpp='$CXXCPP $CPPFLAGS'
15615 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15616 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15617 cross_compiling=$ac_cv_prog_cxx_cross
15619 cat > conftest.$ac_ext <<EOF
15620 #line 15621 "configure"
15621 #include "confdefs.h"
15622 #include <stdlib.h>
15627 if { (eval echo configure:15628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15629 glibcpp_cv_func_strtold_use=yes
15631 echo "configure: failed program was:" >&5
15632 cat conftest.$ac_ext >&5
15634 glibcpp_cv_func_strtold_use=no
15638 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15639 ac_cpp='$CPP $CPPFLAGS'
15640 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15641 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15642 cross_compiling=$ac_cv_prog_cc_cross
15648 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
15649 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
15650 for ac_func in strtold
15652 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15653 echo "configure:15654: checking for $ac_func" >&5
15654 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15655 echo $ac_n "(cached) $ac_c" 1>&6
15657 cat > conftest.$ac_ext <<EOF
15658 #line 15659 "configure"
15659 #include "confdefs.h"
15660 /* System header to define __stub macros and hopefully few prototypes,
15661 which can conflict with char $ac_func(); below. */
15662 #include <assert.h>
15663 /* Override any gcc2 internal prototype to avoid an error. */
15664 /* We use char because int might match the return type of a gcc2
15665 builtin and then its argument prototype would still apply. */
15670 /* The GNU C library defines this for functions which it implements
15671 to always fail with ENOSYS. Some functions are actually named
15672 something starting with __ and the normal name is an alias. */
15673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15681 if { (eval echo configure:15682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15683 eval "ac_cv_func_$ac_func=yes"
15685 echo "configure: failed program was:" >&5
15686 cat conftest.$ac_ext >&5
15688 eval "ac_cv_func_$ac_func=no"
15693 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15694 echo "$ac_t""yes" 1>&6
15695 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15696 cat >> confdefs.h <<EOF
15697 #define $ac_tr_func 1
15701 echo "$ac_t""no" 1>&6
15707 for ac_func in drand48
15709 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15710 echo "configure:15711: checking for $ac_func" >&5
15711 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15712 echo $ac_n "(cached) $ac_c" 1>&6
15714 cat > conftest.$ac_ext <<EOF
15715 #line 15716 "configure"
15716 #include "confdefs.h"
15717 /* System header to define __stub macros and hopefully few prototypes,
15718 which can conflict with char $ac_func(); below. */
15719 #include <assert.h>
15720 /* Override any gcc2 internal prototype to avoid an error. */
15721 /* We use char because int might match the return type of a gcc2
15722 builtin and then its argument prototype would still apply. */
15727 /* The GNU C library defines this for functions which it implements
15728 to always fail with ENOSYS. Some functions are actually named
15729 something starting with __ and the normal name is an alias. */
15730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15738 if { (eval echo configure:15739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15740 eval "ac_cv_func_$ac_func=yes"
15742 echo "configure: failed program was:" >&5
15743 cat conftest.$ac_ext >&5
15745 eval "ac_cv_func_$ac_func=no"
15750 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15751 echo "$ac_t""yes" 1>&6
15752 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15753 cat >> confdefs.h <<EOF
15754 #define $ac_tr_func 1
15758 echo "$ac_t""no" 1>&6
15763 CXXFLAGS="$ac_save_CXXFLAGS"
15766 cat > conftest.$ac_ext <<EOF
15767 #line 15768 "configure"
15768 #include "confdefs.h"
15770 #include <setjmp.h>
15773 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
15776 if { (eval echo configure:15777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15778 cat >> confdefs.h <<\EOF
15779 #define HAVE_SIGSETJMP 1
15783 echo "configure: failed program was:" >&5
15784 cat conftest.$ac_ext >&5
15788 for ac_hdr in unistd.h
15790 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15791 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15792 echo "configure:15793: checking for $ac_hdr" >&5
15793 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15794 echo $ac_n "(cached) $ac_c" 1>&6
15796 cat > conftest.$ac_ext <<EOF
15797 #line 15798 "configure"
15798 #include "confdefs.h"
15801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15802 { (eval echo configure:15803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15803 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15804 if test -z "$ac_err"; then
15806 eval "ac_cv_header_$ac_safe=yes"
15809 echo "configure: failed program was:" >&5
15810 cat conftest.$ac_ext >&5
15812 eval "ac_cv_header_$ac_safe=no"
15816 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15817 echo "$ac_t""yes" 1>&6
15818 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15819 cat >> confdefs.h <<EOF
15820 #define $ac_tr_hdr 1
15824 echo "$ac_t""no" 1>&6
15828 for ac_func in getpagesize
15830 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15831 echo "configure:15832: checking for $ac_func" >&5
15832 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15833 echo $ac_n "(cached) $ac_c" 1>&6
15835 cat > conftest.$ac_ext <<EOF
15836 #line 15837 "configure"
15837 #include "confdefs.h"
15838 /* System header to define __stub macros and hopefully few prototypes,
15839 which can conflict with char $ac_func(); below. */
15840 #include <assert.h>
15841 /* Override any gcc2 internal prototype to avoid an error. */
15842 /* We use char because int might match the return type of a gcc2
15843 builtin and then its argument prototype would still apply. */
15848 /* The GNU C library defines this for functions which it implements
15849 to always fail with ENOSYS. Some functions are actually named
15850 something starting with __ and the normal name is an alias. */
15851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15859 if { (eval echo configure:15860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15861 eval "ac_cv_func_$ac_func=yes"
15863 echo "configure: failed program was:" >&5
15864 cat conftest.$ac_ext >&5
15866 eval "ac_cv_func_$ac_func=no"
15871 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15872 echo "$ac_t""yes" 1>&6
15873 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15874 cat >> confdefs.h <<EOF
15875 #define $ac_tr_func 1
15879 echo "$ac_t""no" 1>&6
15883 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
15884 echo "configure:15885: checking for working mmap" >&5
15885 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
15886 echo $ac_n "(cached) $ac_c" 1>&6
15888 if test "$cross_compiling" = yes; then
15889 ac_cv_func_mmap_fixed_mapped=no
15891 cat > conftest.$ac_ext <<EOF
15892 #line 15893 "configure"
15893 #include "confdefs.h"
15895 /* Thanks to Mike Haertel and Jim Avera for this test.
15896 Here is a matrix of mmap possibilities:
15897 mmap private not fixed
15898 mmap private fixed at somewhere currently unmapped
15899 mmap private fixed at somewhere already mapped
15900 mmap shared not fixed
15901 mmap shared fixed at somewhere currently unmapped
15902 mmap shared fixed at somewhere already mapped
15903 For private mappings, we should verify that changes cannot be read()
15904 back from the file, nor mmap's back from the file at a different
15905 address. (There have been systems where private was not correctly
15906 implemented like the infamous i386 svr4.0, and systems where the
15907 VM page cache was not coherent with the filesystem buffer cache
15908 like early versions of FreeBSD and possibly contemporary NetBSD.)
15909 For shared mappings, we should conversely verify that changes get
15910 propogated back to all the places they're supposed to be.
15912 Grep wants private fixed already mapped.
15913 The main things grep needs to know about mmap are:
15914 * does it exist and is it safe to write into the mmap'd area
15915 * how to use it (BSD variants) */
15916 #include <sys/types.h>
15918 #include <sys/mman.h>
15920 /* This mess was copied from the GNU getpagesize.h. */
15921 #ifndef HAVE_GETPAGESIZE
15922 # ifdef HAVE_UNISTD_H
15923 # include <unistd.h>
15926 /* Assume that all systems that can run configure have sys/param.h. */
15927 # ifndef HAVE_SYS_PARAM_H
15928 # define HAVE_SYS_PARAM_H 1
15931 # ifdef _SC_PAGESIZE
15932 # define getpagesize() sysconf(_SC_PAGESIZE)
15933 # else /* no _SC_PAGESIZE */
15934 # ifdef HAVE_SYS_PARAM_H
15935 # include <sys/param.h>
15936 # ifdef EXEC_PAGESIZE
15937 # define getpagesize() EXEC_PAGESIZE
15938 # else /* no EXEC_PAGESIZE */
15940 # define getpagesize() NBPG * CLSIZE
15943 # endif /* no CLSIZE */
15944 # else /* no NBPG */
15946 # define getpagesize() NBPC
15947 # else /* no NBPC */
15949 # define getpagesize() PAGESIZE
15950 # endif /* PAGESIZE */
15951 # endif /* no NBPC */
15952 # endif /* no NBPG */
15953 # endif /* no EXEC_PAGESIZE */
15954 # else /* no HAVE_SYS_PARAM_H */
15955 # define getpagesize() 8192 /* punt totally */
15956 # endif /* no HAVE_SYS_PARAM_H */
15957 # endif /* no _SC_PAGESIZE */
15959 #endif /* no HAVE_GETPAGESIZE */
15962 extern "C" { void *malloc(unsigned); }
15970 char *data, *data2, *data3;
15974 pagesize = getpagesize();
15977 * First, make a file with some known garbage in it.
15979 data = malloc(pagesize);
15982 for (i = 0; i < pagesize; ++i)
15983 *(data + i) = rand();
15985 fd = creat("conftestmmap", 0600);
15988 if (write(fd, data, pagesize) != pagesize)
15993 * Next, try to mmap the file at a fixed address which
15994 * already has something else allocated at it. If we can,
15995 * also make sure that we see the same garbage.
15997 fd = open("conftestmmap", O_RDWR);
16000 data2 = malloc(2 * pagesize);
16003 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
16004 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
16005 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16007 for (i = 0; i < pagesize; ++i)
16008 if (*(data + i) != *(data2 + i))
16012 * Finally, make sure that changes to the mapped area
16013 * do not percolate back to the file as seen by read().
16014 * (This is a bug on some variants of i386 svr4.0.)
16016 for (i = 0; i < pagesize; ++i)
16017 *(data2 + i) = *(data2 + i) + 1;
16018 data3 = malloc(pagesize);
16021 if (read(fd, data3, pagesize) != pagesize)
16023 for (i = 0; i < pagesize; ++i)
16024 if (*(data + i) != *(data3 + i))
16027 unlink("conftestmmap");
16032 if { (eval echo configure:16033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
16034 ac_cv_func_mmap_fixed_mapped=yes
16036 echo "configure: failed program was:" >&5
16037 cat conftest.$ac_ext >&5
16039 ac_cv_func_mmap_fixed_mapped=no
16046 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
16047 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16048 cat >> confdefs.h <<\EOF
16049 #define HAVE_MMAP 1
16056 # Propagate the target-specific source directories through the build chain.
16057 OS_INC_SRCDIR=$os_include_dir/bits
16058 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
16062 # Set up cross-compile flags
16066 if test "$CANADIAN" = yes; then
16074 cat > confcache <<\EOF
16075 # This file is a shell script that caches the results of configure
16076 # tests run on this system so they can be shared between configure
16077 # scripts and configure runs. It is not useful on other systems.
16078 # If it contains results you don't want to keep, you may remove or edit it.
16080 # By default, configure uses ./config.cache as the cache file,
16081 # creating it if it does not exist already. You can give configure
16082 # the --cache-file=FILE option to use a different cache file; that is
16083 # what configure does when it calls configure scripts in
16084 # subdirectories, so they share the cache.
16085 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16086 # config.status only pays attention to the cache file if you give it the
16087 # --recheck option to rerun configure.
16090 # The following way of writing the cache mishandles newlines in values,
16091 # but we know of no workaround that is simple, portable, and efficient.
16092 # So, don't put newlines in cache variables' values.
16093 # Ultrix sh set writes to stderr and can't be redirected directly,
16094 # and sets the high bit in the cache file unless we assign to the vars.
16096 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16098 # `set' does not quote correctly, so add quotes (double-quote substitution
16099 # turns \\\\ into \\, and sed turns \\ into \).
16101 -e "s/'/'\\\\''/g" \
16102 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16105 # `set' quotes correctly as required by POSIX, so do not add quotes.
16106 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16109 if cmp -s $cache_file confcache; then
16112 if test -w $cache_file; then
16113 echo "updating cache $cache_file"
16114 cat confcache > $cache_file
16116 echo "not updating unwritable cache $cache_file"
16122 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
16123 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
16124 echo "configure:16125: checking for locale.h" >&5
16125 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16126 echo $ac_n "(cached) $ac_c" 1>&6
16128 cat > conftest.$ac_ext <<EOF
16129 #line 16130 "configure"
16130 #include "confdefs.h"
16131 #include <locale.h>
16133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16134 { (eval echo configure:16135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16135 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16136 if test -z "$ac_err"; then
16138 eval "ac_cv_header_$ac_safe=yes"
16141 echo "configure: failed program was:" >&5
16142 cat conftest.$ac_ext >&5
16144 eval "ac_cv_header_$ac_safe=no"
16148 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16149 echo "$ac_t""yes" 1>&6
16151 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
16152 echo "configure:16153: checking for LC_MESSAGES" >&5
16153 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16154 echo $ac_n "(cached) $ac_c" 1>&6
16156 cat > conftest.$ac_ext <<EOF
16157 #line 16158 "configure"
16158 #include "confdefs.h"
16159 #include <locale.h>
16164 if { (eval echo configure:16165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16166 ac_cv_val_LC_MESSAGES=yes
16168 echo "configure: failed program was:" >&5
16169 cat conftest.$ac_ext >&5
16171 ac_cv_val_LC_MESSAGES=no
16176 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16177 if test $ac_cv_val_LC_MESSAGES = yes; then
16178 cat >> confdefs.h <<\EOF
16179 #define HAVE_LC_MESSAGES 1
16185 echo "$ac_t""no" 1>&6
16190 if test "${multilib}" = "yes"; then
16191 multilib_arg="--enable-multilib"
16196 # Needed so that g++ can find the correct include subdir automatically.
16199 # Export all the install information
16202 glibcpp_toolexecdir=no
16203 glibcpp_toolexeclibdir=no
16205 # Export build and source directories.
16206 # These need to be absolute paths, yet at the same time need to
16207 # canonicalize only relative paths, because then amd will not unmount
16208 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
16209 glibcpp_builddir=`pwd`
16211 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
16212 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
16214 glibcpp_prefixdir=${prefix}
16216 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
16217 echo "configure:16218: checking for interface version number" >&5
16218 libstdcxx_interface=$INTERFACE
16219 echo "$ac_t""$libstdcxx_interface" 1>&6
16221 # Process the option --with-gxx-include-dir=<path to include-files directory>
16222 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
16223 echo "configure:16224: checking for --with-gxx-include-dir" >&5
16224 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
16225 if test "${with_gxx_include_dir+set}" = set; then
16226 withval="$with_gxx_include_dir"
16227 case "${withval}" in
16229 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
16236 gxx_include_dir=${withval}
16243 echo "$ac_t""$gxx_include_dir" 1>&6
16245 # Process the option "--enable-version-specific-runtime-libs"
16246 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
16247 echo "configure:16248: checking for --enable-version-specific-runtime-libs" >&5
16248 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
16249 if test "${enable_version_specific_runtime_libs+set}" = set; then
16250 enableval="$enable_version_specific_runtime_libs"
16251 version_specific_libs=yes
16252 # Need the gcc compiler version to know where to install libraries
16253 # and header files if --enable-version-specific-runtime-libs option
16255 gcc_version_trigger=${srcdir}/../gcc/version.c
16256 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
16257 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
16258 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
16259 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16260 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
16263 version_specific_libs=no
16266 echo "$ac_t""$version_specific_libs" 1>&6
16268 # Default case for install directory for include files.
16269 if test x"$version_specific_libs" = x"no" \
16270 && test x"$gxx_include_dir" = x"no"; then
16271 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
16274 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
16275 # Install a library built with a cross compiler in tooldir, not libdir.
16276 if test x"$glibcpp_toolexecdir" = x"no"; then
16277 if test -n "$with_cross_host" &&
16278 test x"$with_cross_host" != x"no"; then
16279 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
16280 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
16282 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16283 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
16287 echo $ac_n "checking for install location""... $ac_c" 1>&6
16288 echo "configure:16289: checking for install location" >&5
16289 echo "$ac_t""$gxx_include_dir" 1>&6
16299 # Export all the include and flag information to makefiles.
16301 # Root level of the build directory include sources.
16302 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
16304 # Passed down for canadian crosses.
16305 if test x"$CANADIAN" = xyes; then
16306 TOPLEVEL_INCLUDES='-I$(includedir)'
16309 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
16311 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
16313 if test x"$need_libio" = xyes; then
16314 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
16318 # Now, export this to all the little Makefiles....
16325 # Optimization flags that are probably a good idea for thrill-seekers. Just
16326 # uncomment the lines below and make, everything else is ready to go...
16327 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
16331 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
16335 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
16336 grep "enable shared" > /dev/null; then
16337 LIBSUPCXX_PICFLAGS=-prefer-pic
16339 LIBSUPCXX_PICFLAGS=
16343 # Generate the various Makefiles, include files, and scripts.
16344 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
16345 # and libsupc++/Makefile.am so that multilib installs will end up
16346 # installed in the correct place. To work around this not being passed
16347 # down from config-ml.in -> top_srcdir/Makefile.am ->
16348 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
16350 cat > confcache <<\EOF
16351 # This file is a shell script that caches the results of configure
16352 # tests run on this system so they can be shared between configure
16353 # scripts and configure runs. It is not useful on other systems.
16354 # If it contains results you don't want to keep, you may remove or edit it.
16356 # By default, configure uses ./config.cache as the cache file,
16357 # creating it if it does not exist already. You can give configure
16358 # the --cache-file=FILE option to use a different cache file; that is
16359 # what configure does when it calls configure scripts in
16360 # subdirectories, so they share the cache.
16361 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16362 # config.status only pays attention to the cache file if you give it the
16363 # --recheck option to rerun configure.
16366 # The following way of writing the cache mishandles newlines in values,
16367 # but we know of no workaround that is simple, portable, and efficient.
16368 # So, don't put newlines in cache variables' values.
16369 # Ultrix sh set writes to stderr and can't be redirected directly,
16370 # and sets the high bit in the cache file unless we assign to the vars.
16372 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16374 # `set' does not quote correctly, so add quotes (double-quote substitution
16375 # turns \\\\ into \\, and sed turns \\ into \).
16377 -e "s/'/'\\\\''/g" \
16378 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16381 # `set' quotes correctly as required by POSIX, so do not add quotes.
16382 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16385 if cmp -s $cache_file confcache; then
16388 if test -w $cache_file; then
16389 echo "updating cache $cache_file"
16390 cat confcache > $cache_file
16392 echo "not updating unwritable cache $cache_file"
16397 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16399 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16400 # Let make expand exec_prefix.
16401 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16403 # Any assignment to VPATH causes Sun make to only execute
16404 # the first set of double-colon rules, so remove it if not needed.
16405 # If there is a colon in the path, we need to keep it.
16406 if test "x$srcdir" = x.; then
16407 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
16410 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16412 DEFS=-DHAVE_CONFIG_H
16414 # Without the "./", some shells look in PATH for config.status.
16415 : ${CONFIG_STATUS=./config.status}
16417 echo creating $CONFIG_STATUS
16418 rm -f $CONFIG_STATUS
16419 cat > $CONFIG_STATUS <<EOF
16421 # Generated automatically by configure.
16422 # Run this file to recreate the current configuration.
16423 # This directory was configured as follows,
16424 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16426 # $0 $ac_configure_args
16428 # Compiler output produced by configure, useful for debugging
16429 # configure, is in ./config.log if it exists.
16431 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
16434 case "\$ac_option" in
16435 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16436 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16437 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16438 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16439 echo "$CONFIG_STATUS generated by autoconf version 2.13"
16441 -help | --help | --hel | --he | --h)
16442 echo "\$ac_cs_usage"; exit 0 ;;
16443 *) echo "\$ac_cs_usage"; exit 1 ;;
16447 ac_given_srcdir=$srcdir
16448 ac_given_INSTALL="$INSTALL"
16450 trap 'rm -fr `echo "Makefile \
16451 include/Makefile src/Makefile \
16452 libmath/Makefile libio/Makefile libsupc++/Makefile \
16453 testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
16455 cat >> $CONFIG_STATUS <<EOF
16457 # Protect against being on the right side of a sed subst in config.status.
16458 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16459 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16463 s%@CFLAGS@%$CFLAGS%g
16464 s%@CPPFLAGS@%$CPPFLAGS%g
16465 s%@CXXFLAGS@%$CXXFLAGS%g
16466 s%@FFLAGS@%$FFLAGS%g
16468 s%@LDFLAGS@%$LDFLAGS%g
16470 s%@exec_prefix@%$exec_prefix%g
16471 s%@prefix@%$prefix%g
16472 s%@program_transform_name@%$program_transform_name%g
16473 s%@bindir@%$bindir%g
16474 s%@sbindir@%$sbindir%g
16475 s%@libexecdir@%$libexecdir%g
16476 s%@datadir@%$datadir%g
16477 s%@sysconfdir@%$sysconfdir%g
16478 s%@sharedstatedir@%$sharedstatedir%g
16479 s%@localstatedir@%$localstatedir%g
16480 s%@libdir@%$libdir%g
16481 s%@includedir@%$includedir%g
16482 s%@oldincludedir@%$oldincludedir%g
16483 s%@infodir@%$infodir%g
16484 s%@mandir@%$mandir%g
16485 s%@toplevel_srcdir@%$toplevel_srcdir%g
16487 s%@host_alias@%$host_alias%g
16488 s%@host_cpu@%$host_cpu%g
16489 s%@host_vendor@%$host_vendor%g
16490 s%@host_os@%$host_os%g
16491 s%@target@%$target%g
16492 s%@target_alias@%$target_alias%g
16493 s%@target_cpu@%$target_cpu%g
16494 s%@target_vendor@%$target_vendor%g
16495 s%@target_os@%$target_os%g
16497 s%@build_alias@%$build_alias%g
16498 s%@build_cpu@%$build_cpu%g
16499 s%@build_vendor@%$build_vendor%g
16500 s%@build_os@%$build_os%g
16502 s%@glibcpp_basedir@%$glibcpp_basedir%g
16503 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16504 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16505 s%@INSTALL_DATA@%$INSTALL_DATA%g
16506 s%@PACKAGE@%$PACKAGE%g
16507 s%@VERSION@%$VERSION%g
16508 s%@ACLOCAL@%$ACLOCAL%g
16509 s%@AUTOCONF@%$AUTOCONF%g
16510 s%@AUTOMAKE@%$AUTOMAKE%g
16511 s%@AUTOHEADER@%$AUTOHEADER%g
16512 s%@MAKEINFO@%$MAKEINFO%g
16513 s%@SET_MAKE@%$SET_MAKE%g
16515 s%@glibcpp_CXX@%$glibcpp_CXX%g
16518 s%@RANLIB@%$RANLIB%g
16519 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
16520 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
16522 s%@EXEEXT@%$EXEEXT%g
16523 s%@OBJEXT@%$OBJEXT%g
16525 s%@LIBTOOL@%$LIBTOOL%g
16526 s%@CXXCPP@%$CXXCPP%g
16527 s%@enable_shared@%$enable_shared%g
16528 s%@enable_static@%$enable_static%g
16529 s%@ifGNUmake@%$ifGNUmake%g
16530 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
16532 s%@CSTDIO_H@%$CSTDIO_H%g
16533 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
16534 s%@CCODECVT_C@%$CCODECVT_C%g
16535 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
16536 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
16537 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
16538 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
16539 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
16540 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
16541 s%@libio_la@%$libio_la%g
16542 s%@CLOCALE_H@%$CLOCALE_H%g
16543 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
16544 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
16545 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
16546 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
16547 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
16548 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
16549 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
16550 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
16551 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
16552 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
16553 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
16554 s%@WERROR@%$WERROR%g
16555 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
16556 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
16557 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
16558 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
16559 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
16560 s%@glibcpp_builddir@%$glibcpp_builddir%g
16561 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
16562 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
16563 s%@gxx_include_dir@%$gxx_include_dir%g
16564 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
16565 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
16566 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
16567 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
16568 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
16569 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
16570 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
16571 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
16572 s%@WARN_FLAGS@%$WARN_FLAGS%g
16573 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
16578 cat >> $CONFIG_STATUS <<\EOF
16580 # Split the substitutions into bite-sized pieces for seds with
16581 # small command number limits, like on Digital OSF/1 and HP-UX.
16582 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
16583 ac_file=1 # Number of current file.
16584 ac_beg=1 # First line for current file.
16585 ac_end=$ac_max_sed_cmds # Line after last line for current file.
16588 while $ac_more_lines; do
16589 if test $ac_beg -gt 1; then
16590 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
16592 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
16594 if test ! -s conftest.s$ac_file; then
16595 ac_more_lines=false
16596 rm -f conftest.s$ac_file
16598 if test -z "$ac_sed_cmds"; then
16599 ac_sed_cmds="sed -f conftest.s$ac_file"
16601 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
16603 ac_file=`expr $ac_file + 1`
16605 ac_end=`expr $ac_end + $ac_max_sed_cmds`
16608 if test -z "$ac_sed_cmds"; then
16613 cat >> $CONFIG_STATUS <<EOF
16615 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
16616 include/Makefile src/Makefile \
16617 libmath/Makefile libio/Makefile libsupc++/Makefile \
16618 testsuite/Makefile mkcheck testsuite_flags"}
16620 cat >> $CONFIG_STATUS <<\EOF
16621 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
16622 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16624 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16625 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16626 *) ac_file_in="${ac_file}.in" ;;
16629 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
16631 # Remove last slash and all that follows it. Not all systems have dirname.
16632 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16633 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16634 # The file is in a subdirectory.
16635 test ! -d "$ac_dir" && mkdir "$ac_dir"
16636 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
16637 # A "../" for each directory in $ac_dir_suffix.
16638 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
16640 ac_dir_suffix= ac_dots=
16643 case "$ac_given_srcdir" in
16645 if test -z "$ac_dots"; then top_srcdir=.
16646 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
16647 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
16648 *) # Relative path.
16649 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16650 top_srcdir="$ac_dots$ac_given_srcdir" ;;
16653 case "$ac_given_INSTALL" in
16654 [/$]*) INSTALL="$ac_given_INSTALL" ;;
16655 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
16658 echo creating "$ac_file"
16660 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
16662 *Makefile*) ac_comsub="1i\\
16663 # $configure_input" ;;
16667 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16669 s%@configure_input@%$configure_input%g
16670 s%@srcdir@%$srcdir%g
16671 s%@top_srcdir@%$top_srcdir%g
16672 s%@INSTALL@%$INSTALL%g
16673 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
16677 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16678 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16680 # ac_d sets the value in "#define NAME VALUE" lines.
16681 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16682 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
16685 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
16686 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16687 ac_uB='\([ ]\)%\1#\2define\3'
16690 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16691 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16692 ac_eB='$%\1#\2define\3'
16696 if test "${CONFIG_HEADERS+set}" != set; then
16698 cat >> $CONFIG_STATUS <<EOF
16699 CONFIG_HEADERS="config.h"
16701 cat >> $CONFIG_STATUS <<\EOF
16703 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
16704 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16706 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16707 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16708 *) ac_file_in="${ac_file}.in" ;;
16711 echo creating $ac_file
16713 rm -f conftest.frag conftest.in conftest.out
16714 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16715 cat $ac_file_inputs > conftest.in
16719 # Transform confdefs.h into a sed script conftest.vals that substitutes
16720 # the proper values into config.h.in to produce config.h. And first:
16721 # Protect against being on the right side of a sed subst in config.status.
16722 # Protect against being in an unquoted here document in config.status.
16723 rm -f conftest.vals
16724 cat > conftest.hdr <<\EOF
16727 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
16731 sed -n -f conftest.hdr confdefs.h > conftest.vals
16734 # This sed command replaces #undef with comments. This is necessary, for
16735 # example, in the case of _POSIX_SOURCE, which is predefined and required
16736 # on some systems where configure will not decide to define it.
16737 cat >> conftest.vals <<\EOF
16738 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
16741 # Break up conftest.vals because some shells have a limit on
16742 # the size of here documents, and old seds have small limits too.
16744 rm -f conftest.tail
16747 ac_lines=`grep -c . conftest.vals`
16748 # grep -c gives empty output for an empty file on some AIX systems.
16749 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
16750 # Write a limited-size here document to conftest.frag.
16751 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
16752 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
16754 sed -f conftest.frag conftest.in > conftest.out
16756 mv conftest.out conftest.in
16757 ' >> $CONFIG_STATUS
16758 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
16759 rm -f conftest.vals
16760 mv conftest.tail conftest.vals
16762 rm -f conftest.vals
16764 cat >> $CONFIG_STATUS <<\EOF
16765 rm -f conftest.frag conftest.h
16766 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
16767 cat conftest.in >> conftest.h
16769 if cmp -s $ac_file conftest.h 2>/dev/null; then
16770 echo "$ac_file is unchanged"
16773 # Remove last slash and all that follows it. Not all systems have dirname.
16774 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16775 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16776 # The file is in a subdirectory.
16777 test ! -d "$ac_dir" && mkdir "$ac_dir"
16780 mv conftest.h $ac_file
16786 cat >> $CONFIG_STATUS <<EOF
16787 ac_sources="$BASIC_FILE_CC $CLOCALE_CC"
16788 ac_dests="src/basic_file.cc src/c++locale.cc"
16791 cat >> $CONFIG_STATUS <<\EOF
16792 srcdir=$ac_given_srcdir
16793 while test -n "$ac_sources"; do
16794 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
16795 set $ac_sources; ac_source=$1; shift; ac_sources=$*
16797 echo "linking $srcdir/$ac_source to $ac_dest"
16799 if test ! -r $srcdir/$ac_source; then
16800 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
16804 # Make relative symlinks.
16805 # Remove last slash and all that follows it. Not all systems have dirname.
16806 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
16807 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
16808 # The dest file is in a subdirectory.
16809 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
16810 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
16811 # A "../" for each directory in $ac_dest_dir_suffix.
16812 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
16814 ac_dest_dir_suffix= ac_dots=
16818 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
16819 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
16822 # Make a symlink if possible; otherwise try a hard link.
16823 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
16824 ln $srcdir/$ac_source $ac_dest; then :
16826 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
16830 cat >> $CONFIG_STATUS <<EOF
16835 with_multisubdir=${with_multisubdir}
16836 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16837 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16838 glibcpp_basedir=${glibcpp_basedir}
16843 cat >> $CONFIG_STATUS <<\EOF
16844 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
16845 if test -n "$CONFIG_FILES"; then
16846 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
16847 grep '^MULTISUBDIR =' Makefile >> src/Makefile
16848 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
16851 chmod +x testsuite_flags
16855 chmod +x $CONFIG_STATUS
16856 rm -fr confdefs* $ac_clean_files
16857 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
16861 # Sanity checking & User-visible messages.
16862 # Checks down here, otherwise they get scrolled off before
16863 # the user will notice.
16865 # Trying to get more people to read documentation. Possibly remove
16866 # check and warn all the time. There is no "informational" AC_MSG_
16867 # macro, so these are going to be printed even when --quiet/--silent
16869 if test ! -f stamp-sanity-warned; then
16870 touch stamp-sanity-warned
16872 echo "Please make certain that you read the installation information here:"
16873 echo " faster => ${srcdir}/docs/install.html"
16874 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
16876 echo "and the configuration information here:"
16877 echo " faster => ${srcdir}/docs/configopts.html"
16878 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
16880 echo "before proceeding with ${_cv_gnu_make_command}."