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 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
725 echo "configure:726: checking whether ln -s works" >&5
726 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
727 echo $ac_n "(cached) $ac_c" 1>&6
730 if ln -s X conftestdata 2>/dev/null
733 ac_cv_prog_LN_S="ln -s"
738 LN_S="$ac_cv_prog_LN_S"
739 if test "$ac_cv_prog_LN_S" = "ln -s"; then
740 echo "$ac_t""yes" 1>&6
742 echo "$ac_t""no" 1>&6
746 # We use these options to decide which functions to include.
747 # Check whether --with-target-subdir or --without-target-subdir was given.
748 if test "${with_target_subdir+set}" = set; then
749 withval="$with_target_subdir"
753 # Check whether --with-cross-host or --without-cross-host was given.
754 if test "${with_cross_host+set}" = set; then
755 withval="$with_cross_host"
760 # Runs configure.host and configure.target. Have to run this before
761 # the GLIBCPP_ENABLE_* macros below.
762 # Find a good install program. We prefer a C program (faster),
763 # so one script is as good as another. But avoid the broken or
764 # incompatible versions:
765 # SysV /etc/install, /usr/sbin/install
766 # SunOS /usr/etc/install
769 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
770 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
771 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
772 # ./install, which can be erroneously created by make from ./install.sh.
773 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
774 echo "configure:775: checking for a BSD compatible install" >&5
775 if test -z "$INSTALL"; then
776 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
777 echo $ac_n "(cached) $ac_c" 1>&6
779 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
780 for ac_dir in $PATH; do
781 # Account for people who put trailing slashes in PATH elements.
783 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
785 # OSF1 and SCO ODT 3.0 have their own names for install.
786 # Don't use installbsd from OSF since it installs stuff as root
788 for ac_prog in ginstall scoinst install; do
789 if test -f $ac_dir/$ac_prog; then
790 if test $ac_prog = install &&
791 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
792 # AIX install. It has an incompatible calling convention.
795 ac_cv_path_install="$ac_dir/$ac_prog -c"
806 if test "${ac_cv_path_install+set}" = set; then
807 INSTALL="$ac_cv_path_install"
809 # As a last resort, use the slow shell script. We don't cache a
810 # path for INSTALL within a source directory, because that will
811 # break other packages using the cache if that directory is
812 # removed, or if the path is relative.
813 INSTALL="$ac_install_sh"
816 echo "$ac_t""$INSTALL" 1>&6
818 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
819 # It thinks the first close brace ends the variable substitution.
820 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
822 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
824 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
826 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
827 echo "configure:828: checking whether build environment is sane" >&5
830 echo timestamp > conftestfile
831 # Do `set' in a subshell so we don't clobber the current shell's
832 # arguments. Must try -L first in case configure is actually a
833 # symlink; some systems play weird games with the mod time of symlinks
834 # (eg FreeBSD returns the mod time of the symlink's containing
837 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
838 if test "$*" = "X"; then
840 set X `ls -t $srcdir/configure conftestfile`
842 if test "$*" != "X $srcdir/configure conftestfile" \
843 && test "$*" != "X conftestfile $srcdir/configure"; then
845 # If neither matched, then we have a broken ls. This can happen
846 # if, for instance, CONFIG_SHELL is bash and it inherits a
847 # broken ls alias from the environment. This has actually
848 # happened. Such a system could not be considered "sane".
849 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
850 alias in your environment" 1>&2; exit 1; }
853 test "$2" = conftestfile
859 { echo "configure: error: newly created file is older than distributed files!
860 Check your system clock" 1>&2; exit 1; }
863 echo "$ac_t""yes" 1>&6
864 if test "$program_transform_name" = s,x,x,; then
865 program_transform_name=
867 # Double any \ or $. echo might interpret backslashes.
868 cat <<\EOF_SED > conftestsed
869 s,\\,\\\\,g; s,\$,$$,g
871 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
874 test "$program_prefix" != NONE &&
875 program_transform_name="s,^,${program_prefix},; $program_transform_name"
876 # Use a double $ so make ignores it.
877 test "$program_suffix" != NONE &&
878 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
880 # sed with no file args requires a program.
881 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
883 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
884 echo "configure:885: checking whether ${MAKE-make} sets \${MAKE}" >&5
885 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
886 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
887 echo $ac_n "(cached) $ac_c" 1>&6
889 cat > conftestmake <<\EOF
891 @echo 'ac_maketemp="${MAKE}"'
893 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
894 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
895 if test -n "$ac_maketemp"; then
896 eval ac_cv_prog_make_${ac_make}_set=yes
898 eval ac_cv_prog_make_${ac_make}_set=no
902 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
903 echo "$ac_t""yes" 1>&6
906 echo "$ac_t""no" 1>&6
907 SET_MAKE="MAKE=${MAKE-make}"
910 if test $host != $build; then
911 ac_tool_prefix=${host_alias}-
916 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
917 echo "configure:918: checking for Cygwin environment" >&5
918 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
919 echo $ac_n "(cached) $ac_c" 1>&6
921 cat > conftest.$ac_ext <<EOF
922 #line 923 "configure"
923 #include "confdefs.h"
928 #define __CYGWIN__ __CYGWIN32__
933 if { (eval echo configure:934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
937 echo "configure: failed program was:" >&5
938 cat conftest.$ac_ext >&5
946 echo "$ac_t""$ac_cv_cygwin" 1>&6
948 test "$ac_cv_cygwin" = yes && CYGWIN=yes
949 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
950 echo "configure:951: checking for mingw32 environment" >&5
951 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
952 echo $ac_n "(cached) $ac_c" 1>&6
954 cat > conftest.$ac_ext <<EOF
955 #line 956 "configure"
956 #include "confdefs.h"
962 if { (eval echo configure:963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
966 echo "configure: failed program was:" >&5
967 cat conftest.$ac_ext >&5
975 echo "$ac_t""$ac_cv_mingw32" 1>&6
977 test "$ac_cv_mingw32" = yes && MINGW32=yes
979 # Check whether --enable-multilib or --disable-multilib was given.
980 if test "${enable_multilib+set}" = set; then
981 enableval="$enable_multilib"
982 case "${enableval}" in
985 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
991 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
999 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1000 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1002 cat >> confdefs.h <<EOF
1003 #define PACKAGE "$PACKAGE"
1006 cat >> confdefs.h <<EOF
1007 #define VERSION "$VERSION"
1012 missing_dir=`cd $ac_aux_dir && pwd`
1013 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
1014 echo "configure:1015: checking for working aclocal" >&5
1015 # Run test in a subshell; some versions of sh will print an error if
1016 # an executable is not found, even if stderr is redirected.
1017 # Redirect stdin to placate older versions of autoconf. Sigh.
1018 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1020 echo "$ac_t""found" 1>&6
1022 ACLOCAL="$missing_dir/missing aclocal"
1023 echo "$ac_t""missing" 1>&6
1026 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1027 echo "configure:1028: checking for working autoconf" >&5
1028 # Run test in a subshell; some versions of sh will print an error if
1029 # an executable is not found, even if stderr is redirected.
1030 # Redirect stdin to placate older versions of autoconf. Sigh.
1031 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1033 echo "$ac_t""found" 1>&6
1035 AUTOCONF="$missing_dir/missing autoconf"
1036 echo "$ac_t""missing" 1>&6
1039 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1040 echo "configure:1041: checking for working automake" >&5
1041 # Run test in a subshell; some versions of sh will print an error if
1042 # an executable is not found, even if stderr is redirected.
1043 # Redirect stdin to placate older versions of autoconf. Sigh.
1044 if (automake --version) < /dev/null > /dev/null 2>&1; then
1046 echo "$ac_t""found" 1>&6
1048 AUTOMAKE="$missing_dir/missing automake"
1049 echo "$ac_t""missing" 1>&6
1052 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1053 echo "configure:1054: checking for working autoheader" >&5
1054 # Run test in a subshell; some versions of sh will print an error if
1055 # an executable is not found, even if stderr is redirected.
1056 # Redirect stdin to placate older versions of autoconf. Sigh.
1057 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1058 AUTOHEADER=autoheader
1059 echo "$ac_t""found" 1>&6
1061 AUTOHEADER="$missing_dir/missing autoheader"
1062 echo "$ac_t""missing" 1>&6
1065 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1066 echo "configure:1067: checking for working makeinfo" >&5
1067 # Run test in a subshell; some versions of sh will print an error if
1068 # an executable is not found, even if stderr is redirected.
1069 # Redirect stdin to placate older versions of autoconf. Sigh.
1070 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1072 echo "$ac_t""found" 1>&6
1074 MAKEINFO="$missing_dir/missing makeinfo"
1075 echo "$ac_t""missing" 1>&6
1080 # Never versions of autoconf add an underscore to these functions.
1081 # Prevent future problems ...
1089 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1090 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1091 # are probably using a cross compiler, which will not be able to fully
1092 # link an executable. This should really be fixed in autoconf
1098 # Extract the first word of "gcc", so it can be a program name with args.
1099 set dummy gcc; ac_word=$2
1100 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1101 echo "configure:1102: checking for $ac_word" >&5
1102 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1103 echo $ac_n "(cached) $ac_c" 1>&6
1105 if test -n "$CC"; then
1106 ac_cv_prog_CC="$CC" # Let the user override the test.
1108 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1110 for ac_dir in $ac_dummy; do
1111 test -z "$ac_dir" && ac_dir=.
1112 if test -f $ac_dir/$ac_word; then
1121 if test -n "$CC"; then
1122 echo "$ac_t""$CC" 1>&6
1124 echo "$ac_t""no" 1>&6
1127 if test -z "$CC"; then
1128 # Extract the first word of "cc", so it can be a program name with args.
1129 set dummy cc; ac_word=$2
1130 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1131 echo "configure:1132: checking for $ac_word" >&5
1132 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1133 echo $ac_n "(cached) $ac_c" 1>&6
1135 if test -n "$CC"; then
1136 ac_cv_prog_CC="$CC" # Let the user override the test.
1138 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1141 for ac_dir in $ac_dummy; do
1142 test -z "$ac_dir" && ac_dir=.
1143 if test -f $ac_dir/$ac_word; then
1144 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1145 ac_prog_rejected=yes
1153 if test $ac_prog_rejected = yes; then
1154 # We found a bogon in the path, so make sure we never use it.
1155 set dummy $ac_cv_prog_CC
1157 if test $# -gt 0; then
1158 # We chose a different compiler from the bogus one.
1159 # However, it has the same basename, so the bogon will be chosen
1160 # first if we set CC to just the basename; use the full file name.
1162 set dummy "$ac_dir/$ac_word" "$@"
1170 if test -n "$CC"; then
1171 echo "$ac_t""$CC" 1>&6
1173 echo "$ac_t""no" 1>&6
1176 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1179 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1180 echo "configure:1181: checking whether we are using GNU C" >&5
1181 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1182 echo $ac_n "(cached) $ac_c" 1>&6
1184 cat > conftest.c <<EOF
1189 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1196 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1198 if test $ac_cv_prog_gcc = yes; then
1200 ac_test_CFLAGS="${CFLAGS+set}"
1201 ac_save_CFLAGS="$CFLAGS"
1203 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1204 echo "configure:1205: checking whether ${CC-cc} accepts -g" >&5
1205 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1206 echo $ac_n "(cached) $ac_c" 1>&6
1208 echo 'void f(){}' > conftest.c
1209 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1218 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1219 if test "$ac_test_CFLAGS" = set; then
1220 CFLAGS="$ac_save_CFLAGS"
1221 elif test $ac_cv_prog_cc_g = yes; then
1228 test "${CFLAGS+set}" = set || CFLAGS="-g"
1232 # Can't just call these here as g++ requires libstc++ to be built....
1235 # Likewise for AC_PROG_CXX.
1239 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1240 # flags that come in CXX while configuring libstdc++. They're different
1241 # from those used for all other target libraries. If CXX is set in
1242 # the environment, respect that here.
1244 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1246 # Extract the first word of "$ac_prog", so it can be a program name with args.
1247 set dummy $ac_prog; ac_word=$2
1248 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1249 echo "configure:1250: checking for $ac_word" >&5
1250 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1251 echo $ac_n "(cached) $ac_c" 1>&6
1253 if test -n "$glibcpp_CXX"; then
1254 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1256 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1258 for ac_dir in $ac_dummy; do
1259 test -z "$ac_dir" && ac_dir=.
1260 if test -f $ac_dir/$ac_word; then
1261 ac_cv_prog_glibcpp_CXX="$ac_prog"
1268 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1269 if test -n "$glibcpp_CXX"; then
1270 echo "$ac_t""$glibcpp_CXX" 1>&6
1272 echo "$ac_t""no" 1>&6
1275 test -n "$glibcpp_CXX" && break
1277 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1281 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1283 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1284 echo "configure:1285: checking whether we are using GNU C++" >&5
1285 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1286 echo $ac_n "(cached) $ac_c" 1>&6
1288 cat > conftest.C <<EOF
1293 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1300 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1302 if test $ac_cv_prog_gxx = yes; then
1304 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1305 ac_save_CXXFLAGS="$CXXFLAGS"
1307 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1308 echo "configure:1309: checking whether ${CXX-g++} accepts -g" >&5
1309 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1310 echo $ac_n "(cached) $ac_c" 1>&6
1312 echo 'void f(){}' > conftest.cc
1313 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1314 ac_cv_prog_cxx_g=yes
1322 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1323 if test "$ac_test_CXXFLAGS" = set; then
1324 CXXFLAGS="$ac_save_CXXFLAGS"
1325 elif test $ac_cv_prog_cxx_g = yes; then
1332 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1336 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1337 set dummy ${ac_tool_prefix}as; ac_word=$2
1338 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1339 echo "configure:1340: checking for $ac_word" >&5
1340 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1341 echo $ac_n "(cached) $ac_c" 1>&6
1343 if test -n "$AS"; then
1344 ac_cv_prog_AS="$AS" # Let the user override the test.
1346 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1348 for ac_dir in $ac_dummy; do
1349 test -z "$ac_dir" && ac_dir=.
1350 if test -f $ac_dir/$ac_word; then
1351 ac_cv_prog_AS="${ac_tool_prefix}as"
1356 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1360 if test -n "$AS"; then
1361 echo "$ac_t""$AS" 1>&6
1363 echo "$ac_t""no" 1>&6
1368 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1369 set dummy ${ac_tool_prefix}ar; ac_word=$2
1370 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1371 echo "configure:1372: checking for $ac_word" >&5
1372 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1373 echo $ac_n "(cached) $ac_c" 1>&6
1375 if test -n "$AR"; then
1376 ac_cv_prog_AR="$AR" # Let the user override the test.
1378 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1380 for ac_dir in $ac_dummy; do
1381 test -z "$ac_dir" && ac_dir=.
1382 if test -f $ac_dir/$ac_word; then
1383 ac_cv_prog_AR="${ac_tool_prefix}ar"
1388 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1392 if test -n "$AR"; then
1393 echo "$ac_t""$AR" 1>&6
1395 echo "$ac_t""no" 1>&6
1400 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1401 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1402 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1403 echo "configure:1404: checking for $ac_word" >&5
1404 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1405 echo $ac_n "(cached) $ac_c" 1>&6
1407 if test -n "$RANLIB"; then
1408 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1410 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1412 for ac_dir in $ac_dummy; do
1413 test -z "$ac_dir" && ac_dir=.
1414 if test -f $ac_dir/$ac_word; then
1415 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1422 RANLIB="$ac_cv_prog_RANLIB"
1423 if test -n "$RANLIB"; then
1424 echo "$ac_t""$RANLIB" 1>&6
1426 echo "$ac_t""no" 1>&6
1430 if test -z "$ac_cv_prog_RANLIB"; then
1431 if test -n "$ac_tool_prefix"; then
1432 # Extract the first word of "ranlib", so it can be a program name with args.
1433 set dummy ranlib; ac_word=$2
1434 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1435 echo "configure:1436: checking for $ac_word" >&5
1436 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1437 echo $ac_n "(cached) $ac_c" 1>&6
1439 if test -n "$RANLIB"; then
1440 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1442 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1444 for ac_dir in $ac_dummy; do
1445 test -z "$ac_dir" && ac_dir=.
1446 if test -f $ac_dir/$ac_word; then
1447 ac_cv_prog_RANLIB="ranlib"
1452 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1455 RANLIB="$ac_cv_prog_RANLIB"
1456 if test -n "$RANLIB"; then
1457 echo "$ac_t""$RANLIB" 1>&6
1459 echo "$ac_t""no" 1>&6
1463 RANLIB="ranlib-not-found-in-path-error"
1467 # Find a good install program. We prefer a C program (faster),
1468 # so one script is as good as another. But avoid the broken or
1469 # incompatible versions:
1470 # SysV /etc/install, /usr/sbin/install
1471 # SunOS /usr/etc/install
1472 # IRIX /sbin/install
1474 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1475 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1476 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1477 # ./install, which can be erroneously created by make from ./install.sh.
1478 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1479 echo "configure:1480: checking for a BSD compatible install" >&5
1480 if test -z "$INSTALL"; then
1481 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1482 echo $ac_n "(cached) $ac_c" 1>&6
1484 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1485 for ac_dir in $PATH; do
1486 # Account for people who put trailing slashes in PATH elements.
1488 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1490 # OSF1 and SCO ODT 3.0 have their own names for install.
1491 # Don't use installbsd from OSF since it installs stuff as root
1493 for ac_prog in ginstall scoinst install; do
1494 if test -f $ac_dir/$ac_prog; then
1495 if test $ac_prog = install &&
1496 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1497 # AIX install. It has an incompatible calling convention.
1500 ac_cv_path_install="$ac_dir/$ac_prog -c"
1511 if test "${ac_cv_path_install+set}" = set; then
1512 INSTALL="$ac_cv_path_install"
1514 # As a last resort, use the slow shell script. We don't cache a
1515 # path for INSTALL within a source directory, because that will
1516 # break other packages using the cache if that directory is
1517 # removed, or if the path is relative.
1518 INSTALL="$ac_install_sh"
1521 echo "$ac_t""$INSTALL" 1>&6
1523 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1524 # It thinks the first close brace ends the variable substitution.
1525 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1527 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1529 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1532 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1533 echo "configure:1534: checking whether to enable maintainer-specific portions of Makefiles" >&5
1534 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1535 if test "${enable_maintainer_mode+set}" = set; then
1536 enableval="$enable_maintainer_mode"
1537 USE_MAINTAINER_MODE=$enableval
1539 USE_MAINTAINER_MODE=no
1542 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1545 if test $USE_MAINTAINER_MODE = yes; then
1546 MAINTAINER_MODE_TRUE=
1547 MAINTAINER_MODE_FALSE='#'
1549 MAINTAINER_MODE_TRUE='#'
1550 MAINTAINER_MODE_FALSE=
1552 MAINT=$MAINTAINER_MODE_TRUE
1556 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1557 # at least currently, we never actually build a program, so we never
1558 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1559 # fails, because we are probably configuring with a cross compiler
1560 # which cant create executables. So we include AC_EXEEXT to keep
1561 # automake happy, but we dont execute it, since we dont care about
1564 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1565 # to nothing, so nothing would remain between `then' and `fi' if it
1566 # were not for the `:' below.
1570 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1571 echo "configure:1572: checking for executable suffix" >&5
1572 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1573 echo $ac_n "(cached) $ac_c" 1>&6
1575 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1579 echo 'int main () { return 0; }' > conftest.$ac_ext
1581 if { (eval echo configure:1582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1582 for file in conftest.*; do
1584 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1585 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1589 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1592 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1597 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1598 echo "$ac_t""${ac_cv_exeext}" 1>&6
1603 . ${glibcpp_basedir}/configure.host
1605 case ${glibcpp_basedir} in
1606 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1607 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1610 # This does for the target what configure.host does for the host. In
1611 # addition to possibly modifying the same flags, it also sets up symlinks.
1613 . ${glibcpp_basedir}/configure.target
1614 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1615 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1620 # Check whether --enable-shared or --disable-shared was given.
1621 if test "${enable_shared+set}" = set; then
1622 enableval="$enable_shared"
1623 p=${PACKAGE-default}
1625 yes) enable_shared=yes ;;
1626 no) enable_shared=no ;;
1629 # Look at the argument we got. We use all the common list separators.
1630 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1631 for pkg in $enableval; do
1632 if test "X$pkg" = "X$p"; then
1643 # Check whether --enable-static or --disable-static was given.
1644 if test "${enable_static+set}" = set; then
1645 enableval="$enable_static"
1646 p=${PACKAGE-default}
1648 yes) enable_static=yes ;;
1649 no) enable_static=no ;;
1652 # Look at the argument we got. We use all the common list separators.
1653 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1654 for pkg in $enableval; do
1655 if test "X$pkg" = "X$p"; then
1666 # Check whether --enable-fast-install or --disable-fast-install was given.
1667 if test "${enable_fast_install+set}" = set; then
1668 enableval="$enable_fast_install"
1669 p=${PACKAGE-default}
1671 yes) enable_fast_install=yes ;;
1672 no) enable_fast_install=no ;;
1674 enable_fast_install=no
1675 # Look at the argument we got. We use all the common list separators.
1676 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1677 for pkg in $enableval; do
1678 if test "X$pkg" = "X$p"; then
1679 enable_fast_install=yes
1686 enable_fast_install=yes
1689 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1690 if test "${with_gnu_ld+set}" = set; then
1691 withval="$with_gnu_ld"
1692 test "$withval" = no || with_gnu_ld=yes
1698 if test "$GCC" = yes; then
1699 # Check if gcc -print-prog-name=ld gives a path.
1700 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1701 echo "configure:1702: checking for ld used by GCC" >&5
1704 # gcc leaves a trailing carriage return which upsets mingw
1705 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1707 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1710 # Accept absolute paths.
1711 [\\/]* | [A-Za-z]:[\\/]*)
1712 re_direlt='/[^/][^/]*/\.\./'
1713 # Canonicalize the path of ld
1714 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1715 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1716 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1718 test -z "$LD" && LD="$ac_prog"
1721 # If it fails, then pretend we aren't using GCC.
1725 # If it is relative, then search for the first ld in PATH.
1729 elif test "$with_gnu_ld" = yes; then
1730 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1731 echo "configure:1732: checking for GNU ld" >&5
1733 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1734 echo "configure:1735: checking for non-GNU ld" >&5
1736 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1737 echo $ac_n "(cached) $ac_c" 1>&6
1739 if test -z "$LD"; then
1740 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1741 for ac_dir in $PATH; do
1742 test -z "$ac_dir" && ac_dir=.
1743 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1744 lt_cv_path_LD="$ac_dir/$ac_prog"
1745 # Check to see if the program is GNU ld. I'd rather use --version,
1746 # but apparently some GNU ld's only accept -v.
1747 # Break only if it was the GNU/non-GNU ld that we prefer.
1748 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1749 test "$with_gnu_ld" != no && break
1751 test "$with_gnu_ld" != yes && break
1757 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1762 if test -n "$LD"; then
1763 echo "$ac_t""$LD" 1>&6
1765 echo "$ac_t""no" 1>&6
1767 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1768 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1769 echo "configure:1770: checking if the linker ($LD) is GNU ld" >&5
1770 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1771 echo $ac_n "(cached) $ac_c" 1>&6
1773 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1774 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1775 lt_cv_prog_gnu_ld=yes
1777 lt_cv_prog_gnu_ld=no
1781 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1782 with_gnu_ld=$lt_cv_prog_gnu_ld
1785 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1786 echo "configure:1787: checking for $LD option to reload object files" >&5
1787 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1788 echo $ac_n "(cached) $ac_c" 1>&6
1790 lt_cv_ld_reload_flag='-r'
1793 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1794 reload_flag=$lt_cv_ld_reload_flag
1795 test -n "$reload_flag" && reload_flag=" $reload_flag"
1797 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1798 echo "configure:1799: checking for BSD-compatible nm" >&5
1799 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1800 echo $ac_n "(cached) $ac_c" 1>&6
1802 if test -n "$NM"; then
1803 # Let the user override the test.
1806 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1807 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1808 test -z "$ac_dir" && ac_dir=.
1809 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1810 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1811 # Check to see if the nm accepts a BSD-compat flag.
1812 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1813 # nm: unknown option "B" ignored
1814 # Tru64's nm complains that /dev/null is an invalid object file
1815 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1816 lt_cv_path_NM="$tmp_nm -B"
1818 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1819 lt_cv_path_NM="$tmp_nm -p"
1822 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1823 continue # so that we can try to find one that supports BSD flags
1828 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1833 echo "$ac_t""$NM" 1>&6
1835 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1836 echo "configure:1837: checking how to recognise dependant libraries" >&5
1837 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1838 echo $ac_n "(cached) $ac_c" 1>&6
1840 lt_cv_file_magic_cmd='$MAGIC_CMD'
1841 lt_cv_file_magic_test_file=
1842 lt_cv_deplibs_check_method='unknown'
1843 # Need to set the preceding variable on all platforms that support
1844 # interlibrary dependencies.
1845 # 'none' -- dependencies not supported.
1846 # `unknown' -- same as none, but documents that we really don't know.
1847 # 'pass_all' -- all dependencies passed with no checks.
1848 # 'test_compile' -- check by making test program.
1849 # 'file_magic [regex]' -- check by looking for files in library path
1850 # which responds to the $file_magic_cmd with a given egrep regex.
1851 # If you have `file' or equivalent on your system and you're not sure
1852 # whether `pass_all' will *always* work, you probably want this one.
1856 lt_cv_deplibs_check_method=pass_all
1860 lt_cv_deplibs_check_method=pass_all
1864 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1865 lt_cv_file_magic_cmd='/usr/bin/file -L'
1866 lt_cv_file_magic_test_file=/shlib/libc.so
1869 cygwin* | mingw* |pw32*)
1870 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1871 lt_cv_file_magic_cmd='$OBJDUMP -f'
1874 darwin* | rhapsody*)
1875 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1876 lt_cv_file_magic_cmd='/usr/bin/file -L'
1878 rhapsody* | darwin1.012)
1879 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1882 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1888 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1891 # Not sure whether the presence of OpenBSD here was a mistake.
1892 # Let's accept both of them until this is cleared up.
1893 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1894 lt_cv_file_magic_cmd=/usr/bin/file
1895 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1899 lt_cv_deplibs_check_method=pass_all
1904 lt_cv_deplibs_check_method=pass_all
1908 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1909 lt_cv_file_magic_cmd=/usr/bin/file
1910 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1916 # this will be overridden with pass_all, but let us keep it just in case
1917 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1921 *-32|*"-32 ") libmagic=32-bit;;
1922 *-n32|*"-n32 ") libmagic=N32;;
1923 *-64|*"-64 ") libmagic=64-bit;;
1924 *) libmagic=never-match;;
1926 # this will be overridden with pass_all, but let us keep it just in case
1927 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1930 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1931 lt_cv_deplibs_check_method=pass_all
1934 # This must be Linux ELF.
1937 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1938 lt_cv_deplibs_check_method=pass_all ;;
1940 # glibc up to 2.1.1 does not perform some relocations on ARM
1941 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1943 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1947 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1948 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1950 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
1955 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1956 lt_cv_file_magic_cmd=/usr/bin/file
1957 lt_cv_file_magic_test_file=/usr/lib/libnls.so
1960 osf3* | osf4* | osf5*)
1961 # this will be overridden with pass_all, but let us keep it just in case
1962 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1963 lt_cv_file_magic_test_file=/shlib/libc.so
1964 lt_cv_deplibs_check_method=pass_all
1968 lt_cv_deplibs_check_method=pass_all
1972 lt_cv_deplibs_check_method=pass_all
1973 lt_cv_file_magic_test_file=/lib/libc.so
1976 sysv5uw[78]* | sysv4*uw2*)
1977 lt_cv_deplibs_check_method=pass_all
1980 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1981 case $host_vendor in
1983 lt_cv_deplibs_check_method=pass_all
1986 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]'
1987 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1995 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1996 file_magic_cmd=$lt_cv_file_magic_cmd
1997 deplibs_check_method=$lt_cv_deplibs_check_method
1999 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2000 echo "configure:2001: checking for object suffix" >&5
2001 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2002 echo $ac_n "(cached) $ac_c" 1>&6
2005 echo 'int i = 1;' > conftest.$ac_ext
2006 if { (eval echo configure:2007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2007 for ac_file in conftest.*; do
2010 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2014 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2019 echo "$ac_t""$ac_cv_objext" 1>&6
2020 OBJEXT=$ac_cv_objext
2021 ac_objext=$ac_cv_objext
2023 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2025 # Only perform the check for file, if the check method requires it
2026 case $deplibs_check_method in
2028 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2029 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2030 echo "configure:2031: checking for ${ac_tool_prefix}file" >&5
2031 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2032 echo $ac_n "(cached) $ac_c" 1>&6
2036 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2039 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2042 ac_save_MAGIC_CMD="$MAGIC_CMD"
2043 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2044 ac_dummy="/usr/bin:$PATH"
2045 for ac_dir in $ac_dummy; do
2046 test -z "$ac_dir" && ac_dir=.
2047 if test -f $ac_dir/${ac_tool_prefix}file; then
2048 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2049 if test -n "$file_magic_test_file"; then
2050 case $deplibs_check_method in
2052 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2053 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2054 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2055 egrep "$file_magic_regex" > /dev/null; then
2060 *** Warning: the command libtool uses to detect shared libraries,
2061 *** $file_magic_cmd, produces output that libtool cannot recognize.
2062 *** The result is that libtool may fail to recognize shared libraries
2063 *** as such. This will affect the creation of libtool libraries that
2064 *** depend on shared libraries, but programs linked with such libtool
2065 *** libraries will work regardless of this problem. Nevertheless, you
2066 *** may want to report the problem to your system manager and/or to
2067 *** bug-libtool@gnu.org
2077 MAGIC_CMD="$ac_save_MAGIC_CMD"
2082 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2083 if test -n "$MAGIC_CMD"; then
2084 echo "$ac_t""$MAGIC_CMD" 1>&6
2086 echo "$ac_t""no" 1>&6
2089 if test -z "$lt_cv_path_MAGIC_CMD"; then
2090 if test -n "$ac_tool_prefix"; then
2091 echo $ac_n "checking for file""... $ac_c" 1>&6
2092 echo "configure:2093: checking for file" >&5
2093 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2094 echo $ac_n "(cached) $ac_c" 1>&6
2098 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2101 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2104 ac_save_MAGIC_CMD="$MAGIC_CMD"
2105 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2106 ac_dummy="/usr/bin:$PATH"
2107 for ac_dir in $ac_dummy; do
2108 test -z "$ac_dir" && ac_dir=.
2109 if test -f $ac_dir/file; then
2110 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2111 if test -n "$file_magic_test_file"; then
2112 case $deplibs_check_method in
2114 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2115 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2116 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2117 egrep "$file_magic_regex" > /dev/null; then
2122 *** Warning: the command libtool uses to detect shared libraries,
2123 *** $file_magic_cmd, produces output that libtool cannot recognize.
2124 *** The result is that libtool may fail to recognize shared libraries
2125 *** as such. This will affect the creation of libtool libraries that
2126 *** depend on shared libraries, but programs linked with such libtool
2127 *** libraries will work regardless of this problem. Nevertheless, you
2128 *** may want to report the problem to your system manager and/or to
2129 *** bug-libtool@gnu.org
2139 MAGIC_CMD="$ac_save_MAGIC_CMD"
2144 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2145 if test -n "$MAGIC_CMD"; then
2146 echo "$ac_t""$MAGIC_CMD" 1>&6
2148 echo "$ac_t""no" 1>&6
2160 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2161 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2162 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2163 echo "configure:2164: checking for $ac_word" >&5
2164 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2165 echo $ac_n "(cached) $ac_c" 1>&6
2167 if test -n "$RANLIB"; then
2168 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2170 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2172 for ac_dir in $ac_dummy; do
2173 test -z "$ac_dir" && ac_dir=.
2174 if test -f $ac_dir/$ac_word; then
2175 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2182 RANLIB="$ac_cv_prog_RANLIB"
2183 if test -n "$RANLIB"; then
2184 echo "$ac_t""$RANLIB" 1>&6
2186 echo "$ac_t""no" 1>&6
2190 if test -z "$ac_cv_prog_RANLIB"; then
2191 if test -n "$ac_tool_prefix"; then
2192 # Extract the first word of "ranlib", so it can be a program name with args.
2193 set dummy ranlib; ac_word=$2
2194 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2195 echo "configure:2196: checking for $ac_word" >&5
2196 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2197 echo $ac_n "(cached) $ac_c" 1>&6
2199 if test -n "$RANLIB"; then
2200 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2202 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2204 for ac_dir in $ac_dummy; do
2205 test -z "$ac_dir" && ac_dir=.
2206 if test -f $ac_dir/$ac_word; then
2207 ac_cv_prog_RANLIB="ranlib"
2212 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2215 RANLIB="$ac_cv_prog_RANLIB"
2216 if test -n "$RANLIB"; then
2217 echo "$ac_t""$RANLIB" 1>&6
2219 echo "$ac_t""no" 1>&6
2227 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2228 set dummy ${ac_tool_prefix}strip; ac_word=$2
2229 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2230 echo "configure:2231: checking for $ac_word" >&5
2231 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2232 echo $ac_n "(cached) $ac_c" 1>&6
2234 if test -n "$STRIP"; then
2235 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2237 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2239 for ac_dir in $ac_dummy; do
2240 test -z "$ac_dir" && ac_dir=.
2241 if test -f $ac_dir/$ac_word; then
2242 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2249 STRIP="$ac_cv_prog_STRIP"
2250 if test -n "$STRIP"; then
2251 echo "$ac_t""$STRIP" 1>&6
2253 echo "$ac_t""no" 1>&6
2257 if test -z "$ac_cv_prog_STRIP"; then
2258 if test -n "$ac_tool_prefix"; then
2259 # Extract the first word of "strip", so it can be a program name with args.
2260 set dummy strip; ac_word=$2
2261 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2262 echo "configure:2263: checking for $ac_word" >&5
2263 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2264 echo $ac_n "(cached) $ac_c" 1>&6
2266 if test -n "$STRIP"; then
2267 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2269 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2271 for ac_dir in $ac_dummy; do
2272 test -z "$ac_dir" && ac_dir=.
2273 if test -f $ac_dir/$ac_word; then
2274 ac_cv_prog_STRIP="strip"
2279 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2282 STRIP="$ac_cv_prog_STRIP"
2283 if test -n "$STRIP"; then
2284 echo "$ac_t""$STRIP" 1>&6
2286 echo "$ac_t""no" 1>&6
2295 # Check for any special flags to pass to ltconfig.
2296 libtool_flags="--cache-file=$cache_file"
2297 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2298 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2299 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2300 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2301 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2302 libtool_flags="$libtool_flags --enable-dlopen"
2304 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2305 if test "${enable_libtool_lock+set}" = set; then
2306 enableval="$enable_libtool_lock"
2310 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2311 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2313 # Check whether --with-pic or --without-pic was given.
2314 if test "${with_pic+set}" = set; then
2321 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2322 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2324 # Some flags need to be propagated to the compiler or linker for good
2328 # Find out which ABI we are using.
2329 echo '#line 2330 "configure"' > conftest.$ac_ext
2330 if { (eval echo configure:2331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2331 case `/usr/bin/file conftest.$ac_objext` in
2347 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2348 SAVE_CFLAGS="$CFLAGS"
2349 CFLAGS="$CFLAGS -belf"
2350 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2351 echo "configure:2352: checking whether the C compiler needs -belf" >&5
2352 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2353 echo $ac_n "(cached) $ac_c" 1>&6
2357 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2358 ac_cpp='$CPP $CPPFLAGS'
2359 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2360 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2361 cross_compiling=$ac_cv_prog_cc_cross
2363 cat > conftest.$ac_ext <<EOF
2364 #line 2365 "configure"
2365 #include "confdefs.h"
2371 if { (eval echo configure:2372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2373 lt_cv_cc_needs_belf=yes
2375 echo "configure: failed program was:" >&5
2376 cat conftest.$ac_ext >&5
2378 lt_cv_cc_needs_belf=no
2382 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2383 ac_cpp='$CPP $CPPFLAGS'
2384 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2385 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2386 cross_compiling=$ac_cv_prog_cc_cross
2390 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2391 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2392 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2393 CFLAGS="$SAVE_CFLAGS"
2400 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2401 echo "configure:2402: checking how to run the C++ preprocessor" >&5
2402 if test -z "$CXXCPP"; then
2403 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2404 echo $ac_n "(cached) $ac_c" 1>&6
2407 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2408 ac_cpp='$CXXCPP $CPPFLAGS'
2409 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2410 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2411 cross_compiling=$ac_cv_prog_cxx_cross
2412 CXXCPP="${CXX-g++} -E"
2413 cat > conftest.$ac_ext <<EOF
2414 #line 2415 "configure"
2415 #include "confdefs.h"
2418 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2419 { (eval echo configure:2420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2420 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2421 if test -z "$ac_err"; then
2425 echo "configure: failed program was:" >&5
2426 cat conftest.$ac_ext >&5
2431 ac_cv_prog_CXXCPP="$CXXCPP"
2433 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2434 ac_cpp='$CPP $CPPFLAGS'
2435 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2436 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2437 cross_compiling=$ac_cv_prog_cc_cross
2440 CXXCPP="$ac_cv_prog_CXXCPP"
2441 echo "$ac_t""$CXXCPP" 1>&6
2444 # Save cache, so that ltconfig can load it
2445 cat > confcache <<\EOF
2446 # This file is a shell script that caches the results of configure
2447 # tests run on this system so they can be shared between configure
2448 # scripts and configure runs. It is not useful on other systems.
2449 # If it contains results you don't want to keep, you may remove or edit it.
2451 # By default, configure uses ./config.cache as the cache file,
2452 # creating it if it does not exist already. You can give configure
2453 # the --cache-file=FILE option to use a different cache file; that is
2454 # what configure does when it calls configure scripts in
2455 # subdirectories, so they share the cache.
2456 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2457 # config.status only pays attention to the cache file if you give it the
2458 # --recheck option to rerun configure.
2461 # The following way of writing the cache mishandles newlines in values,
2462 # but we know of no workaround that is simple, portable, and efficient.
2463 # So, don't put newlines in cache variables' values.
2464 # Ultrix sh set writes to stderr and can't be redirected directly,
2465 # and sets the high bit in the cache file unless we assign to the vars.
2467 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2469 # `set' does not quote correctly, so add quotes (double-quote substitution
2470 # turns \\\\ into \\, and sed turns \\ into \).
2472 -e "s/'/'\\\\''/g" \
2473 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2476 # `set' quotes correctly as required by POSIX, so do not add quotes.
2477 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2480 if cmp -s $cache_file confcache; then
2483 if test -w $cache_file; then
2484 echo "updating cache $cache_file"
2485 cat confcache > $cache_file
2487 echo "not updating unwritable cache $cache_file"
2493 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2494 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2495 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2496 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2497 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2498 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2499 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2500 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2501 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2502 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2504 # Reload cache, that may have been modified by ltconfig
2505 if test -r "$cache_file"; then
2506 echo "loading cache $cache_file"
2509 echo "creating cache $cache_file"
2514 # This can be used to rebuild libtool when needed
2515 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2517 # Always use our own libtool.
2518 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2520 # Redirect the config.log output again, so that the ltconfig log is not
2521 # clobbered by the next message.
2522 exec 5>>./config.log
2526 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2528 lt_save_CFLAGS="$CFLAGS"
2529 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2530 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2531 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2532 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2533 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2534 deplibs_check_method="$deplibs_check_method" \
2535 file_magic_cmd="$file_magic_cmd" \
2536 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2537 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2538 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2540 CFLAGS="$lt_save_CFLAGS"
2542 # Redirect the config.log output again, so that the ltconfig log is not
2543 # clobbered by the next message.
2544 exec 5>>./config.log
2553 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2554 echo "configure:2555: checking for GNU make" >&5
2555 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2556 echo $ac_n "(cached) $ac_c" 1>&6
2558 _cv_gnu_make_command='' ;
2559 for a in "${MAKE-make}" make gmake gnumake ; do
2560 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2562 _cv_gnu_make_command=$a ;
2569 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2570 if test "x$_cv_gnu_make_command" != "x" ; then
2582 # Check for c++ or library specific bits that don't require linking.
2584 if test ! -f stamp-sanity-compiler; then
2585 echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2586 echo "configure:2587: checking for g++ that will successfully compile libstdc++-v3" >&5
2589 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2590 ac_cpp='$CXXCPP $CPPFLAGS'
2591 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2592 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2593 cross_compiling=$ac_cv_prog_cxx_cross
2595 cat > conftest.$ac_ext <<EOF
2596 #line 2597 "configure"
2597 #include "confdefs.h"
2607 if { (eval echo configure:2608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2609 gpp_satisfactory=yes
2611 echo "configure: failed program was:" >&5
2612 cat conftest.$ac_ext >&5
2614 { echo "configure: error: please upgrade to GCC 3.0 or above" 1>&2; exit 1; }
2618 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2619 ac_cpp='$CPP $CPPFLAGS'
2620 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2621 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2622 cross_compiling=$ac_cv_prog_cc_cross
2624 echo "$ac_t""$gpp_satisfactory" 1>&6
2625 touch stamp-sanity-compiler
2629 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2630 # Check whether --enable-debug or --disable-debug was given.
2631 if test "${enable_debug+set}" = set; then
2632 enableval="$enable_debug"
2633 case "${enableval}" in
2634 yes) enable_debug=yes ;;
2635 no) enable_debug=no ;;
2636 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2642 case "${enable_debug}" in
2644 DEBUG_FLAGS='-O0 -ggdb3'
2652 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2653 echo "configure:2654: checking how to run the C preprocessor" >&5
2654 # On Suns, sometimes $CPP names a directory.
2655 if test -n "$CPP" && test -d "$CPP"; then
2658 if test -z "$CPP"; then
2659 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2660 echo $ac_n "(cached) $ac_c" 1>&6
2662 # This must be in double quotes, not single quotes, because CPP may get
2663 # substituted into the Makefile and "${CC-cc}" will confuse make.
2665 # On the NeXT, cc -E runs the code through the compiler's parser,
2666 # not just through cpp.
2667 cat > conftest.$ac_ext <<EOF
2668 #line 2669 "configure"
2669 #include "confdefs.h"
2673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2674 { (eval echo configure:2675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2676 if test -z "$ac_err"; then
2680 echo "configure: failed program was:" >&5
2681 cat conftest.$ac_ext >&5
2683 CPP="${CC-cc} -E -traditional-cpp"
2684 cat > conftest.$ac_ext <<EOF
2685 #line 2686 "configure"
2686 #include "confdefs.h"
2690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2691 { (eval echo configure:2692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2693 if test -z "$ac_err"; then
2697 echo "configure: failed program was:" >&5
2698 cat conftest.$ac_ext >&5
2700 CPP="${CC-cc} -nologo -E"
2701 cat > conftest.$ac_ext <<EOF
2702 #line 2703 "configure"
2703 #include "confdefs.h"
2707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2708 { (eval echo configure:2709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2710 if test -z "$ac_err"; then
2714 echo "configure: failed program was:" >&5
2715 cat conftest.$ac_ext >&5
2724 ac_cv_prog_CPP="$CPP"
2726 CPP="$ac_cv_prog_CPP"
2728 ac_cv_prog_CPP="$CPP"
2730 echo "$ac_t""$CPP" 1>&6
2733 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2734 echo "configure:2735: checking for cstdio to use" >&5
2735 # Check whether --enable-cstdio or --disable-cstdio was given.
2736 if test "${enable_cstdio+set}" = set; then
2737 enableval="$enable_cstdio"
2738 if test x$enable_cstdio = xno; then
2746 enable_cstdio_flag=$enable_cstdio
2748 case x${enable_cstdio_flag} in
2750 CSTDIO_H=config/c_io_libio.h
2751 BASIC_FILE_H=config/basic_file_libio.h
2752 BASIC_FILE_CC=config/basic_file_libio.cc
2753 echo "$ac_t""libio" 1>&6
2755 # see if we are on a system with libio native (ie, linux)
2756 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2757 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2758 echo "configure:2759: checking for libio.h" >&5
2759 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2760 echo $ac_n "(cached) $ac_c" 1>&6
2762 cat > conftest.$ac_ext <<EOF
2763 #line 2764 "configure"
2764 #include "confdefs.h"
2767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2768 { (eval echo configure:2769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2770 if test -z "$ac_err"; then
2772 eval "ac_cv_header_$ac_safe=yes"
2775 echo "configure: failed program was:" >&5
2776 cat conftest.$ac_ext >&5
2778 eval "ac_cv_header_$ac_safe=no"
2782 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2783 echo "$ac_t""yes" 1>&6
2786 echo "$ac_t""no" 1>&6
2791 # Need to check and see what version of glibc is being used. If
2792 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2793 # compile most of libio for linux systems.
2794 if test x$has_libio = x"yes"; then
2797 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2798 echo "configure:2799: checking for glibc version >= 2.2" >&5
2799 cat > conftest.$ac_ext <<EOF
2800 #line 2801 "configure"
2801 #include "confdefs.h"
2803 #include <features.h>
2804 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2810 egrep "ok" >/dev/null 2>&1; then
2812 glibc_satisfactory=yes
2815 glibc_satisfactory=no
2819 echo "$ac_t""$glibc_satisfactory" 1>&6
2823 # XXX at the moment, admit defeat and force the recompilation
2824 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2825 glibc_satisfactory=no
2827 if test x$glibc_satisfactory = x"yes"; then
2832 # bkoz XXX need to add checks to enable this
2833 # pme XXX here's a first pass at such a check
2834 if test x$enable_c_mbchar != xno; then
2842 # Using libio, but <libio.h> doesn't exist on the target system. . .
2844 # bkoz XXX need to add checks to enable this
2845 # pme XXX here's a first pass at such a check
2846 if test x$enable_c_mbchar != xno; then
2853 xstdio | x | xno | xnone | xyes)
2855 CSTDIO_H=config/c_io_stdio.h
2856 BASIC_FILE_H=config/basic_file_stdio.h
2857 BASIC_FILE_CC=config/basic_file_stdio.cc
2858 echo "$ac_t""stdio" 1>&6
2860 # We're not using stdio.
2865 echo "$enable_cstdio is an unknown io package" 1>&2
2873 # 2000-08-04 bkoz hack
2874 CCODECVT_C=config/c_io_libio_codecvt.c
2876 # 2000-08-04 bkoz hack
2880 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2881 GLIBCPP_BUILD_LIBIO_TRUE=
2882 GLIBCPP_BUILD_LIBIO_FALSE='#'
2884 GLIBCPP_BUILD_LIBIO_TRUE='#'
2885 GLIBCPP_BUILD_LIBIO_FALSE=
2889 if test "$need_libio" = yes; then
2890 GLIBCPP_NEED_LIBIO_TRUE=
2891 GLIBCPP_NEED_LIBIO_FALSE='#'
2893 GLIBCPP_NEED_LIBIO_TRUE='#'
2894 GLIBCPP_NEED_LIBIO_FALSE=
2898 if test "$need_wlibio" = yes; then
2899 GLIBCPP_NEED_WLIBIO_TRUE=
2900 GLIBCPP_NEED_WLIBIO_FALSE='#'
2902 GLIBCPP_NEED_WLIBIO_TRUE='#'
2903 GLIBCPP_NEED_WLIBIO_FALSE=
2905 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2906 libio_la=../libio/libio.la
2913 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2914 echo "configure:2915: checking for clocale to use" >&5
2915 # Check whether --enable-clocale or --disable-clocale was given.
2916 if test "${enable_clocale+set}" = set; then
2917 enableval="$enable_clocale"
2918 if test x$enable_clocale = xno; then
2919 enable_clocale=generic
2922 enable_clocale=generic
2926 enable_clocale_flag=$enable_clocale
2928 case x${enable_clocale_flag} in
2930 CLOCALE_H=config/c_locale_gnu.h
2931 CLOCALE_CC=config/c_locale_gnu.cc
2932 echo "$ac_t""gnu" 1>&6
2935 CLOCALE_H=config/c_locale_generic.h
2936 CLOCALE_CC=config/c_locale_generic.cc
2937 echo "$ac_t""generic" 1>&6
2940 echo "$enable_clocale is an unknown locale package" 1>&2
2948 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2949 if test "${enable_c_mbchar+set}" = set; then
2950 enableval="$enable_c_mbchar"
2951 case "$enableval" in
2952 yes) enable_c_mbchar=yes ;;
2953 no) enable_c_mbchar=no ;;
2954 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2961 # Check whether --enable-c99 or --disable-c99 was given.
2962 if test "${enable_c99+set}" = set; then
2963 enableval="$enable_c99"
2964 case "$enableval" in
2965 yes) enable_c99=yes ;;
2966 no) enable_c99=no ;;
2967 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
2975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2976 ac_cpp='$CXXCPP $CPPFLAGS'
2977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2979 cross_compiling=$ac_cv_prog_cxx_cross
2982 # Check for the existence of <math.h> functions used if C99 is enabled.
2984 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
2985 echo "configure:2986: checking for ISO C99 support in <math.h>" >&5
2986 cat > conftest.$ac_ext <<EOF
2987 #line 2988 "configure"
2988 #include "confdefs.h"
2994 if { (eval echo configure:2995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2997 echo "configure: failed program was:" >&5
2998 cat conftest.$ac_ext >&5
3003 cat > conftest.$ac_ext <<EOF
3004 #line 3005 "configure"
3005 #include "confdefs.h"
3011 if { (eval echo configure:3012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3014 echo "configure: failed program was:" >&5
3015 cat conftest.$ac_ext >&5
3020 cat > conftest.$ac_ext <<EOF
3021 #line 3022 "configure"
3022 #include "confdefs.h"
3028 if { (eval echo configure:3029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3031 echo "configure: failed program was:" >&5
3032 cat conftest.$ac_ext >&5
3037 cat > conftest.$ac_ext <<EOF
3038 #line 3039 "configure"
3039 #include "confdefs.h"
3045 if { (eval echo configure:3046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3048 echo "configure: failed program was:" >&5
3049 cat conftest.$ac_ext >&5
3054 cat > conftest.$ac_ext <<EOF
3055 #line 3056 "configure"
3056 #include "confdefs.h"
3062 if { (eval echo configure:3063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3065 echo "configure: failed program was:" >&5
3066 cat conftest.$ac_ext >&5
3071 cat > conftest.$ac_ext <<EOF
3072 #line 3073 "configure"
3073 #include "confdefs.h"
3079 if { (eval echo configure:3080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3082 echo "configure: failed program was:" >&5
3083 cat conftest.$ac_ext >&5
3088 cat > conftest.$ac_ext <<EOF
3089 #line 3090 "configure"
3090 #include "confdefs.h"
3096 if { (eval echo configure:3097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3099 echo "configure: failed program was:" >&5
3100 cat conftest.$ac_ext >&5
3105 cat > conftest.$ac_ext <<EOF
3106 #line 3107 "configure"
3107 #include "confdefs.h"
3110 isgreaterequal(0.0,0.0);
3113 if { (eval echo configure:3114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3116 echo "configure: failed program was:" >&5
3117 cat conftest.$ac_ext >&5
3122 cat > conftest.$ac_ext <<EOF
3123 #line 3124 "configure"
3124 #include "confdefs.h"
3130 if { (eval echo configure:3131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3133 echo "configure: failed program was:" >&5
3134 cat conftest.$ac_ext >&5
3139 cat > conftest.$ac_ext <<EOF
3140 #line 3141 "configure"
3141 #include "confdefs.h"
3144 islessequal(0.0,0.0);
3147 if { (eval echo configure:3148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3150 echo "configure: failed program was:" >&5
3151 cat conftest.$ac_ext >&5
3156 cat > conftest.$ac_ext <<EOF
3157 #line 3158 "configure"
3158 #include "confdefs.h"
3161 islessgreater(0.0,0.0);
3164 if { (eval echo configure:3165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3167 echo "configure: failed program was:" >&5
3168 cat conftest.$ac_ext >&5
3173 cat > conftest.$ac_ext <<EOF
3174 #line 3175 "configure"
3175 #include "confdefs.h"
3178 isunordered(0.0,0.0);
3181 if { (eval echo configure:3182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3184 echo "configure: failed program was:" >&5
3185 cat conftest.$ac_ext >&5
3190 echo "$ac_t""$ac_c99_math" 1>&6
3192 # Check for the existence in <stdio.h> of vscanf, et. al.
3194 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3195 echo "configure:3196: checking for ISO C99 support in <stdio.h>" >&5
3196 cat > conftest.$ac_ext <<EOF
3197 #line 3198 "configure"
3198 #include "confdefs.h"
3201 snprintf("12", 0, "%i");
3204 if { (eval echo configure:3205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3207 echo "configure: failed program was:" >&5
3208 cat conftest.$ac_ext >&5
3213 cat > conftest.$ac_ext <<EOF
3214 #line 3215 "configure"
3215 #include "confdefs.h"
3218 void foo(char* fmt, ...)
3219 {va_list args; va_start(args, fmt);
3220 vfscanf(stderr, "%i", args);}
3225 if { (eval echo configure:3226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3228 echo "configure: failed program was:" >&5
3229 cat conftest.$ac_ext >&5
3234 cat > conftest.$ac_ext <<EOF
3235 #line 3236 "configure"
3236 #include "confdefs.h"
3239 void foo(char* fmt, ...)
3240 {va_list args; va_start(args, fmt);
3241 vscanf("%i", args);}
3246 if { (eval echo configure:3247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3249 echo "configure: failed program was:" >&5
3250 cat conftest.$ac_ext >&5
3255 cat > conftest.$ac_ext <<EOF
3256 #line 3257 "configure"
3257 #include "confdefs.h"
3260 void foo(char* fmt, ...)
3261 {va_list args; va_start(args, fmt);
3262 vsnprintf(fmt, 0, "%i", args);}
3267 if { (eval echo configure:3268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3270 echo "configure: failed program was:" >&5
3271 cat conftest.$ac_ext >&5
3276 cat > conftest.$ac_ext <<EOF
3277 #line 3278 "configure"
3278 #include "confdefs.h"
3281 void foo(char* fmt, ...)
3282 {va_list args; va_start(args, fmt);
3283 vsscanf(fmt, "%i", args);}
3288 if { (eval echo configure:3289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3291 echo "configure: failed program was:" >&5
3292 cat conftest.$ac_ext >&5
3297 echo "$ac_t""$ac_c99_stdio" 1>&6
3299 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3301 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3302 echo "configure:3303: checking for lldiv_t declaration" >&5
3303 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3304 echo $ac_n "(cached) $ac_c" 1>&6
3307 cat > conftest.$ac_ext <<EOF
3308 #line 3309 "configure"
3309 #include "confdefs.h"
3315 if { (eval echo configure:3316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3319 echo "configure: failed program was:" >&5
3320 cat conftest.$ac_ext >&5
3328 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3330 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3331 echo "configure:3332: checking for ISO C99 support in <stdlib.h>" >&5
3332 cat > conftest.$ac_ext <<EOF
3333 #line 3334 "configure"
3334 #include "confdefs.h"
3337 char* tmp; strtof("gnu", &tmp);
3340 if { (eval echo configure:3341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3343 echo "configure: failed program was:" >&5
3344 cat conftest.$ac_ext >&5
3349 cat > conftest.$ac_ext <<EOF
3350 #line 3351 "configure"
3351 #include "confdefs.h"
3354 char* tmp; strtold("gnu", &tmp);
3357 if { (eval echo configure:3358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3360 echo "configure: failed program was:" >&5
3361 cat conftest.$ac_ext >&5
3366 cat > conftest.$ac_ext <<EOF
3367 #line 3368 "configure"
3368 #include "confdefs.h"
3371 char* tmp; strtoll("gnu", &tmp, 10);
3374 if { (eval echo configure:3375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3377 echo "configure: failed program was:" >&5
3378 cat conftest.$ac_ext >&5
3383 cat > conftest.$ac_ext <<EOF
3384 #line 3385 "configure"
3385 #include "confdefs.h"
3388 char* tmp; strtoull("gnu", &tmp, 10);
3391 if { (eval echo configure:3392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3394 echo "configure: failed program was:" >&5
3395 cat conftest.$ac_ext >&5
3400 cat > conftest.$ac_ext <<EOF
3401 #line 3402 "configure"
3402 #include "confdefs.h"
3408 if { (eval echo configure:3409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3411 echo "configure: failed program was:" >&5
3412 cat conftest.$ac_ext >&5
3417 cat > conftest.$ac_ext <<EOF
3418 #line 3419 "configure"
3419 #include "confdefs.h"
3425 if { (eval echo configure:3426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3428 echo "configure: failed program was:" >&5
3429 cat conftest.$ac_ext >&5
3434 cat > conftest.$ac_ext <<EOF
3435 #line 3436 "configure"
3436 #include "confdefs.h"
3442 if { (eval echo configure:3443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3445 echo "configure: failed program was:" >&5
3446 cat conftest.$ac_ext >&5
3451 cat > conftest.$ac_ext <<EOF
3452 #line 3453 "configure"
3453 #include "confdefs.h"
3459 if { (eval echo configure:3460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3462 echo "configure: failed program was:" >&5
3463 cat conftest.$ac_ext >&5
3468 if test x"$ac_c99_lldiv_t" = x"no"; then
3471 echo "$ac_t""$ac_c99_stdlib" 1>&6
3473 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3474 # XXX the wchar.h checks should be rolled into the general C99 bits.
3476 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3477 echo "configure:3478: checking for additional ISO C99 support in <wchar.h>" >&5
3478 cat > conftest.$ac_ext <<EOF
3479 #line 3480 "configure"
3480 #include "confdefs.h"
3483 wcstold(L"10.0", NULL);
3486 if { (eval echo configure:3487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3489 echo "configure: failed program was:" >&5
3490 cat conftest.$ac_ext >&5
3495 cat > conftest.$ac_ext <<EOF
3496 #line 3497 "configure"
3497 #include "confdefs.h"
3500 wcstoll(L"10", NULL, 10);
3503 if { (eval echo configure:3504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3506 echo "configure: failed program was:" >&5
3507 cat conftest.$ac_ext >&5
3512 cat > conftest.$ac_ext <<EOF
3513 #line 3514 "configure"
3514 #include "confdefs.h"
3517 wcstoull(L"10", NULL, 10);
3520 if { (eval echo configure:3521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3523 echo "configure: failed program was:" >&5
3524 cat conftest.$ac_ext >&5
3529 echo "$ac_t""$ac_c99_wchar" 1>&6
3531 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3532 echo "configure:3533: checking for enabled ISO C99 support" >&5
3533 if test x"$ac_c99_math" = x"no" ||
3534 test x"$ac_c99_stdio" = x"no" ||
3535 test x"$ac_c99_stdlib" = x"no" ||
3536 test x"$ac_c99_wchar" = x"no"; then
3539 echo "$ac_t""$enable_c99" 1>&6
3541 # Option parsed, now set things appropriately
3542 if test x"$enable_c99" = x"yes"; then
3543 cat >> confdefs.h <<\EOF
3544 #define _GLIBCPP_USE_C99 1
3550 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3551 ac_cpp='$CPP $CPPFLAGS'
3552 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3553 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3554 cross_compiling=$ac_cv_prog_cc_cross
3558 # Check whether --enable-long-long or --disable-long-long was given.
3559 if test "${enable_long_long+set}" = set; then
3560 enableval="$enable_long_long"
3561 case "$enableval" in
3562 yes) enable_long_long=yes ;;
3563 no) enable_long_long=no ;;
3564 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3567 enable_long_long=yes
3570 # iostreams require strtoll, strtoull to compile. If the
3571 # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
3572 # go ahead and allow long long to be used.
3573 if test x"$enable_c99" = x"no"; then
3574 enable_long_long=no;
3577 # Option parsed, now set things appropriately
3578 echo $ac_n "checking for enabled long long support""... $ac_c" 1>&6
3579 echo "configure:3580: checking for enabled long long support" >&5
3580 if test x"$enable_long_long" = xyes; then
3581 cat >> confdefs.h <<\EOF
3582 #define _GLIBCPP_USE_LONG_LONG 1
3586 echo "$ac_t""$enable_long_long" 1>&6
3588 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3589 echo "configure:3590: checking for c header strategy to use" >&5
3590 # Check whether --enable-cheaders or --disable-cheaders was given.
3591 if test "${enable_cheaders+set}" = set; then
3592 enableval="$enable_cheaders"
3594 case "$enableval" in
3599 enable_cheaders=c_std
3602 enable_cheaders=c_shadow
3604 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3608 enable_cheaders=c_std
3611 echo "$ac_t""$enable_cheaders" 1>&6
3613 case "$enable_cheaders" in
3615 CSHADOW_FLAGS="-fno-builtin"
3616 C_INCLUDE_DIR='${top_srcdir}/include/c_shadow'
3617 cat >> confdefs.h <<\EOF
3618 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3624 C_INCLUDE_DIR='${top_srcdir}/include/c_std'
3628 C_INCLUDE_DIR='${top_srcdir}/include/c'
3636 if test "$enable_cheaders" = c_shadow; then
3637 GLIBCPP_USE_CSHADOW_TRUE=
3638 GLIBCPP_USE_CSHADOW_FALSE='#'
3640 GLIBCPP_USE_CSHADOW_TRUE='#'
3641 GLIBCPP_USE_CSHADOW_FALSE=
3645 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3646 echo "configure:3647: checking for thread model used by GCC" >&5
3647 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3648 echo "$ac_t""$target_thread_file" 1>&6
3650 if test $target_thread_file != single; then
3651 cat >> confdefs.h <<\EOF
3652 #define HAVE_GTHR_DEFAULT 1
3655 cat >> confdefs.h <<\EOF
3656 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3661 glibcpp_thread_h=gthr-$target_thread_file.h
3664 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3665 if test "${enable_cxx_flags+set}" = set; then
3666 enableval="$enable_cxx_flags"
3667 case "x$enableval" in
3669 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3671 enable_cxx_flags='' ;;
3673 enable_cxx_flags="$enableval" ;;
3676 enable_cxx_flags='none'
3680 if test "$enable_cxx_flags" = "none"; then
3681 enable_cxx_flags='';
3684 if test -n "$enable_cxx_flags"; then
3685 for f in $enable_cxx_flags; do
3689 *) # and we're trying to pass /what/ exactly?
3690 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3694 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3698 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3699 echo "configure:3700: checking for exception model to use" >&5
3702 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3703 ac_cpp='$CXXCPP $CPPFLAGS'
3704 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3705 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3706 cross_compiling=$ac_cv_prog_cxx_cross
3708 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3709 if test "${enable_sjlj_exceptions+set}" = set; then
3710 enableval="$enable_sjlj_exceptions"
3713 cat > conftest.$ac_ext << EOF
3714 #line 3715 "configure"
3723 old_CXXFLAGS="$CXXFLAGS"
3725 if { (eval echo configure:3726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3726 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3727 enable_sjlj_exceptions=yes
3728 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3729 enable_sjlj_exceptions=no
3732 CXXFLAGS="$old_CXXFLAGS"
3736 if test x$enable_sjlj_exceptions = xyes; then
3737 cat >> confdefs.h <<\EOF
3738 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3741 ac_exception_model_name=sjlj
3742 elif test x$enable_sjlj_exceptions = xno; then
3743 ac_exception_model_name="call frame"
3745 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3748 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3749 ac_cpp='$CPP $CPPFLAGS'
3750 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3751 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3752 cross_compiling=$ac_cv_prog_cc_cross
3754 echo "$ac_t""$ac_exception_model_name" 1>&6
3757 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
3759 # We are being configured with some form of cross compiler.
3760 # mknumeric_limits may not work correctly, either because the
3761 # compiler may not run on this machine, may not be able to link
3762 # executables, or may produce executables we can't run on this
3764 GLIBCPP_IS_CROSS_COMPILING=1
3766 # If Canadian cross, then don't pick up tools from the build
3768 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
3774 case "$target_alias" in
3776 # Construct linux crosses by hand, eliminating bits that need ld...
3777 # Check for available headers.
3778 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3779 machine/endian.h machine/param.h sys/machine.h fp.h locale.h \
3782 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3783 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3784 echo "configure:3785: checking for $ac_hdr" >&5
3785 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3786 echo $ac_n "(cached) $ac_c" 1>&6
3788 cat > conftest.$ac_ext <<EOF
3789 #line 3790 "configure"
3790 #include "confdefs.h"
3793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3794 { (eval echo configure:3795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3796 if test -z "$ac_err"; then
3798 eval "ac_cv_header_$ac_safe=yes"
3801 echo "configure: failed program was:" >&5
3802 cat conftest.$ac_ext >&5
3804 eval "ac_cv_header_$ac_safe=no"
3808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3809 echo "$ac_t""yes" 1>&6
3810 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3811 cat >> confdefs.h <<EOF
3812 #define $ac_tr_hdr 1
3816 echo "$ac_t""no" 1>&6
3821 # GLIBCPP_CHECK_COMPILER_FEATURES
3822 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3825 # If we're not using GNU ld, then there's no point in even trying these
3826 # tests. Check for that first. We should have already tested for gld
3827 # by now (in libtool), but require it now just to be safe...
3832 # Set --gc-sections.
3833 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3834 # GNU ld it is! Joy and bunny rabbits!
3836 # All these tests are for C++; save the language and the compiler flags.
3837 # Need to do this so that g++ won't try to link in libstdc++
3838 ac_test_CFLAGS="${CFLAGS+set}"
3839 ac_save_CFLAGS="$CFLAGS"
3840 CFLAGS='-x c++ -Wl,--gc-sections'
3842 # Check for -Wl,--gc-sections
3843 # XXX This test is broken at the moment, as symbols required for
3844 # linking are now in libsupc++ (not built yet.....). In addition,
3845 # this test has cored on solaris in the past. In addition,
3846 # --gc-sections doesn't really work at the moment (keeps on discarding
3847 # used sections, first .eh_frame and now some of the glibc sections for
3848 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3849 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3850 echo "configure:3851: checking for ld that supports -Wl,--gc-sections" >&5
3851 if test "$cross_compiling" = yes; then
3852 ac_sectionLDflags=yes
3854 cat > conftest.$ac_ext <<EOF
3855 #line 3856 "configure"
3856 #include "confdefs.h"
3866 if { (eval echo configure:3867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3868 ac_sectionLDflags=yes
3870 echo "configure: failed program was:" >&5
3871 cat conftest.$ac_ext >&5
3873 ac_sectionLFflags=no
3878 if test "$ac_test_CFLAGS" = set; then
3879 CFLAGS="$ac_save_CFLAGS"
3881 # this is the suspicious part
3884 if test "$ac_sectionLDflags" = "yes"; then
3885 SECTION_LDFLAGS='-Wl,--gc-sections'
3887 echo "$ac_t""$ac_sectionLDflags" 1>&6
3890 # Set linker optimization flags.
3891 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
3892 test x"$enable_debug" = x"no"; then
3893 OPT_LDFLAGS='-Wl,-O1'
3899 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3900 # GLIBCPP_CHECK_MATH_SUPPORT
3901 cat >> confdefs.h <<\EOF
3902 #define HAVE_ACOSF 1
3905 cat >> confdefs.h <<\EOF
3906 #define HAVE_ASINF 1
3909 cat >> confdefs.h <<\EOF
3910 #define HAVE_ATAN2F 1
3913 cat >> confdefs.h <<\EOF
3914 #define HAVE_ATANF 1
3917 cat >> confdefs.h <<\EOF
3918 #define HAVE_CEILF 1
3921 cat >> confdefs.h <<\EOF
3922 #define HAVE_COPYSIGN 1
3925 cat >> confdefs.h <<\EOF
3926 #define HAVE_COPYSIGNF 1
3929 cat >> confdefs.h <<\EOF
3933 cat >> confdefs.h <<\EOF
3934 #define HAVE_COSHF 1
3937 cat >> confdefs.h <<\EOF
3941 cat >> confdefs.h <<\EOF
3942 #define HAVE_FABSF 1
3945 cat >> confdefs.h <<\EOF
3946 #define HAVE_FINITE 1
3949 cat >> confdefs.h <<\EOF
3950 #define HAVE_FINITEF 1
3953 cat >> confdefs.h <<\EOF
3954 #define HAVE_FLOORF 1
3957 cat >> confdefs.h <<\EOF
3958 #define HAVE_FMODF 1
3961 cat >> confdefs.h <<\EOF
3962 #define HAVE_FREXPF 1
3965 cat >> confdefs.h <<\EOF
3966 #define HAVE_ISINF 1
3969 cat >> confdefs.h <<\EOF
3970 #define HAVE_ISINFF 1
3973 cat >> confdefs.h <<\EOF
3974 #define HAVE_ISNAN 1
3977 cat >> confdefs.h <<\EOF
3978 #define HAVE_ISNANF 1
3981 cat >> confdefs.h <<\EOF
3982 #define HAVE_LDEXPF 1
3985 cat >> confdefs.h <<\EOF
3986 #define HAVE_LOG10F 1
3989 cat >> confdefs.h <<\EOF
3993 cat >> confdefs.h <<\EOF
3994 #define HAVE_MODFF 1
3997 cat >> confdefs.h <<\EOF
4001 cat >> confdefs.h <<\EOF
4002 #define HAVE_SINCOS 1
4005 cat >> confdefs.h <<\EOF
4006 #define HAVE_SINCOSF 1
4009 cat >> confdefs.h <<\EOF
4013 cat >> confdefs.h <<\EOF
4014 #define HAVE_SINHF 1
4017 cat >> confdefs.h <<\EOF
4018 #define HAVE_SQRTF 1
4021 cat >> confdefs.h <<\EOF
4025 cat >> confdefs.h <<\EOF
4026 #define HAVE_TANHF 1
4030 # At some point, we should differentiate between architectures
4031 # like x86, which have long double versions, and alpha/powerpc/etc.,
4032 # which don't. For the time being, punt.
4033 if test x"long_double_math_on_this_cpu" = x"yes"; then
4034 cat >> confdefs.h <<\EOF
4035 #define HAVE_ACOSL 1
4038 cat >> confdefs.h <<\EOF
4039 #define HAVE_ASINL 1
4042 cat >> confdefs.h <<\EOF
4043 #define HAVE_ATAN2L 1
4046 cat >> confdefs.h <<\EOF
4047 #define HAVE_ATANL 1
4050 cat >> confdefs.h <<\EOF
4051 #define HAVE_CEILL 1
4054 cat >> confdefs.h <<\EOF
4055 #define HAVE_COPYSIGNL 1
4058 cat >> confdefs.h <<\EOF
4062 cat >> confdefs.h <<\EOF
4063 #define HAVE_COSHL 1
4066 cat >> confdefs.h <<\EOF
4070 cat >> confdefs.h <<\EOF
4071 #define HAVE_FABSL 1
4074 cat >> confdefs.h <<\EOF
4075 #define HAVE_FINITEL 1
4078 cat >> confdefs.h <<\EOF
4079 #define HAVE_FLOORL 1
4082 cat >> confdefs.h <<\EOF
4083 #define HAVE_FMODL 1
4086 cat >> confdefs.h <<\EOF
4087 #define HAVE_FREXPL 1
4090 cat >> confdefs.h <<\EOF
4091 #define HAVE_ISINFL 1
4094 cat >> confdefs.h <<\EOF
4095 #define HAVE_ISNANL 1
4098 cat >> confdefs.h <<\EOF
4099 #define HAVE_LDEXPL 1
4102 cat >> confdefs.h <<\EOF
4103 #define HAVE_LOG10L 1
4106 cat >> confdefs.h <<\EOF
4110 cat >> confdefs.h <<\EOF
4111 #define HAVE_MODFL 1
4114 cat >> confdefs.h <<\EOF
4118 cat >> confdefs.h <<\EOF
4119 #define HAVE_SINCOSL 1
4122 cat >> confdefs.h <<\EOF
4126 cat >> confdefs.h <<\EOF
4127 #define HAVE_SINHL 1
4130 cat >> confdefs.h <<\EOF
4131 #define HAVE_SQRTL 1
4134 cat >> confdefs.h <<\EOF
4138 cat >> confdefs.h <<\EOF
4139 #define HAVE_TANHL 1
4144 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4145 echo "configure:4146: checking for main in -lm" >&5
4146 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4147 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4148 echo $ac_n "(cached) $ac_c" 1>&6
4150 ac_save_LIBS="$LIBS"
4152 cat > conftest.$ac_ext <<EOF
4153 #line 4154 "configure"
4154 #include "confdefs.h"
4160 if { (eval echo configure:4161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4162 eval "ac_cv_lib_$ac_lib_var=yes"
4164 echo "configure: failed program was:" >&5
4165 cat conftest.$ac_ext >&5
4167 eval "ac_cv_lib_$ac_lib_var=no"
4170 LIBS="$ac_save_LIBS"
4173 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4174 echo "$ac_t""yes" 1>&6
4175 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4176 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4177 cat >> confdefs.h <<EOF
4178 #define $ac_tr_lib 1
4184 echo "$ac_t""no" 1>&6
4187 for ac_func in nan hypot hypotf copysignf
4189 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4190 echo "configure:4191: checking for $ac_func" >&5
4191 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4192 echo $ac_n "(cached) $ac_c" 1>&6
4194 cat > conftest.$ac_ext <<EOF
4195 #line 4196 "configure"
4196 #include "confdefs.h"
4197 /* System header to define __stub macros and hopefully few prototypes,
4198 which can conflict with char $ac_func(); below. */
4200 /* Override any gcc2 internal prototype to avoid an error. */
4201 /* We use char because int might match the return type of a gcc2
4202 builtin and then its argument prototype would still apply. */
4207 /* The GNU C library defines this for functions which it implements
4208 to always fail with ENOSYS. Some functions are actually named
4209 something starting with __ and the normal name is an alias. */
4210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4218 if { (eval echo configure:4219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4220 eval "ac_cv_func_$ac_func=yes"
4222 echo "configure: failed program was:" >&5
4223 cat conftest.$ac_ext >&5
4225 eval "ac_cv_func_$ac_func=no"
4230 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4231 echo "$ac_t""yes" 1>&6
4232 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4233 cat >> confdefs.h <<EOF
4234 #define $ac_tr_func 1
4238 echo "$ac_t""no" 1>&6
4239 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4245 USE_COMPLEX_LONG_DOUBLE=no
4246 if test x$ac_cv_func_atan2l = x"yes" &&
4247 test x$ac_cv_func_copysignl = x"yes"; then
4248 USE_COMPLEX_LONG_DOUBLE=yes
4249 for ac_func in hypotl signbitl
4251 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4252 echo "configure:4253: checking for $ac_func" >&5
4253 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4254 echo $ac_n "(cached) $ac_c" 1>&6
4256 cat > conftest.$ac_ext <<EOF
4257 #line 4258 "configure"
4258 #include "confdefs.h"
4259 /* System header to define __stub macros and hopefully few prototypes,
4260 which can conflict with char $ac_func(); below. */
4262 /* Override any gcc2 internal prototype to avoid an error. */
4263 /* We use char because int might match the return type of a gcc2
4264 builtin and then its argument prototype would still apply. */
4269 /* The GNU C library defines this for functions which it implements
4270 to always fail with ENOSYS. Some functions are actually named
4271 something starting with __ and the normal name is an alias. */
4272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4280 if { (eval echo configure:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4282 eval "ac_cv_func_$ac_func=yes"
4284 echo "configure: failed program was:" >&5
4285 cat conftest.$ac_ext >&5
4287 eval "ac_cv_func_$ac_func=no"
4292 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4293 echo "$ac_t""yes" 1>&6
4294 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4295 cat >> confdefs.h <<EOF
4296 #define $ac_tr_func 1
4300 echo "$ac_t""no" 1>&6
4301 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4312 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4313 echo "configure:4314: checking for mbstate_t" >&5
4314 cat > conftest.$ac_ext <<EOF
4315 #line 4316 "configure"
4316 #include "confdefs.h"
4319 mbstate_t teststate;
4322 if { (eval echo configure:4323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4326 echo "configure: failed program was:" >&5
4327 cat conftest.$ac_ext >&5
4332 echo "$ac_t""$have_mbstate_t" 1>&6
4333 if test x"$have_mbstate_t" = xyes; then
4334 cat >> confdefs.h <<\EOF
4335 #define HAVE_MBSTATE_T 1
4340 for ac_hdr in wchar.h
4342 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4343 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4344 echo "configure:4345: checking for $ac_hdr" >&5
4345 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4346 echo $ac_n "(cached) $ac_c" 1>&6
4348 cat > conftest.$ac_ext <<EOF
4349 #line 4350 "configure"
4350 #include "confdefs.h"
4353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4354 { (eval echo configure:4355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4356 if test -z "$ac_err"; then
4358 eval "ac_cv_header_$ac_safe=yes"
4361 echo "configure: failed program was:" >&5
4362 cat conftest.$ac_ext >&5
4364 eval "ac_cv_header_$ac_safe=no"
4368 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4369 echo "$ac_t""yes" 1>&6
4370 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4371 cat >> confdefs.h <<EOF
4372 #define $ac_tr_hdr 1
4376 echo "$ac_t""no" 1>&6
4381 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4382 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4383 echo "configure:4384: checking for wctype.h" >&5
4384 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4385 echo $ac_n "(cached) $ac_c" 1>&6
4387 cat > conftest.$ac_ext <<EOF
4388 #line 4389 "configure"
4389 #include "confdefs.h"
4392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4393 { (eval echo configure:4394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4394 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4395 if test -z "$ac_err"; then
4397 eval "ac_cv_header_$ac_safe=yes"
4400 echo "configure: failed program was:" >&5
4401 cat conftest.$ac_ext >&5
4403 eval "ac_cv_header_$ac_safe=no"
4407 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4408 echo "$ac_t""yes" 1>&6
4411 echo "$ac_t""no" 1>&6
4416 if test x"$ac_has_wchar_h" = xyes &&
4417 test x"$ac_has_wctype_h" = xyes &&
4418 test x"$enable_c_mbchar" != xno; then
4420 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4421 echo "configure:4422: checking for WCHAR_MIN and WCHAR_MAX" >&5
4422 cat > conftest.$ac_ext <<EOF
4423 #line 4424 "configure"
4424 #include "confdefs.h"
4427 int i = WCHAR_MIN; int j = WCHAR_MAX;
4430 if { (eval echo configure:4431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4432 has_wchar_minmax=yes
4434 echo "configure: failed program was:" >&5
4435 cat conftest.$ac_ext >&5
4440 echo "$ac_t""$has_wchar_minmax" 1>&6
4442 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4443 echo "configure:4444: checking for WEOF" >&5
4444 cat > conftest.$ac_ext <<EOF
4445 #line 4446 "configure"
4446 #include "confdefs.h"
4454 if { (eval echo configure:4455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4458 echo "configure: failed program was:" >&5
4459 cat conftest.$ac_ext >&5
4464 echo "$ac_t""$has_weof" 1>&6
4467 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4470 echo "configure:4471: checking for $ac_func" >&5
4471 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4472 echo $ac_n "(cached) $ac_c" 1>&6
4474 cat > conftest.$ac_ext <<EOF
4475 #line 4476 "configure"
4476 #include "confdefs.h"
4477 /* System header to define __stub macros and hopefully few prototypes,
4478 which can conflict with char $ac_func(); below. */
4480 /* Override any gcc2 internal prototype to avoid an error. */
4481 /* We use char because int might match the return type of a gcc2
4482 builtin and then its argument prototype would still apply. */
4487 /* The GNU C library defines this for functions which it implements
4488 to always fail with ENOSYS. Some functions are actually named
4489 something starting with __ and the normal name is an alias. */
4490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4498 if { (eval echo configure:4499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4500 eval "ac_cv_func_$ac_func=yes"
4502 echo "configure: failed program was:" >&5
4503 cat conftest.$ac_ext >&5
4505 eval "ac_cv_func_$ac_func=no"
4510 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4511 echo "$ac_t""yes" 1>&6
4512 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4513 cat >> confdefs.h <<EOF
4514 #define $ac_tr_func 1
4518 echo "$ac_t""no" 1>&6
4525 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4526 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4527 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4528 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4529 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4530 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4532 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4533 echo "configure:4534: checking for $ac_func" >&5
4534 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4535 echo $ac_n "(cached) $ac_c" 1>&6
4537 cat > conftest.$ac_ext <<EOF
4538 #line 4539 "configure"
4539 #include "confdefs.h"
4540 /* System header to define __stub macros and hopefully few prototypes,
4541 which can conflict with char $ac_func(); below. */
4543 /* Override any gcc2 internal prototype to avoid an error. */
4544 /* We use char because int might match the return type of a gcc2
4545 builtin and then its argument prototype would still apply. */
4550 /* The GNU C library defines this for functions which it implements
4551 to always fail with ENOSYS. Some functions are actually named
4552 something starting with __ and the normal name is an alias. */
4553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4561 if { (eval echo configure:4562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4563 eval "ac_cv_func_$ac_func=yes"
4565 echo "configure: failed program was:" >&5
4566 cat conftest.$ac_ext >&5
4568 eval "ac_cv_func_$ac_func=no"
4573 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4574 echo "$ac_t""yes" 1>&6
4575 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4576 cat >> confdefs.h <<EOF
4577 #define $ac_tr_func 1
4581 echo "$ac_t""no" 1>&6
4588 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4589 echo "configure:4590: checking for ISO C99 wchar_t support" >&5
4590 if test x"$has_weof" = xyes &&
4591 test x"$has_wchar_minmax" = xyes &&
4592 test x"$ac_wfuncs" = xyes; then
4593 ac_isoC99_wchar_t=yes
4595 ac_isoC99_wchar_t=no
4597 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4599 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4600 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4601 echo "configure:4602: checking for iconv.h" >&5
4602 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4603 echo $ac_n "(cached) $ac_c" 1>&6
4605 cat > conftest.$ac_ext <<EOF
4606 #line 4607 "configure"
4607 #include "confdefs.h"
4610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4611 { (eval echo configure:4612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4613 if test -z "$ac_err"; then
4615 eval "ac_cv_header_$ac_safe=yes"
4618 echo "configure: failed program was:" >&5
4619 cat conftest.$ac_ext >&5
4621 eval "ac_cv_header_$ac_safe=no"
4625 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4626 echo "$ac_t""yes" 1>&6
4629 echo "$ac_t""no" 1>&6
4633 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4634 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4635 echo "configure:4636: checking for langinfo.h" >&5
4636 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4637 echo $ac_n "(cached) $ac_c" 1>&6
4639 cat > conftest.$ac_ext <<EOF
4640 #line 4641 "configure"
4641 #include "confdefs.h"
4642 #include <langinfo.h>
4644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4645 { (eval echo configure:4646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4647 if test -z "$ac_err"; then
4649 eval "ac_cv_header_$ac_safe=yes"
4652 echo "configure: failed program was:" >&5
4653 cat conftest.$ac_ext >&5
4655 eval "ac_cv_header_$ac_safe=no"
4659 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4660 echo "$ac_t""yes" 1>&6
4661 ac_has_langinfo_h=yes
4663 echo "$ac_t""no" 1>&6
4664 ac_has_langinfo_h=no
4668 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4669 echo "configure:4670: checking for iconv in -liconv" >&5
4670 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4671 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4672 echo $ac_n "(cached) $ac_c" 1>&6
4674 ac_save_LIBS="$LIBS"
4675 LIBS="-liconv $LIBS"
4676 cat > conftest.$ac_ext <<EOF
4677 #line 4678 "configure"
4678 #include "confdefs.h"
4679 /* Override any gcc2 internal prototype to avoid an error. */
4680 /* We use char because int might match the return type of a gcc2
4681 builtin and then its argument prototype would still apply. */
4688 if { (eval echo configure:4689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4690 eval "ac_cv_lib_$ac_lib_var=yes"
4692 echo "configure: failed program was:" >&5
4693 cat conftest.$ac_ext >&5
4695 eval "ac_cv_lib_$ac_lib_var=no"
4698 LIBS="$ac_save_LIBS"
4701 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4702 echo "$ac_t""yes" 1>&6
4705 echo "$ac_t""no" 1>&6
4708 ac_save_LIBS="$LIBS"
4709 LIBS="$LIBS $libiconv"
4711 for ac_func in iconv_open iconv_close iconv nl_langinfo
4713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4714 echo "configure:4715: checking for $ac_func" >&5
4715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4716 echo $ac_n "(cached) $ac_c" 1>&6
4718 cat > conftest.$ac_ext <<EOF
4719 #line 4720 "configure"
4720 #include "confdefs.h"
4721 /* System header to define __stub macros and hopefully few prototypes,
4722 which can conflict with char $ac_func(); below. */
4724 /* Override any gcc2 internal prototype to avoid an error. */
4725 /* We use char because int might match the return type of a gcc2
4726 builtin and then its argument prototype would still apply. */
4731 /* The GNU C library defines this for functions which it implements
4732 to always fail with ENOSYS. Some functions are actually named
4733 something starting with __ and the normal name is an alias. */
4734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4742 if { (eval echo configure:4743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4744 eval "ac_cv_func_$ac_func=yes"
4746 echo "configure: failed program was:" >&5
4747 cat conftest.$ac_ext >&5
4749 eval "ac_cv_func_$ac_func=no"
4754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4755 echo "$ac_t""yes" 1>&6
4756 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4757 cat >> confdefs.h <<EOF
4758 #define $ac_tr_func 1
4763 echo "$ac_t""no" 1>&6
4769 LIBS="$ac_save_LIBS"
4771 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4772 echo "configure:4773: checking for XPG2 wchar_t support" >&5
4773 if test x"$ac_has_iconv_h" = xyes &&
4774 test x"$ac_has_langinfo_h" = xyes &&
4775 test x"$ac_XPG2funcs" = xyes; then
4780 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4782 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4783 echo "configure:4784: checking for enabled wchar_t specializations" >&5
4784 if test x"$ac_isoC99_wchar_t" = xyes &&
4785 test x"$ac_XPG2_wchar_t" = xyes; then
4786 cat >> confdefs.h <<\EOF
4787 #define _GLIBCPP_USE_WCHAR_T 1
4790 echo "$ac_t"""yes"" 1>&6
4792 echo "$ac_t"""no"" 1>&6
4795 echo "configure: warning: wchar_t support disabled." 1>&2
4798 os_include_dir="config/os/gnu-linux"
4799 # GLIBCPP_CHECK_STDLIB_SUPPORT
4800 cat >> confdefs.h <<\EOF
4801 #define HAVE_STRTOF 1
4804 cat >> confdefs.h <<\EOF
4805 #define HAVE_STRTOLD 1
4809 cat >> confdefs.h <<\EOF
4815 # We assume newlib. This lets us hard-code the functions we know
4817 cat >> confdefs.h <<\EOF
4818 #define HAVE_FINITE 1
4821 cat >> confdefs.h <<\EOF
4822 #define HAVE_ISNAN 1
4825 cat >> confdefs.h <<\EOF
4826 #define HAVE_ISNANF 1
4829 cat >> confdefs.h <<\EOF
4830 #define HAVE_ISINF 1
4833 cat >> confdefs.h <<\EOF
4834 #define HAVE_ISINFF 1
4838 os_include_dir="config/os/newlib"
4840 # need to check for faster f versions of math functions, ie sinf?
4845 # We are being configured natively. We can do more elaborate tests
4846 # that include AC_TRY_COMPILE now, as the linker is assumed to be
4848 GLIBCPP_IS_CROSS_COMPILING=0
4851 # Check for available headers.
4852 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
4853 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
4855 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4856 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4857 echo "configure:4858: checking for $ac_hdr" >&5
4858 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4859 echo $ac_n "(cached) $ac_c" 1>&6
4861 cat > conftest.$ac_ext <<EOF
4862 #line 4863 "configure"
4863 #include "confdefs.h"
4866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4867 { (eval echo configure:4868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4868 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4869 if test -z "$ac_err"; then
4871 eval "ac_cv_header_$ac_safe=yes"
4874 echo "configure: failed program was:" >&5
4875 cat conftest.$ac_ext >&5
4877 eval "ac_cv_header_$ac_safe=no"
4881 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4882 echo "$ac_t""yes" 1>&6
4883 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4884 cat >> confdefs.h <<EOF
4885 #define $ac_tr_hdr 1
4889 echo "$ac_t""no" 1>&6
4895 # All these tests are for C++; save the language and the compiler flags.
4896 # The CXXFLAGS thing is suspicious, but based on similar bits previously
4897 # found in GLIBCPP_CONFIGURE.
4900 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4901 ac_cpp='$CXXCPP $CPPFLAGS'
4902 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4903 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4904 cross_compiling=$ac_cv_prog_cxx_cross
4906 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4907 ac_save_CXXFLAGS="$CXXFLAGS"
4909 # Check for maintainer-mode bits.
4910 if test x"$USE_MAINTAINER_MODE" = xno; then
4916 # Check for -ffunction-sections -fdata-sections
4917 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
4918 echo "configure:4919: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
4919 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
4920 cat > conftest.$ac_ext <<EOF
4921 #line 4922 "configure"
4922 #include "confdefs.h"
4929 if { (eval echo configure:4930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4933 echo "configure: failed program was:" >&5
4934 cat conftest.$ac_ext >&5
4939 if test "$ac_test_CXXFLAGS" = set; then
4940 CXXFLAGS="$ac_save_CXXFLAGS"
4942 # this is the suspicious part
4945 if test x"$ac_fdsections" = x"yes" &&
4946 test x"$enable_debug" = x"no"; then
4947 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4949 echo "$ac_t""$ac_fdsections" 1>&6
4952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4953 ac_cpp='$CPP $CPPFLAGS'
4954 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4955 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4956 cross_compiling=$ac_cv_prog_cc_cross
4962 # If we're not using GNU ld, then there's no point in even trying these
4963 # tests. Check for that first. We should have already tested for gld
4964 # by now (in libtool), but require it now just to be safe...
4969 # Set --gc-sections.
4970 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4971 # GNU ld it is! Joy and bunny rabbits!
4973 # All these tests are for C++; save the language and the compiler flags.
4974 # Need to do this so that g++ won't try to link in libstdc++
4975 ac_test_CFLAGS="${CFLAGS+set}"
4976 ac_save_CFLAGS="$CFLAGS"
4977 CFLAGS='-x c++ -Wl,--gc-sections'
4979 # Check for -Wl,--gc-sections
4980 # XXX This test is broken at the moment, as symbols required for
4981 # linking are now in libsupc++ (not built yet.....). In addition,
4982 # this test has cored on solaris in the past. In addition,
4983 # --gc-sections doesn't really work at the moment (keeps on discarding
4984 # used sections, first .eh_frame and now some of the glibc sections for
4985 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4986 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4987 echo "configure:4988: checking for ld that supports -Wl,--gc-sections" >&5
4988 if test "$cross_compiling" = yes; then
4989 ac_sectionLDflags=yes
4991 cat > conftest.$ac_ext <<EOF
4992 #line 4993 "configure"
4993 #include "confdefs.h"
5003 if { (eval echo configure:5004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5005 ac_sectionLDflags=yes
5007 echo "configure: failed program was:" >&5
5008 cat conftest.$ac_ext >&5
5010 ac_sectionLFflags=no
5015 if test "$ac_test_CFLAGS" = set; then
5016 CFLAGS="$ac_save_CFLAGS"
5018 # this is the suspicious part
5021 if test "$ac_sectionLDflags" = "yes"; then
5022 SECTION_LDFLAGS='-Wl,--gc-sections'
5024 echo "$ac_t""$ac_sectionLDflags" 1>&6
5027 # Set linker optimization flags.
5028 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
5029 test x"$enable_debug" = x"no"; then
5030 OPT_LDFLAGS='-Wl,-O1'
5038 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
5039 echo "configure:5040: checking for __builtin_abs declaration" >&5
5040 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
5041 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5042 echo $ac_n "(cached) $ac_c" 1>&6
5047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5048 ac_cpp='$CXXCPP $CPPFLAGS'
5049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5051 cross_compiling=$ac_cv_prog_cxx_cross
5053 cat > conftest.$ac_ext <<EOF
5054 #line 5055 "configure"
5055 #include "confdefs.h"
5061 if { (eval echo configure:5062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5063 glibcpp_cv_func___builtin_abs_use=yes
5065 echo "configure: failed program was:" >&5
5066 cat conftest.$ac_ext >&5
5068 glibcpp_cv_func___builtin_abs_use=no
5072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5073 ac_cpp='$CPP $CPPFLAGS'
5074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5076 cross_compiling=$ac_cv_prog_cc_cross
5082 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5083 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
5084 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
5085 echo "configure:5086: checking for __builtin_abs linkage" >&5
5086 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
5087 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5088 echo $ac_n "(cached) $ac_c" 1>&6
5091 cat > conftest.$ac_ext <<EOF
5092 #line 5093 "configure"
5093 #include "confdefs.h"
5099 if { (eval echo configure:5100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5101 glibcpp_cv_func___builtin_abs_link=yes
5103 echo "configure: failed program was:" >&5
5104 cat conftest.$ac_ext >&5
5106 glibcpp_cv_func___builtin_abs_link=no
5113 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5114 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
5115 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5116 cat >> confdefs.h <<EOF
5117 #define ${ac_tr_func} 1
5124 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
5125 echo "configure:5126: checking for __builtin_fabsf declaration" >&5
5126 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
5127 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5128 echo $ac_n "(cached) $ac_c" 1>&6
5133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5134 ac_cpp='$CXXCPP $CPPFLAGS'
5135 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5136 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5137 cross_compiling=$ac_cv_prog_cxx_cross
5139 cat > conftest.$ac_ext <<EOF
5140 #line 5141 "configure"
5141 #include "confdefs.h"
5147 if { (eval echo configure:5148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5149 glibcpp_cv_func___builtin_fabsf_use=yes
5151 echo "configure: failed program was:" >&5
5152 cat conftest.$ac_ext >&5
5154 glibcpp_cv_func___builtin_fabsf_use=no
5158 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5159 ac_cpp='$CPP $CPPFLAGS'
5160 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5161 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5162 cross_compiling=$ac_cv_prog_cc_cross
5168 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5169 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
5170 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
5171 echo "configure:5172: checking for __builtin_fabsf linkage" >&5
5172 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
5173 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5174 echo $ac_n "(cached) $ac_c" 1>&6
5177 cat > conftest.$ac_ext <<EOF
5178 #line 5179 "configure"
5179 #include "confdefs.h"
5185 if { (eval echo configure:5186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5187 glibcpp_cv_func___builtin_fabsf_link=yes
5189 echo "configure: failed program was:" >&5
5190 cat conftest.$ac_ext >&5
5192 glibcpp_cv_func___builtin_fabsf_link=no
5199 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5200 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
5201 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5202 cat >> confdefs.h <<EOF
5203 #define ${ac_tr_func} 1
5210 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
5211 echo "configure:5212: checking for __builtin_fabs declaration" >&5
5212 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
5213 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5214 echo $ac_n "(cached) $ac_c" 1>&6
5219 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5220 ac_cpp='$CXXCPP $CPPFLAGS'
5221 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5222 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5223 cross_compiling=$ac_cv_prog_cxx_cross
5225 cat > conftest.$ac_ext <<EOF
5226 #line 5227 "configure"
5227 #include "confdefs.h"
5233 if { (eval echo configure:5234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5235 glibcpp_cv_func___builtin_fabs_use=yes
5237 echo "configure: failed program was:" >&5
5238 cat conftest.$ac_ext >&5
5240 glibcpp_cv_func___builtin_fabs_use=no
5244 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5245 ac_cpp='$CPP $CPPFLAGS'
5246 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5247 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5248 cross_compiling=$ac_cv_prog_cc_cross
5254 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5255 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
5256 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
5257 echo "configure:5258: checking for __builtin_fabs linkage" >&5
5258 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
5259 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5260 echo $ac_n "(cached) $ac_c" 1>&6
5263 cat > conftest.$ac_ext <<EOF
5264 #line 5265 "configure"
5265 #include "confdefs.h"
5271 if { (eval echo configure:5272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5273 glibcpp_cv_func___builtin_fabs_link=yes
5275 echo "configure: failed program was:" >&5
5276 cat conftest.$ac_ext >&5
5278 glibcpp_cv_func___builtin_fabs_link=no
5285 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5286 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
5287 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5288 cat >> confdefs.h <<EOF
5289 #define ${ac_tr_func} 1
5296 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
5297 echo "configure:5298: checking for __builtin_fabsl declaration" >&5
5298 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
5299 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5300 echo $ac_n "(cached) $ac_c" 1>&6
5305 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5306 ac_cpp='$CXXCPP $CPPFLAGS'
5307 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5308 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5309 cross_compiling=$ac_cv_prog_cxx_cross
5311 cat > conftest.$ac_ext <<EOF
5312 #line 5313 "configure"
5313 #include "confdefs.h"
5319 if { (eval echo configure:5320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5321 glibcpp_cv_func___builtin_fabsl_use=yes
5323 echo "configure: failed program was:" >&5
5324 cat conftest.$ac_ext >&5
5326 glibcpp_cv_func___builtin_fabsl_use=no
5330 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5331 ac_cpp='$CPP $CPPFLAGS'
5332 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5333 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5334 cross_compiling=$ac_cv_prog_cc_cross
5340 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5341 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
5342 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
5343 echo "configure:5344: checking for __builtin_fabsl linkage" >&5
5344 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
5345 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5346 echo $ac_n "(cached) $ac_c" 1>&6
5349 cat > conftest.$ac_ext <<EOF
5350 #line 5351 "configure"
5351 #include "confdefs.h"
5357 if { (eval echo configure:5358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5359 glibcpp_cv_func___builtin_fabsl_link=yes
5361 echo "configure: failed program was:" >&5
5362 cat conftest.$ac_ext >&5
5364 glibcpp_cv_func___builtin_fabsl_link=no
5371 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5372 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
5373 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5374 cat >> confdefs.h <<EOF
5375 #define ${ac_tr_func} 1
5382 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
5383 echo "configure:5384: checking for __builtin_labs declaration" >&5
5384 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
5385 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5386 echo $ac_n "(cached) $ac_c" 1>&6
5391 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5392 ac_cpp='$CXXCPP $CPPFLAGS'
5393 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5394 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5395 cross_compiling=$ac_cv_prog_cxx_cross
5397 cat > conftest.$ac_ext <<EOF
5398 #line 5399 "configure"
5399 #include "confdefs.h"
5405 if { (eval echo configure:5406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5407 glibcpp_cv_func___builtin_labs_use=yes
5409 echo "configure: failed program was:" >&5
5410 cat conftest.$ac_ext >&5
5412 glibcpp_cv_func___builtin_labs_use=no
5416 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5417 ac_cpp='$CPP $CPPFLAGS'
5418 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5419 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5420 cross_compiling=$ac_cv_prog_cc_cross
5426 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5427 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5428 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5429 echo "configure:5430: checking for __builtin_labs linkage" >&5
5430 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5431 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5432 echo $ac_n "(cached) $ac_c" 1>&6
5435 cat > conftest.$ac_ext <<EOF
5436 #line 5437 "configure"
5437 #include "confdefs.h"
5443 if { (eval echo configure:5444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5445 glibcpp_cv_func___builtin_labs_link=yes
5447 echo "configure: failed program was:" >&5
5448 cat conftest.$ac_ext >&5
5450 glibcpp_cv_func___builtin_labs_link=no
5457 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5458 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5459 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5460 cat >> confdefs.h <<EOF
5461 #define ${ac_tr_func} 1
5469 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5470 echo "configure:5471: checking for __builtin_sqrtf declaration" >&5
5471 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5472 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5473 echo $ac_n "(cached) $ac_c" 1>&6
5478 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5479 ac_cpp='$CXXCPP $CPPFLAGS'
5480 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5481 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5482 cross_compiling=$ac_cv_prog_cxx_cross
5484 cat > conftest.$ac_ext <<EOF
5485 #line 5486 "configure"
5486 #include "confdefs.h"
5492 if { (eval echo configure:5493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5494 glibcpp_cv_func___builtin_sqrtf_use=yes
5496 echo "configure: failed program was:" >&5
5497 cat conftest.$ac_ext >&5
5499 glibcpp_cv_func___builtin_sqrtf_use=no
5503 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5504 ac_cpp='$CPP $CPPFLAGS'
5505 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5506 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5507 cross_compiling=$ac_cv_prog_cc_cross
5513 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5514 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5515 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5516 echo "configure:5517: checking for __builtin_sqrtf linkage" >&5
5517 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5518 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5519 echo $ac_n "(cached) $ac_c" 1>&6
5522 cat > conftest.$ac_ext <<EOF
5523 #line 5524 "configure"
5524 #include "confdefs.h"
5530 if { (eval echo configure:5531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5532 glibcpp_cv_func___builtin_sqrtf_link=yes
5534 echo "configure: failed program was:" >&5
5535 cat conftest.$ac_ext >&5
5537 glibcpp_cv_func___builtin_sqrtf_link=no
5544 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5545 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5546 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5547 cat >> confdefs.h <<EOF
5548 #define ${ac_tr_func} 1
5555 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5556 echo "configure:5557: checking for __builtin_fsqrt declaration" >&5
5557 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5558 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5559 echo $ac_n "(cached) $ac_c" 1>&6
5564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5565 ac_cpp='$CXXCPP $CPPFLAGS'
5566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5568 cross_compiling=$ac_cv_prog_cxx_cross
5570 cat > conftest.$ac_ext <<EOF
5571 #line 5572 "configure"
5572 #include "confdefs.h"
5578 if { (eval echo configure:5579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5580 glibcpp_cv_func___builtin_fsqrt_use=yes
5582 echo "configure: failed program was:" >&5
5583 cat conftest.$ac_ext >&5
5585 glibcpp_cv_func___builtin_fsqrt_use=no
5589 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5590 ac_cpp='$CPP $CPPFLAGS'
5591 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5592 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5593 cross_compiling=$ac_cv_prog_cc_cross
5599 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5600 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5601 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5602 echo "configure:5603: checking for __builtin_fsqrt linkage" >&5
5603 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5604 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5605 echo $ac_n "(cached) $ac_c" 1>&6
5608 cat > conftest.$ac_ext <<EOF
5609 #line 5610 "configure"
5610 #include "confdefs.h"
5616 if { (eval echo configure:5617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5618 glibcpp_cv_func___builtin_fsqrt_link=yes
5620 echo "configure: failed program was:" >&5
5621 cat conftest.$ac_ext >&5
5623 glibcpp_cv_func___builtin_fsqrt_link=no
5630 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5631 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5632 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5633 cat >> confdefs.h <<EOF
5634 #define ${ac_tr_func} 1
5641 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5642 echo "configure:5643: checking for __builtin_sqrtl declaration" >&5
5643 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5644 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5645 echo $ac_n "(cached) $ac_c" 1>&6
5650 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5651 ac_cpp='$CXXCPP $CPPFLAGS'
5652 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5653 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5654 cross_compiling=$ac_cv_prog_cxx_cross
5656 cat > conftest.$ac_ext <<EOF
5657 #line 5658 "configure"
5658 #include "confdefs.h"
5664 if { (eval echo configure:5665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5666 glibcpp_cv_func___builtin_sqrtl_use=yes
5668 echo "configure: failed program was:" >&5
5669 cat conftest.$ac_ext >&5
5671 glibcpp_cv_func___builtin_sqrtl_use=no
5675 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5676 ac_cpp='$CPP $CPPFLAGS'
5677 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5678 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5679 cross_compiling=$ac_cv_prog_cc_cross
5685 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5686 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5687 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5688 echo "configure:5689: checking for __builtin_sqrtl linkage" >&5
5689 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5690 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5691 echo $ac_n "(cached) $ac_c" 1>&6
5694 cat > conftest.$ac_ext <<EOF
5695 #line 5696 "configure"
5696 #include "confdefs.h"
5702 if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5704 glibcpp_cv_func___builtin_sqrtl_link=yes
5706 echo "configure: failed program was:" >&5
5707 cat conftest.$ac_ext >&5
5709 glibcpp_cv_func___builtin_sqrtl_link=no
5716 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5717 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5718 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5719 cat >> confdefs.h <<EOF
5720 #define ${ac_tr_func} 1
5728 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5729 echo "configure:5730: checking for __builtin_sinf declaration" >&5
5730 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5731 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5732 echo $ac_n "(cached) $ac_c" 1>&6
5737 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5738 ac_cpp='$CXXCPP $CPPFLAGS'
5739 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5740 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5741 cross_compiling=$ac_cv_prog_cxx_cross
5743 cat > conftest.$ac_ext <<EOF
5744 #line 5745 "configure"
5745 #include "confdefs.h"
5751 if { (eval echo configure:5752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5753 glibcpp_cv_func___builtin_sinf_use=yes
5755 echo "configure: failed program was:" >&5
5756 cat conftest.$ac_ext >&5
5758 glibcpp_cv_func___builtin_sinf_use=no
5762 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5763 ac_cpp='$CPP $CPPFLAGS'
5764 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5765 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5766 cross_compiling=$ac_cv_prog_cc_cross
5772 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5773 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5774 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5775 echo "configure:5776: checking for __builtin_sinf linkage" >&5
5776 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5777 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5778 echo $ac_n "(cached) $ac_c" 1>&6
5781 cat > conftest.$ac_ext <<EOF
5782 #line 5783 "configure"
5783 #include "confdefs.h"
5789 if { (eval echo configure:5790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5791 glibcpp_cv_func___builtin_sinf_link=yes
5793 echo "configure: failed program was:" >&5
5794 cat conftest.$ac_ext >&5
5796 glibcpp_cv_func___builtin_sinf_link=no
5803 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5804 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
5805 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5806 cat >> confdefs.h <<EOF
5807 #define ${ac_tr_func} 1
5814 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
5815 echo "configure:5816: checking for __builtin_sin declaration" >&5
5816 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
5817 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5818 echo $ac_n "(cached) $ac_c" 1>&6
5823 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5824 ac_cpp='$CXXCPP $CPPFLAGS'
5825 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5826 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5827 cross_compiling=$ac_cv_prog_cxx_cross
5829 cat > conftest.$ac_ext <<EOF
5830 #line 5831 "configure"
5831 #include "confdefs.h"
5837 if { (eval echo configure:5838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5839 glibcpp_cv_func___builtin_sin_use=yes
5841 echo "configure: failed program was:" >&5
5842 cat conftest.$ac_ext >&5
5844 glibcpp_cv_func___builtin_sin_use=no
5848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5849 ac_cpp='$CPP $CPPFLAGS'
5850 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5851 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5852 cross_compiling=$ac_cv_prog_cc_cross
5858 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
5859 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
5860 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
5861 echo "configure:5862: checking for __builtin_sin linkage" >&5
5862 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
5863 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
5864 echo $ac_n "(cached) $ac_c" 1>&6
5867 cat > conftest.$ac_ext <<EOF
5868 #line 5869 "configure"
5869 #include "confdefs.h"
5875 if { (eval echo configure:5876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5877 glibcpp_cv_func___builtin_sin_link=yes
5879 echo "configure: failed program was:" >&5
5880 cat conftest.$ac_ext >&5
5882 glibcpp_cv_func___builtin_sin_link=no
5889 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
5890 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
5891 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5892 cat >> confdefs.h <<EOF
5893 #define ${ac_tr_func} 1
5900 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
5901 echo "configure:5902: checking for __builtin_sinl declaration" >&5
5902 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
5903 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
5904 echo $ac_n "(cached) $ac_c" 1>&6
5909 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5910 ac_cpp='$CXXCPP $CPPFLAGS'
5911 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5912 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5913 cross_compiling=$ac_cv_prog_cxx_cross
5915 cat > conftest.$ac_ext <<EOF
5916 #line 5917 "configure"
5917 #include "confdefs.h"
5923 if { (eval echo configure:5924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5925 glibcpp_cv_func___builtin_sinl_use=yes
5927 echo "configure: failed program was:" >&5
5928 cat conftest.$ac_ext >&5
5930 glibcpp_cv_func___builtin_sinl_use=no
5934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5935 ac_cpp='$CPP $CPPFLAGS'
5936 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5937 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5938 cross_compiling=$ac_cv_prog_cc_cross
5944 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
5945 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
5946 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
5947 echo "configure:5948: checking for __builtin_sinl linkage" >&5
5948 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
5949 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
5950 echo $ac_n "(cached) $ac_c" 1>&6
5953 cat > conftest.$ac_ext <<EOF
5954 #line 5955 "configure"
5955 #include "confdefs.h"
5961 if { (eval echo configure:5962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5963 glibcpp_cv_func___builtin_sinl_link=yes
5965 echo "configure: failed program was:" >&5
5966 cat conftest.$ac_ext >&5
5968 glibcpp_cv_func___builtin_sinl_link=no
5975 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
5976 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
5977 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5978 cat >> confdefs.h <<EOF
5979 #define ${ac_tr_func} 1
5987 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
5988 echo "configure:5989: checking for __builtin_cosf declaration" >&5
5989 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
5990 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
5991 echo $ac_n "(cached) $ac_c" 1>&6
5996 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5997 ac_cpp='$CXXCPP $CPPFLAGS'
5998 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5999 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6000 cross_compiling=$ac_cv_prog_cxx_cross
6002 cat > conftest.$ac_ext <<EOF
6003 #line 6004 "configure"
6004 #include "confdefs.h"
6010 if { (eval echo configure:6011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6012 glibcpp_cv_func___builtin_cosf_use=yes
6014 echo "configure: failed program was:" >&5
6015 cat conftest.$ac_ext >&5
6017 glibcpp_cv_func___builtin_cosf_use=no
6021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6022 ac_cpp='$CPP $CPPFLAGS'
6023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6025 cross_compiling=$ac_cv_prog_cc_cross
6031 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6032 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
6033 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
6034 echo "configure:6035: checking for __builtin_cosf linkage" >&5
6035 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
6036 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6037 echo $ac_n "(cached) $ac_c" 1>&6
6040 cat > conftest.$ac_ext <<EOF
6041 #line 6042 "configure"
6042 #include "confdefs.h"
6048 if { (eval echo configure:6049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6050 glibcpp_cv_func___builtin_cosf_link=yes
6052 echo "configure: failed program was:" >&5
6053 cat conftest.$ac_ext >&5
6055 glibcpp_cv_func___builtin_cosf_link=no
6062 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6063 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
6064 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6065 cat >> confdefs.h <<EOF
6066 #define ${ac_tr_func} 1
6073 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
6074 echo "configure:6075: checking for __builtin_cos declaration" >&5
6075 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
6076 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6077 echo $ac_n "(cached) $ac_c" 1>&6
6082 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6083 ac_cpp='$CXXCPP $CPPFLAGS'
6084 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6085 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6086 cross_compiling=$ac_cv_prog_cxx_cross
6088 cat > conftest.$ac_ext <<EOF
6089 #line 6090 "configure"
6090 #include "confdefs.h"
6096 if { (eval echo configure:6097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6098 glibcpp_cv_func___builtin_cos_use=yes
6100 echo "configure: failed program was:" >&5
6101 cat conftest.$ac_ext >&5
6103 glibcpp_cv_func___builtin_cos_use=no
6107 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6108 ac_cpp='$CPP $CPPFLAGS'
6109 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6110 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6111 cross_compiling=$ac_cv_prog_cc_cross
6117 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6118 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
6119 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
6120 echo "configure:6121: checking for __builtin_cos linkage" >&5
6121 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
6122 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6123 echo $ac_n "(cached) $ac_c" 1>&6
6126 cat > conftest.$ac_ext <<EOF
6127 #line 6128 "configure"
6128 #include "confdefs.h"
6134 if { (eval echo configure:6135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6136 glibcpp_cv_func___builtin_cos_link=yes
6138 echo "configure: failed program was:" >&5
6139 cat conftest.$ac_ext >&5
6141 glibcpp_cv_func___builtin_cos_link=no
6148 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6149 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
6150 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6151 cat >> confdefs.h <<EOF
6152 #define ${ac_tr_func} 1
6159 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
6160 echo "configure:6161: checking for __builtin_cosl declaration" >&5
6161 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
6162 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6163 echo $ac_n "(cached) $ac_c" 1>&6
6168 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6169 ac_cpp='$CXXCPP $CPPFLAGS'
6170 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6171 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6172 cross_compiling=$ac_cv_prog_cxx_cross
6174 cat > conftest.$ac_ext <<EOF
6175 #line 6176 "configure"
6176 #include "confdefs.h"
6182 if { (eval echo configure:6183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6184 glibcpp_cv_func___builtin_cosl_use=yes
6186 echo "configure: failed program was:" >&5
6187 cat conftest.$ac_ext >&5
6189 glibcpp_cv_func___builtin_cosl_use=no
6193 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6194 ac_cpp='$CPP $CPPFLAGS'
6195 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6196 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6197 cross_compiling=$ac_cv_prog_cc_cross
6203 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6204 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
6205 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
6206 echo "configure:6207: checking for __builtin_cosl linkage" >&5
6207 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
6208 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6209 echo $ac_n "(cached) $ac_c" 1>&6
6212 cat > conftest.$ac_ext <<EOF
6213 #line 6214 "configure"
6214 #include "confdefs.h"
6220 if { (eval echo configure:6221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6222 glibcpp_cv_func___builtin_cosl_link=yes
6224 echo "configure: failed program was:" >&5
6225 cat conftest.$ac_ext >&5
6227 glibcpp_cv_func___builtin_cosl_link=no
6234 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6235 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
6236 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6237 cat >> confdefs.h <<EOF
6238 #define ${ac_tr_func} 1
6246 if test x$dummyvar = x"yes"; then
6247 cat >> confdefs.h <<\EOF
6248 #define HAVE___BUILTIN_ABS 1
6251 cat >> confdefs.h <<\EOF
6252 #define HAVE___BUILTIN_LABS 1
6255 cat >> confdefs.h <<\EOF
6256 #define HAVE___BUILTIN_COS 1
6259 cat >> confdefs.h <<\EOF
6260 #define HAVE___BUILTIN_COSF 1
6263 cat >> confdefs.h <<\EOF
6264 #define HAVE___BUILTIN_COSL 1
6267 cat >> confdefs.h <<\EOF
6268 #define HAVE___BUILTIN_FABS 1
6271 cat >> confdefs.h <<\EOF
6272 #define HAVE___BUILTIN_FABSF 1
6275 cat >> confdefs.h <<\EOF
6276 #define HAVE___BUILTIN_FABSL 1
6279 cat >> confdefs.h <<\EOF
6280 #define HAVE___BUILTIN_SIN 1
6283 cat >> confdefs.h <<\EOF
6284 #define HAVE___BUILTIN_SINF 1
6287 cat >> confdefs.h <<\EOF
6288 #define HAVE___BUILTIN_SINL 1
6291 cat >> confdefs.h <<\EOF
6292 #define HAVE___BUILTIN_FSQRT 1
6295 cat >> confdefs.h <<\EOF
6296 #define HAVE___BUILTIN_SQRTF 1
6299 cat >> confdefs.h <<\EOF
6300 #define HAVE___BUILTIN_SQRTL 1
6306 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6307 ac_save_CXXFLAGS="$CXXFLAGS"
6308 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
6310 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
6311 echo "configure:6312: checking for sin in -lm" >&5
6312 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
6313 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6314 echo $ac_n "(cached) $ac_c" 1>&6
6316 ac_save_LIBS="$LIBS"
6318 cat > conftest.$ac_ext <<EOF
6319 #line 6320 "configure"
6320 #include "confdefs.h"
6321 /* Override any gcc2 internal prototype to avoid an error. */
6322 /* We use char because int might match the return type of a gcc2
6323 builtin and then its argument prototype would still apply. */
6330 if { (eval echo configure:6331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6332 eval "ac_cv_lib_$ac_lib_var=yes"
6334 echo "configure: failed program was:" >&5
6335 cat conftest.$ac_ext >&5
6337 eval "ac_cv_lib_$ac_lib_var=no"
6340 LIBS="$ac_save_LIBS"
6343 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6344 echo "$ac_t""yes" 1>&6
6347 echo "$ac_t""no" 1>&6
6350 ac_save_LIBS="$LIBS"
6355 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
6356 echo "configure:6357: checking for isinf declaration" >&5
6357 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
6358 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6359 echo $ac_n "(cached) $ac_c" 1>&6
6364 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6365 ac_cpp='$CXXCPP $CPPFLAGS'
6366 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6367 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6368 cross_compiling=$ac_cv_prog_cxx_cross
6370 cat > conftest.$ac_ext <<EOF
6371 #line 6372 "configure"
6372 #include "confdefs.h"
6374 #ifdef HAVE_IEEEFP_H
6382 if { (eval echo configure:6383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6384 glibcpp_cv_func_isinf_use=yes
6386 echo "configure: failed program was:" >&5
6387 cat conftest.$ac_ext >&5
6389 glibcpp_cv_func_isinf_use=no
6393 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6394 ac_cpp='$CPP $CPPFLAGS'
6395 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6396 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6397 cross_compiling=$ac_cv_prog_cc_cross
6403 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6405 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
6406 for ac_func in isinf
6408 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6409 echo "configure:6410: checking for $ac_func" >&5
6410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6411 echo $ac_n "(cached) $ac_c" 1>&6
6413 cat > conftest.$ac_ext <<EOF
6414 #line 6415 "configure"
6415 #include "confdefs.h"
6416 /* System header to define __stub macros and hopefully few prototypes,
6417 which can conflict with char $ac_func(); below. */
6419 /* Override any gcc2 internal prototype to avoid an error. */
6420 /* We use char because int might match the return type of a gcc2
6421 builtin and then its argument prototype would still apply. */
6426 /* The GNU C library defines this for functions which it implements
6427 to always fail with ENOSYS. Some functions are actually named
6428 something starting with __ and the normal name is an alias. */
6429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6437 if { (eval echo configure:6438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6439 eval "ac_cv_func_$ac_func=yes"
6441 echo "configure: failed program was:" >&5
6442 cat conftest.$ac_ext >&5
6444 eval "ac_cv_func_$ac_func=no"
6449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6450 echo "$ac_t""yes" 1>&6
6451 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6452 cat >> confdefs.h <<EOF
6453 #define $ac_tr_func 1
6457 echo "$ac_t""no" 1>&6
6463 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6464 echo "configure:6465: checking for _isinf declaration" >&5
6465 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6466 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6467 echo $ac_n "(cached) $ac_c" 1>&6
6472 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6473 ac_cpp='$CXXCPP $CPPFLAGS'
6474 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6475 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6476 cross_compiling=$ac_cv_prog_cxx_cross
6478 cat > conftest.$ac_ext <<EOF
6479 #line 6480 "configure"
6480 #include "confdefs.h"
6482 #ifdef HAVE_IEEEFP_H
6490 if { (eval echo configure:6491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6492 glibcpp_cv_func__isinf_use=yes
6494 echo "configure: failed program was:" >&5
6495 cat conftest.$ac_ext >&5
6497 glibcpp_cv_func__isinf_use=no
6501 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6502 ac_cpp='$CPP $CPPFLAGS'
6503 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6504 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6505 cross_compiling=$ac_cv_prog_cc_cross
6511 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6513 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6514 for ac_func in _isinf
6516 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6517 echo "configure:6518: checking for $ac_func" >&5
6518 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6519 echo $ac_n "(cached) $ac_c" 1>&6
6521 cat > conftest.$ac_ext <<EOF
6522 #line 6523 "configure"
6523 #include "confdefs.h"
6524 /* System header to define __stub macros and hopefully few prototypes,
6525 which can conflict with char $ac_func(); below. */
6527 /* Override any gcc2 internal prototype to avoid an error. */
6528 /* We use char because int might match the return type of a gcc2
6529 builtin and then its argument prototype would still apply. */
6534 /* The GNU C library defines this for functions which it implements
6535 to always fail with ENOSYS. Some functions are actually named
6536 something starting with __ and the normal name is an alias. */
6537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6545 if { (eval echo configure:6546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6547 eval "ac_cv_func_$ac_func=yes"
6549 echo "configure: failed program was:" >&5
6550 cat conftest.$ac_ext >&5
6552 eval "ac_cv_func_$ac_func=no"
6557 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6558 echo "$ac_t""yes" 1>&6
6559 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6560 cat >> confdefs.h <<EOF
6561 #define $ac_tr_func 1
6565 echo "$ac_t""no" 1>&6
6574 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6575 echo "configure:6576: checking for isnan declaration" >&5
6576 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6577 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6578 echo $ac_n "(cached) $ac_c" 1>&6
6583 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6584 ac_cpp='$CXXCPP $CPPFLAGS'
6585 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6586 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6587 cross_compiling=$ac_cv_prog_cxx_cross
6589 cat > conftest.$ac_ext <<EOF
6590 #line 6591 "configure"
6591 #include "confdefs.h"
6593 #ifdef HAVE_IEEEFP_H
6601 if { (eval echo configure:6602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6603 glibcpp_cv_func_isnan_use=yes
6605 echo "configure: failed program was:" >&5
6606 cat conftest.$ac_ext >&5
6608 glibcpp_cv_func_isnan_use=no
6612 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6613 ac_cpp='$CPP $CPPFLAGS'
6614 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6615 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6616 cross_compiling=$ac_cv_prog_cc_cross
6622 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6624 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6625 for ac_func in isnan
6627 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6628 echo "configure:6629: checking for $ac_func" >&5
6629 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6630 echo $ac_n "(cached) $ac_c" 1>&6
6632 cat > conftest.$ac_ext <<EOF
6633 #line 6634 "configure"
6634 #include "confdefs.h"
6635 /* System header to define __stub macros and hopefully few prototypes,
6636 which can conflict with char $ac_func(); below. */
6638 /* Override any gcc2 internal prototype to avoid an error. */
6639 /* We use char because int might match the return type of a gcc2
6640 builtin and then its argument prototype would still apply. */
6645 /* The GNU C library defines this for functions which it implements
6646 to always fail with ENOSYS. Some functions are actually named
6647 something starting with __ and the normal name is an alias. */
6648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6656 if { (eval echo configure:6657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6658 eval "ac_cv_func_$ac_func=yes"
6660 echo "configure: failed program was:" >&5
6661 cat conftest.$ac_ext >&5
6663 eval "ac_cv_func_$ac_func=no"
6668 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6669 echo "$ac_t""yes" 1>&6
6670 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6671 cat >> confdefs.h <<EOF
6672 #define $ac_tr_func 1
6676 echo "$ac_t""no" 1>&6
6682 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6683 echo "configure:6684: checking for _isnan declaration" >&5
6684 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6685 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6686 echo $ac_n "(cached) $ac_c" 1>&6
6691 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6692 ac_cpp='$CXXCPP $CPPFLAGS'
6693 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6694 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6695 cross_compiling=$ac_cv_prog_cxx_cross
6697 cat > conftest.$ac_ext <<EOF
6698 #line 6699 "configure"
6699 #include "confdefs.h"
6701 #ifdef HAVE_IEEEFP_H
6709 if { (eval echo configure:6710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6711 glibcpp_cv_func__isnan_use=yes
6713 echo "configure: failed program was:" >&5
6714 cat conftest.$ac_ext >&5
6716 glibcpp_cv_func__isnan_use=no
6720 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6721 ac_cpp='$CPP $CPPFLAGS'
6722 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6723 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6724 cross_compiling=$ac_cv_prog_cc_cross
6730 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6732 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
6733 for ac_func in _isnan
6735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6736 echo "configure:6737: checking for $ac_func" >&5
6737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6738 echo $ac_n "(cached) $ac_c" 1>&6
6740 cat > conftest.$ac_ext <<EOF
6741 #line 6742 "configure"
6742 #include "confdefs.h"
6743 /* System header to define __stub macros and hopefully few prototypes,
6744 which can conflict with char $ac_func(); below. */
6746 /* Override any gcc2 internal prototype to avoid an error. */
6747 /* We use char because int might match the return type of a gcc2
6748 builtin and then its argument prototype would still apply. */
6753 /* The GNU C library defines this for functions which it implements
6754 to always fail with ENOSYS. Some functions are actually named
6755 something starting with __ and the normal name is an alias. */
6756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6764 if { (eval echo configure:6765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6766 eval "ac_cv_func_$ac_func=yes"
6768 echo "configure: failed program was:" >&5
6769 cat conftest.$ac_ext >&5
6771 eval "ac_cv_func_$ac_func=no"
6776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6777 echo "$ac_t""yes" 1>&6
6778 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6779 cat >> confdefs.h <<EOF
6780 #define $ac_tr_func 1
6784 echo "$ac_t""no" 1>&6
6793 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
6794 echo "configure:6795: checking for finite declaration" >&5
6795 if test x${glibcpp_cv_func_finite_use+set} != xset; then
6796 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6797 echo $ac_n "(cached) $ac_c" 1>&6
6802 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6803 ac_cpp='$CXXCPP $CPPFLAGS'
6804 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6805 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6806 cross_compiling=$ac_cv_prog_cxx_cross
6808 cat > conftest.$ac_ext <<EOF
6809 #line 6810 "configure"
6810 #include "confdefs.h"
6812 #ifdef HAVE_IEEEFP_H
6820 if { (eval echo configure:6821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6822 glibcpp_cv_func_finite_use=yes
6824 echo "configure: failed program was:" >&5
6825 cat conftest.$ac_ext >&5
6827 glibcpp_cv_func_finite_use=no
6831 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6832 ac_cpp='$CPP $CPPFLAGS'
6833 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6834 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6835 cross_compiling=$ac_cv_prog_cc_cross
6841 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
6843 if test x$glibcpp_cv_func_finite_use = x"yes"; then
6844 for ac_func in finite
6846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6847 echo "configure:6848: checking for $ac_func" >&5
6848 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6849 echo $ac_n "(cached) $ac_c" 1>&6
6851 cat > conftest.$ac_ext <<EOF
6852 #line 6853 "configure"
6853 #include "confdefs.h"
6854 /* System header to define __stub macros and hopefully few prototypes,
6855 which can conflict with char $ac_func(); below. */
6857 /* Override any gcc2 internal prototype to avoid an error. */
6858 /* We use char because int might match the return type of a gcc2
6859 builtin and then its argument prototype would still apply. */
6864 /* The GNU C library defines this for functions which it implements
6865 to always fail with ENOSYS. Some functions are actually named
6866 something starting with __ and the normal name is an alias. */
6867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6875 if { (eval echo configure:6876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6877 eval "ac_cv_func_$ac_func=yes"
6879 echo "configure: failed program was:" >&5
6880 cat conftest.$ac_ext >&5
6882 eval "ac_cv_func_$ac_func=no"
6887 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6888 echo "$ac_t""yes" 1>&6
6889 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6890 cat >> confdefs.h <<EOF
6891 #define $ac_tr_func 1
6895 echo "$ac_t""no" 1>&6
6901 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
6902 echo "configure:6903: checking for _finite declaration" >&5
6903 if test x${glibcpp_cv_func__finite_use+set} != xset; then
6904 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
6905 echo $ac_n "(cached) $ac_c" 1>&6
6910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6911 ac_cpp='$CXXCPP $CPPFLAGS'
6912 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6913 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6914 cross_compiling=$ac_cv_prog_cxx_cross
6916 cat > conftest.$ac_ext <<EOF
6917 #line 6918 "configure"
6918 #include "confdefs.h"
6920 #ifdef HAVE_IEEEFP_H
6928 if { (eval echo configure:6929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6930 glibcpp_cv_func__finite_use=yes
6932 echo "configure: failed program was:" >&5
6933 cat conftest.$ac_ext >&5
6935 glibcpp_cv_func__finite_use=no
6939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6940 ac_cpp='$CPP $CPPFLAGS'
6941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6943 cross_compiling=$ac_cv_prog_cc_cross
6949 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
6951 if test x$glibcpp_cv_func__finite_use = x"yes"; then
6952 for ac_func in _finite
6954 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6955 echo "configure:6956: checking for $ac_func" >&5
6956 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6957 echo $ac_n "(cached) $ac_c" 1>&6
6959 cat > conftest.$ac_ext <<EOF
6960 #line 6961 "configure"
6961 #include "confdefs.h"
6962 /* System header to define __stub macros and hopefully few prototypes,
6963 which can conflict with char $ac_func(); below. */
6965 /* Override any gcc2 internal prototype to avoid an error. */
6966 /* We use char because int might match the return type of a gcc2
6967 builtin and then its argument prototype would still apply. */
6972 /* The GNU C library defines this for functions which it implements
6973 to always fail with ENOSYS. Some functions are actually named
6974 something starting with __ and the normal name is an alias. */
6975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6983 if { (eval echo configure:6984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6985 eval "ac_cv_func_$ac_func=yes"
6987 echo "configure: failed program was:" >&5
6988 cat conftest.$ac_ext >&5
6990 eval "ac_cv_func_$ac_func=no"
6995 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6996 echo "$ac_t""yes" 1>&6
6997 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6998 cat >> confdefs.h <<EOF
6999 #define $ac_tr_func 1
7003 echo "$ac_t""no" 1>&6
7012 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
7013 echo "configure:7014: checking for copysign declaration" >&5
7014 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
7015 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7016 echo $ac_n "(cached) $ac_c" 1>&6
7021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7022 ac_cpp='$CXXCPP $CPPFLAGS'
7023 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7024 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7025 cross_compiling=$ac_cv_prog_cxx_cross
7027 cat > conftest.$ac_ext <<EOF
7028 #line 7029 "configure"
7029 #include "confdefs.h"
7035 if { (eval echo configure:7036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7037 glibcpp_cv_func_copysign_use=yes
7039 echo "configure: failed program was:" >&5
7040 cat conftest.$ac_ext >&5
7042 glibcpp_cv_func_copysign_use=no
7046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7047 ac_cpp='$CPP $CPPFLAGS'
7048 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7049 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7050 cross_compiling=$ac_cv_prog_cc_cross
7056 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7058 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
7059 for ac_func in copysign
7061 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7062 echo "configure:7063: checking for $ac_func" >&5
7063 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7064 echo $ac_n "(cached) $ac_c" 1>&6
7066 cat > conftest.$ac_ext <<EOF
7067 #line 7068 "configure"
7068 #include "confdefs.h"
7069 /* System header to define __stub macros and hopefully few prototypes,
7070 which can conflict with char $ac_func(); below. */
7072 /* Override any gcc2 internal prototype to avoid an error. */
7073 /* We use char because int might match the return type of a gcc2
7074 builtin and then its argument prototype would still apply. */
7079 /* The GNU C library defines this for functions which it implements
7080 to always fail with ENOSYS. Some functions are actually named
7081 something starting with __ and the normal name is an alias. */
7082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7090 if { (eval echo configure:7091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7092 eval "ac_cv_func_$ac_func=yes"
7094 echo "configure: failed program was:" >&5
7095 cat conftest.$ac_ext >&5
7097 eval "ac_cv_func_$ac_func=no"
7102 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7103 echo "$ac_t""yes" 1>&6
7104 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7105 cat >> confdefs.h <<EOF
7106 #define $ac_tr_func 1
7110 echo "$ac_t""no" 1>&6
7116 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
7117 echo "configure:7118: checking for _copysign declaration" >&5
7118 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
7119 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7120 echo $ac_n "(cached) $ac_c" 1>&6
7125 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7126 ac_cpp='$CXXCPP $CPPFLAGS'
7127 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7128 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7129 cross_compiling=$ac_cv_prog_cxx_cross
7131 cat > conftest.$ac_ext <<EOF
7132 #line 7133 "configure"
7133 #include "confdefs.h"
7139 if { (eval echo configure:7140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7141 glibcpp_cv_func__copysign_use=yes
7143 echo "configure: failed program was:" >&5
7144 cat conftest.$ac_ext >&5
7146 glibcpp_cv_func__copysign_use=no
7150 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7151 ac_cpp='$CPP $CPPFLAGS'
7152 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7153 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7154 cross_compiling=$ac_cv_prog_cc_cross
7160 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7162 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
7163 for ac_func in _copysign
7165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7166 echo "configure:7167: checking for $ac_func" >&5
7167 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7168 echo $ac_n "(cached) $ac_c" 1>&6
7170 cat > conftest.$ac_ext <<EOF
7171 #line 7172 "configure"
7172 #include "confdefs.h"
7173 /* System header to define __stub macros and hopefully few prototypes,
7174 which can conflict with char $ac_func(); below. */
7176 /* Override any gcc2 internal prototype to avoid an error. */
7177 /* We use char because int might match the return type of a gcc2
7178 builtin and then its argument prototype would still apply. */
7183 /* The GNU C library defines this for functions which it implements
7184 to always fail with ENOSYS. Some functions are actually named
7185 something starting with __ and the normal name is an alias. */
7186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7194 if { (eval echo configure:7195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7196 eval "ac_cv_func_$ac_func=yes"
7198 echo "configure: failed program was:" >&5
7199 cat conftest.$ac_ext >&5
7201 eval "ac_cv_func_$ac_func=no"
7206 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7207 echo "$ac_t""yes" 1>&6
7208 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7209 cat >> confdefs.h <<EOF
7210 #define $ac_tr_func 1
7214 echo "$ac_t""no" 1>&6
7223 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
7224 echo "configure:7225: checking for sincos declaration" >&5
7225 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
7226 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7227 echo $ac_n "(cached) $ac_c" 1>&6
7232 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7233 ac_cpp='$CXXCPP $CPPFLAGS'
7234 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7235 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7236 cross_compiling=$ac_cv_prog_cxx_cross
7238 cat > conftest.$ac_ext <<EOF
7239 #line 7240 "configure"
7240 #include "confdefs.h"
7246 if { (eval echo configure:7247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7248 glibcpp_cv_func_sincos_use=yes
7250 echo "configure: failed program was:" >&5
7251 cat conftest.$ac_ext >&5
7253 glibcpp_cv_func_sincos_use=no
7257 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7258 ac_cpp='$CPP $CPPFLAGS'
7259 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7260 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7261 cross_compiling=$ac_cv_prog_cc_cross
7267 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7269 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
7270 for ac_func in sincos
7272 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7273 echo "configure:7274: checking for $ac_func" >&5
7274 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7275 echo $ac_n "(cached) $ac_c" 1>&6
7277 cat > conftest.$ac_ext <<EOF
7278 #line 7279 "configure"
7279 #include "confdefs.h"
7280 /* System header to define __stub macros and hopefully few prototypes,
7281 which can conflict with char $ac_func(); below. */
7283 /* Override any gcc2 internal prototype to avoid an error. */
7284 /* We use char because int might match the return type of a gcc2
7285 builtin and then its argument prototype would still apply. */
7290 /* The GNU C library defines this for functions which it implements
7291 to always fail with ENOSYS. Some functions are actually named
7292 something starting with __ and the normal name is an alias. */
7293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7301 if { (eval echo configure:7302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7303 eval "ac_cv_func_$ac_func=yes"
7305 echo "configure: failed program was:" >&5
7306 cat conftest.$ac_ext >&5
7308 eval "ac_cv_func_$ac_func=no"
7313 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7314 echo "$ac_t""yes" 1>&6
7315 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7316 cat >> confdefs.h <<EOF
7317 #define $ac_tr_func 1
7321 echo "$ac_t""no" 1>&6
7327 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
7328 echo "configure:7329: checking for _sincos declaration" >&5
7329 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
7330 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7331 echo $ac_n "(cached) $ac_c" 1>&6
7336 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7337 ac_cpp='$CXXCPP $CPPFLAGS'
7338 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7339 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7340 cross_compiling=$ac_cv_prog_cxx_cross
7342 cat > conftest.$ac_ext <<EOF
7343 #line 7344 "configure"
7344 #include "confdefs.h"
7350 if { (eval echo configure:7351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7352 glibcpp_cv_func__sincos_use=yes
7354 echo "configure: failed program was:" >&5
7355 cat conftest.$ac_ext >&5
7357 glibcpp_cv_func__sincos_use=no
7361 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7362 ac_cpp='$CPP $CPPFLAGS'
7363 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7364 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7365 cross_compiling=$ac_cv_prog_cc_cross
7371 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7373 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
7374 for ac_func in _sincos
7376 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7377 echo "configure:7378: checking for $ac_func" >&5
7378 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7379 echo $ac_n "(cached) $ac_c" 1>&6
7381 cat > conftest.$ac_ext <<EOF
7382 #line 7383 "configure"
7383 #include "confdefs.h"
7384 /* System header to define __stub macros and hopefully few prototypes,
7385 which can conflict with char $ac_func(); below. */
7387 /* Override any gcc2 internal prototype to avoid an error. */
7388 /* We use char because int might match the return type of a gcc2
7389 builtin and then its argument prototype would still apply. */
7394 /* The GNU C library defines this for functions which it implements
7395 to always fail with ENOSYS. Some functions are actually named
7396 something starting with __ and the normal name is an alias. */
7397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7405 if { (eval echo configure:7406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7407 eval "ac_cv_func_$ac_func=yes"
7409 echo "configure: failed program was:" >&5
7410 cat conftest.$ac_ext >&5
7412 eval "ac_cv_func_$ac_func=no"
7417 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7418 echo "$ac_t""yes" 1>&6
7419 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7420 cat >> confdefs.h <<EOF
7421 #define $ac_tr_func 1
7425 echo "$ac_t""no" 1>&6
7434 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7435 echo "configure:7436: checking for fpclass declaration" >&5
7436 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7437 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7438 echo $ac_n "(cached) $ac_c" 1>&6
7443 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7444 ac_cpp='$CXXCPP $CPPFLAGS'
7445 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7446 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7447 cross_compiling=$ac_cv_prog_cxx_cross
7449 cat > conftest.$ac_ext <<EOF
7450 #line 7451 "configure"
7451 #include "confdefs.h"
7453 #ifdef HAVE_IEEEFP_H
7461 if { (eval echo configure:7462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7463 glibcpp_cv_func_fpclass_use=yes
7465 echo "configure: failed program was:" >&5
7466 cat conftest.$ac_ext >&5
7468 glibcpp_cv_func_fpclass_use=no
7472 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7473 ac_cpp='$CPP $CPPFLAGS'
7474 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7475 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7476 cross_compiling=$ac_cv_prog_cc_cross
7482 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7484 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7485 for ac_func in fpclass
7487 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7488 echo "configure:7489: checking for $ac_func" >&5
7489 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7490 echo $ac_n "(cached) $ac_c" 1>&6
7492 cat > conftest.$ac_ext <<EOF
7493 #line 7494 "configure"
7494 #include "confdefs.h"
7495 /* System header to define __stub macros and hopefully few prototypes,
7496 which can conflict with char $ac_func(); below. */
7498 /* Override any gcc2 internal prototype to avoid an error. */
7499 /* We use char because int might match the return type of a gcc2
7500 builtin and then its argument prototype would still apply. */
7505 /* The GNU C library defines this for functions which it implements
7506 to always fail with ENOSYS. Some functions are actually named
7507 something starting with __ and the normal name is an alias. */
7508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7516 if { (eval echo configure:7517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7518 eval "ac_cv_func_$ac_func=yes"
7520 echo "configure: failed program was:" >&5
7521 cat conftest.$ac_ext >&5
7523 eval "ac_cv_func_$ac_func=no"
7528 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7529 echo "$ac_t""yes" 1>&6
7530 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7531 cat >> confdefs.h <<EOF
7532 #define $ac_tr_func 1
7536 echo "$ac_t""no" 1>&6
7542 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7543 echo "configure:7544: checking for _fpclass declaration" >&5
7544 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7545 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7546 echo $ac_n "(cached) $ac_c" 1>&6
7551 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7552 ac_cpp='$CXXCPP $CPPFLAGS'
7553 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7554 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7555 cross_compiling=$ac_cv_prog_cxx_cross
7557 cat > conftest.$ac_ext <<EOF
7558 #line 7559 "configure"
7559 #include "confdefs.h"
7561 #ifdef HAVE_IEEEFP_H
7569 if { (eval echo configure:7570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7571 glibcpp_cv_func__fpclass_use=yes
7573 echo "configure: failed program was:" >&5
7574 cat conftest.$ac_ext >&5
7576 glibcpp_cv_func__fpclass_use=no
7580 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7581 ac_cpp='$CPP $CPPFLAGS'
7582 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7583 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7584 cross_compiling=$ac_cv_prog_cc_cross
7590 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7592 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7593 for ac_func in _fpclass
7595 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7596 echo "configure:7597: checking for $ac_func" >&5
7597 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7598 echo $ac_n "(cached) $ac_c" 1>&6
7600 cat > conftest.$ac_ext <<EOF
7601 #line 7602 "configure"
7602 #include "confdefs.h"
7603 /* System header to define __stub macros and hopefully few prototypes,
7604 which can conflict with char $ac_func(); below. */
7606 /* Override any gcc2 internal prototype to avoid an error. */
7607 /* We use char because int might match the return type of a gcc2
7608 builtin and then its argument prototype would still apply. */
7613 /* The GNU C library defines this for functions which it implements
7614 to always fail with ENOSYS. Some functions are actually named
7615 something starting with __ and the normal name is an alias. */
7616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7624 if { (eval echo configure:7625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7626 eval "ac_cv_func_$ac_func=yes"
7628 echo "configure: failed program was:" >&5
7629 cat conftest.$ac_ext >&5
7631 eval "ac_cv_func_$ac_func=no"
7636 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7637 echo "$ac_t""yes" 1>&6
7638 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7639 cat >> confdefs.h <<EOF
7640 #define $ac_tr_func 1
7644 echo "$ac_t""no" 1>&6
7653 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7654 echo "configure:7655: checking for qfpclass declaration" >&5
7655 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7656 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7657 echo $ac_n "(cached) $ac_c" 1>&6
7662 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7663 ac_cpp='$CXXCPP $CPPFLAGS'
7664 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7665 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7666 cross_compiling=$ac_cv_prog_cxx_cross
7668 cat > conftest.$ac_ext <<EOF
7669 #line 7670 "configure"
7670 #include "confdefs.h"
7672 #ifdef HAVE_IEEEFP_H
7680 if { (eval echo configure:7681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7682 glibcpp_cv_func_qfpclass_use=yes
7684 echo "configure: failed program was:" >&5
7685 cat conftest.$ac_ext >&5
7687 glibcpp_cv_func_qfpclass_use=no
7691 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7692 ac_cpp='$CPP $CPPFLAGS'
7693 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7694 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7695 cross_compiling=$ac_cv_prog_cc_cross
7701 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7703 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
7704 for ac_func in qfpclass
7706 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7707 echo "configure:7708: checking for $ac_func" >&5
7708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7709 echo $ac_n "(cached) $ac_c" 1>&6
7711 cat > conftest.$ac_ext <<EOF
7712 #line 7713 "configure"
7713 #include "confdefs.h"
7714 /* System header to define __stub macros and hopefully few prototypes,
7715 which can conflict with char $ac_func(); below. */
7717 /* Override any gcc2 internal prototype to avoid an error. */
7718 /* We use char because int might match the return type of a gcc2
7719 builtin and then its argument prototype would still apply. */
7724 /* The GNU C library defines this for functions which it implements
7725 to always fail with ENOSYS. Some functions are actually named
7726 something starting with __ and the normal name is an alias. */
7727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7735 if { (eval echo configure:7736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7737 eval "ac_cv_func_$ac_func=yes"
7739 echo "configure: failed program was:" >&5
7740 cat conftest.$ac_ext >&5
7742 eval "ac_cv_func_$ac_func=no"
7747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7748 echo "$ac_t""yes" 1>&6
7749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7750 cat >> confdefs.h <<EOF
7751 #define $ac_tr_func 1
7755 echo "$ac_t""no" 1>&6
7761 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
7762 echo "configure:7763: checking for _qfpclass declaration" >&5
7763 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
7764 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7765 echo $ac_n "(cached) $ac_c" 1>&6
7770 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7771 ac_cpp='$CXXCPP $CPPFLAGS'
7772 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7773 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7774 cross_compiling=$ac_cv_prog_cxx_cross
7776 cat > conftest.$ac_ext <<EOF
7777 #line 7778 "configure"
7778 #include "confdefs.h"
7780 #ifdef HAVE_IEEEFP_H
7788 if { (eval echo configure:7789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7790 glibcpp_cv_func__qfpclass_use=yes
7792 echo "configure: failed program was:" >&5
7793 cat conftest.$ac_ext >&5
7795 glibcpp_cv_func__qfpclass_use=no
7799 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7800 ac_cpp='$CPP $CPPFLAGS'
7801 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7802 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7803 cross_compiling=$ac_cv_prog_cc_cross
7809 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7811 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
7812 for ac_func in _qfpclass
7814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7815 echo "configure:7816: checking for $ac_func" >&5
7816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7817 echo $ac_n "(cached) $ac_c" 1>&6
7819 cat > conftest.$ac_ext <<EOF
7820 #line 7821 "configure"
7821 #include "confdefs.h"
7822 /* System header to define __stub macros and hopefully few prototypes,
7823 which can conflict with char $ac_func(); below. */
7825 /* Override any gcc2 internal prototype to avoid an error. */
7826 /* We use char because int might match the return type of a gcc2
7827 builtin and then its argument prototype would still apply. */
7832 /* The GNU C library defines this for functions which it implements
7833 to always fail with ENOSYS. Some functions are actually named
7834 something starting with __ and the normal name is an alias. */
7835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7843 if { (eval echo configure:7844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7845 eval "ac_cv_func_$ac_func=yes"
7847 echo "configure: failed program was:" >&5
7848 cat conftest.$ac_ext >&5
7850 eval "ac_cv_func_$ac_func=no"
7855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7856 echo "$ac_t""yes" 1>&6
7857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7858 cat >> confdefs.h <<EOF
7859 #define $ac_tr_func 1
7863 echo "$ac_t""no" 1>&6
7872 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
7873 echo "configure:7874: checking for float trig functions" >&5
7874 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
7875 echo $ac_n "(cached) $ac_c" 1>&6
7880 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7881 ac_cpp='$CXXCPP $CPPFLAGS'
7882 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7883 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7884 cross_compiling=$ac_cv_prog_cxx_cross
7886 cat > conftest.$ac_ext <<EOF
7887 #line 7888 "configure"
7888 #include "confdefs.h"
7891 `for x in acosf asinf atanf \
7893 coshf sinhf tanhf; do echo "$x (0);"; done`
7896 if { (eval echo configure:7897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7898 glibcpp_cv_func_float_trig_use=yes
7900 echo "configure: failed program was:" >&5
7901 cat conftest.$ac_ext >&5
7903 glibcpp_cv_func_float_trig_use=no
7907 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7908 ac_cpp='$CPP $CPPFLAGS'
7909 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7910 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7911 cross_compiling=$ac_cv_prog_cc_cross
7915 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
7916 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
7917 for ac_func in acosf asinf atanf \
7921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7922 echo "configure:7923: checking for $ac_func" >&5
7923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7924 echo $ac_n "(cached) $ac_c" 1>&6
7926 cat > conftest.$ac_ext <<EOF
7927 #line 7928 "configure"
7928 #include "confdefs.h"
7929 /* System header to define __stub macros and hopefully few prototypes,
7930 which can conflict with char $ac_func(); below. */
7932 /* Override any gcc2 internal prototype to avoid an error. */
7933 /* We use char because int might match the return type of a gcc2
7934 builtin and then its argument prototype would still apply. */
7939 /* The GNU C library defines this for functions which it implements
7940 to always fail with ENOSYS. Some functions are actually named
7941 something starting with __ and the normal name is an alias. */
7942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7950 if { (eval echo configure:7951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7952 eval "ac_cv_func_$ac_func=yes"
7954 echo "configure: failed program was:" >&5
7955 cat conftest.$ac_ext >&5
7957 eval "ac_cv_func_$ac_func=no"
7962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7963 echo "$ac_t""yes" 1>&6
7964 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7965 cat >> confdefs.h <<EOF
7966 #define $ac_tr_func 1
7970 echo "$ac_t""no" 1>&6
7977 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
7978 echo "configure:7979: checking for float round functions" >&5
7979 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
7980 echo $ac_n "(cached) $ac_c" 1>&6
7985 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7986 ac_cpp='$CXXCPP $CPPFLAGS'
7987 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7988 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7989 cross_compiling=$ac_cv_prog_cxx_cross
7991 cat > conftest.$ac_ext <<EOF
7992 #line 7993 "configure"
7993 #include "confdefs.h"
7996 `for x in ceilf floorf; do echo "$x (0);"; done`
7999 if { (eval echo configure:8000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8001 glibcpp_cv_func_float_round_use=yes
8003 echo "configure: failed program was:" >&5
8004 cat conftest.$ac_ext >&5
8006 glibcpp_cv_func_float_round_use=no
8010 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8011 ac_cpp='$CPP $CPPFLAGS'
8012 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8013 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8014 cross_compiling=$ac_cv_prog_cc_cross
8018 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8019 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
8020 for ac_func in ceilf floorf
8022 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8023 echo "configure:8024: checking for $ac_func" >&5
8024 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8025 echo $ac_n "(cached) $ac_c" 1>&6
8027 cat > conftest.$ac_ext <<EOF
8028 #line 8029 "configure"
8029 #include "confdefs.h"
8030 /* System header to define __stub macros and hopefully few prototypes,
8031 which can conflict with char $ac_func(); below. */
8033 /* Override any gcc2 internal prototype to avoid an error. */
8034 /* We use char because int might match the return type of a gcc2
8035 builtin and then its argument prototype would still apply. */
8040 /* The GNU C library defines this for functions which it implements
8041 to always fail with ENOSYS. Some functions are actually named
8042 something starting with __ and the normal name is an alias. */
8043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8051 if { (eval echo configure:8052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8053 eval "ac_cv_func_$ac_func=yes"
8055 echo "configure: failed program was:" >&5
8056 cat conftest.$ac_ext >&5
8058 eval "ac_cv_func_$ac_func=no"
8063 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8064 echo "$ac_t""yes" 1>&6
8065 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8066 cat >> confdefs.h <<EOF
8067 #define $ac_tr_func 1
8071 echo "$ac_t""no" 1>&6
8079 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
8080 echo "configure:8081: checking for isnanf declaration" >&5
8081 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
8082 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8083 echo $ac_n "(cached) $ac_c" 1>&6
8088 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8089 ac_cpp='$CXXCPP $CPPFLAGS'
8090 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8091 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8092 cross_compiling=$ac_cv_prog_cxx_cross
8094 cat > conftest.$ac_ext <<EOF
8095 #line 8096 "configure"
8096 #include "confdefs.h"
8098 #ifdef HAVE_IEEEFP_H
8106 if { (eval echo configure:8107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8108 glibcpp_cv_func_isnanf_use=yes
8110 echo "configure: failed program was:" >&5
8111 cat conftest.$ac_ext >&5
8113 glibcpp_cv_func_isnanf_use=no
8117 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8118 ac_cpp='$CPP $CPPFLAGS'
8119 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8120 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8121 cross_compiling=$ac_cv_prog_cc_cross
8127 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8129 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
8130 for ac_func in isnanf
8132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8133 echo "configure:8134: checking for $ac_func" >&5
8134 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8135 echo $ac_n "(cached) $ac_c" 1>&6
8137 cat > conftest.$ac_ext <<EOF
8138 #line 8139 "configure"
8139 #include "confdefs.h"
8140 /* System header to define __stub macros and hopefully few prototypes,
8141 which can conflict with char $ac_func(); below. */
8143 /* Override any gcc2 internal prototype to avoid an error. */
8144 /* We use char because int might match the return type of a gcc2
8145 builtin and then its argument prototype would still apply. */
8150 /* The GNU C library defines this for functions which it implements
8151 to always fail with ENOSYS. Some functions are actually named
8152 something starting with __ and the normal name is an alias. */
8153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8161 if { (eval echo configure:8162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8163 eval "ac_cv_func_$ac_func=yes"
8165 echo "configure: failed program was:" >&5
8166 cat conftest.$ac_ext >&5
8168 eval "ac_cv_func_$ac_func=no"
8173 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8174 echo "$ac_t""yes" 1>&6
8175 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8176 cat >> confdefs.h <<EOF
8177 #define $ac_tr_func 1
8181 echo "$ac_t""no" 1>&6
8187 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
8188 echo "configure:8189: checking for _isnanf declaration" >&5
8189 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
8190 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8191 echo $ac_n "(cached) $ac_c" 1>&6
8196 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8197 ac_cpp='$CXXCPP $CPPFLAGS'
8198 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8199 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8200 cross_compiling=$ac_cv_prog_cxx_cross
8202 cat > conftest.$ac_ext <<EOF
8203 #line 8204 "configure"
8204 #include "confdefs.h"
8206 #ifdef HAVE_IEEEFP_H
8214 if { (eval echo configure:8215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8216 glibcpp_cv_func__isnanf_use=yes
8218 echo "configure: failed program was:" >&5
8219 cat conftest.$ac_ext >&5
8221 glibcpp_cv_func__isnanf_use=no
8225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8226 ac_cpp='$CPP $CPPFLAGS'
8227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8229 cross_compiling=$ac_cv_prog_cc_cross
8235 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8237 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
8238 for ac_func in _isnanf
8240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8241 echo "configure:8242: checking for $ac_func" >&5
8242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8243 echo $ac_n "(cached) $ac_c" 1>&6
8245 cat > conftest.$ac_ext <<EOF
8246 #line 8247 "configure"
8247 #include "confdefs.h"
8248 /* System header to define __stub macros and hopefully few prototypes,
8249 which can conflict with char $ac_func(); below. */
8251 /* Override any gcc2 internal prototype to avoid an error. */
8252 /* We use char because int might match the return type of a gcc2
8253 builtin and then its argument prototype would still apply. */
8258 /* The GNU C library defines this for functions which it implements
8259 to always fail with ENOSYS. Some functions are actually named
8260 something starting with __ and the normal name is an alias. */
8261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8269 if { (eval echo configure:8270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8271 eval "ac_cv_func_$ac_func=yes"
8273 echo "configure: failed program was:" >&5
8274 cat conftest.$ac_ext >&5
8276 eval "ac_cv_func_$ac_func=no"
8281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8282 echo "$ac_t""yes" 1>&6
8283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8284 cat >> confdefs.h <<EOF
8285 #define $ac_tr_func 1
8289 echo "$ac_t""no" 1>&6
8298 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
8299 echo "configure:8300: checking for isinff declaration" >&5
8300 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
8301 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8302 echo $ac_n "(cached) $ac_c" 1>&6
8307 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8308 ac_cpp='$CXXCPP $CPPFLAGS'
8309 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8310 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8311 cross_compiling=$ac_cv_prog_cxx_cross
8313 cat > conftest.$ac_ext <<EOF
8314 #line 8315 "configure"
8315 #include "confdefs.h"
8317 #ifdef HAVE_IEEEFP_H
8325 if { (eval echo configure:8326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8327 glibcpp_cv_func_isinff_use=yes
8329 echo "configure: failed program was:" >&5
8330 cat conftest.$ac_ext >&5
8332 glibcpp_cv_func_isinff_use=no
8336 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8337 ac_cpp='$CPP $CPPFLAGS'
8338 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8339 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8340 cross_compiling=$ac_cv_prog_cc_cross
8346 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8348 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
8349 for ac_func in isinff
8351 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8352 echo "configure:8353: checking for $ac_func" >&5
8353 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8354 echo $ac_n "(cached) $ac_c" 1>&6
8356 cat > conftest.$ac_ext <<EOF
8357 #line 8358 "configure"
8358 #include "confdefs.h"
8359 /* System header to define __stub macros and hopefully few prototypes,
8360 which can conflict with char $ac_func(); below. */
8362 /* Override any gcc2 internal prototype to avoid an error. */
8363 /* We use char because int might match the return type of a gcc2
8364 builtin and then its argument prototype would still apply. */
8369 /* The GNU C library defines this for functions which it implements
8370 to always fail with ENOSYS. Some functions are actually named
8371 something starting with __ and the normal name is an alias. */
8372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8380 if { (eval echo configure:8381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8382 eval "ac_cv_func_$ac_func=yes"
8384 echo "configure: failed program was:" >&5
8385 cat conftest.$ac_ext >&5
8387 eval "ac_cv_func_$ac_func=no"
8392 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8393 echo "$ac_t""yes" 1>&6
8394 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8395 cat >> confdefs.h <<EOF
8396 #define $ac_tr_func 1
8400 echo "$ac_t""no" 1>&6
8406 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
8407 echo "configure:8408: checking for _isinff declaration" >&5
8408 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
8409 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8410 echo $ac_n "(cached) $ac_c" 1>&6
8415 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8416 ac_cpp='$CXXCPP $CPPFLAGS'
8417 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8418 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8419 cross_compiling=$ac_cv_prog_cxx_cross
8421 cat > conftest.$ac_ext <<EOF
8422 #line 8423 "configure"
8423 #include "confdefs.h"
8425 #ifdef HAVE_IEEEFP_H
8433 if { (eval echo configure:8434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8435 glibcpp_cv_func__isinff_use=yes
8437 echo "configure: failed program was:" >&5
8438 cat conftest.$ac_ext >&5
8440 glibcpp_cv_func__isinff_use=no
8444 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8445 ac_cpp='$CPP $CPPFLAGS'
8446 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8447 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8448 cross_compiling=$ac_cv_prog_cc_cross
8454 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8456 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8457 for ac_func in _isinff
8459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8460 echo "configure:8461: checking for $ac_func" >&5
8461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8462 echo $ac_n "(cached) $ac_c" 1>&6
8464 cat > conftest.$ac_ext <<EOF
8465 #line 8466 "configure"
8466 #include "confdefs.h"
8467 /* System header to define __stub macros and hopefully few prototypes,
8468 which can conflict with char $ac_func(); below. */
8470 /* Override any gcc2 internal prototype to avoid an error. */
8471 /* We use char because int might match the return type of a gcc2
8472 builtin and then its argument prototype would still apply. */
8477 /* The GNU C library defines this for functions which it implements
8478 to always fail with ENOSYS. Some functions are actually named
8479 something starting with __ and the normal name is an alias. */
8480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8488 if { (eval echo configure:8489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8490 eval "ac_cv_func_$ac_func=yes"
8492 echo "configure: failed program was:" >&5
8493 cat conftest.$ac_ext >&5
8495 eval "ac_cv_func_$ac_func=no"
8500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8501 echo "$ac_t""yes" 1>&6
8502 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8503 cat >> confdefs.h <<EOF
8504 #define $ac_tr_func 1
8508 echo "$ac_t""no" 1>&6
8517 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
8518 echo "configure:8519: checking for fabsf declaration" >&5
8519 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
8520 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8521 echo $ac_n "(cached) $ac_c" 1>&6
8526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8527 ac_cpp='$CXXCPP $CPPFLAGS'
8528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8530 cross_compiling=$ac_cv_prog_cxx_cross
8532 cat > conftest.$ac_ext <<EOF
8533 #line 8534 "configure"
8534 #include "confdefs.h"
8536 #ifdef HAVE_IEEEFP_H
8544 if { (eval echo configure:8545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8546 glibcpp_cv_func_fabsf_use=yes
8548 echo "configure: failed program was:" >&5
8549 cat conftest.$ac_ext >&5
8551 glibcpp_cv_func_fabsf_use=no
8555 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8556 ac_cpp='$CPP $CPPFLAGS'
8557 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8558 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8559 cross_compiling=$ac_cv_prog_cc_cross
8565 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8567 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
8568 for ac_func in fabsf
8570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8571 echo "configure:8572: checking for $ac_func" >&5
8572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8573 echo $ac_n "(cached) $ac_c" 1>&6
8575 cat > conftest.$ac_ext <<EOF
8576 #line 8577 "configure"
8577 #include "confdefs.h"
8578 /* System header to define __stub macros and hopefully few prototypes,
8579 which can conflict with char $ac_func(); below. */
8581 /* Override any gcc2 internal prototype to avoid an error. */
8582 /* We use char because int might match the return type of a gcc2
8583 builtin and then its argument prototype would still apply. */
8588 /* The GNU C library defines this for functions which it implements
8589 to always fail with ENOSYS. Some functions are actually named
8590 something starting with __ and the normal name is an alias. */
8591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8599 if { (eval echo configure:8600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8601 eval "ac_cv_func_$ac_func=yes"
8603 echo "configure: failed program was:" >&5
8604 cat conftest.$ac_ext >&5
8606 eval "ac_cv_func_$ac_func=no"
8611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8612 echo "$ac_t""yes" 1>&6
8613 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8614 cat >> confdefs.h <<EOF
8615 #define $ac_tr_func 1
8619 echo "$ac_t""no" 1>&6
8625 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
8626 echo "configure:8627: checking for _fabsf declaration" >&5
8627 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
8628 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
8629 echo $ac_n "(cached) $ac_c" 1>&6
8634 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8635 ac_cpp='$CXXCPP $CPPFLAGS'
8636 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8637 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8638 cross_compiling=$ac_cv_prog_cxx_cross
8640 cat > conftest.$ac_ext <<EOF
8641 #line 8642 "configure"
8642 #include "confdefs.h"
8644 #ifdef HAVE_IEEEFP_H
8652 if { (eval echo configure:8653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8654 glibcpp_cv_func__fabsf_use=yes
8656 echo "configure: failed program was:" >&5
8657 cat conftest.$ac_ext >&5
8659 glibcpp_cv_func__fabsf_use=no
8663 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8664 ac_cpp='$CPP $CPPFLAGS'
8665 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8666 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8667 cross_compiling=$ac_cv_prog_cc_cross
8673 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
8675 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
8676 for ac_func in _fabsf
8678 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8679 echo "configure:8680: checking for $ac_func" >&5
8680 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8681 echo $ac_n "(cached) $ac_c" 1>&6
8683 cat > conftest.$ac_ext <<EOF
8684 #line 8685 "configure"
8685 #include "confdefs.h"
8686 /* System header to define __stub macros and hopefully few prototypes,
8687 which can conflict with char $ac_func(); below. */
8689 /* Override any gcc2 internal prototype to avoid an error. */
8690 /* We use char because int might match the return type of a gcc2
8691 builtin and then its argument prototype would still apply. */
8696 /* The GNU C library defines this for functions which it implements
8697 to always fail with ENOSYS. Some functions are actually named
8698 something starting with __ and the normal name is an alias. */
8699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8707 if { (eval echo configure:8708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8709 eval "ac_cv_func_$ac_func=yes"
8711 echo "configure: failed program was:" >&5
8712 cat conftest.$ac_ext >&5
8714 eval "ac_cv_func_$ac_func=no"
8719 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8720 echo "$ac_t""yes" 1>&6
8721 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8722 cat >> confdefs.h <<EOF
8723 #define $ac_tr_func 1
8727 echo "$ac_t""no" 1>&6
8736 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
8737 echo "configure:8738: checking for fmodf declaration" >&5
8738 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
8739 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
8740 echo $ac_n "(cached) $ac_c" 1>&6
8745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8746 ac_cpp='$CXXCPP $CPPFLAGS'
8747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8749 cross_compiling=$ac_cv_prog_cxx_cross
8751 cat > conftest.$ac_ext <<EOF
8752 #line 8753 "configure"
8753 #include "confdefs.h"
8759 if { (eval echo configure:8760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8761 glibcpp_cv_func_fmodf_use=yes
8763 echo "configure: failed program was:" >&5
8764 cat conftest.$ac_ext >&5
8766 glibcpp_cv_func_fmodf_use=no
8770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8771 ac_cpp='$CPP $CPPFLAGS'
8772 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8773 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8774 cross_compiling=$ac_cv_prog_cc_cross
8780 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
8782 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
8783 for ac_func in fmodf
8785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8786 echo "configure:8787: checking for $ac_func" >&5
8787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8788 echo $ac_n "(cached) $ac_c" 1>&6
8790 cat > conftest.$ac_ext <<EOF
8791 #line 8792 "configure"
8792 #include "confdefs.h"
8793 /* System header to define __stub macros and hopefully few prototypes,
8794 which can conflict with char $ac_func(); below. */
8796 /* Override any gcc2 internal prototype to avoid an error. */
8797 /* We use char because int might match the return type of a gcc2
8798 builtin and then its argument prototype would still apply. */
8803 /* The GNU C library defines this for functions which it implements
8804 to always fail with ENOSYS. Some functions are actually named
8805 something starting with __ and the normal name is an alias. */
8806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8814 if { (eval echo configure:8815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8816 eval "ac_cv_func_$ac_func=yes"
8818 echo "configure: failed program was:" >&5
8819 cat conftest.$ac_ext >&5
8821 eval "ac_cv_func_$ac_func=no"
8826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8827 echo "$ac_t""yes" 1>&6
8828 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8829 cat >> confdefs.h <<EOF
8830 #define $ac_tr_func 1
8834 echo "$ac_t""no" 1>&6
8840 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
8841 echo "configure:8842: checking for _fmodf declaration" >&5
8842 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
8843 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
8844 echo $ac_n "(cached) $ac_c" 1>&6
8849 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8850 ac_cpp='$CXXCPP $CPPFLAGS'
8851 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8852 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8853 cross_compiling=$ac_cv_prog_cxx_cross
8855 cat > conftest.$ac_ext <<EOF
8856 #line 8857 "configure"
8857 #include "confdefs.h"
8863 if { (eval echo configure:8864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8865 glibcpp_cv_func__fmodf_use=yes
8867 echo "configure: failed program was:" >&5
8868 cat conftest.$ac_ext >&5
8870 glibcpp_cv_func__fmodf_use=no
8874 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8875 ac_cpp='$CPP $CPPFLAGS'
8876 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8877 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8878 cross_compiling=$ac_cv_prog_cc_cross
8884 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
8886 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
8887 for ac_func in _fmodf
8889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8890 echo "configure:8891: checking for $ac_func" >&5
8891 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8892 echo $ac_n "(cached) $ac_c" 1>&6
8894 cat > conftest.$ac_ext <<EOF
8895 #line 8896 "configure"
8896 #include "confdefs.h"
8897 /* System header to define __stub macros and hopefully few prototypes,
8898 which can conflict with char $ac_func(); below. */
8900 /* Override any gcc2 internal prototype to avoid an error. */
8901 /* We use char because int might match the return type of a gcc2
8902 builtin and then its argument prototype would still apply. */
8907 /* The GNU C library defines this for functions which it implements
8908 to always fail with ENOSYS. Some functions are actually named
8909 something starting with __ and the normal name is an alias. */
8910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8918 if { (eval echo configure:8919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8920 eval "ac_cv_func_$ac_func=yes"
8922 echo "configure: failed program was:" >&5
8923 cat conftest.$ac_ext >&5
8925 eval "ac_cv_func_$ac_func=no"
8930 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8931 echo "$ac_t""yes" 1>&6
8932 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8933 cat >> confdefs.h <<EOF
8934 #define $ac_tr_func 1
8938 echo "$ac_t""no" 1>&6
8947 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
8948 echo "configure:8949: checking for frexpf declaration" >&5
8949 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
8950 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
8951 echo $ac_n "(cached) $ac_c" 1>&6
8956 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8957 ac_cpp='$CXXCPP $CPPFLAGS'
8958 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8959 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8960 cross_compiling=$ac_cv_prog_cxx_cross
8962 cat > conftest.$ac_ext <<EOF
8963 #line 8964 "configure"
8964 #include "confdefs.h"
8970 if { (eval echo configure:8971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8972 glibcpp_cv_func_frexpf_use=yes
8974 echo "configure: failed program was:" >&5
8975 cat conftest.$ac_ext >&5
8977 glibcpp_cv_func_frexpf_use=no
8981 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8982 ac_cpp='$CPP $CPPFLAGS'
8983 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8984 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8985 cross_compiling=$ac_cv_prog_cc_cross
8991 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
8993 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
8994 for ac_func in frexpf
8996 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8997 echo "configure:8998: checking for $ac_func" >&5
8998 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8999 echo $ac_n "(cached) $ac_c" 1>&6
9001 cat > conftest.$ac_ext <<EOF
9002 #line 9003 "configure"
9003 #include "confdefs.h"
9004 /* System header to define __stub macros and hopefully few prototypes,
9005 which can conflict with char $ac_func(); below. */
9007 /* Override any gcc2 internal prototype to avoid an error. */
9008 /* We use char because int might match the return type of a gcc2
9009 builtin and then its argument prototype would still apply. */
9014 /* The GNU C library defines this for functions which it implements
9015 to always fail with ENOSYS. Some functions are actually named
9016 something starting with __ and the normal name is an alias. */
9017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9025 if { (eval echo configure:9026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9027 eval "ac_cv_func_$ac_func=yes"
9029 echo "configure: failed program was:" >&5
9030 cat conftest.$ac_ext >&5
9032 eval "ac_cv_func_$ac_func=no"
9037 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9038 echo "$ac_t""yes" 1>&6
9039 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9040 cat >> confdefs.h <<EOF
9041 #define $ac_tr_func 1
9045 echo "$ac_t""no" 1>&6
9051 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
9052 echo "configure:9053: checking for _frexpf declaration" >&5
9053 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
9054 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9055 echo $ac_n "(cached) $ac_c" 1>&6
9060 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9061 ac_cpp='$CXXCPP $CPPFLAGS'
9062 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9063 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9064 cross_compiling=$ac_cv_prog_cxx_cross
9066 cat > conftest.$ac_ext <<EOF
9067 #line 9068 "configure"
9068 #include "confdefs.h"
9074 if { (eval echo configure:9075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9076 glibcpp_cv_func__frexpf_use=yes
9078 echo "configure: failed program was:" >&5
9079 cat conftest.$ac_ext >&5
9081 glibcpp_cv_func__frexpf_use=no
9085 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9086 ac_cpp='$CPP $CPPFLAGS'
9087 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9088 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9089 cross_compiling=$ac_cv_prog_cc_cross
9095 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9097 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
9098 for ac_func in _frexpf
9100 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9101 echo "configure:9102: checking for $ac_func" >&5
9102 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9103 echo $ac_n "(cached) $ac_c" 1>&6
9105 cat > conftest.$ac_ext <<EOF
9106 #line 9107 "configure"
9107 #include "confdefs.h"
9108 /* System header to define __stub macros and hopefully few prototypes,
9109 which can conflict with char $ac_func(); below. */
9111 /* Override any gcc2 internal prototype to avoid an error. */
9112 /* We use char because int might match the return type of a gcc2
9113 builtin and then its argument prototype would still apply. */
9118 /* The GNU C library defines this for functions which it implements
9119 to always fail with ENOSYS. Some functions are actually named
9120 something starting with __ and the normal name is an alias. */
9121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9129 if { (eval echo configure:9130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9131 eval "ac_cv_func_$ac_func=yes"
9133 echo "configure: failed program was:" >&5
9134 cat conftest.$ac_ext >&5
9136 eval "ac_cv_func_$ac_func=no"
9141 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9142 echo "$ac_t""yes" 1>&6
9143 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9144 cat >> confdefs.h <<EOF
9145 #define $ac_tr_func 1
9149 echo "$ac_t""no" 1>&6
9158 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
9159 echo "configure:9160: checking for ldexpf declaration" >&5
9160 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
9161 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
9162 echo $ac_n "(cached) $ac_c" 1>&6
9167 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9168 ac_cpp='$CXXCPP $CPPFLAGS'
9169 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9170 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9171 cross_compiling=$ac_cv_prog_cxx_cross
9173 cat > conftest.$ac_ext <<EOF
9174 #line 9175 "configure"
9175 #include "confdefs.h"
9181 if { (eval echo configure:9182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9183 glibcpp_cv_func_ldexpf_use=yes
9185 echo "configure: failed program was:" >&5
9186 cat conftest.$ac_ext >&5
9188 glibcpp_cv_func_ldexpf_use=no
9192 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9193 ac_cpp='$CPP $CPPFLAGS'
9194 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9195 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9196 cross_compiling=$ac_cv_prog_cc_cross
9202 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
9204 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
9205 for ac_func in ldexpf
9207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9208 echo "configure:9209: checking for $ac_func" >&5
9209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9210 echo $ac_n "(cached) $ac_c" 1>&6
9212 cat > conftest.$ac_ext <<EOF
9213 #line 9214 "configure"
9214 #include "confdefs.h"
9215 /* System header to define __stub macros and hopefully few prototypes,
9216 which can conflict with char $ac_func(); below. */
9218 /* Override any gcc2 internal prototype to avoid an error. */
9219 /* We use char because int might match the return type of a gcc2
9220 builtin and then its argument prototype would still apply. */
9225 /* The GNU C library defines this for functions which it implements
9226 to always fail with ENOSYS. Some functions are actually named
9227 something starting with __ and the normal name is an alias. */
9228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9236 if { (eval echo configure:9237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9238 eval "ac_cv_func_$ac_func=yes"
9240 echo "configure: failed program was:" >&5
9241 cat conftest.$ac_ext >&5
9243 eval "ac_cv_func_$ac_func=no"
9248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9249 echo "$ac_t""yes" 1>&6
9250 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9251 cat >> confdefs.h <<EOF
9252 #define $ac_tr_func 1
9256 echo "$ac_t""no" 1>&6
9262 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
9263 echo "configure:9264: checking for _ldexpf declaration" >&5
9264 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
9265 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9266 echo $ac_n "(cached) $ac_c" 1>&6
9271 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9272 ac_cpp='$CXXCPP $CPPFLAGS'
9273 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9274 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9275 cross_compiling=$ac_cv_prog_cxx_cross
9277 cat > conftest.$ac_ext <<EOF
9278 #line 9279 "configure"
9279 #include "confdefs.h"
9285 if { (eval echo configure:9286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9287 glibcpp_cv_func__ldexpf_use=yes
9289 echo "configure: failed program was:" >&5
9290 cat conftest.$ac_ext >&5
9292 glibcpp_cv_func__ldexpf_use=no
9296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9297 ac_cpp='$CPP $CPPFLAGS'
9298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9300 cross_compiling=$ac_cv_prog_cc_cross
9306 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
9308 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
9309 for ac_func in _ldexpf
9311 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9312 echo "configure:9313: checking for $ac_func" >&5
9313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9314 echo $ac_n "(cached) $ac_c" 1>&6
9316 cat > conftest.$ac_ext <<EOF
9317 #line 9318 "configure"
9318 #include "confdefs.h"
9319 /* System header to define __stub macros and hopefully few prototypes,
9320 which can conflict with char $ac_func(); below. */
9322 /* Override any gcc2 internal prototype to avoid an error. */
9323 /* We use char because int might match the return type of a gcc2
9324 builtin and then its argument prototype would still apply. */
9329 /* The GNU C library defines this for functions which it implements
9330 to always fail with ENOSYS. Some functions are actually named
9331 something starting with __ and the normal name is an alias. */
9332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9340 if { (eval echo configure:9341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9342 eval "ac_cv_func_$ac_func=yes"
9344 echo "configure: failed program was:" >&5
9345 cat conftest.$ac_ext >&5
9347 eval "ac_cv_func_$ac_func=no"
9352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9353 echo "$ac_t""yes" 1>&6
9354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9355 cat >> confdefs.h <<EOF
9356 #define $ac_tr_func 1
9360 echo "$ac_t""no" 1>&6
9369 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
9370 echo "configure:9371: checking for logf declaration" >&5
9371 if test x${glibcpp_cv_func_logf_use+set} != xset; then
9372 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
9373 echo $ac_n "(cached) $ac_c" 1>&6
9378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9379 ac_cpp='$CXXCPP $CPPFLAGS'
9380 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9381 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9382 cross_compiling=$ac_cv_prog_cxx_cross
9384 cat > conftest.$ac_ext <<EOF
9385 #line 9386 "configure"
9386 #include "confdefs.h"
9388 #ifdef HAVE_IEEEFP_H
9396 if { (eval echo configure:9397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9398 glibcpp_cv_func_logf_use=yes
9400 echo "configure: failed program was:" >&5
9401 cat conftest.$ac_ext >&5
9403 glibcpp_cv_func_logf_use=no
9407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9408 ac_cpp='$CPP $CPPFLAGS'
9409 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9410 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9411 cross_compiling=$ac_cv_prog_cc_cross
9417 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
9419 if test x$glibcpp_cv_func_logf_use = x"yes"; then
9422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9423 echo "configure:9424: checking for $ac_func" >&5
9424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9425 echo $ac_n "(cached) $ac_c" 1>&6
9427 cat > conftest.$ac_ext <<EOF
9428 #line 9429 "configure"
9429 #include "confdefs.h"
9430 /* System header to define __stub macros and hopefully few prototypes,
9431 which can conflict with char $ac_func(); below. */
9433 /* Override any gcc2 internal prototype to avoid an error. */
9434 /* We use char because int might match the return type of a gcc2
9435 builtin and then its argument prototype would still apply. */
9440 /* The GNU C library defines this for functions which it implements
9441 to always fail with ENOSYS. Some functions are actually named
9442 something starting with __ and the normal name is an alias. */
9443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9451 if { (eval echo configure:9452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9453 eval "ac_cv_func_$ac_func=yes"
9455 echo "configure: failed program was:" >&5
9456 cat conftest.$ac_ext >&5
9458 eval "ac_cv_func_$ac_func=no"
9463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9464 echo "$ac_t""yes" 1>&6
9465 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9466 cat >> confdefs.h <<EOF
9467 #define $ac_tr_func 1
9471 echo "$ac_t""no" 1>&6
9477 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
9478 echo "configure:9479: checking for _logf declaration" >&5
9479 if test x${glibcpp_cv_func__logf_use+set} != xset; then
9480 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
9481 echo $ac_n "(cached) $ac_c" 1>&6
9486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9487 ac_cpp='$CXXCPP $CPPFLAGS'
9488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9490 cross_compiling=$ac_cv_prog_cxx_cross
9492 cat > conftest.$ac_ext <<EOF
9493 #line 9494 "configure"
9494 #include "confdefs.h"
9496 #ifdef HAVE_IEEEFP_H
9504 if { (eval echo configure:9505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9506 glibcpp_cv_func__logf_use=yes
9508 echo "configure: failed program was:" >&5
9509 cat conftest.$ac_ext >&5
9511 glibcpp_cv_func__logf_use=no
9515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9516 ac_cpp='$CPP $CPPFLAGS'
9517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9519 cross_compiling=$ac_cv_prog_cc_cross
9525 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
9527 if test x$glibcpp_cv_func__logf_use = x"yes"; then
9528 for ac_func in _logf
9530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9531 echo "configure:9532: checking for $ac_func" >&5
9532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9533 echo $ac_n "(cached) $ac_c" 1>&6
9535 cat > conftest.$ac_ext <<EOF
9536 #line 9537 "configure"
9537 #include "confdefs.h"
9538 /* System header to define __stub macros and hopefully few prototypes,
9539 which can conflict with char $ac_func(); below. */
9541 /* Override any gcc2 internal prototype to avoid an error. */
9542 /* We use char because int might match the return type of a gcc2
9543 builtin and then its argument prototype would still apply. */
9548 /* The GNU C library defines this for functions which it implements
9549 to always fail with ENOSYS. Some functions are actually named
9550 something starting with __ and the normal name is an alias. */
9551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9559 if { (eval echo configure:9560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9561 eval "ac_cv_func_$ac_func=yes"
9563 echo "configure: failed program was:" >&5
9564 cat conftest.$ac_ext >&5
9566 eval "ac_cv_func_$ac_func=no"
9571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9572 echo "$ac_t""yes" 1>&6
9573 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9574 cat >> confdefs.h <<EOF
9575 #define $ac_tr_func 1
9579 echo "$ac_t""no" 1>&6
9588 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
9589 echo "configure:9590: checking for log10f declaration" >&5
9590 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
9591 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
9592 echo $ac_n "(cached) $ac_c" 1>&6
9597 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9598 ac_cpp='$CXXCPP $CPPFLAGS'
9599 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9600 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9601 cross_compiling=$ac_cv_prog_cxx_cross
9603 cat > conftest.$ac_ext <<EOF
9604 #line 9605 "configure"
9605 #include "confdefs.h"
9607 #ifdef HAVE_IEEEFP_H
9615 if { (eval echo configure:9616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9617 glibcpp_cv_func_log10f_use=yes
9619 echo "configure: failed program was:" >&5
9620 cat conftest.$ac_ext >&5
9622 glibcpp_cv_func_log10f_use=no
9626 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9627 ac_cpp='$CPP $CPPFLAGS'
9628 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9629 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9630 cross_compiling=$ac_cv_prog_cc_cross
9636 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
9638 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
9639 for ac_func in log10f
9641 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9642 echo "configure:9643: checking for $ac_func" >&5
9643 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9644 echo $ac_n "(cached) $ac_c" 1>&6
9646 cat > conftest.$ac_ext <<EOF
9647 #line 9648 "configure"
9648 #include "confdefs.h"
9649 /* System header to define __stub macros and hopefully few prototypes,
9650 which can conflict with char $ac_func(); below. */
9652 /* Override any gcc2 internal prototype to avoid an error. */
9653 /* We use char because int might match the return type of a gcc2
9654 builtin and then its argument prototype would still apply. */
9659 /* The GNU C library defines this for functions which it implements
9660 to always fail with ENOSYS. Some functions are actually named
9661 something starting with __ and the normal name is an alias. */
9662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9670 if { (eval echo configure:9671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9672 eval "ac_cv_func_$ac_func=yes"
9674 echo "configure: failed program was:" >&5
9675 cat conftest.$ac_ext >&5
9677 eval "ac_cv_func_$ac_func=no"
9682 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9683 echo "$ac_t""yes" 1>&6
9684 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9685 cat >> confdefs.h <<EOF
9686 #define $ac_tr_func 1
9690 echo "$ac_t""no" 1>&6
9696 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
9697 echo "configure:9698: checking for _log10f declaration" >&5
9698 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
9699 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
9700 echo $ac_n "(cached) $ac_c" 1>&6
9705 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9706 ac_cpp='$CXXCPP $CPPFLAGS'
9707 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9708 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9709 cross_compiling=$ac_cv_prog_cxx_cross
9711 cat > conftest.$ac_ext <<EOF
9712 #line 9713 "configure"
9713 #include "confdefs.h"
9715 #ifdef HAVE_IEEEFP_H
9723 if { (eval echo configure:9724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9725 glibcpp_cv_func__log10f_use=yes
9727 echo "configure: failed program was:" >&5
9728 cat conftest.$ac_ext >&5
9730 glibcpp_cv_func__log10f_use=no
9734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9735 ac_cpp='$CPP $CPPFLAGS'
9736 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9737 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9738 cross_compiling=$ac_cv_prog_cc_cross
9744 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
9746 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
9747 for ac_func in _log10f
9749 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9750 echo "configure:9751: checking for $ac_func" >&5
9751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9752 echo $ac_n "(cached) $ac_c" 1>&6
9754 cat > conftest.$ac_ext <<EOF
9755 #line 9756 "configure"
9756 #include "confdefs.h"
9757 /* System header to define __stub macros and hopefully few prototypes,
9758 which can conflict with char $ac_func(); below. */
9760 /* Override any gcc2 internal prototype to avoid an error. */
9761 /* We use char because int might match the return type of a gcc2
9762 builtin and then its argument prototype would still apply. */
9767 /* The GNU C library defines this for functions which it implements
9768 to always fail with ENOSYS. Some functions are actually named
9769 something starting with __ and the normal name is an alias. */
9770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9778 if { (eval echo configure:9779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9780 eval "ac_cv_func_$ac_func=yes"
9782 echo "configure: failed program was:" >&5
9783 cat conftest.$ac_ext >&5
9785 eval "ac_cv_func_$ac_func=no"
9790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9791 echo "$ac_t""yes" 1>&6
9792 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9793 cat >> confdefs.h <<EOF
9794 #define $ac_tr_func 1
9798 echo "$ac_t""no" 1>&6
9807 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
9808 echo "configure:9809: checking for modff declaration" >&5
9809 if test x${glibcpp_cv_func_modff_use+set} != xset; then
9810 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
9811 echo $ac_n "(cached) $ac_c" 1>&6
9816 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9817 ac_cpp='$CXXCPP $CPPFLAGS'
9818 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9819 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9820 cross_compiling=$ac_cv_prog_cxx_cross
9822 cat > conftest.$ac_ext <<EOF
9823 #line 9824 "configure"
9824 #include "confdefs.h"
9830 if { (eval echo configure:9831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9832 glibcpp_cv_func_modff_use=yes
9834 echo "configure: failed program was:" >&5
9835 cat conftest.$ac_ext >&5
9837 glibcpp_cv_func_modff_use=no
9841 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9842 ac_cpp='$CPP $CPPFLAGS'
9843 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9844 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9845 cross_compiling=$ac_cv_prog_cc_cross
9851 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
9853 if test x$glibcpp_cv_func_modff_use = x"yes"; then
9854 for ac_func in modff
9856 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9857 echo "configure:9858: checking for $ac_func" >&5
9858 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9859 echo $ac_n "(cached) $ac_c" 1>&6
9861 cat > conftest.$ac_ext <<EOF
9862 #line 9863 "configure"
9863 #include "confdefs.h"
9864 /* System header to define __stub macros and hopefully few prototypes,
9865 which can conflict with char $ac_func(); below. */
9867 /* Override any gcc2 internal prototype to avoid an error. */
9868 /* We use char because int might match the return type of a gcc2
9869 builtin and then its argument prototype would still apply. */
9874 /* The GNU C library defines this for functions which it implements
9875 to always fail with ENOSYS. Some functions are actually named
9876 something starting with __ and the normal name is an alias. */
9877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9885 if { (eval echo configure:9886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9887 eval "ac_cv_func_$ac_func=yes"
9889 echo "configure: failed program was:" >&5
9890 cat conftest.$ac_ext >&5
9892 eval "ac_cv_func_$ac_func=no"
9897 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9898 echo "$ac_t""yes" 1>&6
9899 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9900 cat >> confdefs.h <<EOF
9901 #define $ac_tr_func 1
9905 echo "$ac_t""no" 1>&6
9911 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
9912 echo "configure:9913: checking for _modff declaration" >&5
9913 if test x${glibcpp_cv_func__modff_use+set} != xset; then
9914 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
9915 echo $ac_n "(cached) $ac_c" 1>&6
9920 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9921 ac_cpp='$CXXCPP $CPPFLAGS'
9922 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9923 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9924 cross_compiling=$ac_cv_prog_cxx_cross
9926 cat > conftest.$ac_ext <<EOF
9927 #line 9928 "configure"
9928 #include "confdefs.h"
9934 if { (eval echo configure:9935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9936 glibcpp_cv_func__modff_use=yes
9938 echo "configure: failed program was:" >&5
9939 cat conftest.$ac_ext >&5
9941 glibcpp_cv_func__modff_use=no
9945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9946 ac_cpp='$CPP $CPPFLAGS'
9947 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9948 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9949 cross_compiling=$ac_cv_prog_cc_cross
9955 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
9957 if test x$glibcpp_cv_func__modff_use = x"yes"; then
9958 for ac_func in _modff
9960 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9961 echo "configure:9962: checking for $ac_func" >&5
9962 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9963 echo $ac_n "(cached) $ac_c" 1>&6
9965 cat > conftest.$ac_ext <<EOF
9966 #line 9967 "configure"
9967 #include "confdefs.h"
9968 /* System header to define __stub macros and hopefully few prototypes,
9969 which can conflict with char $ac_func(); below. */
9971 /* Override any gcc2 internal prototype to avoid an error. */
9972 /* We use char because int might match the return type of a gcc2
9973 builtin and then its argument prototype would still apply. */
9978 /* The GNU C library defines this for functions which it implements
9979 to always fail with ENOSYS. Some functions are actually named
9980 something starting with __ and the normal name is an alias. */
9981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9989 if { (eval echo configure:9990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9991 eval "ac_cv_func_$ac_func=yes"
9993 echo "configure: failed program was:" >&5
9994 cat conftest.$ac_ext >&5
9996 eval "ac_cv_func_$ac_func=no"
10001 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10002 echo "$ac_t""yes" 1>&6
10003 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10004 cat >> confdefs.h <<EOF
10005 #define $ac_tr_func 1
10009 echo "$ac_t""no" 1>&6
10018 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
10019 echo "configure:10020: checking for powf declaration" >&5
10020 if test x${glibcpp_cv_func_powf_use+set} != xset; then
10021 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10022 echo $ac_n "(cached) $ac_c" 1>&6
10027 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10028 ac_cpp='$CXXCPP $CPPFLAGS'
10029 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10030 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10031 cross_compiling=$ac_cv_prog_cxx_cross
10033 cat > conftest.$ac_ext <<EOF
10034 #line 10035 "configure"
10035 #include "confdefs.h"
10041 if { (eval echo configure:10042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10043 glibcpp_cv_func_powf_use=yes
10045 echo "configure: failed program was:" >&5
10046 cat conftest.$ac_ext >&5
10048 glibcpp_cv_func_powf_use=no
10052 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10053 ac_cpp='$CPP $CPPFLAGS'
10054 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10055 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10056 cross_compiling=$ac_cv_prog_cc_cross
10062 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10064 if test x$glibcpp_cv_func_powf_use = x"yes"; then
10065 for ac_func in powf
10067 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10068 echo "configure:10069: checking for $ac_func" >&5
10069 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10070 echo $ac_n "(cached) $ac_c" 1>&6
10072 cat > conftest.$ac_ext <<EOF
10073 #line 10074 "configure"
10074 #include "confdefs.h"
10075 /* System header to define __stub macros and hopefully few prototypes,
10076 which can conflict with char $ac_func(); below. */
10077 #include <assert.h>
10078 /* Override any gcc2 internal prototype to avoid an error. */
10079 /* We use char because int might match the return type of a gcc2
10080 builtin and then its argument prototype would still apply. */
10085 /* The GNU C library defines this for functions which it implements
10086 to always fail with ENOSYS. Some functions are actually named
10087 something starting with __ and the normal name is an alias. */
10088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10096 if { (eval echo configure:10097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10098 eval "ac_cv_func_$ac_func=yes"
10100 echo "configure: failed program was:" >&5
10101 cat conftest.$ac_ext >&5
10103 eval "ac_cv_func_$ac_func=no"
10108 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10109 echo "$ac_t""yes" 1>&6
10110 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10111 cat >> confdefs.h <<EOF
10112 #define $ac_tr_func 1
10116 echo "$ac_t""no" 1>&6
10122 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
10123 echo "configure:10124: checking for _powf declaration" >&5
10124 if test x${glibcpp_cv_func__powf_use+set} != xset; then
10125 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10126 echo $ac_n "(cached) $ac_c" 1>&6
10131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10132 ac_cpp='$CXXCPP $CPPFLAGS'
10133 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10134 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10135 cross_compiling=$ac_cv_prog_cxx_cross
10137 cat > conftest.$ac_ext <<EOF
10138 #line 10139 "configure"
10139 #include "confdefs.h"
10145 if { (eval echo configure:10146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10147 glibcpp_cv_func__powf_use=yes
10149 echo "configure: failed program was:" >&5
10150 cat conftest.$ac_ext >&5
10152 glibcpp_cv_func__powf_use=no
10156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10157 ac_cpp='$CPP $CPPFLAGS'
10158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10160 cross_compiling=$ac_cv_prog_cc_cross
10166 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
10168 if test x$glibcpp_cv_func__powf_use = x"yes"; then
10169 for ac_func in _powf
10171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10172 echo "configure:10173: checking for $ac_func" >&5
10173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10174 echo $ac_n "(cached) $ac_c" 1>&6
10176 cat > conftest.$ac_ext <<EOF
10177 #line 10178 "configure"
10178 #include "confdefs.h"
10179 /* System header to define __stub macros and hopefully few prototypes,
10180 which can conflict with char $ac_func(); below. */
10181 #include <assert.h>
10182 /* Override any gcc2 internal prototype to avoid an error. */
10183 /* We use char because int might match the return type of a gcc2
10184 builtin and then its argument prototype would still apply. */
10189 /* The GNU C library defines this for functions which it implements
10190 to always fail with ENOSYS. Some functions are actually named
10191 something starting with __ and the normal name is an alias. */
10192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10200 if { (eval echo configure:10201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10202 eval "ac_cv_func_$ac_func=yes"
10204 echo "configure: failed program was:" >&5
10205 cat conftest.$ac_ext >&5
10207 eval "ac_cv_func_$ac_func=no"
10212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10213 echo "$ac_t""yes" 1>&6
10214 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10215 cat >> confdefs.h <<EOF
10216 #define $ac_tr_func 1
10220 echo "$ac_t""no" 1>&6
10229 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
10230 echo "configure:10231: checking for sqrtf declaration" >&5
10231 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
10232 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10233 echo $ac_n "(cached) $ac_c" 1>&6
10238 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10239 ac_cpp='$CXXCPP $CPPFLAGS'
10240 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10241 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10242 cross_compiling=$ac_cv_prog_cxx_cross
10244 cat > conftest.$ac_ext <<EOF
10245 #line 10246 "configure"
10246 #include "confdefs.h"
10248 #ifdef HAVE_IEEEFP_H
10249 #include <ieeefp.h>
10256 if { (eval echo configure:10257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10258 glibcpp_cv_func_sqrtf_use=yes
10260 echo "configure: failed program was:" >&5
10261 cat conftest.$ac_ext >&5
10263 glibcpp_cv_func_sqrtf_use=no
10267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10268 ac_cpp='$CPP $CPPFLAGS'
10269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10271 cross_compiling=$ac_cv_prog_cc_cross
10277 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10279 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
10280 for ac_func in sqrtf
10282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10283 echo "configure:10284: checking for $ac_func" >&5
10284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10285 echo $ac_n "(cached) $ac_c" 1>&6
10287 cat > conftest.$ac_ext <<EOF
10288 #line 10289 "configure"
10289 #include "confdefs.h"
10290 /* System header to define __stub macros and hopefully few prototypes,
10291 which can conflict with char $ac_func(); below. */
10292 #include <assert.h>
10293 /* Override any gcc2 internal prototype to avoid an error. */
10294 /* We use char because int might match the return type of a gcc2
10295 builtin and then its argument prototype would still apply. */
10300 /* The GNU C library defines this for functions which it implements
10301 to always fail with ENOSYS. Some functions are actually named
10302 something starting with __ and the normal name is an alias. */
10303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10311 if { (eval echo configure:10312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10313 eval "ac_cv_func_$ac_func=yes"
10315 echo "configure: failed program was:" >&5
10316 cat conftest.$ac_ext >&5
10318 eval "ac_cv_func_$ac_func=no"
10323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10324 echo "$ac_t""yes" 1>&6
10325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10326 cat >> confdefs.h <<EOF
10327 #define $ac_tr_func 1
10331 echo "$ac_t""no" 1>&6
10337 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
10338 echo "configure:10339: checking for _sqrtf declaration" >&5
10339 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
10340 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
10341 echo $ac_n "(cached) $ac_c" 1>&6
10346 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10347 ac_cpp='$CXXCPP $CPPFLAGS'
10348 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10349 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10350 cross_compiling=$ac_cv_prog_cxx_cross
10352 cat > conftest.$ac_ext <<EOF
10353 #line 10354 "configure"
10354 #include "confdefs.h"
10356 #ifdef HAVE_IEEEFP_H
10357 #include <ieeefp.h>
10364 if { (eval echo configure:10365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10366 glibcpp_cv_func__sqrtf_use=yes
10368 echo "configure: failed program was:" >&5
10369 cat conftest.$ac_ext >&5
10371 glibcpp_cv_func__sqrtf_use=no
10375 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10376 ac_cpp='$CPP $CPPFLAGS'
10377 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10378 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10379 cross_compiling=$ac_cv_prog_cc_cross
10385 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
10387 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
10388 for ac_func in _sqrtf
10390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10391 echo "configure:10392: checking for $ac_func" >&5
10392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10393 echo $ac_n "(cached) $ac_c" 1>&6
10395 cat > conftest.$ac_ext <<EOF
10396 #line 10397 "configure"
10397 #include "confdefs.h"
10398 /* System header to define __stub macros and hopefully few prototypes,
10399 which can conflict with char $ac_func(); below. */
10400 #include <assert.h>
10401 /* Override any gcc2 internal prototype to avoid an error. */
10402 /* We use char because int might match the return type of a gcc2
10403 builtin and then its argument prototype would still apply. */
10408 /* The GNU C library defines this for functions which it implements
10409 to always fail with ENOSYS. Some functions are actually named
10410 something starting with __ and the normal name is an alias. */
10411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10419 if { (eval echo configure:10420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10421 eval "ac_cv_func_$ac_func=yes"
10423 echo "configure: failed program was:" >&5
10424 cat conftest.$ac_ext >&5
10426 eval "ac_cv_func_$ac_func=no"
10431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10432 echo "$ac_t""yes" 1>&6
10433 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10434 cat >> confdefs.h <<EOF
10435 #define $ac_tr_func 1
10439 echo "$ac_t""no" 1>&6
10448 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
10449 echo "configure:10450: checking for sincosf declaration" >&5
10450 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
10451 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
10452 echo $ac_n "(cached) $ac_c" 1>&6
10457 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10458 ac_cpp='$CXXCPP $CPPFLAGS'
10459 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10460 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10461 cross_compiling=$ac_cv_prog_cxx_cross
10463 cat > conftest.$ac_ext <<EOF
10464 #line 10465 "configure"
10465 #include "confdefs.h"
10471 if { (eval echo configure:10472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10473 glibcpp_cv_func_sincosf_use=yes
10475 echo "configure: failed program was:" >&5
10476 cat conftest.$ac_ext >&5
10478 glibcpp_cv_func_sincosf_use=no
10482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10483 ac_cpp='$CPP $CPPFLAGS'
10484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10486 cross_compiling=$ac_cv_prog_cc_cross
10492 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
10494 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
10495 for ac_func in sincosf
10497 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10498 echo "configure:10499: checking for $ac_func" >&5
10499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10500 echo $ac_n "(cached) $ac_c" 1>&6
10502 cat > conftest.$ac_ext <<EOF
10503 #line 10504 "configure"
10504 #include "confdefs.h"
10505 /* System header to define __stub macros and hopefully few prototypes,
10506 which can conflict with char $ac_func(); below. */
10507 #include <assert.h>
10508 /* Override any gcc2 internal prototype to avoid an error. */
10509 /* We use char because int might match the return type of a gcc2
10510 builtin and then its argument prototype would still apply. */
10515 /* The GNU C library defines this for functions which it implements
10516 to always fail with ENOSYS. Some functions are actually named
10517 something starting with __ and the normal name is an alias. */
10518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10526 if { (eval echo configure:10527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10528 eval "ac_cv_func_$ac_func=yes"
10530 echo "configure: failed program was:" >&5
10531 cat conftest.$ac_ext >&5
10533 eval "ac_cv_func_$ac_func=no"
10538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10539 echo "$ac_t""yes" 1>&6
10540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10541 cat >> confdefs.h <<EOF
10542 #define $ac_tr_func 1
10546 echo "$ac_t""no" 1>&6
10552 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
10553 echo "configure:10554: checking for _sincosf declaration" >&5
10554 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
10555 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
10556 echo $ac_n "(cached) $ac_c" 1>&6
10561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10562 ac_cpp='$CXXCPP $CPPFLAGS'
10563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10565 cross_compiling=$ac_cv_prog_cxx_cross
10567 cat > conftest.$ac_ext <<EOF
10568 #line 10569 "configure"
10569 #include "confdefs.h"
10575 if { (eval echo configure:10576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10577 glibcpp_cv_func__sincosf_use=yes
10579 echo "configure: failed program was:" >&5
10580 cat conftest.$ac_ext >&5
10582 glibcpp_cv_func__sincosf_use=no
10586 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10587 ac_cpp='$CPP $CPPFLAGS'
10588 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10589 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10590 cross_compiling=$ac_cv_prog_cc_cross
10596 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
10598 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
10599 for ac_func in _sincosf
10601 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10602 echo "configure:10603: checking for $ac_func" >&5
10603 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10604 echo $ac_n "(cached) $ac_c" 1>&6
10606 cat > conftest.$ac_ext <<EOF
10607 #line 10608 "configure"
10608 #include "confdefs.h"
10609 /* System header to define __stub macros and hopefully few prototypes,
10610 which can conflict with char $ac_func(); below. */
10611 #include <assert.h>
10612 /* Override any gcc2 internal prototype to avoid an error. */
10613 /* We use char because int might match the return type of a gcc2
10614 builtin and then its argument prototype would still apply. */
10619 /* The GNU C library defines this for functions which it implements
10620 to always fail with ENOSYS. Some functions are actually named
10621 something starting with __ and the normal name is an alias. */
10622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10630 if { (eval echo configure:10631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10632 eval "ac_cv_func_$ac_func=yes"
10634 echo "configure: failed program was:" >&5
10635 cat conftest.$ac_ext >&5
10637 eval "ac_cv_func_$ac_func=no"
10642 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10643 echo "$ac_t""yes" 1>&6
10644 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10645 cat >> confdefs.h <<EOF
10646 #define $ac_tr_func 1
10650 echo "$ac_t""no" 1>&6
10659 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
10660 echo "configure:10661: checking for finitef declaration" >&5
10661 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
10662 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
10663 echo $ac_n "(cached) $ac_c" 1>&6
10668 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10669 ac_cpp='$CXXCPP $CPPFLAGS'
10670 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10671 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10672 cross_compiling=$ac_cv_prog_cxx_cross
10674 cat > conftest.$ac_ext <<EOF
10675 #line 10676 "configure"
10676 #include "confdefs.h"
10678 #ifdef HAVE_IEEEFP_H
10679 #include <ieeefp.h>
10686 if { (eval echo configure:10687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10688 glibcpp_cv_func_finitef_use=yes
10690 echo "configure: failed program was:" >&5
10691 cat conftest.$ac_ext >&5
10693 glibcpp_cv_func_finitef_use=no
10697 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10698 ac_cpp='$CPP $CPPFLAGS'
10699 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10700 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10701 cross_compiling=$ac_cv_prog_cc_cross
10707 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
10709 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
10710 for ac_func in finitef
10712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10713 echo "configure:10714: checking for $ac_func" >&5
10714 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10715 echo $ac_n "(cached) $ac_c" 1>&6
10717 cat > conftest.$ac_ext <<EOF
10718 #line 10719 "configure"
10719 #include "confdefs.h"
10720 /* System header to define __stub macros and hopefully few prototypes,
10721 which can conflict with char $ac_func(); below. */
10722 #include <assert.h>
10723 /* Override any gcc2 internal prototype to avoid an error. */
10724 /* We use char because int might match the return type of a gcc2
10725 builtin and then its argument prototype would still apply. */
10730 /* The GNU C library defines this for functions which it implements
10731 to always fail with ENOSYS. Some functions are actually named
10732 something starting with __ and the normal name is an alias. */
10733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10741 if { (eval echo configure:10742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10743 eval "ac_cv_func_$ac_func=yes"
10745 echo "configure: failed program was:" >&5
10746 cat conftest.$ac_ext >&5
10748 eval "ac_cv_func_$ac_func=no"
10753 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10754 echo "$ac_t""yes" 1>&6
10755 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10756 cat >> confdefs.h <<EOF
10757 #define $ac_tr_func 1
10761 echo "$ac_t""no" 1>&6
10767 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
10768 echo "configure:10769: checking for _finitef declaration" >&5
10769 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
10770 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
10771 echo $ac_n "(cached) $ac_c" 1>&6
10776 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10777 ac_cpp='$CXXCPP $CPPFLAGS'
10778 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10779 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10780 cross_compiling=$ac_cv_prog_cxx_cross
10782 cat > conftest.$ac_ext <<EOF
10783 #line 10784 "configure"
10784 #include "confdefs.h"
10786 #ifdef HAVE_IEEEFP_H
10787 #include <ieeefp.h>
10794 if { (eval echo configure:10795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10796 glibcpp_cv_func__finitef_use=yes
10798 echo "configure: failed program was:" >&5
10799 cat conftest.$ac_ext >&5
10801 glibcpp_cv_func__finitef_use=no
10805 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10806 ac_cpp='$CPP $CPPFLAGS'
10807 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10808 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10809 cross_compiling=$ac_cv_prog_cc_cross
10815 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
10817 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
10818 for ac_func in _finitef
10820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10821 echo "configure:10822: checking for $ac_func" >&5
10822 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10823 echo $ac_n "(cached) $ac_c" 1>&6
10825 cat > conftest.$ac_ext <<EOF
10826 #line 10827 "configure"
10827 #include "confdefs.h"
10828 /* System header to define __stub macros and hopefully few prototypes,
10829 which can conflict with char $ac_func(); below. */
10830 #include <assert.h>
10831 /* Override any gcc2 internal prototype to avoid an error. */
10832 /* We use char because int might match the return type of a gcc2
10833 builtin and then its argument prototype would still apply. */
10838 /* The GNU C library defines this for functions which it implements
10839 to always fail with ENOSYS. Some functions are actually named
10840 something starting with __ and the normal name is an alias. */
10841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10849 if { (eval echo configure:10850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10851 eval "ac_cv_func_$ac_func=yes"
10853 echo "configure: failed program was:" >&5
10854 cat conftest.$ac_ext >&5
10856 eval "ac_cv_func_$ac_func=no"
10861 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10862 echo "$ac_t""yes" 1>&6
10863 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10864 cat >> confdefs.h <<EOF
10865 #define $ac_tr_func 1
10869 echo "$ac_t""no" 1>&6
10878 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
10879 echo "configure:10880: checking for long double trig functions" >&5
10880 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
10881 echo $ac_n "(cached) $ac_c" 1>&6
10886 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10887 ac_cpp='$CXXCPP $CPPFLAGS'
10888 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10889 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10890 cross_compiling=$ac_cv_prog_cxx_cross
10892 cat > conftest.$ac_ext <<EOF
10893 #line 10894 "configure"
10894 #include "confdefs.h"
10897 `for x in acosl asinl atanl \
10899 coshl sinhl tanhl; do echo "$x (0);"; done`
10902 if { (eval echo configure:10903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10904 glibcpp_cv_func_long_double_trig_use=yes
10906 echo "configure: failed program was:" >&5
10907 cat conftest.$ac_ext >&5
10909 glibcpp_cv_func_long_double_trig_use=no
10913 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10914 ac_cpp='$CPP $CPPFLAGS'
10915 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10916 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10917 cross_compiling=$ac_cv_prog_cc_cross
10921 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
10922 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
10923 for ac_func in acosl asinl atanl \
10927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10928 echo "configure:10929: checking for $ac_func" >&5
10929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10930 echo $ac_n "(cached) $ac_c" 1>&6
10932 cat > conftest.$ac_ext <<EOF
10933 #line 10934 "configure"
10934 #include "confdefs.h"
10935 /* System header to define __stub macros and hopefully few prototypes,
10936 which can conflict with char $ac_func(); below. */
10937 #include <assert.h>
10938 /* Override any gcc2 internal prototype to avoid an error. */
10939 /* We use char because int might match the return type of a gcc2
10940 builtin and then its argument prototype would still apply. */
10945 /* The GNU C library defines this for functions which it implements
10946 to always fail with ENOSYS. Some functions are actually named
10947 something starting with __ and the normal name is an alias. */
10948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10956 if { (eval echo configure:10957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10958 eval "ac_cv_func_$ac_func=yes"
10960 echo "configure: failed program was:" >&5
10961 cat conftest.$ac_ext >&5
10963 eval "ac_cv_func_$ac_func=no"
10968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10969 echo "$ac_t""yes" 1>&6
10970 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10971 cat >> confdefs.h <<EOF
10972 #define $ac_tr_func 1
10976 echo "$ac_t""no" 1>&6
10983 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
10984 echo "configure:10985: checking for long double round functions" >&5
10985 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
10986 echo $ac_n "(cached) $ac_c" 1>&6
10991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10992 ac_cpp='$CXXCPP $CPPFLAGS'
10993 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10994 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10995 cross_compiling=$ac_cv_prog_cxx_cross
10997 cat > conftest.$ac_ext <<EOF
10998 #line 10999 "configure"
10999 #include "confdefs.h"
11002 `for x in ceill floorl; do echo "$x (0);"; done`
11005 if { (eval echo configure:11006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11007 glibcpp_cv_func_long_double_round_use=yes
11009 echo "configure: failed program was:" >&5
11010 cat conftest.$ac_ext >&5
11012 glibcpp_cv_func_long_double_round_use=no
11016 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11017 ac_cpp='$CPP $CPPFLAGS'
11018 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11019 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11020 cross_compiling=$ac_cv_prog_cc_cross
11024 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11025 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
11026 for ac_func in ceill floorl
11028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11029 echo "configure:11030: checking for $ac_func" >&5
11030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11031 echo $ac_n "(cached) $ac_c" 1>&6
11033 cat > conftest.$ac_ext <<EOF
11034 #line 11035 "configure"
11035 #include "confdefs.h"
11036 /* System header to define __stub macros and hopefully few prototypes,
11037 which can conflict with char $ac_func(); below. */
11038 #include <assert.h>
11039 /* Override any gcc2 internal prototype to avoid an error. */
11040 /* We use char because int might match the return type of a gcc2
11041 builtin and then its argument prototype would still apply. */
11046 /* The GNU C library defines this for functions which it implements
11047 to always fail with ENOSYS. Some functions are actually named
11048 something starting with __ and the normal name is an alias. */
11049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11057 if { (eval echo configure:11058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11059 eval "ac_cv_func_$ac_func=yes"
11061 echo "configure: failed program was:" >&5
11062 cat conftest.$ac_ext >&5
11064 eval "ac_cv_func_$ac_func=no"
11069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11070 echo "$ac_t""yes" 1>&6
11071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11072 cat >> confdefs.h <<EOF
11073 #define $ac_tr_func 1
11077 echo "$ac_t""no" 1>&6
11085 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
11086 echo "configure:11087: checking for isnanl declaration" >&5
11087 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
11088 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11089 echo $ac_n "(cached) $ac_c" 1>&6
11094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11095 ac_cpp='$CXXCPP $CPPFLAGS'
11096 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11097 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11098 cross_compiling=$ac_cv_prog_cxx_cross
11100 cat > conftest.$ac_ext <<EOF
11101 #line 11102 "configure"
11102 #include "confdefs.h"
11104 #ifdef HAVE_IEEEFP_H
11105 #include <ieeefp.h>
11112 if { (eval echo configure:11113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11114 glibcpp_cv_func_isnanl_use=yes
11116 echo "configure: failed program was:" >&5
11117 cat conftest.$ac_ext >&5
11119 glibcpp_cv_func_isnanl_use=no
11123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11124 ac_cpp='$CPP $CPPFLAGS'
11125 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11126 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11127 cross_compiling=$ac_cv_prog_cc_cross
11133 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11135 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
11136 for ac_func in isnanl
11138 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11139 echo "configure:11140: checking for $ac_func" >&5
11140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11141 echo $ac_n "(cached) $ac_c" 1>&6
11143 cat > conftest.$ac_ext <<EOF
11144 #line 11145 "configure"
11145 #include "confdefs.h"
11146 /* System header to define __stub macros and hopefully few prototypes,
11147 which can conflict with char $ac_func(); below. */
11148 #include <assert.h>
11149 /* Override any gcc2 internal prototype to avoid an error. */
11150 /* We use char because int might match the return type of a gcc2
11151 builtin and then its argument prototype would still apply. */
11156 /* The GNU C library defines this for functions which it implements
11157 to always fail with ENOSYS. Some functions are actually named
11158 something starting with __ and the normal name is an alias. */
11159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11167 if { (eval echo configure:11168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11169 eval "ac_cv_func_$ac_func=yes"
11171 echo "configure: failed program was:" >&5
11172 cat conftest.$ac_ext >&5
11174 eval "ac_cv_func_$ac_func=no"
11179 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11180 echo "$ac_t""yes" 1>&6
11181 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11182 cat >> confdefs.h <<EOF
11183 #define $ac_tr_func 1
11187 echo "$ac_t""no" 1>&6
11193 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
11194 echo "configure:11195: checking for _isnanl declaration" >&5
11195 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
11196 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
11197 echo $ac_n "(cached) $ac_c" 1>&6
11202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11203 ac_cpp='$CXXCPP $CPPFLAGS'
11204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11206 cross_compiling=$ac_cv_prog_cxx_cross
11208 cat > conftest.$ac_ext <<EOF
11209 #line 11210 "configure"
11210 #include "confdefs.h"
11212 #ifdef HAVE_IEEEFP_H
11213 #include <ieeefp.h>
11220 if { (eval echo configure:11221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11222 glibcpp_cv_func__isnanl_use=yes
11224 echo "configure: failed program was:" >&5
11225 cat conftest.$ac_ext >&5
11227 glibcpp_cv_func__isnanl_use=no
11231 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11232 ac_cpp='$CPP $CPPFLAGS'
11233 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11234 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11235 cross_compiling=$ac_cv_prog_cc_cross
11241 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11243 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
11244 for ac_func in _isnanl
11246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11247 echo "configure:11248: checking for $ac_func" >&5
11248 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11249 echo $ac_n "(cached) $ac_c" 1>&6
11251 cat > conftest.$ac_ext <<EOF
11252 #line 11253 "configure"
11253 #include "confdefs.h"
11254 /* System header to define __stub macros and hopefully few prototypes,
11255 which can conflict with char $ac_func(); below. */
11256 #include <assert.h>
11257 /* Override any gcc2 internal prototype to avoid an error. */
11258 /* We use char because int might match the return type of a gcc2
11259 builtin and then its argument prototype would still apply. */
11264 /* The GNU C library defines this for functions which it implements
11265 to always fail with ENOSYS. Some functions are actually named
11266 something starting with __ and the normal name is an alias. */
11267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11275 if { (eval echo configure:11276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11277 eval "ac_cv_func_$ac_func=yes"
11279 echo "configure: failed program was:" >&5
11280 cat conftest.$ac_ext >&5
11282 eval "ac_cv_func_$ac_func=no"
11287 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11288 echo "$ac_t""yes" 1>&6
11289 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11290 cat >> confdefs.h <<EOF
11291 #define $ac_tr_func 1
11295 echo "$ac_t""no" 1>&6
11304 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
11305 echo "configure:11306: checking for isinfl declaration" >&5
11306 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
11307 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
11308 echo $ac_n "(cached) $ac_c" 1>&6
11313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11314 ac_cpp='$CXXCPP $CPPFLAGS'
11315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11317 cross_compiling=$ac_cv_prog_cxx_cross
11319 cat > conftest.$ac_ext <<EOF
11320 #line 11321 "configure"
11321 #include "confdefs.h"
11323 #ifdef HAVE_IEEEFP_H
11324 #include <ieeefp.h>
11331 if { (eval echo configure:11332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11333 glibcpp_cv_func_isinfl_use=yes
11335 echo "configure: failed program was:" >&5
11336 cat conftest.$ac_ext >&5
11338 glibcpp_cv_func_isinfl_use=no
11342 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11343 ac_cpp='$CPP $CPPFLAGS'
11344 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11345 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11346 cross_compiling=$ac_cv_prog_cc_cross
11352 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
11354 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
11355 for ac_func in isinfl
11357 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11358 echo "configure:11359: checking for $ac_func" >&5
11359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11360 echo $ac_n "(cached) $ac_c" 1>&6
11362 cat > conftest.$ac_ext <<EOF
11363 #line 11364 "configure"
11364 #include "confdefs.h"
11365 /* System header to define __stub macros and hopefully few prototypes,
11366 which can conflict with char $ac_func(); below. */
11367 #include <assert.h>
11368 /* Override any gcc2 internal prototype to avoid an error. */
11369 /* We use char because int might match the return type of a gcc2
11370 builtin and then its argument prototype would still apply. */
11375 /* The GNU C library defines this for functions which it implements
11376 to always fail with ENOSYS. Some functions are actually named
11377 something starting with __ and the normal name is an alias. */
11378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11386 if { (eval echo configure:11387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11388 eval "ac_cv_func_$ac_func=yes"
11390 echo "configure: failed program was:" >&5
11391 cat conftest.$ac_ext >&5
11393 eval "ac_cv_func_$ac_func=no"
11398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11399 echo "$ac_t""yes" 1>&6
11400 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11401 cat >> confdefs.h <<EOF
11402 #define $ac_tr_func 1
11406 echo "$ac_t""no" 1>&6
11412 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
11413 echo "configure:11414: checking for _isinfl declaration" >&5
11414 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
11415 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
11416 echo $ac_n "(cached) $ac_c" 1>&6
11421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11422 ac_cpp='$CXXCPP $CPPFLAGS'
11423 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11424 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11425 cross_compiling=$ac_cv_prog_cxx_cross
11427 cat > conftest.$ac_ext <<EOF
11428 #line 11429 "configure"
11429 #include "confdefs.h"
11431 #ifdef HAVE_IEEEFP_H
11432 #include <ieeefp.h>
11439 if { (eval echo configure:11440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11441 glibcpp_cv_func__isinfl_use=yes
11443 echo "configure: failed program was:" >&5
11444 cat conftest.$ac_ext >&5
11446 glibcpp_cv_func__isinfl_use=no
11450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11451 ac_cpp='$CPP $CPPFLAGS'
11452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11454 cross_compiling=$ac_cv_prog_cc_cross
11460 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
11462 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
11463 for ac_func in _isinfl
11465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11466 echo "configure:11467: checking for $ac_func" >&5
11467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11468 echo $ac_n "(cached) $ac_c" 1>&6
11470 cat > conftest.$ac_ext <<EOF
11471 #line 11472 "configure"
11472 #include "confdefs.h"
11473 /* System header to define __stub macros and hopefully few prototypes,
11474 which can conflict with char $ac_func(); below. */
11475 #include <assert.h>
11476 /* Override any gcc2 internal prototype to avoid an error. */
11477 /* We use char because int might match the return type of a gcc2
11478 builtin and then its argument prototype would still apply. */
11483 /* The GNU C library defines this for functions which it implements
11484 to always fail with ENOSYS. Some functions are actually named
11485 something starting with __ and the normal name is an alias. */
11486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11494 if { (eval echo configure:11495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11496 eval "ac_cv_func_$ac_func=yes"
11498 echo "configure: failed program was:" >&5
11499 cat conftest.$ac_ext >&5
11501 eval "ac_cv_func_$ac_func=no"
11506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11507 echo "$ac_t""yes" 1>&6
11508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11509 cat >> confdefs.h <<EOF
11510 #define $ac_tr_func 1
11514 echo "$ac_t""no" 1>&6
11523 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
11524 echo "configure:11525: checking for copysignl declaration" >&5
11525 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
11526 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
11527 echo $ac_n "(cached) $ac_c" 1>&6
11532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11533 ac_cpp='$CXXCPP $CPPFLAGS'
11534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11536 cross_compiling=$ac_cv_prog_cxx_cross
11538 cat > conftest.$ac_ext <<EOF
11539 #line 11540 "configure"
11540 #include "confdefs.h"
11546 if { (eval echo configure:11547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11548 glibcpp_cv_func_copysignl_use=yes
11550 echo "configure: failed program was:" >&5
11551 cat conftest.$ac_ext >&5
11553 glibcpp_cv_func_copysignl_use=no
11557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11558 ac_cpp='$CPP $CPPFLAGS'
11559 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11560 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11561 cross_compiling=$ac_cv_prog_cc_cross
11567 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
11569 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
11570 for ac_func in copysignl
11572 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11573 echo "configure:11574: checking for $ac_func" >&5
11574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11575 echo $ac_n "(cached) $ac_c" 1>&6
11577 cat > conftest.$ac_ext <<EOF
11578 #line 11579 "configure"
11579 #include "confdefs.h"
11580 /* System header to define __stub macros and hopefully few prototypes,
11581 which can conflict with char $ac_func(); below. */
11582 #include <assert.h>
11583 /* Override any gcc2 internal prototype to avoid an error. */
11584 /* We use char because int might match the return type of a gcc2
11585 builtin and then its argument prototype would still apply. */
11590 /* The GNU C library defines this for functions which it implements
11591 to always fail with ENOSYS. Some functions are actually named
11592 something starting with __ and the normal name is an alias. */
11593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11601 if { (eval echo configure:11602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11603 eval "ac_cv_func_$ac_func=yes"
11605 echo "configure: failed program was:" >&5
11606 cat conftest.$ac_ext >&5
11608 eval "ac_cv_func_$ac_func=no"
11613 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11614 echo "$ac_t""yes" 1>&6
11615 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11616 cat >> confdefs.h <<EOF
11617 #define $ac_tr_func 1
11621 echo "$ac_t""no" 1>&6
11627 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
11628 echo "configure:11629: checking for _copysignl declaration" >&5
11629 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
11630 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
11631 echo $ac_n "(cached) $ac_c" 1>&6
11636 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11637 ac_cpp='$CXXCPP $CPPFLAGS'
11638 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11639 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11640 cross_compiling=$ac_cv_prog_cxx_cross
11642 cat > conftest.$ac_ext <<EOF
11643 #line 11644 "configure"
11644 #include "confdefs.h"
11650 if { (eval echo configure:11651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11652 glibcpp_cv_func__copysignl_use=yes
11654 echo "configure: failed program was:" >&5
11655 cat conftest.$ac_ext >&5
11657 glibcpp_cv_func__copysignl_use=no
11661 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11662 ac_cpp='$CPP $CPPFLAGS'
11663 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11664 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11665 cross_compiling=$ac_cv_prog_cc_cross
11671 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
11673 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
11674 for ac_func in _copysignl
11676 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11677 echo "configure:11678: checking for $ac_func" >&5
11678 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11679 echo $ac_n "(cached) $ac_c" 1>&6
11681 cat > conftest.$ac_ext <<EOF
11682 #line 11683 "configure"
11683 #include "confdefs.h"
11684 /* System header to define __stub macros and hopefully few prototypes,
11685 which can conflict with char $ac_func(); below. */
11686 #include <assert.h>
11687 /* Override any gcc2 internal prototype to avoid an error. */
11688 /* We use char because int might match the return type of a gcc2
11689 builtin and then its argument prototype would still apply. */
11694 /* The GNU C library defines this for functions which it implements
11695 to always fail with ENOSYS. Some functions are actually named
11696 something starting with __ and the normal name is an alias. */
11697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11705 if { (eval echo configure:11706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11707 eval "ac_cv_func_$ac_func=yes"
11709 echo "configure: failed program was:" >&5
11710 cat conftest.$ac_ext >&5
11712 eval "ac_cv_func_$ac_func=no"
11717 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11718 echo "$ac_t""yes" 1>&6
11719 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11720 cat >> confdefs.h <<EOF
11721 #define $ac_tr_func 1
11725 echo "$ac_t""no" 1>&6
11734 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
11735 echo "configure:11736: checking for atan2l declaration" >&5
11736 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
11737 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
11738 echo $ac_n "(cached) $ac_c" 1>&6
11743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11744 ac_cpp='$CXXCPP $CPPFLAGS'
11745 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11746 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11747 cross_compiling=$ac_cv_prog_cxx_cross
11749 cat > conftest.$ac_ext <<EOF
11750 #line 11751 "configure"
11751 #include "confdefs.h"
11757 if { (eval echo configure:11758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11759 glibcpp_cv_func_atan2l_use=yes
11761 echo "configure: failed program was:" >&5
11762 cat conftest.$ac_ext >&5
11764 glibcpp_cv_func_atan2l_use=no
11768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11769 ac_cpp='$CPP $CPPFLAGS'
11770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11772 cross_compiling=$ac_cv_prog_cc_cross
11778 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
11780 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
11781 for ac_func in atan2l
11783 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11784 echo "configure:11785: checking for $ac_func" >&5
11785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11786 echo $ac_n "(cached) $ac_c" 1>&6
11788 cat > conftest.$ac_ext <<EOF
11789 #line 11790 "configure"
11790 #include "confdefs.h"
11791 /* System header to define __stub macros and hopefully few prototypes,
11792 which can conflict with char $ac_func(); below. */
11793 #include <assert.h>
11794 /* Override any gcc2 internal prototype to avoid an error. */
11795 /* We use char because int might match the return type of a gcc2
11796 builtin and then its argument prototype would still apply. */
11801 /* The GNU C library defines this for functions which it implements
11802 to always fail with ENOSYS. Some functions are actually named
11803 something starting with __ and the normal name is an alias. */
11804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11812 if { (eval echo configure:11813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11814 eval "ac_cv_func_$ac_func=yes"
11816 echo "configure: failed program was:" >&5
11817 cat conftest.$ac_ext >&5
11819 eval "ac_cv_func_$ac_func=no"
11824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11825 echo "$ac_t""yes" 1>&6
11826 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11827 cat >> confdefs.h <<EOF
11828 #define $ac_tr_func 1
11832 echo "$ac_t""no" 1>&6
11838 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
11839 echo "configure:11840: checking for _atan2l declaration" >&5
11840 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
11841 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
11842 echo $ac_n "(cached) $ac_c" 1>&6
11847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11848 ac_cpp='$CXXCPP $CPPFLAGS'
11849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11851 cross_compiling=$ac_cv_prog_cxx_cross
11853 cat > conftest.$ac_ext <<EOF
11854 #line 11855 "configure"
11855 #include "confdefs.h"
11861 if { (eval echo configure:11862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11863 glibcpp_cv_func__atan2l_use=yes
11865 echo "configure: failed program was:" >&5
11866 cat conftest.$ac_ext >&5
11868 glibcpp_cv_func__atan2l_use=no
11872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11873 ac_cpp='$CPP $CPPFLAGS'
11874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11876 cross_compiling=$ac_cv_prog_cc_cross
11882 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
11884 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
11885 for ac_func in _atan2l
11887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11888 echo "configure:11889: checking for $ac_func" >&5
11889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11890 echo $ac_n "(cached) $ac_c" 1>&6
11892 cat > conftest.$ac_ext <<EOF
11893 #line 11894 "configure"
11894 #include "confdefs.h"
11895 /* System header to define __stub macros and hopefully few prototypes,
11896 which can conflict with char $ac_func(); below. */
11897 #include <assert.h>
11898 /* Override any gcc2 internal prototype to avoid an error. */
11899 /* We use char because int might match the return type of a gcc2
11900 builtin and then its argument prototype would still apply. */
11905 /* The GNU C library defines this for functions which it implements
11906 to always fail with ENOSYS. Some functions are actually named
11907 something starting with __ and the normal name is an alias. */
11908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11916 if { (eval echo configure:11917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11918 eval "ac_cv_func_$ac_func=yes"
11920 echo "configure: failed program was:" >&5
11921 cat conftest.$ac_ext >&5
11923 eval "ac_cv_func_$ac_func=no"
11928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11929 echo "$ac_t""yes" 1>&6
11930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11931 cat >> confdefs.h <<EOF
11932 #define $ac_tr_func 1
11936 echo "$ac_t""no" 1>&6
11945 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
11946 echo "configure:11947: checking for expl declaration" >&5
11947 if test x${glibcpp_cv_func_expl_use+set} != xset; then
11948 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
11949 echo $ac_n "(cached) $ac_c" 1>&6
11954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11955 ac_cpp='$CXXCPP $CPPFLAGS'
11956 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11957 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11958 cross_compiling=$ac_cv_prog_cxx_cross
11960 cat > conftest.$ac_ext <<EOF
11961 #line 11962 "configure"
11962 #include "confdefs.h"
11964 #ifdef HAVE_IEEEFP_H
11965 #include <ieeefp.h>
11972 if { (eval echo configure:11973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11974 glibcpp_cv_func_expl_use=yes
11976 echo "configure: failed program was:" >&5
11977 cat conftest.$ac_ext >&5
11979 glibcpp_cv_func_expl_use=no
11983 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11984 ac_cpp='$CPP $CPPFLAGS'
11985 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11986 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11987 cross_compiling=$ac_cv_prog_cc_cross
11993 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
11995 if test x$glibcpp_cv_func_expl_use = x"yes"; then
11996 for ac_func in expl
11998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11999 echo "configure:12000: checking for $ac_func" >&5
12000 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12001 echo $ac_n "(cached) $ac_c" 1>&6
12003 cat > conftest.$ac_ext <<EOF
12004 #line 12005 "configure"
12005 #include "confdefs.h"
12006 /* System header to define __stub macros and hopefully few prototypes,
12007 which can conflict with char $ac_func(); below. */
12008 #include <assert.h>
12009 /* Override any gcc2 internal prototype to avoid an error. */
12010 /* We use char because int might match the return type of a gcc2
12011 builtin and then its argument prototype would still apply. */
12016 /* The GNU C library defines this for functions which it implements
12017 to always fail with ENOSYS. Some functions are actually named
12018 something starting with __ and the normal name is an alias. */
12019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12027 if { (eval echo configure:12028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12029 eval "ac_cv_func_$ac_func=yes"
12031 echo "configure: failed program was:" >&5
12032 cat conftest.$ac_ext >&5
12034 eval "ac_cv_func_$ac_func=no"
12039 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12040 echo "$ac_t""yes" 1>&6
12041 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12042 cat >> confdefs.h <<EOF
12043 #define $ac_tr_func 1
12047 echo "$ac_t""no" 1>&6
12053 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
12054 echo "configure:12055: checking for _expl declaration" >&5
12055 if test x${glibcpp_cv_func__expl_use+set} != xset; then
12056 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12057 echo $ac_n "(cached) $ac_c" 1>&6
12062 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12063 ac_cpp='$CXXCPP $CPPFLAGS'
12064 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12065 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12066 cross_compiling=$ac_cv_prog_cxx_cross
12068 cat > conftest.$ac_ext <<EOF
12069 #line 12070 "configure"
12070 #include "confdefs.h"
12072 #ifdef HAVE_IEEEFP_H
12073 #include <ieeefp.h>
12080 if { (eval echo configure:12081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12082 glibcpp_cv_func__expl_use=yes
12084 echo "configure: failed program was:" >&5
12085 cat conftest.$ac_ext >&5
12087 glibcpp_cv_func__expl_use=no
12091 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12092 ac_cpp='$CPP $CPPFLAGS'
12093 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12094 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12095 cross_compiling=$ac_cv_prog_cc_cross
12101 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12103 if test x$glibcpp_cv_func__expl_use = x"yes"; then
12104 for ac_func in _expl
12106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12107 echo "configure:12108: checking for $ac_func" >&5
12108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12109 echo $ac_n "(cached) $ac_c" 1>&6
12111 cat > conftest.$ac_ext <<EOF
12112 #line 12113 "configure"
12113 #include "confdefs.h"
12114 /* System header to define __stub macros and hopefully few prototypes,
12115 which can conflict with char $ac_func(); below. */
12116 #include <assert.h>
12117 /* Override any gcc2 internal prototype to avoid an error. */
12118 /* We use char because int might match the return type of a gcc2
12119 builtin and then its argument prototype would still apply. */
12124 /* The GNU C library defines this for functions which it implements
12125 to always fail with ENOSYS. Some functions are actually named
12126 something starting with __ and the normal name is an alias. */
12127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12135 if { (eval echo configure:12136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12137 eval "ac_cv_func_$ac_func=yes"
12139 echo "configure: failed program was:" >&5
12140 cat conftest.$ac_ext >&5
12142 eval "ac_cv_func_$ac_func=no"
12147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12148 echo "$ac_t""yes" 1>&6
12149 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12150 cat >> confdefs.h <<EOF
12151 #define $ac_tr_func 1
12155 echo "$ac_t""no" 1>&6
12164 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
12165 echo "configure:12166: checking for fabsl declaration" >&5
12166 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
12167 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
12168 echo $ac_n "(cached) $ac_c" 1>&6
12173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12174 ac_cpp='$CXXCPP $CPPFLAGS'
12175 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12176 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12177 cross_compiling=$ac_cv_prog_cxx_cross
12179 cat > conftest.$ac_ext <<EOF
12180 #line 12181 "configure"
12181 #include "confdefs.h"
12183 #ifdef HAVE_IEEEFP_H
12184 #include <ieeefp.h>
12191 if { (eval echo configure:12192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12193 glibcpp_cv_func_fabsl_use=yes
12195 echo "configure: failed program was:" >&5
12196 cat conftest.$ac_ext >&5
12198 glibcpp_cv_func_fabsl_use=no
12202 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12203 ac_cpp='$CPP $CPPFLAGS'
12204 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12205 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12206 cross_compiling=$ac_cv_prog_cc_cross
12212 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
12214 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
12215 for ac_func in fabsl
12217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12218 echo "configure:12219: checking for $ac_func" >&5
12219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12220 echo $ac_n "(cached) $ac_c" 1>&6
12222 cat > conftest.$ac_ext <<EOF
12223 #line 12224 "configure"
12224 #include "confdefs.h"
12225 /* System header to define __stub macros and hopefully few prototypes,
12226 which can conflict with char $ac_func(); below. */
12227 #include <assert.h>
12228 /* Override any gcc2 internal prototype to avoid an error. */
12229 /* We use char because int might match the return type of a gcc2
12230 builtin and then its argument prototype would still apply. */
12235 /* The GNU C library defines this for functions which it implements
12236 to always fail with ENOSYS. Some functions are actually named
12237 something starting with __ and the normal name is an alias. */
12238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12246 if { (eval echo configure:12247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12248 eval "ac_cv_func_$ac_func=yes"
12250 echo "configure: failed program was:" >&5
12251 cat conftest.$ac_ext >&5
12253 eval "ac_cv_func_$ac_func=no"
12258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12259 echo "$ac_t""yes" 1>&6
12260 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12261 cat >> confdefs.h <<EOF
12262 #define $ac_tr_func 1
12266 echo "$ac_t""no" 1>&6
12272 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
12273 echo "configure:12274: checking for _fabsl declaration" >&5
12274 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
12275 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12276 echo $ac_n "(cached) $ac_c" 1>&6
12281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12282 ac_cpp='$CXXCPP $CPPFLAGS'
12283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12285 cross_compiling=$ac_cv_prog_cxx_cross
12287 cat > conftest.$ac_ext <<EOF
12288 #line 12289 "configure"
12289 #include "confdefs.h"
12291 #ifdef HAVE_IEEEFP_H
12292 #include <ieeefp.h>
12299 if { (eval echo configure:12300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12301 glibcpp_cv_func__fabsl_use=yes
12303 echo "configure: failed program was:" >&5
12304 cat conftest.$ac_ext >&5
12306 glibcpp_cv_func__fabsl_use=no
12310 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12311 ac_cpp='$CPP $CPPFLAGS'
12312 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12313 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12314 cross_compiling=$ac_cv_prog_cc_cross
12320 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
12322 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
12323 for ac_func in _fabsl
12325 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12326 echo "configure:12327: checking for $ac_func" >&5
12327 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12328 echo $ac_n "(cached) $ac_c" 1>&6
12330 cat > conftest.$ac_ext <<EOF
12331 #line 12332 "configure"
12332 #include "confdefs.h"
12333 /* System header to define __stub macros and hopefully few prototypes,
12334 which can conflict with char $ac_func(); below. */
12335 #include <assert.h>
12336 /* Override any gcc2 internal prototype to avoid an error. */
12337 /* We use char because int might match the return type of a gcc2
12338 builtin and then its argument prototype would still apply. */
12343 /* The GNU C library defines this for functions which it implements
12344 to always fail with ENOSYS. Some functions are actually named
12345 something starting with __ and the normal name is an alias. */
12346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12354 if { (eval echo configure:12355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12356 eval "ac_cv_func_$ac_func=yes"
12358 echo "configure: failed program was:" >&5
12359 cat conftest.$ac_ext >&5
12361 eval "ac_cv_func_$ac_func=no"
12366 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12367 echo "$ac_t""yes" 1>&6
12368 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12369 cat >> confdefs.h <<EOF
12370 #define $ac_tr_func 1
12374 echo "$ac_t""no" 1>&6
12383 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
12384 echo "configure:12385: checking for fmodl declaration" >&5
12385 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
12386 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
12387 echo $ac_n "(cached) $ac_c" 1>&6
12392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12393 ac_cpp='$CXXCPP $CPPFLAGS'
12394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12396 cross_compiling=$ac_cv_prog_cxx_cross
12398 cat > conftest.$ac_ext <<EOF
12399 #line 12400 "configure"
12400 #include "confdefs.h"
12406 if { (eval echo configure:12407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12408 glibcpp_cv_func_fmodl_use=yes
12410 echo "configure: failed program was:" >&5
12411 cat conftest.$ac_ext >&5
12413 glibcpp_cv_func_fmodl_use=no
12417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12418 ac_cpp='$CPP $CPPFLAGS'
12419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12421 cross_compiling=$ac_cv_prog_cc_cross
12427 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
12429 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
12430 for ac_func in fmodl
12432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12433 echo "configure:12434: checking for $ac_func" >&5
12434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12435 echo $ac_n "(cached) $ac_c" 1>&6
12437 cat > conftest.$ac_ext <<EOF
12438 #line 12439 "configure"
12439 #include "confdefs.h"
12440 /* System header to define __stub macros and hopefully few prototypes,
12441 which can conflict with char $ac_func(); below. */
12442 #include <assert.h>
12443 /* Override any gcc2 internal prototype to avoid an error. */
12444 /* We use char because int might match the return type of a gcc2
12445 builtin and then its argument prototype would still apply. */
12450 /* The GNU C library defines this for functions which it implements
12451 to always fail with ENOSYS. Some functions are actually named
12452 something starting with __ and the normal name is an alias. */
12453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12461 if { (eval echo configure:12462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12463 eval "ac_cv_func_$ac_func=yes"
12465 echo "configure: failed program was:" >&5
12466 cat conftest.$ac_ext >&5
12468 eval "ac_cv_func_$ac_func=no"
12473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12474 echo "$ac_t""yes" 1>&6
12475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12476 cat >> confdefs.h <<EOF
12477 #define $ac_tr_func 1
12481 echo "$ac_t""no" 1>&6
12487 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
12488 echo "configure:12489: checking for _fmodl declaration" >&5
12489 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
12490 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
12491 echo $ac_n "(cached) $ac_c" 1>&6
12496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12497 ac_cpp='$CXXCPP $CPPFLAGS'
12498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12500 cross_compiling=$ac_cv_prog_cxx_cross
12502 cat > conftest.$ac_ext <<EOF
12503 #line 12504 "configure"
12504 #include "confdefs.h"
12510 if { (eval echo configure:12511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12512 glibcpp_cv_func__fmodl_use=yes
12514 echo "configure: failed program was:" >&5
12515 cat conftest.$ac_ext >&5
12517 glibcpp_cv_func__fmodl_use=no
12521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12522 ac_cpp='$CPP $CPPFLAGS'
12523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12525 cross_compiling=$ac_cv_prog_cc_cross
12531 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
12533 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
12534 for ac_func in _fmodl
12536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12537 echo "configure:12538: checking for $ac_func" >&5
12538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12539 echo $ac_n "(cached) $ac_c" 1>&6
12541 cat > conftest.$ac_ext <<EOF
12542 #line 12543 "configure"
12543 #include "confdefs.h"
12544 /* System header to define __stub macros and hopefully few prototypes,
12545 which can conflict with char $ac_func(); below. */
12546 #include <assert.h>
12547 /* Override any gcc2 internal prototype to avoid an error. */
12548 /* We use char because int might match the return type of a gcc2
12549 builtin and then its argument prototype would still apply. */
12554 /* The GNU C library defines this for functions which it implements
12555 to always fail with ENOSYS. Some functions are actually named
12556 something starting with __ and the normal name is an alias. */
12557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12565 if { (eval echo configure:12566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12567 eval "ac_cv_func_$ac_func=yes"
12569 echo "configure: failed program was:" >&5
12570 cat conftest.$ac_ext >&5
12572 eval "ac_cv_func_$ac_func=no"
12577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12578 echo "$ac_t""yes" 1>&6
12579 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12580 cat >> confdefs.h <<EOF
12581 #define $ac_tr_func 1
12585 echo "$ac_t""no" 1>&6
12594 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
12595 echo "configure:12596: checking for frexpl declaration" >&5
12596 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
12597 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
12598 echo $ac_n "(cached) $ac_c" 1>&6
12603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12604 ac_cpp='$CXXCPP $CPPFLAGS'
12605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12607 cross_compiling=$ac_cv_prog_cxx_cross
12609 cat > conftest.$ac_ext <<EOF
12610 #line 12611 "configure"
12611 #include "confdefs.h"
12617 if { (eval echo configure:12618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12619 glibcpp_cv_func_frexpl_use=yes
12621 echo "configure: failed program was:" >&5
12622 cat conftest.$ac_ext >&5
12624 glibcpp_cv_func_frexpl_use=no
12628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12629 ac_cpp='$CPP $CPPFLAGS'
12630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12632 cross_compiling=$ac_cv_prog_cc_cross
12638 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
12640 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
12641 for ac_func in frexpl
12643 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12644 echo "configure:12645: checking for $ac_func" >&5
12645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12646 echo $ac_n "(cached) $ac_c" 1>&6
12648 cat > conftest.$ac_ext <<EOF
12649 #line 12650 "configure"
12650 #include "confdefs.h"
12651 /* System header to define __stub macros and hopefully few prototypes,
12652 which can conflict with char $ac_func(); below. */
12653 #include <assert.h>
12654 /* Override any gcc2 internal prototype to avoid an error. */
12655 /* We use char because int might match the return type of a gcc2
12656 builtin and then its argument prototype would still apply. */
12661 /* The GNU C library defines this for functions which it implements
12662 to always fail with ENOSYS. Some functions are actually named
12663 something starting with __ and the normal name is an alias. */
12664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12672 if { (eval echo configure:12673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12674 eval "ac_cv_func_$ac_func=yes"
12676 echo "configure: failed program was:" >&5
12677 cat conftest.$ac_ext >&5
12679 eval "ac_cv_func_$ac_func=no"
12684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12685 echo "$ac_t""yes" 1>&6
12686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12687 cat >> confdefs.h <<EOF
12688 #define $ac_tr_func 1
12692 echo "$ac_t""no" 1>&6
12698 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
12699 echo "configure:12700: checking for _frexpl declaration" >&5
12700 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
12701 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
12702 echo $ac_n "(cached) $ac_c" 1>&6
12707 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12708 ac_cpp='$CXXCPP $CPPFLAGS'
12709 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12710 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12711 cross_compiling=$ac_cv_prog_cxx_cross
12713 cat > conftest.$ac_ext <<EOF
12714 #line 12715 "configure"
12715 #include "confdefs.h"
12721 if { (eval echo configure:12722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12723 glibcpp_cv_func__frexpl_use=yes
12725 echo "configure: failed program was:" >&5
12726 cat conftest.$ac_ext >&5
12728 glibcpp_cv_func__frexpl_use=no
12732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12733 ac_cpp='$CPP $CPPFLAGS'
12734 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12735 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12736 cross_compiling=$ac_cv_prog_cc_cross
12742 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
12744 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
12745 for ac_func in _frexpl
12747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12748 echo "configure:12749: checking for $ac_func" >&5
12749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12750 echo $ac_n "(cached) $ac_c" 1>&6
12752 cat > conftest.$ac_ext <<EOF
12753 #line 12754 "configure"
12754 #include "confdefs.h"
12755 /* System header to define __stub macros and hopefully few prototypes,
12756 which can conflict with char $ac_func(); below. */
12757 #include <assert.h>
12758 /* Override any gcc2 internal prototype to avoid an error. */
12759 /* We use char because int might match the return type of a gcc2
12760 builtin and then its argument prototype would still apply. */
12765 /* The GNU C library defines this for functions which it implements
12766 to always fail with ENOSYS. Some functions are actually named
12767 something starting with __ and the normal name is an alias. */
12768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12776 if { (eval echo configure:12777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12778 eval "ac_cv_func_$ac_func=yes"
12780 echo "configure: failed program was:" >&5
12781 cat conftest.$ac_ext >&5
12783 eval "ac_cv_func_$ac_func=no"
12788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12789 echo "$ac_t""yes" 1>&6
12790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12791 cat >> confdefs.h <<EOF
12792 #define $ac_tr_func 1
12796 echo "$ac_t""no" 1>&6
12805 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
12806 echo "configure:12807: checking for ldexpl declaration" >&5
12807 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
12808 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
12809 echo $ac_n "(cached) $ac_c" 1>&6
12814 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12815 ac_cpp='$CXXCPP $CPPFLAGS'
12816 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12817 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12818 cross_compiling=$ac_cv_prog_cxx_cross
12820 cat > conftest.$ac_ext <<EOF
12821 #line 12822 "configure"
12822 #include "confdefs.h"
12828 if { (eval echo configure:12829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12830 glibcpp_cv_func_ldexpl_use=yes
12832 echo "configure: failed program was:" >&5
12833 cat conftest.$ac_ext >&5
12835 glibcpp_cv_func_ldexpl_use=no
12839 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12840 ac_cpp='$CPP $CPPFLAGS'
12841 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12842 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12843 cross_compiling=$ac_cv_prog_cc_cross
12849 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
12851 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
12852 for ac_func in ldexpl
12854 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12855 echo "configure:12856: checking for $ac_func" >&5
12856 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12857 echo $ac_n "(cached) $ac_c" 1>&6
12859 cat > conftest.$ac_ext <<EOF
12860 #line 12861 "configure"
12861 #include "confdefs.h"
12862 /* System header to define __stub macros and hopefully few prototypes,
12863 which can conflict with char $ac_func(); below. */
12864 #include <assert.h>
12865 /* Override any gcc2 internal prototype to avoid an error. */
12866 /* We use char because int might match the return type of a gcc2
12867 builtin and then its argument prototype would still apply. */
12872 /* The GNU C library defines this for functions which it implements
12873 to always fail with ENOSYS. Some functions are actually named
12874 something starting with __ and the normal name is an alias. */
12875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12883 if { (eval echo configure:12884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12885 eval "ac_cv_func_$ac_func=yes"
12887 echo "configure: failed program was:" >&5
12888 cat conftest.$ac_ext >&5
12890 eval "ac_cv_func_$ac_func=no"
12895 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12896 echo "$ac_t""yes" 1>&6
12897 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12898 cat >> confdefs.h <<EOF
12899 #define $ac_tr_func 1
12903 echo "$ac_t""no" 1>&6
12909 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
12910 echo "configure:12911: checking for _ldexpl declaration" >&5
12911 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
12912 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
12913 echo $ac_n "(cached) $ac_c" 1>&6
12918 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12919 ac_cpp='$CXXCPP $CPPFLAGS'
12920 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12921 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12922 cross_compiling=$ac_cv_prog_cxx_cross
12924 cat > conftest.$ac_ext <<EOF
12925 #line 12926 "configure"
12926 #include "confdefs.h"
12932 if { (eval echo configure:12933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12934 glibcpp_cv_func__ldexpl_use=yes
12936 echo "configure: failed program was:" >&5
12937 cat conftest.$ac_ext >&5
12939 glibcpp_cv_func__ldexpl_use=no
12943 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12944 ac_cpp='$CPP $CPPFLAGS'
12945 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12946 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12947 cross_compiling=$ac_cv_prog_cc_cross
12953 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
12955 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
12956 for ac_func in _ldexpl
12958 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12959 echo "configure:12960: checking for $ac_func" >&5
12960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12961 echo $ac_n "(cached) $ac_c" 1>&6
12963 cat > conftest.$ac_ext <<EOF
12964 #line 12965 "configure"
12965 #include "confdefs.h"
12966 /* System header to define __stub macros and hopefully few prototypes,
12967 which can conflict with char $ac_func(); below. */
12968 #include <assert.h>
12969 /* Override any gcc2 internal prototype to avoid an error. */
12970 /* We use char because int might match the return type of a gcc2
12971 builtin and then its argument prototype would still apply. */
12976 /* The GNU C library defines this for functions which it implements
12977 to always fail with ENOSYS. Some functions are actually named
12978 something starting with __ and the normal name is an alias. */
12979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12987 if { (eval echo configure:12988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12989 eval "ac_cv_func_$ac_func=yes"
12991 echo "configure: failed program was:" >&5
12992 cat conftest.$ac_ext >&5
12994 eval "ac_cv_func_$ac_func=no"
12999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13000 echo "$ac_t""yes" 1>&6
13001 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13002 cat >> confdefs.h <<EOF
13003 #define $ac_tr_func 1
13007 echo "$ac_t""no" 1>&6
13016 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
13017 echo "configure:13018: checking for logl declaration" >&5
13018 if test x${glibcpp_cv_func_logl_use+set} != xset; then
13019 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
13020 echo $ac_n "(cached) $ac_c" 1>&6
13025 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13026 ac_cpp='$CXXCPP $CPPFLAGS'
13027 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13028 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13029 cross_compiling=$ac_cv_prog_cxx_cross
13031 cat > conftest.$ac_ext <<EOF
13032 #line 13033 "configure"
13033 #include "confdefs.h"
13035 #ifdef HAVE_IEEEFP_H
13036 #include <ieeefp.h>
13043 if { (eval echo configure:13044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13045 glibcpp_cv_func_logl_use=yes
13047 echo "configure: failed program was:" >&5
13048 cat conftest.$ac_ext >&5
13050 glibcpp_cv_func_logl_use=no
13054 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13055 ac_cpp='$CPP $CPPFLAGS'
13056 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13057 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13058 cross_compiling=$ac_cv_prog_cc_cross
13064 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
13066 if test x$glibcpp_cv_func_logl_use = x"yes"; then
13067 for ac_func in logl
13069 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13070 echo "configure:13071: checking for $ac_func" >&5
13071 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13072 echo $ac_n "(cached) $ac_c" 1>&6
13074 cat > conftest.$ac_ext <<EOF
13075 #line 13076 "configure"
13076 #include "confdefs.h"
13077 /* System header to define __stub macros and hopefully few prototypes,
13078 which can conflict with char $ac_func(); below. */
13079 #include <assert.h>
13080 /* Override any gcc2 internal prototype to avoid an error. */
13081 /* We use char because int might match the return type of a gcc2
13082 builtin and then its argument prototype would still apply. */
13087 /* The GNU C library defines this for functions which it implements
13088 to always fail with ENOSYS. Some functions are actually named
13089 something starting with __ and the normal name is an alias. */
13090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13098 if { (eval echo configure:13099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13100 eval "ac_cv_func_$ac_func=yes"
13102 echo "configure: failed program was:" >&5
13103 cat conftest.$ac_ext >&5
13105 eval "ac_cv_func_$ac_func=no"
13110 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13111 echo "$ac_t""yes" 1>&6
13112 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13113 cat >> confdefs.h <<EOF
13114 #define $ac_tr_func 1
13118 echo "$ac_t""no" 1>&6
13124 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
13125 echo "configure:13126: checking for _logl declaration" >&5
13126 if test x${glibcpp_cv_func__logl_use+set} != xset; then
13127 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
13128 echo $ac_n "(cached) $ac_c" 1>&6
13133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13134 ac_cpp='$CXXCPP $CPPFLAGS'
13135 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13136 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13137 cross_compiling=$ac_cv_prog_cxx_cross
13139 cat > conftest.$ac_ext <<EOF
13140 #line 13141 "configure"
13141 #include "confdefs.h"
13143 #ifdef HAVE_IEEEFP_H
13144 #include <ieeefp.h>
13151 if { (eval echo configure:13152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13153 glibcpp_cv_func__logl_use=yes
13155 echo "configure: failed program was:" >&5
13156 cat conftest.$ac_ext >&5
13158 glibcpp_cv_func__logl_use=no
13162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13163 ac_cpp='$CPP $CPPFLAGS'
13164 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13165 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13166 cross_compiling=$ac_cv_prog_cc_cross
13172 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
13174 if test x$glibcpp_cv_func__logl_use = x"yes"; then
13175 for ac_func in _logl
13177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13178 echo "configure:13179: checking for $ac_func" >&5
13179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13180 echo $ac_n "(cached) $ac_c" 1>&6
13182 cat > conftest.$ac_ext <<EOF
13183 #line 13184 "configure"
13184 #include "confdefs.h"
13185 /* System header to define __stub macros and hopefully few prototypes,
13186 which can conflict with char $ac_func(); below. */
13187 #include <assert.h>
13188 /* Override any gcc2 internal prototype to avoid an error. */
13189 /* We use char because int might match the return type of a gcc2
13190 builtin and then its argument prototype would still apply. */
13195 /* The GNU C library defines this for functions which it implements
13196 to always fail with ENOSYS. Some functions are actually named
13197 something starting with __ and the normal name is an alias. */
13198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13206 if { (eval echo configure:13207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13208 eval "ac_cv_func_$ac_func=yes"
13210 echo "configure: failed program was:" >&5
13211 cat conftest.$ac_ext >&5
13213 eval "ac_cv_func_$ac_func=no"
13218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13219 echo "$ac_t""yes" 1>&6
13220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13221 cat >> confdefs.h <<EOF
13222 #define $ac_tr_func 1
13226 echo "$ac_t""no" 1>&6
13235 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
13236 echo "configure:13237: checking for log10l declaration" >&5
13237 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
13238 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
13239 echo $ac_n "(cached) $ac_c" 1>&6
13244 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13245 ac_cpp='$CXXCPP $CPPFLAGS'
13246 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13247 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13248 cross_compiling=$ac_cv_prog_cxx_cross
13250 cat > conftest.$ac_ext <<EOF
13251 #line 13252 "configure"
13252 #include "confdefs.h"
13254 #ifdef HAVE_IEEEFP_H
13255 #include <ieeefp.h>
13262 if { (eval echo configure:13263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13264 glibcpp_cv_func_log10l_use=yes
13266 echo "configure: failed program was:" >&5
13267 cat conftest.$ac_ext >&5
13269 glibcpp_cv_func_log10l_use=no
13273 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13274 ac_cpp='$CPP $CPPFLAGS'
13275 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13276 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13277 cross_compiling=$ac_cv_prog_cc_cross
13283 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
13285 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
13286 for ac_func in log10l
13288 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13289 echo "configure:13290: checking for $ac_func" >&5
13290 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13291 echo $ac_n "(cached) $ac_c" 1>&6
13293 cat > conftest.$ac_ext <<EOF
13294 #line 13295 "configure"
13295 #include "confdefs.h"
13296 /* System header to define __stub macros and hopefully few prototypes,
13297 which can conflict with char $ac_func(); below. */
13298 #include <assert.h>
13299 /* Override any gcc2 internal prototype to avoid an error. */
13300 /* We use char because int might match the return type of a gcc2
13301 builtin and then its argument prototype would still apply. */
13306 /* The GNU C library defines this for functions which it implements
13307 to always fail with ENOSYS. Some functions are actually named
13308 something starting with __ and the normal name is an alias. */
13309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13317 if { (eval echo configure:13318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13319 eval "ac_cv_func_$ac_func=yes"
13321 echo "configure: failed program was:" >&5
13322 cat conftest.$ac_ext >&5
13324 eval "ac_cv_func_$ac_func=no"
13329 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13330 echo "$ac_t""yes" 1>&6
13331 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13332 cat >> confdefs.h <<EOF
13333 #define $ac_tr_func 1
13337 echo "$ac_t""no" 1>&6
13343 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
13344 echo "configure:13345: checking for _log10l declaration" >&5
13345 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
13346 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
13347 echo $ac_n "(cached) $ac_c" 1>&6
13352 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13353 ac_cpp='$CXXCPP $CPPFLAGS'
13354 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13355 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13356 cross_compiling=$ac_cv_prog_cxx_cross
13358 cat > conftest.$ac_ext <<EOF
13359 #line 13360 "configure"
13360 #include "confdefs.h"
13362 #ifdef HAVE_IEEEFP_H
13363 #include <ieeefp.h>
13370 if { (eval echo configure:13371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13372 glibcpp_cv_func__log10l_use=yes
13374 echo "configure: failed program was:" >&5
13375 cat conftest.$ac_ext >&5
13377 glibcpp_cv_func__log10l_use=no
13381 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13382 ac_cpp='$CPP $CPPFLAGS'
13383 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13384 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13385 cross_compiling=$ac_cv_prog_cc_cross
13391 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
13393 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
13394 for ac_func in _log10l
13396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13397 echo "configure:13398: checking for $ac_func" >&5
13398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13399 echo $ac_n "(cached) $ac_c" 1>&6
13401 cat > conftest.$ac_ext <<EOF
13402 #line 13403 "configure"
13403 #include "confdefs.h"
13404 /* System header to define __stub macros and hopefully few prototypes,
13405 which can conflict with char $ac_func(); below. */
13406 #include <assert.h>
13407 /* Override any gcc2 internal prototype to avoid an error. */
13408 /* We use char because int might match the return type of a gcc2
13409 builtin and then its argument prototype would still apply. */
13414 /* The GNU C library defines this for functions which it implements
13415 to always fail with ENOSYS. Some functions are actually named
13416 something starting with __ and the normal name is an alias. */
13417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13425 if { (eval echo configure:13426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13427 eval "ac_cv_func_$ac_func=yes"
13429 echo "configure: failed program was:" >&5
13430 cat conftest.$ac_ext >&5
13432 eval "ac_cv_func_$ac_func=no"
13437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13438 echo "$ac_t""yes" 1>&6
13439 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13440 cat >> confdefs.h <<EOF
13441 #define $ac_tr_func 1
13445 echo "$ac_t""no" 1>&6
13454 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
13455 echo "configure:13456: checking for modfl declaration" >&5
13456 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
13457 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
13458 echo $ac_n "(cached) $ac_c" 1>&6
13463 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13464 ac_cpp='$CXXCPP $CPPFLAGS'
13465 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13466 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13467 cross_compiling=$ac_cv_prog_cxx_cross
13469 cat > conftest.$ac_ext <<EOF
13470 #line 13471 "configure"
13471 #include "confdefs.h"
13477 if { (eval echo configure:13478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13479 glibcpp_cv_func_modfl_use=yes
13481 echo "configure: failed program was:" >&5
13482 cat conftest.$ac_ext >&5
13484 glibcpp_cv_func_modfl_use=no
13488 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13489 ac_cpp='$CPP $CPPFLAGS'
13490 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13491 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13492 cross_compiling=$ac_cv_prog_cc_cross
13498 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
13500 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
13501 for ac_func in modfl
13503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13504 echo "configure:13505: checking for $ac_func" >&5
13505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13506 echo $ac_n "(cached) $ac_c" 1>&6
13508 cat > conftest.$ac_ext <<EOF
13509 #line 13510 "configure"
13510 #include "confdefs.h"
13511 /* System header to define __stub macros and hopefully few prototypes,
13512 which can conflict with char $ac_func(); below. */
13513 #include <assert.h>
13514 /* Override any gcc2 internal prototype to avoid an error. */
13515 /* We use char because int might match the return type of a gcc2
13516 builtin and then its argument prototype would still apply. */
13521 /* The GNU C library defines this for functions which it implements
13522 to always fail with ENOSYS. Some functions are actually named
13523 something starting with __ and the normal name is an alias. */
13524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13532 if { (eval echo configure:13533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13534 eval "ac_cv_func_$ac_func=yes"
13536 echo "configure: failed program was:" >&5
13537 cat conftest.$ac_ext >&5
13539 eval "ac_cv_func_$ac_func=no"
13544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13545 echo "$ac_t""yes" 1>&6
13546 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13547 cat >> confdefs.h <<EOF
13548 #define $ac_tr_func 1
13552 echo "$ac_t""no" 1>&6
13558 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
13559 echo "configure:13560: checking for _modfl declaration" >&5
13560 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
13561 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13562 echo $ac_n "(cached) $ac_c" 1>&6
13567 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13568 ac_cpp='$CXXCPP $CPPFLAGS'
13569 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13570 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13571 cross_compiling=$ac_cv_prog_cxx_cross
13573 cat > conftest.$ac_ext <<EOF
13574 #line 13575 "configure"
13575 #include "confdefs.h"
13581 if { (eval echo configure:13582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13583 glibcpp_cv_func__modfl_use=yes
13585 echo "configure: failed program was:" >&5
13586 cat conftest.$ac_ext >&5
13588 glibcpp_cv_func__modfl_use=no
13592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13593 ac_cpp='$CPP $CPPFLAGS'
13594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13596 cross_compiling=$ac_cv_prog_cc_cross
13602 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13604 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
13605 for ac_func in _modfl
13607 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13608 echo "configure:13609: checking for $ac_func" >&5
13609 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13610 echo $ac_n "(cached) $ac_c" 1>&6
13612 cat > conftest.$ac_ext <<EOF
13613 #line 13614 "configure"
13614 #include "confdefs.h"
13615 /* System header to define __stub macros and hopefully few prototypes,
13616 which can conflict with char $ac_func(); below. */
13617 #include <assert.h>
13618 /* Override any gcc2 internal prototype to avoid an error. */
13619 /* We use char because int might match the return type of a gcc2
13620 builtin and then its argument prototype would still apply. */
13625 /* The GNU C library defines this for functions which it implements
13626 to always fail with ENOSYS. Some functions are actually named
13627 something starting with __ and the normal name is an alias. */
13628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13636 if { (eval echo configure:13637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13638 eval "ac_cv_func_$ac_func=yes"
13640 echo "configure: failed program was:" >&5
13641 cat conftest.$ac_ext >&5
13643 eval "ac_cv_func_$ac_func=no"
13648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13649 echo "$ac_t""yes" 1>&6
13650 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13651 cat >> confdefs.h <<EOF
13652 #define $ac_tr_func 1
13656 echo "$ac_t""no" 1>&6
13665 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
13666 echo "configure:13667: checking for powl declaration" >&5
13667 if test x${glibcpp_cv_func_powl_use+set} != xset; then
13668 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
13669 echo $ac_n "(cached) $ac_c" 1>&6
13674 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13675 ac_cpp='$CXXCPP $CPPFLAGS'
13676 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13677 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13678 cross_compiling=$ac_cv_prog_cxx_cross
13680 cat > conftest.$ac_ext <<EOF
13681 #line 13682 "configure"
13682 #include "confdefs.h"
13688 if { (eval echo configure:13689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13690 glibcpp_cv_func_powl_use=yes
13692 echo "configure: failed program was:" >&5
13693 cat conftest.$ac_ext >&5
13695 glibcpp_cv_func_powl_use=no
13699 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13700 ac_cpp='$CPP $CPPFLAGS'
13701 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13702 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13703 cross_compiling=$ac_cv_prog_cc_cross
13709 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
13711 if test x$glibcpp_cv_func_powl_use = x"yes"; then
13712 for ac_func in powl
13714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13715 echo "configure:13716: checking for $ac_func" >&5
13716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13717 echo $ac_n "(cached) $ac_c" 1>&6
13719 cat > conftest.$ac_ext <<EOF
13720 #line 13721 "configure"
13721 #include "confdefs.h"
13722 /* System header to define __stub macros and hopefully few prototypes,
13723 which can conflict with char $ac_func(); below. */
13724 #include <assert.h>
13725 /* Override any gcc2 internal prototype to avoid an error. */
13726 /* We use char because int might match the return type of a gcc2
13727 builtin and then its argument prototype would still apply. */
13732 /* The GNU C library defines this for functions which it implements
13733 to always fail with ENOSYS. Some functions are actually named
13734 something starting with __ and the normal name is an alias. */
13735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13743 if { (eval echo configure:13744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13745 eval "ac_cv_func_$ac_func=yes"
13747 echo "configure: failed program was:" >&5
13748 cat conftest.$ac_ext >&5
13750 eval "ac_cv_func_$ac_func=no"
13755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13756 echo "$ac_t""yes" 1>&6
13757 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13758 cat >> confdefs.h <<EOF
13759 #define $ac_tr_func 1
13763 echo "$ac_t""no" 1>&6
13769 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
13770 echo "configure:13771: checking for _powl declaration" >&5
13771 if test x${glibcpp_cv_func__powl_use+set} != xset; then
13772 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
13773 echo $ac_n "(cached) $ac_c" 1>&6
13778 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13779 ac_cpp='$CXXCPP $CPPFLAGS'
13780 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13781 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13782 cross_compiling=$ac_cv_prog_cxx_cross
13784 cat > conftest.$ac_ext <<EOF
13785 #line 13786 "configure"
13786 #include "confdefs.h"
13792 if { (eval echo configure:13793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13794 glibcpp_cv_func__powl_use=yes
13796 echo "configure: failed program was:" >&5
13797 cat conftest.$ac_ext >&5
13799 glibcpp_cv_func__powl_use=no
13803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13804 ac_cpp='$CPP $CPPFLAGS'
13805 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13806 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13807 cross_compiling=$ac_cv_prog_cc_cross
13813 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
13815 if test x$glibcpp_cv_func__powl_use = x"yes"; then
13816 for ac_func in _powl
13818 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13819 echo "configure:13820: checking for $ac_func" >&5
13820 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13821 echo $ac_n "(cached) $ac_c" 1>&6
13823 cat > conftest.$ac_ext <<EOF
13824 #line 13825 "configure"
13825 #include "confdefs.h"
13826 /* System header to define __stub macros and hopefully few prototypes,
13827 which can conflict with char $ac_func(); below. */
13828 #include <assert.h>
13829 /* Override any gcc2 internal prototype to avoid an error. */
13830 /* We use char because int might match the return type of a gcc2
13831 builtin and then its argument prototype would still apply. */
13836 /* The GNU C library defines this for functions which it implements
13837 to always fail with ENOSYS. Some functions are actually named
13838 something starting with __ and the normal name is an alias. */
13839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13847 if { (eval echo configure:13848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13849 eval "ac_cv_func_$ac_func=yes"
13851 echo "configure: failed program was:" >&5
13852 cat conftest.$ac_ext >&5
13854 eval "ac_cv_func_$ac_func=no"
13859 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13860 echo "$ac_t""yes" 1>&6
13861 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13862 cat >> confdefs.h <<EOF
13863 #define $ac_tr_func 1
13867 echo "$ac_t""no" 1>&6
13876 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
13877 echo "configure:13878: checking for sqrtl declaration" >&5
13878 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
13879 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
13880 echo $ac_n "(cached) $ac_c" 1>&6
13885 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13886 ac_cpp='$CXXCPP $CPPFLAGS'
13887 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13888 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13889 cross_compiling=$ac_cv_prog_cxx_cross
13891 cat > conftest.$ac_ext <<EOF
13892 #line 13893 "configure"
13893 #include "confdefs.h"
13895 #ifdef HAVE_IEEEFP_H
13896 #include <ieeefp.h>
13903 if { (eval echo configure:13904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13905 glibcpp_cv_func_sqrtl_use=yes
13907 echo "configure: failed program was:" >&5
13908 cat conftest.$ac_ext >&5
13910 glibcpp_cv_func_sqrtl_use=no
13914 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13915 ac_cpp='$CPP $CPPFLAGS'
13916 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13917 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13918 cross_compiling=$ac_cv_prog_cc_cross
13924 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
13926 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
13927 for ac_func in sqrtl
13929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13930 echo "configure:13931: checking for $ac_func" >&5
13931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13932 echo $ac_n "(cached) $ac_c" 1>&6
13934 cat > conftest.$ac_ext <<EOF
13935 #line 13936 "configure"
13936 #include "confdefs.h"
13937 /* System header to define __stub macros and hopefully few prototypes,
13938 which can conflict with char $ac_func(); below. */
13939 #include <assert.h>
13940 /* Override any gcc2 internal prototype to avoid an error. */
13941 /* We use char because int might match the return type of a gcc2
13942 builtin and then its argument prototype would still apply. */
13947 /* The GNU C library defines this for functions which it implements
13948 to always fail with ENOSYS. Some functions are actually named
13949 something starting with __ and the normal name is an alias. */
13950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13958 if { (eval echo configure:13959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13960 eval "ac_cv_func_$ac_func=yes"
13962 echo "configure: failed program was:" >&5
13963 cat conftest.$ac_ext >&5
13965 eval "ac_cv_func_$ac_func=no"
13970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13971 echo "$ac_t""yes" 1>&6
13972 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13973 cat >> confdefs.h <<EOF
13974 #define $ac_tr_func 1
13978 echo "$ac_t""no" 1>&6
13984 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
13985 echo "configure:13986: checking for _sqrtl declaration" >&5
13986 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
13987 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
13988 echo $ac_n "(cached) $ac_c" 1>&6
13993 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13994 ac_cpp='$CXXCPP $CPPFLAGS'
13995 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13996 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13997 cross_compiling=$ac_cv_prog_cxx_cross
13999 cat > conftest.$ac_ext <<EOF
14000 #line 14001 "configure"
14001 #include "confdefs.h"
14003 #ifdef HAVE_IEEEFP_H
14004 #include <ieeefp.h>
14011 if { (eval echo configure:14012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14013 glibcpp_cv_func__sqrtl_use=yes
14015 echo "configure: failed program was:" >&5
14016 cat conftest.$ac_ext >&5
14018 glibcpp_cv_func__sqrtl_use=no
14022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14023 ac_cpp='$CPP $CPPFLAGS'
14024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14026 cross_compiling=$ac_cv_prog_cc_cross
14032 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
14034 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
14035 for ac_func in _sqrtl
14037 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14038 echo "configure:14039: checking for $ac_func" >&5
14039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14040 echo $ac_n "(cached) $ac_c" 1>&6
14042 cat > conftest.$ac_ext <<EOF
14043 #line 14044 "configure"
14044 #include "confdefs.h"
14045 /* System header to define __stub macros and hopefully few prototypes,
14046 which can conflict with char $ac_func(); below. */
14047 #include <assert.h>
14048 /* Override any gcc2 internal prototype to avoid an error. */
14049 /* We use char because int might match the return type of a gcc2
14050 builtin and then its argument prototype would still apply. */
14055 /* The GNU C library defines this for functions which it implements
14056 to always fail with ENOSYS. Some functions are actually named
14057 something starting with __ and the normal name is an alias. */
14058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14066 if { (eval echo configure:14067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14068 eval "ac_cv_func_$ac_func=yes"
14070 echo "configure: failed program was:" >&5
14071 cat conftest.$ac_ext >&5
14073 eval "ac_cv_func_$ac_func=no"
14078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14079 echo "$ac_t""yes" 1>&6
14080 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14081 cat >> confdefs.h <<EOF
14082 #define $ac_tr_func 1
14086 echo "$ac_t""no" 1>&6
14095 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
14096 echo "configure:14097: checking for sincosl declaration" >&5
14097 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
14098 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
14099 echo $ac_n "(cached) $ac_c" 1>&6
14104 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14105 ac_cpp='$CXXCPP $CPPFLAGS'
14106 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14107 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14108 cross_compiling=$ac_cv_prog_cxx_cross
14110 cat > conftest.$ac_ext <<EOF
14111 #line 14112 "configure"
14112 #include "confdefs.h"
14118 if { (eval echo configure:14119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14120 glibcpp_cv_func_sincosl_use=yes
14122 echo "configure: failed program was:" >&5
14123 cat conftest.$ac_ext >&5
14125 glibcpp_cv_func_sincosl_use=no
14129 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14130 ac_cpp='$CPP $CPPFLAGS'
14131 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14132 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14133 cross_compiling=$ac_cv_prog_cc_cross
14139 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
14141 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
14142 for ac_func in sincosl
14144 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14145 echo "configure:14146: checking for $ac_func" >&5
14146 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14147 echo $ac_n "(cached) $ac_c" 1>&6
14149 cat > conftest.$ac_ext <<EOF
14150 #line 14151 "configure"
14151 #include "confdefs.h"
14152 /* System header to define __stub macros and hopefully few prototypes,
14153 which can conflict with char $ac_func(); below. */
14154 #include <assert.h>
14155 /* Override any gcc2 internal prototype to avoid an error. */
14156 /* We use char because int might match the return type of a gcc2
14157 builtin and then its argument prototype would still apply. */
14162 /* The GNU C library defines this for functions which it implements
14163 to always fail with ENOSYS. Some functions are actually named
14164 something starting with __ and the normal name is an alias. */
14165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14173 if { (eval echo configure:14174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14175 eval "ac_cv_func_$ac_func=yes"
14177 echo "configure: failed program was:" >&5
14178 cat conftest.$ac_ext >&5
14180 eval "ac_cv_func_$ac_func=no"
14185 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14186 echo "$ac_t""yes" 1>&6
14187 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14188 cat >> confdefs.h <<EOF
14189 #define $ac_tr_func 1
14193 echo "$ac_t""no" 1>&6
14199 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
14200 echo "configure:14201: checking for _sincosl declaration" >&5
14201 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
14202 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
14203 echo $ac_n "(cached) $ac_c" 1>&6
14208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14209 ac_cpp='$CXXCPP $CPPFLAGS'
14210 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14211 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14212 cross_compiling=$ac_cv_prog_cxx_cross
14214 cat > conftest.$ac_ext <<EOF
14215 #line 14216 "configure"
14216 #include "confdefs.h"
14222 if { (eval echo configure:14223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14224 glibcpp_cv_func__sincosl_use=yes
14226 echo "configure: failed program was:" >&5
14227 cat conftest.$ac_ext >&5
14229 glibcpp_cv_func__sincosl_use=no
14233 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14234 ac_cpp='$CPP $CPPFLAGS'
14235 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14236 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14237 cross_compiling=$ac_cv_prog_cc_cross
14243 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
14245 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
14246 for ac_func in _sincosl
14248 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14249 echo "configure:14250: checking for $ac_func" >&5
14250 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14251 echo $ac_n "(cached) $ac_c" 1>&6
14253 cat > conftest.$ac_ext <<EOF
14254 #line 14255 "configure"
14255 #include "confdefs.h"
14256 /* System header to define __stub macros and hopefully few prototypes,
14257 which can conflict with char $ac_func(); below. */
14258 #include <assert.h>
14259 /* Override any gcc2 internal prototype to avoid an error. */
14260 /* We use char because int might match the return type of a gcc2
14261 builtin and then its argument prototype would still apply. */
14266 /* The GNU C library defines this for functions which it implements
14267 to always fail with ENOSYS. Some functions are actually named
14268 something starting with __ and the normal name is an alias. */
14269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14277 if { (eval echo configure:14278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14279 eval "ac_cv_func_$ac_func=yes"
14281 echo "configure: failed program was:" >&5
14282 cat conftest.$ac_ext >&5
14284 eval "ac_cv_func_$ac_func=no"
14289 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14290 echo "$ac_t""yes" 1>&6
14291 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14292 cat >> confdefs.h <<EOF
14293 #define $ac_tr_func 1
14297 echo "$ac_t""no" 1>&6
14306 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
14307 echo "configure:14308: checking for finitel declaration" >&5
14308 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
14309 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
14310 echo $ac_n "(cached) $ac_c" 1>&6
14315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14316 ac_cpp='$CXXCPP $CPPFLAGS'
14317 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14318 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14319 cross_compiling=$ac_cv_prog_cxx_cross
14321 cat > conftest.$ac_ext <<EOF
14322 #line 14323 "configure"
14323 #include "confdefs.h"
14325 #ifdef HAVE_IEEEFP_H
14326 #include <ieeefp.h>
14333 if { (eval echo configure:14334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14335 glibcpp_cv_func_finitel_use=yes
14337 echo "configure: failed program was:" >&5
14338 cat conftest.$ac_ext >&5
14340 glibcpp_cv_func_finitel_use=no
14344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14345 ac_cpp='$CPP $CPPFLAGS'
14346 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14347 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14348 cross_compiling=$ac_cv_prog_cc_cross
14354 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
14356 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
14357 for ac_func in finitel
14359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14360 echo "configure:14361: checking for $ac_func" >&5
14361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14362 echo $ac_n "(cached) $ac_c" 1>&6
14364 cat > conftest.$ac_ext <<EOF
14365 #line 14366 "configure"
14366 #include "confdefs.h"
14367 /* System header to define __stub macros and hopefully few prototypes,
14368 which can conflict with char $ac_func(); below. */
14369 #include <assert.h>
14370 /* Override any gcc2 internal prototype to avoid an error. */
14371 /* We use char because int might match the return type of a gcc2
14372 builtin and then its argument prototype would still apply. */
14377 /* The GNU C library defines this for functions which it implements
14378 to always fail with ENOSYS. Some functions are actually named
14379 something starting with __ and the normal name is an alias. */
14380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14388 if { (eval echo configure:14389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14390 eval "ac_cv_func_$ac_func=yes"
14392 echo "configure: failed program was:" >&5
14393 cat conftest.$ac_ext >&5
14395 eval "ac_cv_func_$ac_func=no"
14400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14401 echo "$ac_t""yes" 1>&6
14402 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14403 cat >> confdefs.h <<EOF
14404 #define $ac_tr_func 1
14408 echo "$ac_t""no" 1>&6
14414 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
14415 echo "configure:14416: checking for _finitel declaration" >&5
14416 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
14417 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
14418 echo $ac_n "(cached) $ac_c" 1>&6
14423 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14424 ac_cpp='$CXXCPP $CPPFLAGS'
14425 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14426 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14427 cross_compiling=$ac_cv_prog_cxx_cross
14429 cat > conftest.$ac_ext <<EOF
14430 #line 14431 "configure"
14431 #include "confdefs.h"
14433 #ifdef HAVE_IEEEFP_H
14434 #include <ieeefp.h>
14441 if { (eval echo configure:14442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14443 glibcpp_cv_func__finitel_use=yes
14445 echo "configure: failed program was:" >&5
14446 cat conftest.$ac_ext >&5
14448 glibcpp_cv_func__finitel_use=no
14452 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14453 ac_cpp='$CPP $CPPFLAGS'
14454 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14455 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14456 cross_compiling=$ac_cv_prog_cc_cross
14462 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14464 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
14465 for ac_func in _finitel
14467 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14468 echo "configure:14469: checking for $ac_func" >&5
14469 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14470 echo $ac_n "(cached) $ac_c" 1>&6
14472 cat > conftest.$ac_ext <<EOF
14473 #line 14474 "configure"
14474 #include "confdefs.h"
14475 /* System header to define __stub macros and hopefully few prototypes,
14476 which can conflict with char $ac_func(); below. */
14477 #include <assert.h>
14478 /* Override any gcc2 internal prototype to avoid an error. */
14479 /* We use char because int might match the return type of a gcc2
14480 builtin and then its argument prototype would still apply. */
14485 /* The GNU C library defines this for functions which it implements
14486 to always fail with ENOSYS. Some functions are actually named
14487 something starting with __ and the normal name is an alias. */
14488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14496 if { (eval echo configure:14497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14498 eval "ac_cv_func_$ac_func=yes"
14500 echo "configure: failed program was:" >&5
14501 cat conftest.$ac_ext >&5
14503 eval "ac_cv_func_$ac_func=no"
14508 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14509 echo "$ac_t""yes" 1>&6
14510 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14511 cat >> confdefs.h <<EOF
14512 #define $ac_tr_func 1
14516 echo "$ac_t""no" 1>&6
14526 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
14527 echo "configure:14528: checking for _float trig functions" >&5
14528 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
14529 echo $ac_n "(cached) $ac_c" 1>&6
14534 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14535 ac_cpp='$CXXCPP $CPPFLAGS'
14536 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14537 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14538 cross_compiling=$ac_cv_prog_cxx_cross
14540 cat > conftest.$ac_ext <<EOF
14541 #line 14542 "configure"
14542 #include "confdefs.h"
14545 `for x in _acosf _asinf _atanf \
14546 _cosf _sinf _tanf \
14547 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
14550 if { (eval echo configure:14551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14552 glibcpp_cv_func__float_trig_use=yes
14554 echo "configure: failed program was:" >&5
14555 cat conftest.$ac_ext >&5
14557 glibcpp_cv_func__float_trig_use=no
14561 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14562 ac_cpp='$CPP $CPPFLAGS'
14563 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14564 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14565 cross_compiling=$ac_cv_prog_cc_cross
14569 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
14570 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
14571 for ac_func in _acosf _asinf _atanf \
14572 _cosf _sinf _tanf \
14573 _coshf _sinhf _tanhf
14575 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14576 echo "configure:14577: checking for $ac_func" >&5
14577 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14578 echo $ac_n "(cached) $ac_c" 1>&6
14580 cat > conftest.$ac_ext <<EOF
14581 #line 14582 "configure"
14582 #include "confdefs.h"
14583 /* System header to define __stub macros and hopefully few prototypes,
14584 which can conflict with char $ac_func(); below. */
14585 #include <assert.h>
14586 /* Override any gcc2 internal prototype to avoid an error. */
14587 /* We use char because int might match the return type of a gcc2
14588 builtin and then its argument prototype would still apply. */
14593 /* The GNU C library defines this for functions which it implements
14594 to always fail with ENOSYS. Some functions are actually named
14595 something starting with __ and the normal name is an alias. */
14596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14604 if { (eval echo configure:14605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14606 eval "ac_cv_func_$ac_func=yes"
14608 echo "configure: failed program was:" >&5
14609 cat conftest.$ac_ext >&5
14611 eval "ac_cv_func_$ac_func=no"
14616 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14617 echo "$ac_t""yes" 1>&6
14618 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14619 cat >> confdefs.h <<EOF
14620 #define $ac_tr_func 1
14624 echo "$ac_t""no" 1>&6
14631 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
14632 echo "configure:14633: checking for _float round functions" >&5
14633 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
14634 echo $ac_n "(cached) $ac_c" 1>&6
14639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14640 ac_cpp='$CXXCPP $CPPFLAGS'
14641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14643 cross_compiling=$ac_cv_prog_cxx_cross
14645 cat > conftest.$ac_ext <<EOF
14646 #line 14647 "configure"
14647 #include "confdefs.h"
14650 `for x in _ceilf _floorf; do echo "$x (0);"; done`
14653 if { (eval echo configure:14654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14655 glibcpp_cv_func__float_round_use=yes
14657 echo "configure: failed program was:" >&5
14658 cat conftest.$ac_ext >&5
14660 glibcpp_cv_func__float_round_use=no
14664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14665 ac_cpp='$CPP $CPPFLAGS'
14666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14668 cross_compiling=$ac_cv_prog_cc_cross
14672 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
14673 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
14674 for ac_func in _ceilf _floorf
14676 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14677 echo "configure:14678: checking for $ac_func" >&5
14678 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14679 echo $ac_n "(cached) $ac_c" 1>&6
14681 cat > conftest.$ac_ext <<EOF
14682 #line 14683 "configure"
14683 #include "confdefs.h"
14684 /* System header to define __stub macros and hopefully few prototypes,
14685 which can conflict with char $ac_func(); below. */
14686 #include <assert.h>
14687 /* Override any gcc2 internal prototype to avoid an error. */
14688 /* We use char because int might match the return type of a gcc2
14689 builtin and then its argument prototype would still apply. */
14694 /* The GNU C library defines this for functions which it implements
14695 to always fail with ENOSYS. Some functions are actually named
14696 something starting with __ and the normal name is an alias. */
14697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14705 if { (eval echo configure:14706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14707 eval "ac_cv_func_$ac_func=yes"
14709 echo "configure: failed program was:" >&5
14710 cat conftest.$ac_ext >&5
14712 eval "ac_cv_func_$ac_func=no"
14717 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14718 echo "$ac_t""yes" 1>&6
14719 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14720 cat >> confdefs.h <<EOF
14721 #define $ac_tr_func 1
14725 echo "$ac_t""no" 1>&6
14733 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
14734 echo "configure:14735: checking for _long double trig functions" >&5
14735 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
14736 echo $ac_n "(cached) $ac_c" 1>&6
14741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14742 ac_cpp='$CXXCPP $CPPFLAGS'
14743 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14744 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14745 cross_compiling=$ac_cv_prog_cxx_cross
14747 cat > conftest.$ac_ext <<EOF
14748 #line 14749 "configure"
14749 #include "confdefs.h"
14752 `for x in _acosl _asinl _atanl \
14753 _cosl _sinl _tanl \
14754 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
14757 if { (eval echo configure:14758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14759 glibcpp_cv_func__long_double_trig_use=yes
14761 echo "configure: failed program was:" >&5
14762 cat conftest.$ac_ext >&5
14764 glibcpp_cv_func__long_double_trig_use=no
14768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14769 ac_cpp='$CPP $CPPFLAGS'
14770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14772 cross_compiling=$ac_cv_prog_cc_cross
14776 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
14777 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
14778 for ac_func in _acosl _asinl _atanl \
14779 _cosl _sinl _tanl \
14780 _coshl _sinhl _tanhl
14782 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14783 echo "configure:14784: checking for $ac_func" >&5
14784 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14785 echo $ac_n "(cached) $ac_c" 1>&6
14787 cat > conftest.$ac_ext <<EOF
14788 #line 14789 "configure"
14789 #include "confdefs.h"
14790 /* System header to define __stub macros and hopefully few prototypes,
14791 which can conflict with char $ac_func(); below. */
14792 #include <assert.h>
14793 /* Override any gcc2 internal prototype to avoid an error. */
14794 /* We use char because int might match the return type of a gcc2
14795 builtin and then its argument prototype would still apply. */
14800 /* The GNU C library defines this for functions which it implements
14801 to always fail with ENOSYS. Some functions are actually named
14802 something starting with __ and the normal name is an alias. */
14803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14811 if { (eval echo configure:14812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14813 eval "ac_cv_func_$ac_func=yes"
14815 echo "configure: failed program was:" >&5
14816 cat conftest.$ac_ext >&5
14818 eval "ac_cv_func_$ac_func=no"
14823 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14824 echo "$ac_t""yes" 1>&6
14825 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14826 cat >> confdefs.h <<EOF
14827 #define $ac_tr_func 1
14831 echo "$ac_t""no" 1>&6
14838 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
14839 echo "configure:14840: checking for _long double round functions" >&5
14840 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
14841 echo $ac_n "(cached) $ac_c" 1>&6
14846 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14847 ac_cpp='$CXXCPP $CPPFLAGS'
14848 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14849 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14850 cross_compiling=$ac_cv_prog_cxx_cross
14852 cat > conftest.$ac_ext <<EOF
14853 #line 14854 "configure"
14854 #include "confdefs.h"
14857 `for x in _ceill _floorl; do echo "$x (0);"; done`
14860 if { (eval echo configure:14861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14862 glibcpp_cv_func__long_double_round_use=yes
14864 echo "configure: failed program was:" >&5
14865 cat conftest.$ac_ext >&5
14867 glibcpp_cv_func__long_double_round_use=no
14871 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14872 ac_cpp='$CPP $CPPFLAGS'
14873 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14874 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14875 cross_compiling=$ac_cv_prog_cc_cross
14879 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
14880 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
14881 for ac_func in _ceill _floorl
14883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14884 echo "configure:14885: checking for $ac_func" >&5
14885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14886 echo $ac_n "(cached) $ac_c" 1>&6
14888 cat > conftest.$ac_ext <<EOF
14889 #line 14890 "configure"
14890 #include "confdefs.h"
14891 /* System header to define __stub macros and hopefully few prototypes,
14892 which can conflict with char $ac_func(); below. */
14893 #include <assert.h>
14894 /* Override any gcc2 internal prototype to avoid an error. */
14895 /* We use char because int might match the return type of a gcc2
14896 builtin and then its argument prototype would still apply. */
14901 /* The GNU C library defines this for functions which it implements
14902 to always fail with ENOSYS. Some functions are actually named
14903 something starting with __ and the normal name is an alias. */
14904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14912 if { (eval echo configure:14913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14914 eval "ac_cv_func_$ac_func=yes"
14916 echo "configure: failed program was:" >&5
14917 cat conftest.$ac_ext >&5
14919 eval "ac_cv_func_$ac_func=no"
14924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14925 echo "$ac_t""yes" 1>&6
14926 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14927 cat >> confdefs.h <<EOF
14928 #define $ac_tr_func 1
14932 echo "$ac_t""no" 1>&6
14939 LIBS="$ac_save_LIBS"
14940 CXXFLAGS="$ac_save_CXXFLAGS"
14943 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
14944 echo "configure:14945: checking for main in -lm" >&5
14945 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
14946 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14947 echo $ac_n "(cached) $ac_c" 1>&6
14949 ac_save_LIBS="$LIBS"
14951 cat > conftest.$ac_ext <<EOF
14952 #line 14953 "configure"
14953 #include "confdefs.h"
14959 if { (eval echo configure:14960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14961 eval "ac_cv_lib_$ac_lib_var=yes"
14963 echo "configure: failed program was:" >&5
14964 cat conftest.$ac_ext >&5
14966 eval "ac_cv_lib_$ac_lib_var=no"
14969 LIBS="$ac_save_LIBS"
14972 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14973 echo "$ac_t""yes" 1>&6
14974 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
14975 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
14976 cat >> confdefs.h <<EOF
14977 #define $ac_tr_lib 1
14983 echo "$ac_t""no" 1>&6
14986 for ac_func in nan hypot hypotf copysignf
14988 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14989 echo "configure:14990: checking for $ac_func" >&5
14990 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14991 echo $ac_n "(cached) $ac_c" 1>&6
14993 cat > conftest.$ac_ext <<EOF
14994 #line 14995 "configure"
14995 #include "confdefs.h"
14996 /* System header to define __stub macros and hopefully few prototypes,
14997 which can conflict with char $ac_func(); below. */
14998 #include <assert.h>
14999 /* Override any gcc2 internal prototype to avoid an error. */
15000 /* We use char because int might match the return type of a gcc2
15001 builtin and then its argument prototype would still apply. */
15006 /* The GNU C library defines this for functions which it implements
15007 to always fail with ENOSYS. Some functions are actually named
15008 something starting with __ and the normal name is an alias. */
15009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15017 if { (eval echo configure:15018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15019 eval "ac_cv_func_$ac_func=yes"
15021 echo "configure: failed program was:" >&5
15022 cat conftest.$ac_ext >&5
15024 eval "ac_cv_func_$ac_func=no"
15029 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15030 echo "$ac_t""yes" 1>&6
15031 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15032 cat >> confdefs.h <<EOF
15033 #define $ac_tr_func 1
15037 echo "$ac_t""no" 1>&6
15038 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15044 USE_COMPLEX_LONG_DOUBLE=no
15045 if test x$ac_cv_func_atan2l = x"yes" &&
15046 test x$ac_cv_func_copysignl = x"yes"; then
15047 USE_COMPLEX_LONG_DOUBLE=yes
15048 for ac_func in hypotl signbitl
15050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15051 echo "configure:15052: checking for $ac_func" >&5
15052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15053 echo $ac_n "(cached) $ac_c" 1>&6
15055 cat > conftest.$ac_ext <<EOF
15056 #line 15057 "configure"
15057 #include "confdefs.h"
15058 /* System header to define __stub macros and hopefully few prototypes,
15059 which can conflict with char $ac_func(); below. */
15060 #include <assert.h>
15061 /* Override any gcc2 internal prototype to avoid an error. */
15062 /* We use char because int might match the return type of a gcc2
15063 builtin and then its argument prototype would still apply. */
15068 /* The GNU C library defines this for functions which it implements
15069 to always fail with ENOSYS. Some functions are actually named
15070 something starting with __ and the normal name is an alias. */
15071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15079 if { (eval echo configure:15080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15081 eval "ac_cv_func_$ac_func=yes"
15083 echo "configure: failed program was:" >&5
15084 cat conftest.$ac_ext >&5
15086 eval "ac_cv_func_$ac_func=no"
15091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15092 echo "$ac_t""yes" 1>&6
15093 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15094 cat >> confdefs.h <<EOF
15095 #define $ac_tr_func 1
15099 echo "$ac_t""no" 1>&6
15100 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
15111 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
15112 echo "configure:15113: checking for mbstate_t" >&5
15113 cat > conftest.$ac_ext <<EOF
15114 #line 15115 "configure"
15115 #include "confdefs.h"
15118 mbstate_t teststate;
15121 if { (eval echo configure:15122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15125 echo "configure: failed program was:" >&5
15126 cat conftest.$ac_ext >&5
15131 echo "$ac_t""$have_mbstate_t" 1>&6
15132 if test x"$have_mbstate_t" = xyes; then
15133 cat >> confdefs.h <<\EOF
15134 #define HAVE_MBSTATE_T 1
15139 for ac_hdr in wchar.h
15141 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15142 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15143 echo "configure:15144: checking for $ac_hdr" >&5
15144 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15145 echo $ac_n "(cached) $ac_c" 1>&6
15147 cat > conftest.$ac_ext <<EOF
15148 #line 15149 "configure"
15149 #include "confdefs.h"
15152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15153 { (eval echo configure:15154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15155 if test -z "$ac_err"; then
15157 eval "ac_cv_header_$ac_safe=yes"
15160 echo "configure: failed program was:" >&5
15161 cat conftest.$ac_ext >&5
15163 eval "ac_cv_header_$ac_safe=no"
15167 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15168 echo "$ac_t""yes" 1>&6
15169 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15170 cat >> confdefs.h <<EOF
15171 #define $ac_tr_hdr 1
15175 echo "$ac_t""no" 1>&6
15180 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
15181 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
15182 echo "configure:15183: checking for wctype.h" >&5
15183 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15184 echo $ac_n "(cached) $ac_c" 1>&6
15186 cat > conftest.$ac_ext <<EOF
15187 #line 15188 "configure"
15188 #include "confdefs.h"
15189 #include <wctype.h>
15191 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15192 { (eval echo configure:15193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15193 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15194 if test -z "$ac_err"; then
15196 eval "ac_cv_header_$ac_safe=yes"
15199 echo "configure: failed program was:" >&5
15200 cat conftest.$ac_ext >&5
15202 eval "ac_cv_header_$ac_safe=no"
15206 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15207 echo "$ac_t""yes" 1>&6
15208 ac_has_wctype_h=yes
15210 echo "$ac_t""no" 1>&6
15215 if test x"$ac_has_wchar_h" = xyes &&
15216 test x"$ac_has_wctype_h" = xyes &&
15217 test x"$enable_c_mbchar" != xno; then
15219 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
15220 echo "configure:15221: checking for WCHAR_MIN and WCHAR_MAX" >&5
15221 cat > conftest.$ac_ext <<EOF
15222 #line 15223 "configure"
15223 #include "confdefs.h"
15226 int i = WCHAR_MIN; int j = WCHAR_MAX;
15229 if { (eval echo configure:15230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15231 has_wchar_minmax=yes
15233 echo "configure: failed program was:" >&5
15234 cat conftest.$ac_ext >&5
15236 has_wchar_minmax=no
15239 echo "$ac_t""$has_wchar_minmax" 1>&6
15241 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
15242 echo "configure:15243: checking for WEOF" >&5
15243 cat > conftest.$ac_ext <<EOF
15244 #line 15245 "configure"
15245 #include "confdefs.h"
15248 #include <stddef.h>
15253 if { (eval echo configure:15254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15257 echo "configure: failed program was:" >&5
15258 cat conftest.$ac_ext >&5
15263 echo "$ac_t""$has_weof" 1>&6
15266 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
15268 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15269 echo "configure:15270: checking for $ac_func" >&5
15270 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15271 echo $ac_n "(cached) $ac_c" 1>&6
15273 cat > conftest.$ac_ext <<EOF
15274 #line 15275 "configure"
15275 #include "confdefs.h"
15276 /* System header to define __stub macros and hopefully few prototypes,
15277 which can conflict with char $ac_func(); below. */
15278 #include <assert.h>
15279 /* Override any gcc2 internal prototype to avoid an error. */
15280 /* We use char because int might match the return type of a gcc2
15281 builtin and then its argument prototype would still apply. */
15286 /* The GNU C library defines this for functions which it implements
15287 to always fail with ENOSYS. Some functions are actually named
15288 something starting with __ and the normal name is an alias. */
15289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15297 if { (eval echo configure:15298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15299 eval "ac_cv_func_$ac_func=yes"
15301 echo "configure: failed program was:" >&5
15302 cat conftest.$ac_ext >&5
15304 eval "ac_cv_func_$ac_func=no"
15309 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15310 echo "$ac_t""yes" 1>&6
15311 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15312 cat >> confdefs.h <<EOF
15313 #define $ac_tr_func 1
15317 echo "$ac_t""no" 1>&6
15324 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
15325 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
15326 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
15327 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
15328 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
15329 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
15331 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15332 echo "configure:15333: checking for $ac_func" >&5
15333 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15334 echo $ac_n "(cached) $ac_c" 1>&6
15336 cat > conftest.$ac_ext <<EOF
15337 #line 15338 "configure"
15338 #include "confdefs.h"
15339 /* System header to define __stub macros and hopefully few prototypes,
15340 which can conflict with char $ac_func(); below. */
15341 #include <assert.h>
15342 /* Override any gcc2 internal prototype to avoid an error. */
15343 /* We use char because int might match the return type of a gcc2
15344 builtin and then its argument prototype would still apply. */
15349 /* The GNU C library defines this for functions which it implements
15350 to always fail with ENOSYS. Some functions are actually named
15351 something starting with __ and the normal name is an alias. */
15352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15360 if { (eval echo configure:15361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15362 eval "ac_cv_func_$ac_func=yes"
15364 echo "configure: failed program was:" >&5
15365 cat conftest.$ac_ext >&5
15367 eval "ac_cv_func_$ac_func=no"
15372 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15373 echo "$ac_t""yes" 1>&6
15374 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15375 cat >> confdefs.h <<EOF
15376 #define $ac_tr_func 1
15380 echo "$ac_t""no" 1>&6
15387 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
15388 echo "configure:15389: checking for ISO C99 wchar_t support" >&5
15389 if test x"$has_weof" = xyes &&
15390 test x"$has_wchar_minmax" = xyes &&
15391 test x"$ac_wfuncs" = xyes; then
15392 ac_isoC99_wchar_t=yes
15394 ac_isoC99_wchar_t=no
15396 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
15398 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
15399 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
15400 echo "configure:15401: checking for iconv.h" >&5
15401 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15402 echo $ac_n "(cached) $ac_c" 1>&6
15404 cat > conftest.$ac_ext <<EOF
15405 #line 15406 "configure"
15406 #include "confdefs.h"
15409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15410 { (eval echo configure:15411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15412 if test -z "$ac_err"; then
15414 eval "ac_cv_header_$ac_safe=yes"
15417 echo "configure: failed program was:" >&5
15418 cat conftest.$ac_ext >&5
15420 eval "ac_cv_header_$ac_safe=no"
15424 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15425 echo "$ac_t""yes" 1>&6
15428 echo "$ac_t""no" 1>&6
15432 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
15433 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
15434 echo "configure:15435: checking for langinfo.h" >&5
15435 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15436 echo $ac_n "(cached) $ac_c" 1>&6
15438 cat > conftest.$ac_ext <<EOF
15439 #line 15440 "configure"
15440 #include "confdefs.h"
15441 #include <langinfo.h>
15443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15444 { (eval echo configure:15445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15446 if test -z "$ac_err"; then
15448 eval "ac_cv_header_$ac_safe=yes"
15451 echo "configure: failed program was:" >&5
15452 cat conftest.$ac_ext >&5
15454 eval "ac_cv_header_$ac_safe=no"
15458 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15459 echo "$ac_t""yes" 1>&6
15460 ac_has_langinfo_h=yes
15462 echo "$ac_t""no" 1>&6
15463 ac_has_langinfo_h=no
15467 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
15468 echo "configure:15469: checking for iconv in -liconv" >&5
15469 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
15470 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15471 echo $ac_n "(cached) $ac_c" 1>&6
15473 ac_save_LIBS="$LIBS"
15474 LIBS="-liconv $LIBS"
15475 cat > conftest.$ac_ext <<EOF
15476 #line 15477 "configure"
15477 #include "confdefs.h"
15478 /* Override any gcc2 internal prototype to avoid an error. */
15479 /* We use char because int might match the return type of a gcc2
15480 builtin and then its argument prototype would still apply. */
15487 if { (eval echo configure:15488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15489 eval "ac_cv_lib_$ac_lib_var=yes"
15491 echo "configure: failed program was:" >&5
15492 cat conftest.$ac_ext >&5
15494 eval "ac_cv_lib_$ac_lib_var=no"
15497 LIBS="$ac_save_LIBS"
15500 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15501 echo "$ac_t""yes" 1>&6
15504 echo "$ac_t""no" 1>&6
15507 ac_save_LIBS="$LIBS"
15508 LIBS="$LIBS $libiconv"
15510 for ac_func in iconv_open iconv_close iconv nl_langinfo
15512 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15513 echo "configure:15514: checking for $ac_func" >&5
15514 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15515 echo $ac_n "(cached) $ac_c" 1>&6
15517 cat > conftest.$ac_ext <<EOF
15518 #line 15519 "configure"
15519 #include "confdefs.h"
15520 /* System header to define __stub macros and hopefully few prototypes,
15521 which can conflict with char $ac_func(); below. */
15522 #include <assert.h>
15523 /* Override any gcc2 internal prototype to avoid an error. */
15524 /* We use char because int might match the return type of a gcc2
15525 builtin and then its argument prototype would still apply. */
15530 /* The GNU C library defines this for functions which it implements
15531 to always fail with ENOSYS. Some functions are actually named
15532 something starting with __ and the normal name is an alias. */
15533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15541 if { (eval echo configure:15542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15543 eval "ac_cv_func_$ac_func=yes"
15545 echo "configure: failed program was:" >&5
15546 cat conftest.$ac_ext >&5
15548 eval "ac_cv_func_$ac_func=no"
15553 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15554 echo "$ac_t""yes" 1>&6
15555 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15556 cat >> confdefs.h <<EOF
15557 #define $ac_tr_func 1
15562 echo "$ac_t""no" 1>&6
15568 LIBS="$ac_save_LIBS"
15570 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
15571 echo "configure:15572: checking for XPG2 wchar_t support" >&5
15572 if test x"$ac_has_iconv_h" = xyes &&
15573 test x"$ac_has_langinfo_h" = xyes &&
15574 test x"$ac_XPG2funcs" = xyes; then
15575 ac_XPG2_wchar_t=yes
15579 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
15581 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
15582 echo "configure:15583: checking for enabled wchar_t specializations" >&5
15583 if test x"$ac_isoC99_wchar_t" = xyes &&
15584 test x"$ac_XPG2_wchar_t" = xyes; then
15585 cat >> confdefs.h <<\EOF
15586 #define _GLIBCPP_USE_WCHAR_T 1
15589 echo "$ac_t"""yes"" 1>&6
15591 echo "$ac_t"""no"" 1>&6
15594 echo "configure: warning: wchar_t support disabled." 1>&2
15598 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15599 ac_save_CXXFLAGS="$CXXFLAGS"
15600 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
15603 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
15604 echo "configure:15605: checking for strtold declaration" >&5
15605 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
15606 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
15607 echo $ac_n "(cached) $ac_c" 1>&6
15612 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15613 ac_cpp='$CXXCPP $CPPFLAGS'
15614 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15615 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15616 cross_compiling=$ac_cv_prog_cxx_cross
15618 cat > conftest.$ac_ext <<EOF
15619 #line 15620 "configure"
15620 #include "confdefs.h"
15621 #include <stdlib.h>
15626 if { (eval echo configure:15627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15628 glibcpp_cv_func_strtold_use=yes
15630 echo "configure: failed program was:" >&5
15631 cat conftest.$ac_ext >&5
15633 glibcpp_cv_func_strtold_use=no
15637 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15638 ac_cpp='$CPP $CPPFLAGS'
15639 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15640 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15641 cross_compiling=$ac_cv_prog_cc_cross
15647 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
15648 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
15649 for ac_func in strtold
15651 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15652 echo "configure:15653: checking for $ac_func" >&5
15653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15654 echo $ac_n "(cached) $ac_c" 1>&6
15656 cat > conftest.$ac_ext <<EOF
15657 #line 15658 "configure"
15658 #include "confdefs.h"
15659 /* System header to define __stub macros and hopefully few prototypes,
15660 which can conflict with char $ac_func(); below. */
15661 #include <assert.h>
15662 /* Override any gcc2 internal prototype to avoid an error. */
15663 /* We use char because int might match the return type of a gcc2
15664 builtin and then its argument prototype would still apply. */
15669 /* The GNU C library defines this for functions which it implements
15670 to always fail with ENOSYS. Some functions are actually named
15671 something starting with __ and the normal name is an alias. */
15672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15680 if { (eval echo configure:15681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15682 eval "ac_cv_func_$ac_func=yes"
15684 echo "configure: failed program was:" >&5
15685 cat conftest.$ac_ext >&5
15687 eval "ac_cv_func_$ac_func=no"
15692 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15693 echo "$ac_t""yes" 1>&6
15694 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15695 cat >> confdefs.h <<EOF
15696 #define $ac_tr_func 1
15700 echo "$ac_t""no" 1>&6
15706 for ac_func in drand48
15708 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15709 echo "configure:15710: checking for $ac_func" >&5
15710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15711 echo $ac_n "(cached) $ac_c" 1>&6
15713 cat > conftest.$ac_ext <<EOF
15714 #line 15715 "configure"
15715 #include "confdefs.h"
15716 /* System header to define __stub macros and hopefully few prototypes,
15717 which can conflict with char $ac_func(); below. */
15718 #include <assert.h>
15719 /* Override any gcc2 internal prototype to avoid an error. */
15720 /* We use char because int might match the return type of a gcc2
15721 builtin and then its argument prototype would still apply. */
15726 /* The GNU C library defines this for functions which it implements
15727 to always fail with ENOSYS. Some functions are actually named
15728 something starting with __ and the normal name is an alias. */
15729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15737 if { (eval echo configure:15738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15739 eval "ac_cv_func_$ac_func=yes"
15741 echo "configure: failed program was:" >&5
15742 cat conftest.$ac_ext >&5
15744 eval "ac_cv_func_$ac_func=no"
15749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15750 echo "$ac_t""yes" 1>&6
15751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15752 cat >> confdefs.h <<EOF
15753 #define $ac_tr_func 1
15757 echo "$ac_t""no" 1>&6
15762 CXXFLAGS="$ac_save_CXXFLAGS"
15765 cat > conftest.$ac_ext <<EOF
15766 #line 15767 "configure"
15767 #include "confdefs.h"
15769 #include <setjmp.h>
15772 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
15775 if { (eval echo configure:15776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15777 cat >> confdefs.h <<\EOF
15778 #define HAVE_SIGSETJMP 1
15782 echo "configure: failed program was:" >&5
15783 cat conftest.$ac_ext >&5
15787 for ac_hdr in unistd.h
15789 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15790 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15791 echo "configure:15792: checking for $ac_hdr" >&5
15792 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15793 echo $ac_n "(cached) $ac_c" 1>&6
15795 cat > conftest.$ac_ext <<EOF
15796 #line 15797 "configure"
15797 #include "confdefs.h"
15800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15801 { (eval echo configure:15802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15803 if test -z "$ac_err"; then
15805 eval "ac_cv_header_$ac_safe=yes"
15808 echo "configure: failed program was:" >&5
15809 cat conftest.$ac_ext >&5
15811 eval "ac_cv_header_$ac_safe=no"
15815 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15816 echo "$ac_t""yes" 1>&6
15817 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15818 cat >> confdefs.h <<EOF
15819 #define $ac_tr_hdr 1
15823 echo "$ac_t""no" 1>&6
15827 for ac_func in getpagesize
15829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15830 echo "configure:15831: checking for $ac_func" >&5
15831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15832 echo $ac_n "(cached) $ac_c" 1>&6
15834 cat > conftest.$ac_ext <<EOF
15835 #line 15836 "configure"
15836 #include "confdefs.h"
15837 /* System header to define __stub macros and hopefully few prototypes,
15838 which can conflict with char $ac_func(); below. */
15839 #include <assert.h>
15840 /* Override any gcc2 internal prototype to avoid an error. */
15841 /* We use char because int might match the return type of a gcc2
15842 builtin and then its argument prototype would still apply. */
15847 /* The GNU C library defines this for functions which it implements
15848 to always fail with ENOSYS. Some functions are actually named
15849 something starting with __ and the normal name is an alias. */
15850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15858 if { (eval echo configure:15859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15860 eval "ac_cv_func_$ac_func=yes"
15862 echo "configure: failed program was:" >&5
15863 cat conftest.$ac_ext >&5
15865 eval "ac_cv_func_$ac_func=no"
15870 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15871 echo "$ac_t""yes" 1>&6
15872 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15873 cat >> confdefs.h <<EOF
15874 #define $ac_tr_func 1
15878 echo "$ac_t""no" 1>&6
15882 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
15883 echo "configure:15884: checking for working mmap" >&5
15884 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
15885 echo $ac_n "(cached) $ac_c" 1>&6
15887 if test "$cross_compiling" = yes; then
15888 ac_cv_func_mmap_fixed_mapped=no
15890 cat > conftest.$ac_ext <<EOF
15891 #line 15892 "configure"
15892 #include "confdefs.h"
15894 /* Thanks to Mike Haertel and Jim Avera for this test.
15895 Here is a matrix of mmap possibilities:
15896 mmap private not fixed
15897 mmap private fixed at somewhere currently unmapped
15898 mmap private fixed at somewhere already mapped
15899 mmap shared not fixed
15900 mmap shared fixed at somewhere currently unmapped
15901 mmap shared fixed at somewhere already mapped
15902 For private mappings, we should verify that changes cannot be read()
15903 back from the file, nor mmap's back from the file at a different
15904 address. (There have been systems where private was not correctly
15905 implemented like the infamous i386 svr4.0, and systems where the
15906 VM page cache was not coherent with the filesystem buffer cache
15907 like early versions of FreeBSD and possibly contemporary NetBSD.)
15908 For shared mappings, we should conversely verify that changes get
15909 propogated back to all the places they're supposed to be.
15911 Grep wants private fixed already mapped.
15912 The main things grep needs to know about mmap are:
15913 * does it exist and is it safe to write into the mmap'd area
15914 * how to use it (BSD variants) */
15915 #include <sys/types.h>
15917 #include <sys/mman.h>
15919 /* This mess was copied from the GNU getpagesize.h. */
15920 #ifndef HAVE_GETPAGESIZE
15921 # ifdef HAVE_UNISTD_H
15922 # include <unistd.h>
15925 /* Assume that all systems that can run configure have sys/param.h. */
15926 # ifndef HAVE_SYS_PARAM_H
15927 # define HAVE_SYS_PARAM_H 1
15930 # ifdef _SC_PAGESIZE
15931 # define getpagesize() sysconf(_SC_PAGESIZE)
15932 # else /* no _SC_PAGESIZE */
15933 # ifdef HAVE_SYS_PARAM_H
15934 # include <sys/param.h>
15935 # ifdef EXEC_PAGESIZE
15936 # define getpagesize() EXEC_PAGESIZE
15937 # else /* no EXEC_PAGESIZE */
15939 # define getpagesize() NBPG * CLSIZE
15942 # endif /* no CLSIZE */
15943 # else /* no NBPG */
15945 # define getpagesize() NBPC
15946 # else /* no NBPC */
15948 # define getpagesize() PAGESIZE
15949 # endif /* PAGESIZE */
15950 # endif /* no NBPC */
15951 # endif /* no NBPG */
15952 # endif /* no EXEC_PAGESIZE */
15953 # else /* no HAVE_SYS_PARAM_H */
15954 # define getpagesize() 8192 /* punt totally */
15955 # endif /* no HAVE_SYS_PARAM_H */
15956 # endif /* no _SC_PAGESIZE */
15958 #endif /* no HAVE_GETPAGESIZE */
15961 extern "C" { void *malloc(unsigned); }
15969 char *data, *data2, *data3;
15973 pagesize = getpagesize();
15976 * First, make a file with some known garbage in it.
15978 data = malloc(pagesize);
15981 for (i = 0; i < pagesize; ++i)
15982 *(data + i) = rand();
15984 fd = creat("conftestmmap", 0600);
15987 if (write(fd, data, pagesize) != pagesize)
15992 * Next, try to mmap the file at a fixed address which
15993 * already has something else allocated at it. If we can,
15994 * also make sure that we see the same garbage.
15996 fd = open("conftestmmap", O_RDWR);
15999 data2 = malloc(2 * pagesize);
16002 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
16003 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
16004 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16006 for (i = 0; i < pagesize; ++i)
16007 if (*(data + i) != *(data2 + i))
16011 * Finally, make sure that changes to the mapped area
16012 * do not percolate back to the file as seen by read().
16013 * (This is a bug on some variants of i386 svr4.0.)
16015 for (i = 0; i < pagesize; ++i)
16016 *(data2 + i) = *(data2 + i) + 1;
16017 data3 = malloc(pagesize);
16020 if (read(fd, data3, pagesize) != pagesize)
16022 for (i = 0; i < pagesize; ++i)
16023 if (*(data + i) != *(data3 + i))
16026 unlink("conftestmmap");
16031 if { (eval echo configure:16032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
16033 ac_cv_func_mmap_fixed_mapped=yes
16035 echo "configure: failed program was:" >&5
16036 cat conftest.$ac_ext >&5
16038 ac_cv_func_mmap_fixed_mapped=no
16045 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
16046 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16047 cat >> confdefs.h <<\EOF
16048 #define HAVE_MMAP 1
16055 # Propagate the target-specific source directories through the build chain.
16056 OS_INC_SRCDIR=$os_include_dir/bits
16057 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
16061 # Set up cross-compile flags
16065 if test "$CANADIAN" = yes; then
16073 cat > confcache <<\EOF
16074 # This file is a shell script that caches the results of configure
16075 # tests run on this system so they can be shared between configure
16076 # scripts and configure runs. It is not useful on other systems.
16077 # If it contains results you don't want to keep, you may remove or edit it.
16079 # By default, configure uses ./config.cache as the cache file,
16080 # creating it if it does not exist already. You can give configure
16081 # the --cache-file=FILE option to use a different cache file; that is
16082 # what configure does when it calls configure scripts in
16083 # subdirectories, so they share the cache.
16084 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16085 # config.status only pays attention to the cache file if you give it the
16086 # --recheck option to rerun configure.
16089 # The following way of writing the cache mishandles newlines in values,
16090 # but we know of no workaround that is simple, portable, and efficient.
16091 # So, don't put newlines in cache variables' values.
16092 # Ultrix sh set writes to stderr and can't be redirected directly,
16093 # and sets the high bit in the cache file unless we assign to the vars.
16095 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16097 # `set' does not quote correctly, so add quotes (double-quote substitution
16098 # turns \\\\ into \\, and sed turns \\ into \).
16100 -e "s/'/'\\\\''/g" \
16101 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16104 # `set' quotes correctly as required by POSIX, so do not add quotes.
16105 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16108 if cmp -s $cache_file confcache; then
16111 if test -w $cache_file; then
16112 echo "updating cache $cache_file"
16113 cat confcache > $cache_file
16115 echo "not updating unwritable cache $cache_file"
16121 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
16122 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
16123 echo "configure:16124: checking for locale.h" >&5
16124 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16125 echo $ac_n "(cached) $ac_c" 1>&6
16127 cat > conftest.$ac_ext <<EOF
16128 #line 16129 "configure"
16129 #include "confdefs.h"
16130 #include <locale.h>
16132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16133 { (eval echo configure:16134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16135 if test -z "$ac_err"; then
16137 eval "ac_cv_header_$ac_safe=yes"
16140 echo "configure: failed program was:" >&5
16141 cat conftest.$ac_ext >&5
16143 eval "ac_cv_header_$ac_safe=no"
16147 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16148 echo "$ac_t""yes" 1>&6
16150 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
16151 echo "configure:16152: checking for LC_MESSAGES" >&5
16152 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16153 echo $ac_n "(cached) $ac_c" 1>&6
16155 cat > conftest.$ac_ext <<EOF
16156 #line 16157 "configure"
16157 #include "confdefs.h"
16158 #include <locale.h>
16163 if { (eval echo configure:16164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16165 ac_cv_val_LC_MESSAGES=yes
16167 echo "configure: failed program was:" >&5
16168 cat conftest.$ac_ext >&5
16170 ac_cv_val_LC_MESSAGES=no
16175 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16176 if test $ac_cv_val_LC_MESSAGES = yes; then
16177 cat >> confdefs.h <<\EOF
16178 #define HAVE_LC_MESSAGES 1
16184 echo "$ac_t""no" 1>&6
16189 if test "${multilib}" = "yes"; then
16190 multilib_arg="--enable-multilib"
16195 # Needed so that g++ can find the correct include subdir automatically.
16198 # Export all the install information
16201 glibcpp_toolexecdir=no
16202 glibcpp_toolexeclibdir=no
16204 # Export build and source directories.
16205 # These need to be absolute paths, yet at the same time need to
16206 # canonicalize only relative paths, because then amd will not unmount
16207 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
16208 glibcpp_builddir=`pwd`
16210 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
16211 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
16213 glibcpp_prefixdir=${prefix}
16215 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
16216 echo "configure:16217: checking for interface version number" >&5
16217 libstdcxx_interface=$INTERFACE
16218 echo "$ac_t""$libstdcxx_interface" 1>&6
16220 # Process the option --with-gxx-include-dir=<path to include-files directory>
16221 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
16222 echo "configure:16223: checking for --with-gxx-include-dir" >&5
16223 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
16224 if test "${with_gxx_include_dir+set}" = set; then
16225 withval="$with_gxx_include_dir"
16226 case "${withval}" in
16228 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
16235 gxx_include_dir=${withval}
16242 echo "$ac_t""$gxx_include_dir" 1>&6
16244 # Process the option "--enable-version-specific-runtime-libs"
16245 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
16246 echo "configure:16247: checking for --enable-version-specific-runtime-libs" >&5
16247 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
16248 if test "${enable_version_specific_runtime_libs+set}" = set; then
16249 enableval="$enable_version_specific_runtime_libs"
16250 version_specific_libs=yes
16251 # Need the gcc compiler version to know where to install libraries
16252 # and header files if --enable-version-specific-runtime-libs option
16254 gcc_version_trigger=${srcdir}/../gcc/version.c
16255 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
16256 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
16257 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
16258 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16259 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
16262 version_specific_libs=no
16265 echo "$ac_t""$version_specific_libs" 1>&6
16267 # Default case for install directory for include files.
16268 if test x"$version_specific_libs" = x"no" \
16269 && test x"$gxx_include_dir" = x"no"; then
16270 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
16273 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
16274 # Install a library built with a cross compiler in tooldir, not libdir.
16275 if test x"$glibcpp_toolexecdir" = x"no"; then
16276 if test -n "$with_cross_host" &&
16277 test x"$with_cross_host" != x"no"; then
16278 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
16279 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
16281 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16282 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
16286 echo $ac_n "checking for install location""... $ac_c" 1>&6
16287 echo "configure:16288: checking for install location" >&5
16288 echo "$ac_t""$gxx_include_dir" 1>&6
16298 # Export all the include and flag information to makefiles.
16300 # Root level of the build directory include sources.
16301 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
16303 # Passed down for canadian crosses.
16304 if test x"$CANADIAN" = xyes; then
16305 TOPLEVEL_INCLUDES='-I$(includedir)'
16308 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
16310 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
16312 if test x"$need_libio" = xyes; then
16313 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
16317 # Now, export this to all the little Makefiles....
16324 # Optimization flags that are probably a good idea for thrill-seekers. Just
16325 # uncomment the lines below and make, everything else is ready to go...
16326 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
16330 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
16334 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
16335 grep "enable shared" > /dev/null; then
16336 LIBSUPCXX_PICFLAGS=-prefer-pic
16338 LIBSUPCXX_PICFLAGS=
16342 # Generate the various Makefiles, include files, and scripts.
16343 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
16344 # and libsupc++/Makefile.am so that multilib installs will end up
16345 # installed in the correct place. To work around this not being passed
16346 # down from config-ml.in -> top_srcdir/Makefile.am ->
16347 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
16349 cat > confcache <<\EOF
16350 # This file is a shell script that caches the results of configure
16351 # tests run on this system so they can be shared between configure
16352 # scripts and configure runs. It is not useful on other systems.
16353 # If it contains results you don't want to keep, you may remove or edit it.
16355 # By default, configure uses ./config.cache as the cache file,
16356 # creating it if it does not exist already. You can give configure
16357 # the --cache-file=FILE option to use a different cache file; that is
16358 # what configure does when it calls configure scripts in
16359 # subdirectories, so they share the cache.
16360 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16361 # config.status only pays attention to the cache file if you give it the
16362 # --recheck option to rerun configure.
16365 # The following way of writing the cache mishandles newlines in values,
16366 # but we know of no workaround that is simple, portable, and efficient.
16367 # So, don't put newlines in cache variables' values.
16368 # Ultrix sh set writes to stderr and can't be redirected directly,
16369 # and sets the high bit in the cache file unless we assign to the vars.
16371 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16373 # `set' does not quote correctly, so add quotes (double-quote substitution
16374 # turns \\\\ into \\, and sed turns \\ into \).
16376 -e "s/'/'\\\\''/g" \
16377 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16380 # `set' quotes correctly as required by POSIX, so do not add quotes.
16381 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16384 if cmp -s $cache_file confcache; then
16387 if test -w $cache_file; then
16388 echo "updating cache $cache_file"
16389 cat confcache > $cache_file
16391 echo "not updating unwritable cache $cache_file"
16396 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16398 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16399 # Let make expand exec_prefix.
16400 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16402 # Any assignment to VPATH causes Sun make to only execute
16403 # the first set of double-colon rules, so remove it if not needed.
16404 # If there is a colon in the path, we need to keep it.
16405 if test "x$srcdir" = x.; then
16406 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
16409 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16411 DEFS=-DHAVE_CONFIG_H
16413 # Without the "./", some shells look in PATH for config.status.
16414 : ${CONFIG_STATUS=./config.status}
16416 echo creating $CONFIG_STATUS
16417 rm -f $CONFIG_STATUS
16418 cat > $CONFIG_STATUS <<EOF
16420 # Generated automatically by configure.
16421 # Run this file to recreate the current configuration.
16422 # This directory was configured as follows,
16423 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16425 # $0 $ac_configure_args
16427 # Compiler output produced by configure, useful for debugging
16428 # configure, is in ./config.log if it exists.
16430 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
16433 case "\$ac_option" in
16434 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16435 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16436 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16437 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16438 echo "$CONFIG_STATUS generated by autoconf version 2.13"
16440 -help | --help | --hel | --he | --h)
16441 echo "\$ac_cs_usage"; exit 0 ;;
16442 *) echo "\$ac_cs_usage"; exit 1 ;;
16446 ac_given_srcdir=$srcdir
16447 ac_given_INSTALL="$INSTALL"
16449 trap 'rm -fr `echo "Makefile \
16450 include/Makefile src/Makefile \
16451 libmath/Makefile libio/Makefile libsupc++/Makefile \
16452 testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
16454 cat >> $CONFIG_STATUS <<EOF
16456 # Protect against being on the right side of a sed subst in config.status.
16457 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16458 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16462 s%@CFLAGS@%$CFLAGS%g
16463 s%@CPPFLAGS@%$CPPFLAGS%g
16464 s%@CXXFLAGS@%$CXXFLAGS%g
16465 s%@FFLAGS@%$FFLAGS%g
16467 s%@LDFLAGS@%$LDFLAGS%g
16469 s%@exec_prefix@%$exec_prefix%g
16470 s%@prefix@%$prefix%g
16471 s%@program_transform_name@%$program_transform_name%g
16472 s%@bindir@%$bindir%g
16473 s%@sbindir@%$sbindir%g
16474 s%@libexecdir@%$libexecdir%g
16475 s%@datadir@%$datadir%g
16476 s%@sysconfdir@%$sysconfdir%g
16477 s%@sharedstatedir@%$sharedstatedir%g
16478 s%@localstatedir@%$localstatedir%g
16479 s%@libdir@%$libdir%g
16480 s%@includedir@%$includedir%g
16481 s%@oldincludedir@%$oldincludedir%g
16482 s%@infodir@%$infodir%g
16483 s%@mandir@%$mandir%g
16484 s%@toplevel_srcdir@%$toplevel_srcdir%g
16486 s%@host_alias@%$host_alias%g
16487 s%@host_cpu@%$host_cpu%g
16488 s%@host_vendor@%$host_vendor%g
16489 s%@host_os@%$host_os%g
16490 s%@target@%$target%g
16491 s%@target_alias@%$target_alias%g
16492 s%@target_cpu@%$target_cpu%g
16493 s%@target_vendor@%$target_vendor%g
16494 s%@target_os@%$target_os%g
16496 s%@build_alias@%$build_alias%g
16497 s%@build_cpu@%$build_cpu%g
16498 s%@build_vendor@%$build_vendor%g
16499 s%@build_os@%$build_os%g
16501 s%@glibcpp_basedir@%$glibcpp_basedir%g
16502 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16503 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16504 s%@INSTALL_DATA@%$INSTALL_DATA%g
16505 s%@PACKAGE@%$PACKAGE%g
16506 s%@VERSION@%$VERSION%g
16507 s%@ACLOCAL@%$ACLOCAL%g
16508 s%@AUTOCONF@%$AUTOCONF%g
16509 s%@AUTOMAKE@%$AUTOMAKE%g
16510 s%@AUTOHEADER@%$AUTOHEADER%g
16511 s%@MAKEINFO@%$MAKEINFO%g
16512 s%@SET_MAKE@%$SET_MAKE%g
16514 s%@glibcpp_CXX@%$glibcpp_CXX%g
16517 s%@RANLIB@%$RANLIB%g
16518 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
16519 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
16521 s%@EXEEXT@%$EXEEXT%g
16522 s%@OBJEXT@%$OBJEXT%g
16524 s%@LIBTOOL@%$LIBTOOL%g
16525 s%@CXXCPP@%$CXXCPP%g
16526 s%@enable_shared@%$enable_shared%g
16527 s%@enable_static@%$enable_static%g
16528 s%@ifGNUmake@%$ifGNUmake%g
16529 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
16531 s%@CSTDIO_H@%$CSTDIO_H%g
16532 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
16533 s%@CCODECVT_C@%$CCODECVT_C%g
16534 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
16535 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
16536 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
16537 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
16538 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
16539 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
16540 s%@libio_la@%$libio_la%g
16541 s%@CLOCALE_H@%$CLOCALE_H%g
16542 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
16543 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
16544 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
16545 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
16546 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
16547 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
16548 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
16549 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
16550 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
16551 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
16552 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
16553 s%@WERROR@%$WERROR%g
16554 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
16555 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
16556 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
16557 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
16558 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
16559 s%@glibcpp_builddir@%$glibcpp_builddir%g
16560 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
16561 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
16562 s%@gxx_include_dir@%$gxx_include_dir%g
16563 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
16564 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
16565 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
16566 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
16567 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
16568 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
16569 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
16570 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
16571 s%@WARN_FLAGS@%$WARN_FLAGS%g
16572 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
16577 cat >> $CONFIG_STATUS <<\EOF
16579 # Split the substitutions into bite-sized pieces for seds with
16580 # small command number limits, like on Digital OSF/1 and HP-UX.
16581 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
16582 ac_file=1 # Number of current file.
16583 ac_beg=1 # First line for current file.
16584 ac_end=$ac_max_sed_cmds # Line after last line for current file.
16587 while $ac_more_lines; do
16588 if test $ac_beg -gt 1; then
16589 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
16591 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
16593 if test ! -s conftest.s$ac_file; then
16594 ac_more_lines=false
16595 rm -f conftest.s$ac_file
16597 if test -z "$ac_sed_cmds"; then
16598 ac_sed_cmds="sed -f conftest.s$ac_file"
16600 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
16602 ac_file=`expr $ac_file + 1`
16604 ac_end=`expr $ac_end + $ac_max_sed_cmds`
16607 if test -z "$ac_sed_cmds"; then
16612 cat >> $CONFIG_STATUS <<EOF
16614 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
16615 include/Makefile src/Makefile \
16616 libmath/Makefile libio/Makefile libsupc++/Makefile \
16617 testsuite/Makefile mkcheck testsuite_flags"}
16619 cat >> $CONFIG_STATUS <<\EOF
16620 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
16621 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16623 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16624 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16625 *) ac_file_in="${ac_file}.in" ;;
16628 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
16630 # Remove last slash and all that follows it. Not all systems have dirname.
16631 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16632 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16633 # The file is in a subdirectory.
16634 test ! -d "$ac_dir" && mkdir "$ac_dir"
16635 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
16636 # A "../" for each directory in $ac_dir_suffix.
16637 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
16639 ac_dir_suffix= ac_dots=
16642 case "$ac_given_srcdir" in
16644 if test -z "$ac_dots"; then top_srcdir=.
16645 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
16646 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
16647 *) # Relative path.
16648 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16649 top_srcdir="$ac_dots$ac_given_srcdir" ;;
16652 case "$ac_given_INSTALL" in
16653 [/$]*) INSTALL="$ac_given_INSTALL" ;;
16654 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
16657 echo creating "$ac_file"
16659 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
16661 *Makefile*) ac_comsub="1i\\
16662 # $configure_input" ;;
16666 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16668 s%@configure_input@%$configure_input%g
16669 s%@srcdir@%$srcdir%g
16670 s%@top_srcdir@%$top_srcdir%g
16671 s%@INSTALL@%$INSTALL%g
16672 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
16676 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16677 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16679 # ac_d sets the value in "#define NAME VALUE" lines.
16680 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16681 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
16684 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
16685 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16686 ac_uB='\([ ]\)%\1#\2define\3'
16689 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16690 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16691 ac_eB='$%\1#\2define\3'
16695 if test "${CONFIG_HEADERS+set}" != set; then
16697 cat >> $CONFIG_STATUS <<EOF
16698 CONFIG_HEADERS="config.h"
16700 cat >> $CONFIG_STATUS <<\EOF
16702 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
16703 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16705 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16706 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16707 *) ac_file_in="${ac_file}.in" ;;
16710 echo creating $ac_file
16712 rm -f conftest.frag conftest.in conftest.out
16713 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16714 cat $ac_file_inputs > conftest.in
16718 # Transform confdefs.h into a sed script conftest.vals that substitutes
16719 # the proper values into config.h.in to produce config.h. And first:
16720 # Protect against being on the right side of a sed subst in config.status.
16721 # Protect against being in an unquoted here document in config.status.
16722 rm -f conftest.vals
16723 cat > conftest.hdr <<\EOF
16726 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
16730 sed -n -f conftest.hdr confdefs.h > conftest.vals
16733 # This sed command replaces #undef with comments. This is necessary, for
16734 # example, in the case of _POSIX_SOURCE, which is predefined and required
16735 # on some systems where configure will not decide to define it.
16736 cat >> conftest.vals <<\EOF
16737 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
16740 # Break up conftest.vals because some shells have a limit on
16741 # the size of here documents, and old seds have small limits too.
16743 rm -f conftest.tail
16746 ac_lines=`grep -c . conftest.vals`
16747 # grep -c gives empty output for an empty file on some AIX systems.
16748 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
16749 # Write a limited-size here document to conftest.frag.
16750 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
16751 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
16753 sed -f conftest.frag conftest.in > conftest.out
16755 mv conftest.out conftest.in
16756 ' >> $CONFIG_STATUS
16757 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
16758 rm -f conftest.vals
16759 mv conftest.tail conftest.vals
16761 rm -f conftest.vals
16763 cat >> $CONFIG_STATUS <<\EOF
16764 rm -f conftest.frag conftest.h
16765 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
16766 cat conftest.in >> conftest.h
16768 if cmp -s $ac_file conftest.h 2>/dev/null; then
16769 echo "$ac_file is unchanged"
16772 # Remove last slash and all that follows it. Not all systems have dirname.
16773 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16774 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16775 # The file is in a subdirectory.
16776 test ! -d "$ac_dir" && mkdir "$ac_dir"
16779 mv conftest.h $ac_file
16785 cat >> $CONFIG_STATUS <<EOF
16786 ac_sources="$BASIC_FILE_CC $CLOCALE_CC"
16787 ac_dests="src/basic_file.cc src/c++locale.cc"
16790 cat >> $CONFIG_STATUS <<\EOF
16791 srcdir=$ac_given_srcdir
16792 while test -n "$ac_sources"; do
16793 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
16794 set $ac_sources; ac_source=$1; shift; ac_sources=$*
16796 echo "linking $srcdir/$ac_source to $ac_dest"
16798 if test ! -r $srcdir/$ac_source; then
16799 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
16803 # Make relative symlinks.
16804 # Remove last slash and all that follows it. Not all systems have dirname.
16805 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
16806 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
16807 # The dest file is in a subdirectory.
16808 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
16809 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
16810 # A "../" for each directory in $ac_dest_dir_suffix.
16811 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
16813 ac_dest_dir_suffix= ac_dots=
16817 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
16818 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
16821 # Make a symlink if possible; otherwise try a hard link.
16822 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
16823 ln $srcdir/$ac_source $ac_dest; then :
16825 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
16829 cat >> $CONFIG_STATUS <<EOF
16834 with_multisubdir=${with_multisubdir}
16835 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16836 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16837 glibcpp_basedir=${glibcpp_basedir}
16842 cat >> $CONFIG_STATUS <<\EOF
16843 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
16844 if test -n "$CONFIG_FILES"; then
16845 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
16846 grep '^MULTISUBDIR =' Makefile >> src/Makefile
16847 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
16850 chmod +x testsuite_flags
16854 chmod +x $CONFIG_STATUS
16855 rm -fr confdefs* $ac_clean_files
16856 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
16860 # Sanity checking & User-visible messages.
16861 # Checks down here, otherwise they get scrolled off before
16862 # the user will notice.
16864 # Trying to get more people to read documentation. Possibly remove
16865 # check and warn all the time. There is no "informational" AC_MSG_
16866 # macro, so these are going to be printed even when --quiet/--silent
16868 if test ! -f stamp-sanity-warned; then
16869 touch stamp-sanity-warned
16871 echo "Please make certain that you read the installation information here:"
16872 echo " faster => ${srcdir}/docs/install.html"
16873 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
16875 echo "and the configuration information here:"
16876 echo " faster => ${srcdir}/docs/configopts.html"
16877 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
16879 echo "before proceeding with ${_cv_gnu_make_command}."