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-long-long turns on 'long long' [default=no]"
51 --enable-cheaders construct "C" header files for
54 --enable-threads enable thread usage for target GCC.
55 --enable-threads=LIB use LIB thread package for target GCC. [default=no]
58 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
61 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
63 --with-gxx-include-dir the installation directory for include files"
65 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
67 # Initialize some variables set by options.
68 # The variables have the same names as the options, with
69 # dashes changed to underlines.
71 cache_file=./config.cache
80 program_transform_name=s,x,x,
88 bindir='${exec_prefix}/bin'
89 sbindir='${exec_prefix}/sbin'
90 libexecdir='${exec_prefix}/libexec'
91 datadir='${prefix}/share'
92 sysconfdir='${prefix}/etc'
93 sharedstatedir='${prefix}/com'
94 localstatedir='${prefix}/var'
95 libdir='${exec_prefix}/lib'
96 includedir='${prefix}/include'
97 oldincludedir='/usr/include'
98 infodir='${prefix}/info'
99 mandir='${prefix}/man'
101 # Initialize some other variables.
104 SHELL=${CONFIG_SHELL-/bin/sh}
105 # Maximum number of lines to put in a shell here document.
112 # If the previous option needs an argument, assign it.
113 if test -n "$ac_prev"; then
114 eval "$ac_prev=\$ac_option"
120 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
124 # Accept the important Cygnus configure options, so we can diagnose typos.
128 -bindir | --bindir | --bindi | --bind | --bin | --bi)
130 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
131 bindir="$ac_optarg" ;;
133 -build | --build | --buil | --bui | --bu)
135 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
136 build="$ac_optarg" ;;
138 -cache-file | --cache-file | --cache-fil | --cache-fi \
139 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
140 ac_prev=cache_file ;;
141 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
142 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
143 cache_file="$ac_optarg" ;;
145 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
147 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
149 datadir="$ac_optarg" ;;
151 -disable-* | --disable-*)
152 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
153 # Reject names that are not valid shell variable names.
154 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
155 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
157 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
158 eval "enable_${ac_feature}=no" ;;
160 -enable-* | --enable-*)
161 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
162 # Reject names that are not valid shell variable names.
163 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
164 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
166 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
171 eval "enable_${ac_feature}='$ac_optarg'" ;;
173 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
174 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
175 | --exec | --exe | --ex)
176 ac_prev=exec_prefix ;;
177 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
178 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
179 | --exec=* | --exe=* | --ex=*)
180 exec_prefix="$ac_optarg" ;;
182 -gas | --gas | --ga | --g)
183 # Obsolete; use --with-gas.
186 -help | --help | --hel | --he)
187 # Omit some internal or obsolete options to make the list less imposing.
188 # This message is too long to be a string in the A/UX 3.1 sh.
190 Usage: configure [options] [host]
191 Options: [defaults in brackets after descriptions]
193 --cache-file=FILE cache test results in FILE
194 --help print this message
195 --no-create do not create output files
196 --quiet, --silent do not print \`checking...' messages
197 --version print the version of autoconf that created configure
198 Directory and file names:
199 --prefix=PREFIX install architecture-independent files in PREFIX
201 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
203 --bindir=DIR user executables in DIR [EPREFIX/bin]
204 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
205 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
206 --datadir=DIR read-only architecture-independent data in DIR
208 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
209 --sharedstatedir=DIR modifiable architecture-independent data in DIR
211 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
212 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
213 --includedir=DIR C header files in DIR [PREFIX/include]
214 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
215 --infodir=DIR info documentation in DIR [PREFIX/info]
216 --mandir=DIR man documentation in DIR [PREFIX/man]
217 --srcdir=DIR find the sources in DIR [configure dir or ..]
218 --program-prefix=PREFIX prepend PREFIX to installed program names
219 --program-suffix=SUFFIX append SUFFIX to installed program names
220 --program-transform-name=PROGRAM
221 run sed PROGRAM on installed program names
225 --build=BUILD configure for building on BUILD [BUILD=HOST]
226 --host=HOST configure for HOST [guessed]
227 --target=TARGET configure for TARGET [TARGET=HOST]
228 Features and packages:
229 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
230 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
231 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
232 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
233 --x-includes=DIR X include files are in DIR
234 --x-libraries=DIR X library files are in DIR
236 if test -n "$ac_help"; then
237 echo "--enable and --with options recognized:$ac_help"
241 -host | --host | --hos | --ho)
243 -host=* | --host=* | --hos=* | --ho=*)
246 -includedir | --includedir | --includedi | --included | --include \
247 | --includ | --inclu | --incl | --inc)
248 ac_prev=includedir ;;
249 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
250 | --includ=* | --inclu=* | --incl=* | --inc=*)
251 includedir="$ac_optarg" ;;
253 -infodir | --infodir | --infodi | --infod | --info | --inf)
255 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
256 infodir="$ac_optarg" ;;
258 -libdir | --libdir | --libdi | --libd)
260 -libdir=* | --libdir=* | --libdi=* | --libd=*)
261 libdir="$ac_optarg" ;;
263 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
264 | --libexe | --libex | --libe)
265 ac_prev=libexecdir ;;
266 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
267 | --libexe=* | --libex=* | --libe=*)
268 libexecdir="$ac_optarg" ;;
270 -localstatedir | --localstatedir | --localstatedi | --localstated \
271 | --localstate | --localstat | --localsta | --localst \
272 | --locals | --local | --loca | --loc | --lo)
273 ac_prev=localstatedir ;;
274 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
275 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
276 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
277 localstatedir="$ac_optarg" ;;
279 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
281 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
282 mandir="$ac_optarg" ;;
285 # Obsolete; use --without-fp.
288 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
292 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
293 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
296 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
297 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
298 | --oldin | --oldi | --old | --ol | --o)
299 ac_prev=oldincludedir ;;
300 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
301 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
302 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
303 oldincludedir="$ac_optarg" ;;
305 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
307 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
308 prefix="$ac_optarg" ;;
310 -program-prefix | --program-prefix | --program-prefi | --program-pref \
311 | --program-pre | --program-pr | --program-p)
312 ac_prev=program_prefix ;;
313 -program-prefix=* | --program-prefix=* | --program-prefi=* \
314 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
315 program_prefix="$ac_optarg" ;;
317 -program-suffix | --program-suffix | --program-suffi | --program-suff \
318 | --program-suf | --program-su | --program-s)
319 ac_prev=program_suffix ;;
320 -program-suffix=* | --program-suffix=* | --program-suffi=* \
321 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
322 program_suffix="$ac_optarg" ;;
324 -program-transform-name | --program-transform-name \
325 | --program-transform-nam | --program-transform-na \
326 | --program-transform-n | --program-transform- \
327 | --program-transform | --program-transfor \
328 | --program-transfo | --program-transf \
329 | --program-trans | --program-tran \
330 | --progr-tra | --program-tr | --program-t)
331 ac_prev=program_transform_name ;;
332 -program-transform-name=* | --program-transform-name=* \
333 | --program-transform-nam=* | --program-transform-na=* \
334 | --program-transform-n=* | --program-transform-=* \
335 | --program-transform=* | --program-transfor=* \
336 | --program-transfo=* | --program-transf=* \
337 | --program-trans=* | --program-tran=* \
338 | --progr-tra=* | --program-tr=* | --program-t=*)
339 program_transform_name="$ac_optarg" ;;
341 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
342 | -silent | --silent | --silen | --sile | --sil)
345 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
347 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
349 sbindir="$ac_optarg" ;;
351 -sharedstatedir | --sharedstatedir | --sharedstatedi \
352 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
353 | --sharedst | --shareds | --shared | --share | --shar \
355 ac_prev=sharedstatedir ;;
356 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
357 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
358 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
360 sharedstatedir="$ac_optarg" ;;
362 -site | --site | --sit)
364 -site=* | --site=* | --sit=*)
367 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
369 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
370 srcdir="$ac_optarg" ;;
372 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
373 | --syscon | --sysco | --sysc | --sys | --sy)
374 ac_prev=sysconfdir ;;
375 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
376 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
377 sysconfdir="$ac_optarg" ;;
379 -target | --target | --targe | --targ | --tar | --ta | --t)
381 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
382 target="$ac_optarg" ;;
384 -v | -verbose | --verbose | --verbos | --verbo | --verb)
387 -version | --version | --versio | --versi | --vers)
388 echo "configure generated by autoconf version 2.13"
392 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
393 # Reject names that are not valid shell variable names.
394 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
395 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
397 ac_package=`echo $ac_package| sed 's/-/_/g'`
402 eval "with_${ac_package}='$ac_optarg'" ;;
404 -without-* | --without-*)
405 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
406 # Reject names that are not valid shell variable names.
407 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
408 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
410 ac_package=`echo $ac_package| sed 's/-/_/g'`
411 eval "with_${ac_package}=no" ;;
414 # Obsolete; use --with-x.
417 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
418 | --x-incl | --x-inc | --x-in | --x-i)
419 ac_prev=x_includes ;;
420 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
421 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
422 x_includes="$ac_optarg" ;;
424 -x-libraries | --x-libraries | --x-librarie | --x-librari \
425 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
426 ac_prev=x_libraries ;;
427 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
428 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
429 x_libraries="$ac_optarg" ;;
431 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
435 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
436 echo "configure: warning: $ac_option: invalid host type" 1>&2
438 if test "x$nonopt" != xNONE; then
439 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
447 if test -n "$ac_prev"; then
448 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
451 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
453 # File descriptor usage:
456 # 2 errors and warnings
457 # 3 some systems may open it to /dev/tty
458 # 4 used on the Kubota Titan
459 # 6 checking for... messages and results
460 # 5 compiler messages saved in config.log
461 if test "$silent" = yes; then
469 This file contains any messages produced by compilers while
470 running configure, to aid debugging if configure makes a mistake.
473 # Strip out --no-create and --no-recursion so they do not pile up.
474 # Also quote any args containing shell metacharacters.
479 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
480 | --no-cr | --no-c) ;;
481 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
482 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
483 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
484 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
485 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
490 # Only set these to C if already set. These must not be set unconditionally
491 # because not all systems understand e.g. LANG=C (notably SCO).
492 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
493 # Non-C LC_CTYPE values break the ctype check.
494 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
495 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
496 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
497 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
499 # confdefs.h avoids OS command line length limits that DEFS can exceed.
500 rm -rf conftest* confdefs.h
501 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
504 # A filename unique to this package, relative to the directory that
505 # configure is in, which we can look for to find out if srcdir is correct.
506 ac_unique_file=src/ios.cc
508 # Find the source files, if location was not specified.
509 if test -z "$srcdir"; then
510 ac_srcdir_defaulted=yes
511 # Try the directory containing this script, then its parent.
513 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
514 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
516 if test ! -r $srcdir/$ac_unique_file; then
520 ac_srcdir_defaulted=no
522 if test ! -r $srcdir/$ac_unique_file; then
523 if test "$ac_srcdir_defaulted" = yes; then
524 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
526 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
529 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
531 # Prefer explicitly selected file to automatically selected ones.
532 if test -z "$CONFIG_SITE"; then
533 if test "x$prefix" != xNONE; then
534 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
536 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
539 for ac_site_file in $CONFIG_SITE; do
540 if test -r "$ac_site_file"; then
541 echo "loading site script $ac_site_file"
546 if test -r "$cache_file"; then
547 echo "loading cache $cache_file"
550 echo "creating cache $cache_file"
555 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
556 ac_cpp='$CPP $CPPFLAGS'
557 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
558 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
559 cross_compiling=$ac_cv_prog_cc_cross
563 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
564 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
565 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
572 ac_n= ac_c='\c' ac_t=
577 # When building with srcdir == objdir, links to the source files will
578 # be created in directories within the target_subdir. We have to
579 # adjust toplevel_srcdir accordingly, so that configure finds
580 # install-sh and other auxiliary files that live in the top-level
582 if test "${srcdir}" = "."; then
583 if test -z "${with_target_subdir}"; then
584 toplevel_srcdir="\${top_srcdir}/.."
585 auxdir="${srcdir}/.."
587 if test "${with_target_subdir}" != "."; then
588 toplevel_srcdir="\${top_srcdir}/${with_multisrctop}../.."
589 auxdir="${srcdir}/${with_multisrctop}../.."
591 toplevel_srcdir="\${top_srcdir}/${with_multisrctop}.."
592 auxdir="${srcdir}/${with_multisrctop}.."
596 toplevel_srcdir="\${top_srcdir}/.."
597 auxdir="${srcdir}/.."
600 for ac_dir in $auxdir $srcdir/$auxdir; do
601 if test -f $ac_dir/install-sh; then
603 ac_install_sh="$ac_aux_dir/install-sh -c"
605 elif test -f $ac_dir/install.sh; then
607 ac_install_sh="$ac_aux_dir/install.sh -c"
611 if test -z "$ac_aux_dir"; then
612 { echo "configure: error: can not find install-sh or install.sh in $auxdir $srcdir/$auxdir" 1>&2; exit 1; }
614 ac_config_guess=$ac_aux_dir/config.guess
615 ac_config_sub=$ac_aux_dir/config.sub
616 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
622 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
624 # Do some error checking and defaulting for the host and target type.
626 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
629 # 1. You are not allowed to specify --host, --target, and nonopt at the
631 # 2. Host defaults to nonopt.
632 # 3. If nonopt is not specified, then host defaults to the current host,
633 # as determined by config.guess.
634 # 4. Target and build default to nonopt.
635 # 5. If nonopt is not specified, then target and build default to host.
637 # The aliases save the names the user supplied, while $host etc.
638 # will get canonicalized.
639 case $host---$target---$nonopt in
640 NONE---*---* | *---NONE---* | *---*---NONE) ;;
641 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
645 # Make sure we can run config.sub.
646 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
647 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
650 echo $ac_n "checking host system type""... $ac_c" 1>&6
651 echo "configure:652: checking host system type" >&5
654 case "$host_alias" in
658 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
659 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
661 *) host_alias=$nonopt ;;
665 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
666 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
667 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
668 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
669 echo "$ac_t""$host" 1>&6
671 echo $ac_n "checking target system type""... $ac_c" 1>&6
672 echo "configure:673: checking target system type" >&5
675 case "$target_alias" in
678 NONE) target_alias=$host_alias ;;
679 *) target_alias=$nonopt ;;
683 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
684 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
685 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
686 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
687 echo "$ac_t""$target" 1>&6
689 echo $ac_n "checking build system type""... $ac_c" 1>&6
690 echo "configure:691: checking build system type" >&5
693 case "$build_alias" in
696 NONE) build_alias=$host_alias ;;
697 *) build_alias=$nonopt ;;
701 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
702 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
703 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
704 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
705 echo "$ac_t""$build" 1>&6
707 test "$host_alias" != "$target_alias" &&
708 test "$program_prefix$program_suffix$program_transform_name" = \
710 program_prefix=${target_alias}-
713 # We use these options to decide which functions to include.
714 # Check whether --with-target-subdir or --without-target-subdir was given.
715 if test "${with_target_subdir+set}" = set; then
716 withval="$with_target_subdir"
720 # Check whether --with-cross-host or --without-cross-host was given.
721 if test "${with_cross_host+set}" = set; then
722 withval="$with_cross_host"
727 # Runs configure.host and configure.target. Have to run this before
728 # the GLIBCPP_ENABLE_* macros below.
729 # Find a good install program. We prefer a C program (faster),
730 # so one script is as good as another. But avoid the broken or
731 # incompatible versions:
732 # SysV /etc/install, /usr/sbin/install
733 # SunOS /usr/etc/install
736 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
737 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
738 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
739 # ./install, which can be erroneously created by make from ./install.sh.
740 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
741 echo "configure:742: checking for a BSD compatible install" >&5
742 if test -z "$INSTALL"; then
743 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
744 echo $ac_n "(cached) $ac_c" 1>&6
746 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
747 for ac_dir in $PATH; do
748 # Account for people who put trailing slashes in PATH elements.
750 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
752 # OSF1 and SCO ODT 3.0 have their own names for install.
753 # Don't use installbsd from OSF since it installs stuff as root
755 for ac_prog in ginstall scoinst install; do
756 if test -f $ac_dir/$ac_prog; then
757 if test $ac_prog = install &&
758 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
759 # AIX install. It has an incompatible calling convention.
762 ac_cv_path_install="$ac_dir/$ac_prog -c"
773 if test "${ac_cv_path_install+set}" = set; then
774 INSTALL="$ac_cv_path_install"
776 # As a last resort, use the slow shell script. We don't cache a
777 # path for INSTALL within a source directory, because that will
778 # break other packages using the cache if that directory is
779 # removed, or if the path is relative.
780 INSTALL="$ac_install_sh"
783 echo "$ac_t""$INSTALL" 1>&6
785 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
786 # It thinks the first close brace ends the variable substitution.
787 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
789 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
791 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
793 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
794 echo "configure:795: checking whether build environment is sane" >&5
797 echo timestamp > conftestfile
798 # Do `set' in a subshell so we don't clobber the current shell's
799 # arguments. Must try -L first in case configure is actually a
800 # symlink; some systems play weird games with the mod time of symlinks
801 # (eg FreeBSD returns the mod time of the symlink's containing
804 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
805 if test "$*" = "X"; then
807 set X `ls -t $srcdir/configure conftestfile`
809 if test "$*" != "X $srcdir/configure conftestfile" \
810 && test "$*" != "X conftestfile $srcdir/configure"; then
812 # If neither matched, then we have a broken ls. This can happen
813 # if, for instance, CONFIG_SHELL is bash and it inherits a
814 # broken ls alias from the environment. This has actually
815 # happened. Such a system could not be considered "sane".
816 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
817 alias in your environment" 1>&2; exit 1; }
820 test "$2" = conftestfile
826 { echo "configure: error: newly created file is older than distributed files!
827 Check your system clock" 1>&2; exit 1; }
830 echo "$ac_t""yes" 1>&6
831 if test "$program_transform_name" = s,x,x,; then
832 program_transform_name=
834 # Double any \ or $. echo might interpret backslashes.
835 cat <<\EOF_SED > conftestsed
836 s,\\,\\\\,g; s,\$,$$,g
838 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
841 test "$program_prefix" != NONE &&
842 program_transform_name="s,^,${program_prefix},; $program_transform_name"
843 # Use a double $ so make ignores it.
844 test "$program_suffix" != NONE &&
845 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
847 # sed with no file args requires a program.
848 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
850 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
851 echo "configure:852: checking whether ${MAKE-make} sets \${MAKE}" >&5
852 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
853 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
854 echo $ac_n "(cached) $ac_c" 1>&6
856 cat > conftestmake <<\EOF
858 @echo 'ac_maketemp="${MAKE}"'
860 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
861 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
862 if test -n "$ac_maketemp"; then
863 eval ac_cv_prog_make_${ac_make}_set=yes
865 eval ac_cv_prog_make_${ac_make}_set=no
869 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
870 echo "$ac_t""yes" 1>&6
873 echo "$ac_t""no" 1>&6
874 SET_MAKE="MAKE=${MAKE-make}"
877 if test $host != $build; then
878 ac_tool_prefix=${host_alias}-
883 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
884 echo "configure:885: checking for Cygwin environment" >&5
885 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
886 echo $ac_n "(cached) $ac_c" 1>&6
888 cat > conftest.$ac_ext <<EOF
889 #line 890 "configure"
890 #include "confdefs.h"
895 #define __CYGWIN__ __CYGWIN32__
900 if { (eval echo configure:901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
904 echo "configure: failed program was:" >&5
905 cat conftest.$ac_ext >&5
913 echo "$ac_t""$ac_cv_cygwin" 1>&6
915 test "$ac_cv_cygwin" = yes && CYGWIN=yes
916 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
917 echo "configure:918: checking for mingw32 environment" >&5
918 if eval "test \"`echo '$''{'ac_cv_mingw32'+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"
929 if { (eval echo configure:930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
933 echo "configure: failed program was:" >&5
934 cat conftest.$ac_ext >&5
942 echo "$ac_t""$ac_cv_mingw32" 1>&6
944 test "$ac_cv_mingw32" = yes && MINGW32=yes
946 # Check whether --enable-multilib or --disable-multilib was given.
947 if test "${enable_multilib+set}" = set; then
948 enableval="$enable_multilib"
949 case "${enableval}" in
952 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
958 glibcpp_basedir=$auxdir/./libstdc++-v3
966 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
967 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
969 cat >> confdefs.h <<EOF
970 #define PACKAGE "$PACKAGE"
973 cat >> confdefs.h <<EOF
974 #define VERSION "$VERSION"
979 missing_dir=`cd $ac_aux_dir && pwd`
980 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
981 echo "configure:982: checking for working aclocal" >&5
982 # Run test in a subshell; some versions of sh will print an error if
983 # an executable is not found, even if stderr is redirected.
984 # Redirect stdin to placate older versions of autoconf. Sigh.
985 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
987 echo "$ac_t""found" 1>&6
989 ACLOCAL="$missing_dir/missing aclocal"
990 echo "$ac_t""missing" 1>&6
993 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
994 echo "configure:995: checking for working autoconf" >&5
995 # Run test in a subshell; some versions of sh will print an error if
996 # an executable is not found, even if stderr is redirected.
997 # Redirect stdin to placate older versions of autoconf. Sigh.
998 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1000 echo "$ac_t""found" 1>&6
1002 AUTOCONF="$missing_dir/missing autoconf"
1003 echo "$ac_t""missing" 1>&6
1006 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1007 echo "configure:1008: checking for working automake" >&5
1008 # Run test in a subshell; some versions of sh will print an error if
1009 # an executable is not found, even if stderr is redirected.
1010 # Redirect stdin to placate older versions of autoconf. Sigh.
1011 if (automake --version) < /dev/null > /dev/null 2>&1; then
1013 echo "$ac_t""found" 1>&6
1015 AUTOMAKE="$missing_dir/missing automake"
1016 echo "$ac_t""missing" 1>&6
1019 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1020 echo "configure:1021: checking for working autoheader" >&5
1021 # Run test in a subshell; some versions of sh will print an error if
1022 # an executable is not found, even if stderr is redirected.
1023 # Redirect stdin to placate older versions of autoconf. Sigh.
1024 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1025 AUTOHEADER=autoheader
1026 echo "$ac_t""found" 1>&6
1028 AUTOHEADER="$missing_dir/missing autoheader"
1029 echo "$ac_t""missing" 1>&6
1032 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1033 echo "configure:1034: checking for working makeinfo" >&5
1034 # Run test in a subshell; some versions of sh will print an error if
1035 # an executable is not found, even if stderr is redirected.
1036 # Redirect stdin to placate older versions of autoconf. Sigh.
1037 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1039 echo "$ac_t""found" 1>&6
1041 MAKEINFO="$missing_dir/missing makeinfo"
1042 echo "$ac_t""missing" 1>&6
1047 # Never versions of autoconf add an underscore to these functions.
1048 # Prevent future problems ...
1056 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1057 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1058 # are probably using a cross compiler, which will not be able to fully
1059 # link an executable. This should really be fixed in autoconf
1065 # Extract the first word of "gcc", so it can be a program name with args.
1066 set dummy gcc; ac_word=$2
1067 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1068 echo "configure:1069: checking for $ac_word" >&5
1069 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1070 echo $ac_n "(cached) $ac_c" 1>&6
1072 if test -n "$CC"; then
1073 ac_cv_prog_CC="$CC" # Let the user override the test.
1075 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1077 for ac_dir in $ac_dummy; do
1078 test -z "$ac_dir" && ac_dir=.
1079 if test -f $ac_dir/$ac_word; then
1088 if test -n "$CC"; then
1089 echo "$ac_t""$CC" 1>&6
1091 echo "$ac_t""no" 1>&6
1094 if test -z "$CC"; then
1095 # Extract the first word of "cc", so it can be a program name with args.
1096 set dummy cc; ac_word=$2
1097 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1098 echo "configure:1099: checking for $ac_word" >&5
1099 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1100 echo $ac_n "(cached) $ac_c" 1>&6
1102 if test -n "$CC"; then
1103 ac_cv_prog_CC="$CC" # Let the user override the test.
1105 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1108 for ac_dir in $ac_dummy; do
1109 test -z "$ac_dir" && ac_dir=.
1110 if test -f $ac_dir/$ac_word; then
1111 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1112 ac_prog_rejected=yes
1120 if test $ac_prog_rejected = yes; then
1121 # We found a bogon in the path, so make sure we never use it.
1122 set dummy $ac_cv_prog_CC
1124 if test $# -gt 0; then
1125 # We chose a different compiler from the bogus one.
1126 # However, it has the same basename, so the bogon will be chosen
1127 # first if we set CC to just the basename; use the full file name.
1129 set dummy "$ac_dir/$ac_word" "$@"
1137 if test -n "$CC"; then
1138 echo "$ac_t""$CC" 1>&6
1140 echo "$ac_t""no" 1>&6
1143 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1146 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1147 echo "configure:1148: checking whether we are using GNU C" >&5
1148 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1149 echo $ac_n "(cached) $ac_c" 1>&6
1151 cat > conftest.c <<EOF
1156 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1163 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1165 if test $ac_cv_prog_gcc = yes; then
1167 ac_test_CFLAGS="${CFLAGS+set}"
1168 ac_save_CFLAGS="$CFLAGS"
1170 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1171 echo "configure:1172: checking whether ${CC-cc} accepts -g" >&5
1172 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1173 echo $ac_n "(cached) $ac_c" 1>&6
1175 echo 'void f(){}' > conftest.c
1176 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1185 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1186 if test "$ac_test_CFLAGS" = set; then
1187 CFLAGS="$ac_save_CFLAGS"
1188 elif test $ac_cv_prog_cc_g = yes; then
1195 test "${CFLAGS+set}" = set || CFLAGS="-g"
1199 # Can't just call these here as g++ requires libstc++ to be built....
1202 # Likewise for AC_PROG_CXX.
1206 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1207 # flags that come in CXX while configuring libstdc++. They're different
1208 # from those used for all other target libraries. If CXX is set in
1209 # the environment, respect that here.
1211 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1213 # Extract the first word of "$ac_prog", so it can be a program name with args.
1214 set dummy $ac_prog; ac_word=$2
1215 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1216 echo "configure:1217: checking for $ac_word" >&5
1217 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1218 echo $ac_n "(cached) $ac_c" 1>&6
1220 if test -n "$glibcpp_CXX"; then
1221 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1223 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1225 for ac_dir in $ac_dummy; do
1226 test -z "$ac_dir" && ac_dir=.
1227 if test -f $ac_dir/$ac_word; then
1228 ac_cv_prog_glibcpp_CXX="$ac_prog"
1235 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1236 if test -n "$glibcpp_CXX"; then
1237 echo "$ac_t""$glibcpp_CXX" 1>&6
1239 echo "$ac_t""no" 1>&6
1242 test -n "$glibcpp_CXX" && break
1244 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1247 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1249 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1250 echo "configure:1251: checking whether we are using GNU C++" >&5
1251 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1252 echo $ac_n "(cached) $ac_c" 1>&6
1254 cat > conftest.C <<EOF
1259 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1266 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1268 if test $ac_cv_prog_gxx = yes; then
1270 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1271 ac_save_CXXFLAGS="$CXXFLAGS"
1273 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1274 echo "configure:1275: checking whether ${CXX-g++} accepts -g" >&5
1275 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1276 echo $ac_n "(cached) $ac_c" 1>&6
1278 echo 'void f(){}' > conftest.cc
1279 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1280 ac_cv_prog_cxx_g=yes
1288 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1289 if test "$ac_test_CXXFLAGS" = set; then
1290 CXXFLAGS="$ac_save_CXXFLAGS"
1291 elif test $ac_cv_prog_cxx_g = yes; then
1298 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1302 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1303 set dummy ${ac_tool_prefix}as; ac_word=$2
1304 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1305 echo "configure:1306: checking for $ac_word" >&5
1306 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1307 echo $ac_n "(cached) $ac_c" 1>&6
1309 if test -n "$AS"; then
1310 ac_cv_prog_AS="$AS" # Let the user override the test.
1312 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1314 for ac_dir in $ac_dummy; do
1315 test -z "$ac_dir" && ac_dir=.
1316 if test -f $ac_dir/$ac_word; then
1317 ac_cv_prog_AS="${ac_tool_prefix}as"
1322 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1326 if test -n "$AS"; then
1327 echo "$ac_t""$AS" 1>&6
1329 echo "$ac_t""no" 1>&6
1334 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1335 set dummy ${ac_tool_prefix}ar; ac_word=$2
1336 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1337 echo "configure:1338: checking for $ac_word" >&5
1338 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1339 echo $ac_n "(cached) $ac_c" 1>&6
1341 if test -n "$AR"; then
1342 ac_cv_prog_AR="$AR" # Let the user override the test.
1344 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1346 for ac_dir in $ac_dummy; do
1347 test -z "$ac_dir" && ac_dir=.
1348 if test -f $ac_dir/$ac_word; then
1349 ac_cv_prog_AR="${ac_tool_prefix}ar"
1354 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1358 if test -n "$AR"; then
1359 echo "$ac_t""$AR" 1>&6
1361 echo "$ac_t""no" 1>&6
1366 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1367 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1368 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1369 echo "configure:1370: checking for $ac_word" >&5
1370 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1371 echo $ac_n "(cached) $ac_c" 1>&6
1373 if test -n "$RANLIB"; then
1374 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1376 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1378 for ac_dir in $ac_dummy; do
1379 test -z "$ac_dir" && ac_dir=.
1380 if test -f $ac_dir/$ac_word; then
1381 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1388 RANLIB="$ac_cv_prog_RANLIB"
1389 if test -n "$RANLIB"; then
1390 echo "$ac_t""$RANLIB" 1>&6
1392 echo "$ac_t""no" 1>&6
1396 if test -z "$ac_cv_prog_RANLIB"; then
1397 if test -n "$ac_tool_prefix"; then
1398 # Extract the first word of "ranlib", so it can be a program name with args.
1399 set dummy ranlib; ac_word=$2
1400 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1401 echo "configure:1402: checking for $ac_word" >&5
1402 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1403 echo $ac_n "(cached) $ac_c" 1>&6
1405 if test -n "$RANLIB"; then
1406 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1408 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1410 for ac_dir in $ac_dummy; do
1411 test -z "$ac_dir" && ac_dir=.
1412 if test -f $ac_dir/$ac_word; then
1413 ac_cv_prog_RANLIB="ranlib"
1418 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1421 RANLIB="$ac_cv_prog_RANLIB"
1422 if test -n "$RANLIB"; then
1423 echo "$ac_t""$RANLIB" 1>&6
1425 echo "$ac_t""no" 1>&6
1429 RANLIB="ranlib-not-found-in-path-error"
1433 # Extract the first word of "${ac_tool_prefix}expect", so it can be a program name with args.
1434 set dummy ${ac_tool_prefix}expect; ac_word=$2
1435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1436 echo "configure:1437: checking for $ac_word" >&5
1437 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_expect'+set}'`\" = set"; then
1438 echo $ac_n "(cached) $ac_c" 1>&6
1440 if test -n "$glibcpp_expect"; then
1441 ac_cv_prog_glibcpp_expect="$glibcpp_expect" # Let the user override the test.
1443 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1445 for ac_dir in $ac_dummy; do
1446 test -z "$ac_dir" && ac_dir=.
1447 if test -f $ac_dir/$ac_word; then
1448 ac_cv_prog_glibcpp_expect="${ac_tool_prefix}expect"
1455 glibcpp_expect="$ac_cv_prog_glibcpp_expect"
1456 if test -n "$glibcpp_expect"; then
1457 echo "$ac_t""$glibcpp_expect" 1>&6
1459 echo "$ac_t""no" 1>&6
1463 if test -z "$ac_cv_prog_glibcpp_expect"; then
1464 if test -n "$ac_tool_prefix"; then
1465 # Extract the first word of "expect", so it can be a program name with args.
1466 set dummy expect; ac_word=$2
1467 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1468 echo "configure:1469: checking for $ac_word" >&5
1469 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_expect'+set}'`\" = set"; then
1470 echo $ac_n "(cached) $ac_c" 1>&6
1472 if test -n "$glibcpp_expect"; then
1473 ac_cv_prog_glibcpp_expect="$glibcpp_expect" # Let the user override the test.
1475 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1477 for ac_dir in $ac_dummy; do
1478 test -z "$ac_dir" && ac_dir=.
1479 if test -f $ac_dir/$ac_word; then
1480 ac_cv_prog_glibcpp_expect="expect"
1485 test -z "$ac_cv_prog_glibcpp_expect" && ac_cv_prog_glibcpp_expect="expect-not-found-in-path-error"
1488 glibcpp_expect="$ac_cv_prog_glibcpp_expect"
1489 if test -n "$glibcpp_expect"; then
1490 echo "$ac_t""$glibcpp_expect" 1>&6
1492 echo "$ac_t""no" 1>&6
1496 glibcpp_expect="expect-not-found-in-path-error"
1500 # Extract the first word of "${ac_tool_prefix}runtest", so it can be a program name with args.
1501 set dummy ${ac_tool_prefix}runtest; ac_word=$2
1502 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1503 echo "configure:1504: checking for $ac_word" >&5
1504 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_runtest'+set}'`\" = set"; then
1505 echo $ac_n "(cached) $ac_c" 1>&6
1507 if test -n "$glibcpp_runtest"; then
1508 ac_cv_prog_glibcpp_runtest="$glibcpp_runtest" # Let the user override the test.
1510 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1512 for ac_dir in $ac_dummy; do
1513 test -z "$ac_dir" && ac_dir=.
1514 if test -f $ac_dir/$ac_word; then
1515 ac_cv_prog_glibcpp_runtest="${ac_tool_prefix}runtest"
1522 glibcpp_runtest="$ac_cv_prog_glibcpp_runtest"
1523 if test -n "$glibcpp_runtest"; then
1524 echo "$ac_t""$glibcpp_runtest" 1>&6
1526 echo "$ac_t""no" 1>&6
1530 if test -z "$ac_cv_prog_glibcpp_runtest"; then
1531 if test -n "$ac_tool_prefix"; then
1532 # Extract the first word of "runtest", so it can be a program name with args.
1533 set dummy runtest; ac_word=$2
1534 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1535 echo "configure:1536: checking for $ac_word" >&5
1536 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_runtest'+set}'`\" = set"; then
1537 echo $ac_n "(cached) $ac_c" 1>&6
1539 if test -n "$glibcpp_runtest"; then
1540 ac_cv_prog_glibcpp_runtest="$glibcpp_runtest" # Let the user override the test.
1542 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1544 for ac_dir in $ac_dummy; do
1545 test -z "$ac_dir" && ac_dir=.
1546 if test -f $ac_dir/$ac_word; then
1547 ac_cv_prog_glibcpp_runtest="runtest"
1552 test -z "$ac_cv_prog_glibcpp_runtest" && ac_cv_prog_glibcpp_runtest="runtest-not-found-in-path-error"
1555 glibcpp_runtest="$ac_cv_prog_glibcpp_runtest"
1556 if test -n "$glibcpp_runtest"; then
1557 echo "$ac_t""$glibcpp_runtest" 1>&6
1559 echo "$ac_t""no" 1>&6
1563 glibcpp_runtest="runtest-not-found-in-path-error"
1569 # Find a good install program. We prefer a C program (faster),
1570 # so one script is as good as another. But avoid the broken or
1571 # incompatible versions:
1572 # SysV /etc/install, /usr/sbin/install
1573 # SunOS /usr/etc/install
1574 # IRIX /sbin/install
1576 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1577 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1578 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1579 # ./install, which can be erroneously created by make from ./install.sh.
1580 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1581 echo "configure:1582: checking for a BSD compatible install" >&5
1582 if test -z "$INSTALL"; then
1583 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1584 echo $ac_n "(cached) $ac_c" 1>&6
1586 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1587 for ac_dir in $PATH; do
1588 # Account for people who put trailing slashes in PATH elements.
1590 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1592 # OSF1 and SCO ODT 3.0 have their own names for install.
1593 # Don't use installbsd from OSF since it installs stuff as root
1595 for ac_prog in ginstall scoinst install; do
1596 if test -f $ac_dir/$ac_prog; then
1597 if test $ac_prog = install &&
1598 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1599 # AIX install. It has an incompatible calling convention.
1602 ac_cv_path_install="$ac_dir/$ac_prog -c"
1613 if test "${ac_cv_path_install+set}" = set; then
1614 INSTALL="$ac_cv_path_install"
1616 # As a last resort, use the slow shell script. We don't cache a
1617 # path for INSTALL within a source directory, because that will
1618 # break other packages using the cache if that directory is
1619 # removed, or if the path is relative.
1620 INSTALL="$ac_install_sh"
1623 echo "$ac_t""$INSTALL" 1>&6
1625 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1626 # It thinks the first close brace ends the variable substitution.
1627 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1629 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1631 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1634 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1635 echo "configure:1636: checking whether to enable maintainer-specific portions of Makefiles" >&5
1636 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1637 if test "${enable_maintainer_mode+set}" = set; then
1638 enableval="$enable_maintainer_mode"
1639 USE_MAINTAINER_MODE=$enableval
1641 USE_MAINTAINER_MODE=no
1644 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1647 if test $USE_MAINTAINER_MODE = yes; then
1648 MAINTAINER_MODE_TRUE=
1649 MAINTAINER_MODE_FALSE='#'
1651 MAINTAINER_MODE_TRUE='#'
1652 MAINTAINER_MODE_FALSE=
1654 MAINT=$MAINTAINER_MODE_TRUE
1658 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1659 # at least currently, we never actually build a program, so we never
1660 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1661 # fails, because we are probably configuring with a cross compiler
1662 # which cant create executables. So we include AC_EXEEXT to keep
1663 # automake happy, but we dont execute it, since we dont care about
1668 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1669 echo "configure:1670: checking for executable suffix" >&5
1670 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1671 echo $ac_n "(cached) $ac_c" 1>&6
1673 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1677 echo 'int main () { return 0; }' > conftest.$ac_ext
1679 if { (eval echo configure:1680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1680 for file in conftest.*; do
1682 *.c | *.o | *.obj) ;;
1683 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1687 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1690 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1695 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1696 echo "$ac_t""${ac_cv_exeext}" 1>&6
1701 . ${glibcpp_basedir}/configure.host
1703 case ${glibcpp_basedir} in
1704 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1705 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1708 # This does for the target what configure.host does for the host. In
1709 # addition to possibly modifying the same flags, it also sets up symlinks.
1711 . ${glibcpp_basedir}/configure.target
1712 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1713 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1719 # Check whether --enable-shared or --disable-shared was given.
1720 if test "${enable_shared+set}" = set; then
1721 enableval="$enable_shared"
1722 p=${PACKAGE-default}
1724 yes) enable_shared=yes ;;
1725 no) enable_shared=no ;;
1728 # Look at the argument we got. We use all the common list separators.
1729 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1730 for pkg in $enableval; do
1731 if test "X$pkg" = "X$p"; then
1742 # Check whether --enable-static or --disable-static was given.
1743 if test "${enable_static+set}" = set; then
1744 enableval="$enable_static"
1745 p=${PACKAGE-default}
1747 yes) enable_static=yes ;;
1748 no) enable_static=no ;;
1751 # Look at the argument we got. We use all the common list separators.
1752 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1753 for pkg in $enableval; do
1754 if test "X$pkg" = "X$p"; then
1765 # Check whether --enable-fast-install or --disable-fast-install was given.
1766 if test "${enable_fast_install+set}" = set; then
1767 enableval="$enable_fast_install"
1768 p=${PACKAGE-default}
1770 yes) enable_fast_install=yes ;;
1771 no) enable_fast_install=no ;;
1773 enable_fast_install=no
1774 # Look at the argument we got. We use all the common list separators.
1775 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1776 for pkg in $enableval; do
1777 if test "X$pkg" = "X$p"; then
1778 enable_fast_install=yes
1785 enable_fast_install=yes
1788 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1789 if test "${with_gnu_ld+set}" = set; then
1790 withval="$with_gnu_ld"
1791 test "$withval" = no || with_gnu_ld=yes
1797 if test "$GCC" = yes; then
1798 # Check if gcc -print-prog-name=ld gives a path.
1799 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1800 echo "configure:1801: checking for ld used by GCC" >&5
1803 # gcc leaves a trailing carriage return which upsets mingw
1804 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1806 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1809 # Accept absolute paths.
1810 [\\/]* | [A-Za-z]:[\\/]*)
1811 re_direlt='/[^/][^/]*/\.\./'
1812 # Canonicalize the path of ld
1813 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1814 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1815 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1817 test -z "$LD" && LD="$ac_prog"
1820 # If it fails, then pretend we aren't using GCC.
1824 # If it is relative, then search for the first ld in PATH.
1828 elif test "$with_gnu_ld" = yes; then
1829 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1830 echo "configure:1831: checking for GNU ld" >&5
1832 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1833 echo "configure:1834: checking for non-GNU ld" >&5
1835 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1836 echo $ac_n "(cached) $ac_c" 1>&6
1838 if test -z "$LD"; then
1839 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1840 for ac_dir in $PATH; do
1841 test -z "$ac_dir" && ac_dir=.
1842 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1843 lt_cv_path_LD="$ac_dir/$ac_prog"
1844 # Check to see if the program is GNU ld. I'd rather use --version,
1845 # but apparently some GNU ld's only accept -v.
1846 # Break only if it was the GNU/non-GNU ld that we prefer.
1847 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1848 test "$with_gnu_ld" != no && break
1850 test "$with_gnu_ld" != yes && break
1856 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1861 if test -n "$LD"; then
1862 echo "$ac_t""$LD" 1>&6
1864 echo "$ac_t""no" 1>&6
1866 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1867 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1868 echo "configure:1869: checking if the linker ($LD) is GNU ld" >&5
1869 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1870 echo $ac_n "(cached) $ac_c" 1>&6
1872 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1873 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1874 lt_cv_prog_gnu_ld=yes
1876 lt_cv_prog_gnu_ld=no
1880 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1881 with_gnu_ld=$lt_cv_prog_gnu_ld
1884 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1885 echo "configure:1886: checking for $LD option to reload object files" >&5
1886 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1887 echo $ac_n "(cached) $ac_c" 1>&6
1889 lt_cv_ld_reload_flag='-r'
1892 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1893 reload_flag=$lt_cv_ld_reload_flag
1894 test -n "$reload_flag" && reload_flag=" $reload_flag"
1896 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1897 echo "configure:1898: checking for BSD-compatible nm" >&5
1898 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1899 echo $ac_n "(cached) $ac_c" 1>&6
1901 if test -n "$NM"; then
1902 # Let the user override the test.
1905 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1906 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1907 test -z "$ac_dir" && ac_dir=.
1908 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1909 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1910 # Check to see if the nm accepts a BSD-compat flag.
1911 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1912 # nm: unknown option "B" ignored
1913 # Tru64's nm complains that /dev/null is an invalid object file
1914 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1915 lt_cv_path_NM="$tmp_nm -B"
1917 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1918 lt_cv_path_NM="$tmp_nm -p"
1921 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1922 continue # so that we can try to find one that supports BSD flags
1927 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1932 echo "$ac_t""$NM" 1>&6
1934 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1935 echo "configure:1936: checking whether ln -s works" >&5
1936 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1937 echo $ac_n "(cached) $ac_c" 1>&6
1940 if ln -s X conftestdata 2>/dev/null
1943 ac_cv_prog_LN_S="ln -s"
1948 LN_S="$ac_cv_prog_LN_S"
1949 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1950 echo "$ac_t""yes" 1>&6
1952 echo "$ac_t""no" 1>&6
1955 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1956 echo "configure:1957: checking how to recognise dependant libraries" >&5
1957 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1958 echo $ac_n "(cached) $ac_c" 1>&6
1960 lt_cv_file_magic_cmd='$MAGIC_CMD'
1961 lt_cv_file_magic_test_file=
1962 lt_cv_deplibs_check_method='unknown'
1963 # Need to set the preceding variable on all platforms that support
1964 # interlibrary dependencies.
1965 # 'none' -- dependencies not supported.
1966 # `unknown' -- same as none, but documents that we really don't know.
1967 # 'pass_all' -- all dependencies passed with no checks.
1968 # 'test_compile' -- check by making test program.
1969 # 'file_magic [regex]' -- check by looking for files in library path
1970 # which responds to the $file_magic_cmd with a given egrep regex.
1971 # If you have `file' or equivalent on your system and you're not sure
1972 # whether `pass_all' will *always* work, you probably want this one.
1976 lt_cv_deplibs_check_method=pass_all
1980 lt_cv_deplibs_check_method=pass_all
1984 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1985 lt_cv_file_magic_cmd='/usr/bin/file -L'
1986 lt_cv_file_magic_test_file=/shlib/libc.so
1989 cygwin* | mingw* |pw32*)
1990 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1991 lt_cv_file_magic_cmd='$OBJDUMP -f'
1994 darwin* | rhapsody*)
1995 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1996 lt_cv_file_magic_cmd='/usr/bin/file -L'
1998 rhapsody* | darwin1.012)
1999 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2002 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2008 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2011 # Not sure whether the presence of OpenBSD here was a mistake.
2012 # Let's accept both of them until this is cleared up.
2013 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2014 lt_cv_file_magic_cmd=/usr/bin/file
2015 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2019 lt_cv_deplibs_check_method=pass_all
2024 lt_cv_deplibs_check_method=pass_all
2028 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2029 lt_cv_file_magic_cmd=/usr/bin/file
2030 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2036 # this will be overridden with pass_all, but let us keep it just in case
2037 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2041 *-32|*"-32 ") libmagic=32-bit;;
2042 *-n32|*"-n32 ") libmagic=N32;;
2043 *-64|*"-64 ") libmagic=64-bit;;
2044 *) libmagic=never-match;;
2046 # this will be overridden with pass_all, but let us keep it just in case
2047 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2050 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2051 lt_cv_deplibs_check_method=pass_all
2054 # This must be Linux ELF.
2057 alpha* | i*86 | powerpc* | sparc* | ia64* )
2058 lt_cv_deplibs_check_method=pass_all ;;
2060 # glibc up to 2.1.1 does not perform some relocations on ARM
2061 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2063 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2067 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2068 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2070 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2075 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2076 lt_cv_file_magic_cmd=/usr/bin/file
2077 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2080 osf3* | osf4* | osf5*)
2081 # this will be overridden with pass_all, but let us keep it just in case
2082 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2083 lt_cv_file_magic_test_file=/shlib/libc.so
2084 lt_cv_deplibs_check_method=pass_all
2088 lt_cv_deplibs_check_method=pass_all
2092 lt_cv_deplibs_check_method=pass_all
2093 lt_cv_file_magic_test_file=/lib/libc.so
2096 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2097 case $host_vendor in
2099 lt_cv_deplibs_check_method=pass_all
2102 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]'
2103 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2111 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2112 file_magic_cmd=$lt_cv_file_magic_cmd
2113 deplibs_check_method=$lt_cv_deplibs_check_method
2115 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2116 echo "configure:2117: checking for object suffix" >&5
2117 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2118 echo $ac_n "(cached) $ac_c" 1>&6
2121 echo 'int i = 1;' > conftest.$ac_ext
2122 if { (eval echo configure:2123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2123 for ac_file in conftest.*; do
2126 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2130 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2135 echo "$ac_t""$ac_cv_objext" 1>&6
2136 OBJEXT=$ac_cv_objext
2137 ac_objext=$ac_cv_objext
2139 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2141 # Only perform the check for file, if the check method requires it
2142 case $deplibs_check_method in
2144 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2145 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2146 echo "configure:2147: checking for ${ac_tool_prefix}file" >&5
2147 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2148 echo $ac_n "(cached) $ac_c" 1>&6
2152 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2155 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2158 ac_save_MAGIC_CMD="$MAGIC_CMD"
2159 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2160 ac_dummy="/usr/bin:$PATH"
2161 for ac_dir in $ac_dummy; do
2162 test -z "$ac_dir" && ac_dir=.
2163 if test -f $ac_dir/${ac_tool_prefix}file; then
2164 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2165 if test -n "$file_magic_test_file"; then
2166 case $deplibs_check_method in
2168 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2169 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2170 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2171 egrep "$file_magic_regex" > /dev/null; then
2176 *** Warning: the command libtool uses to detect shared libraries,
2177 *** $file_magic_cmd, produces output that libtool cannot recognize.
2178 *** The result is that libtool may fail to recognize shared libraries
2179 *** as such. This will affect the creation of libtool libraries that
2180 *** depend on shared libraries, but programs linked with such libtool
2181 *** libraries will work regardless of this problem. Nevertheless, you
2182 *** may want to report the problem to your system manager and/or to
2183 *** bug-libtool@gnu.org
2193 MAGIC_CMD="$ac_save_MAGIC_CMD"
2198 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2199 if test -n "$MAGIC_CMD"; then
2200 echo "$ac_t""$MAGIC_CMD" 1>&6
2202 echo "$ac_t""no" 1>&6
2205 if test -z "$lt_cv_path_MAGIC_CMD"; then
2206 if test -n "$ac_tool_prefix"; then
2207 echo $ac_n "checking for file""... $ac_c" 1>&6
2208 echo "configure:2209: checking for file" >&5
2209 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2210 echo $ac_n "(cached) $ac_c" 1>&6
2214 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2217 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2220 ac_save_MAGIC_CMD="$MAGIC_CMD"
2221 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2222 ac_dummy="/usr/bin:$PATH"
2223 for ac_dir in $ac_dummy; do
2224 test -z "$ac_dir" && ac_dir=.
2225 if test -f $ac_dir/file; then
2226 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2227 if test -n "$file_magic_test_file"; then
2228 case $deplibs_check_method in
2230 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2231 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2232 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2233 egrep "$file_magic_regex" > /dev/null; then
2238 *** Warning: the command libtool uses to detect shared libraries,
2239 *** $file_magic_cmd, produces output that libtool cannot recognize.
2240 *** The result is that libtool may fail to recognize shared libraries
2241 *** as such. This will affect the creation of libtool libraries that
2242 *** depend on shared libraries, but programs linked with such libtool
2243 *** libraries will work regardless of this problem. Nevertheless, you
2244 *** may want to report the problem to your system manager and/or to
2245 *** bug-libtool@gnu.org
2255 MAGIC_CMD="$ac_save_MAGIC_CMD"
2260 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2261 if test -n "$MAGIC_CMD"; then
2262 echo "$ac_t""$MAGIC_CMD" 1>&6
2264 echo "$ac_t""no" 1>&6
2276 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2277 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2278 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2279 echo "configure:2280: checking for $ac_word" >&5
2280 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2281 echo $ac_n "(cached) $ac_c" 1>&6
2283 if test -n "$RANLIB"; then
2284 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2286 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2288 for ac_dir in $ac_dummy; do
2289 test -z "$ac_dir" && ac_dir=.
2290 if test -f $ac_dir/$ac_word; then
2291 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2298 RANLIB="$ac_cv_prog_RANLIB"
2299 if test -n "$RANLIB"; then
2300 echo "$ac_t""$RANLIB" 1>&6
2302 echo "$ac_t""no" 1>&6
2306 if test -z "$ac_cv_prog_RANLIB"; then
2307 if test -n "$ac_tool_prefix"; then
2308 # Extract the first word of "ranlib", so it can be a program name with args.
2309 set dummy ranlib; ac_word=$2
2310 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2311 echo "configure:2312: checking for $ac_word" >&5
2312 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2313 echo $ac_n "(cached) $ac_c" 1>&6
2315 if test -n "$RANLIB"; then
2316 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2318 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2320 for ac_dir in $ac_dummy; do
2321 test -z "$ac_dir" && ac_dir=.
2322 if test -f $ac_dir/$ac_word; then
2323 ac_cv_prog_RANLIB="ranlib"
2328 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2331 RANLIB="$ac_cv_prog_RANLIB"
2332 if test -n "$RANLIB"; then
2333 echo "$ac_t""$RANLIB" 1>&6
2335 echo "$ac_t""no" 1>&6
2343 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2344 set dummy ${ac_tool_prefix}strip; ac_word=$2
2345 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2346 echo "configure:2347: checking for $ac_word" >&5
2347 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2348 echo $ac_n "(cached) $ac_c" 1>&6
2350 if test -n "$STRIP"; then
2351 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2353 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2355 for ac_dir in $ac_dummy; do
2356 test -z "$ac_dir" && ac_dir=.
2357 if test -f $ac_dir/$ac_word; then
2358 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2365 STRIP="$ac_cv_prog_STRIP"
2366 if test -n "$STRIP"; then
2367 echo "$ac_t""$STRIP" 1>&6
2369 echo "$ac_t""no" 1>&6
2373 if test -z "$ac_cv_prog_STRIP"; then
2374 if test -n "$ac_tool_prefix"; then
2375 # Extract the first word of "strip", so it can be a program name with args.
2376 set dummy strip; ac_word=$2
2377 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2378 echo "configure:2379: checking for $ac_word" >&5
2379 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2380 echo $ac_n "(cached) $ac_c" 1>&6
2382 if test -n "$STRIP"; then
2383 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2385 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2387 for ac_dir in $ac_dummy; do
2388 test -z "$ac_dir" && ac_dir=.
2389 if test -f $ac_dir/$ac_word; then
2390 ac_cv_prog_STRIP="strip"
2395 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2398 STRIP="$ac_cv_prog_STRIP"
2399 if test -n "$STRIP"; then
2400 echo "$ac_t""$STRIP" 1>&6
2402 echo "$ac_t""no" 1>&6
2411 # Check for any special flags to pass to ltconfig.
2412 libtool_flags="--cache-file=$cache_file"
2413 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2414 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2415 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2416 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2417 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2418 libtool_flags="$libtool_flags --enable-dlopen"
2420 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2421 if test "${enable_libtool_lock+set}" = set; then
2422 enableval="$enable_libtool_lock"
2426 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2427 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2429 # Check whether --with-pic or --without-pic was given.
2430 if test "${with_pic+set}" = set; then
2437 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2438 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2440 # Some flags need to be propagated to the compiler or linker for good
2444 # Find out which ABI we are using.
2445 echo '#line 2446 "configure"' > conftest.$ac_ext
2446 if { (eval echo configure:2447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2447 case `/usr/bin/file conftest.$ac_objext` in
2463 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2464 SAVE_CFLAGS="$CFLAGS"
2465 CFLAGS="$CFLAGS -belf"
2466 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2467 echo "configure:2468: checking whether the C compiler needs -belf" >&5
2468 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2469 echo $ac_n "(cached) $ac_c" 1>&6
2473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2474 ac_cpp='$CPP $CPPFLAGS'
2475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2477 cross_compiling=$ac_cv_prog_cc_cross
2479 cat > conftest.$ac_ext <<EOF
2480 #line 2481 "configure"
2481 #include "confdefs.h"
2487 if { (eval echo configure:2488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2489 lt_cv_cc_needs_belf=yes
2491 echo "configure: failed program was:" >&5
2492 cat conftest.$ac_ext >&5
2494 lt_cv_cc_needs_belf=no
2498 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2499 ac_cpp='$CPP $CPPFLAGS'
2500 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2501 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2502 cross_compiling=$ac_cv_prog_cc_cross
2506 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2507 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2508 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2509 CFLAGS="$SAVE_CFLAGS"
2516 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2517 echo "configure:2518: checking how to run the C++ preprocessor" >&5
2518 if test -z "$CXXCPP"; then
2519 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2520 echo $ac_n "(cached) $ac_c" 1>&6
2523 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2524 ac_cpp='$CXXCPP $CPPFLAGS'
2525 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2526 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2527 cross_compiling=$ac_cv_prog_cxx_cross
2528 CXXCPP="${CXX-g++} -E"
2529 cat > conftest.$ac_ext <<EOF
2530 #line 2531 "configure"
2531 #include "confdefs.h"
2534 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2535 { (eval echo configure:2536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2536 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2537 if test -z "$ac_err"; then
2541 echo "configure: failed program was:" >&5
2542 cat conftest.$ac_ext >&5
2547 ac_cv_prog_CXXCPP="$CXXCPP"
2549 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2550 ac_cpp='$CPP $CPPFLAGS'
2551 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2552 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2553 cross_compiling=$ac_cv_prog_cc_cross
2556 CXXCPP="$ac_cv_prog_CXXCPP"
2557 echo "$ac_t""$CXXCPP" 1>&6
2560 # Save cache, so that ltconfig can load it
2561 cat > confcache <<\EOF
2562 # This file is a shell script that caches the results of configure
2563 # tests run on this system so they can be shared between configure
2564 # scripts and configure runs. It is not useful on other systems.
2565 # If it contains results you don't want to keep, you may remove or edit it.
2567 # By default, configure uses ./config.cache as the cache file,
2568 # creating it if it does not exist already. You can give configure
2569 # the --cache-file=FILE option to use a different cache file; that is
2570 # what configure does when it calls configure scripts in
2571 # subdirectories, so they share the cache.
2572 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2573 # config.status only pays attention to the cache file if you give it the
2574 # --recheck option to rerun configure.
2577 # The following way of writing the cache mishandles newlines in values,
2578 # but we know of no workaround that is simple, portable, and efficient.
2579 # So, don't put newlines in cache variables' values.
2580 # Ultrix sh set writes to stderr and can't be redirected directly,
2581 # and sets the high bit in the cache file unless we assign to the vars.
2583 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2585 # `set' does not quote correctly, so add quotes (double-quote substitution
2586 # turns \\\\ into \\, and sed turns \\ into \).
2588 -e "s/'/'\\\\''/g" \
2589 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2592 # `set' quotes correctly as required by POSIX, so do not add quotes.
2593 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2596 if cmp -s $cache_file confcache; then
2599 if test -w $cache_file; then
2600 echo "updating cache $cache_file"
2601 cat confcache > $cache_file
2603 echo "not updating unwritable cache $cache_file"
2609 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2610 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2611 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2612 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2613 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2614 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2615 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2616 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2617 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2618 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2620 # Reload cache, that may have been modified by ltconfig
2621 if test -r "$cache_file"; then
2622 echo "loading cache $cache_file"
2625 echo "creating cache $cache_file"
2630 # This can be used to rebuild libtool when needed
2631 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2633 # Always use our own libtool.
2634 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2636 # Redirect the config.log output again, so that the ltconfig log is not
2637 # clobbered by the next message.
2638 exec 5>>./config.log
2642 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2644 lt_save_CFLAGS="$CFLAGS"
2645 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2646 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2647 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2648 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2649 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2650 deplibs_check_method="$deplibs_check_method" \
2651 file_magic_cmd="$file_magic_cmd" \
2652 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2653 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2654 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2656 CFLAGS="$lt_save_CFLAGS"
2658 # Redirect the config.log output again, so that the ltconfig log is not
2659 # clobbered by the next message.
2660 exec 5>>./config.log
2669 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2670 echo "configure:2671: checking for GNU make" >&5
2671 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2672 echo $ac_n "(cached) $ac_c" 1>&6
2674 _cv_gnu_make_command='' ;
2675 for a in "${MAKE-make}" make gmake gnumake ; do
2676 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2678 _cv_gnu_make_command=$a ;
2685 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2686 if test "x$_cv_gnu_make_command" != "x" ; then
2693 if test "x$_cv_gnu_make_command" = "x"; then
2694 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2700 # Check for c++ or library specific bits that don't require linking.
2702 if test ! -f stamp-sanity-compiler; then
2703 echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2704 echo "configure:2705: checking for g++ that will successfully compile libstdc++-v3" >&5
2707 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2708 ac_cpp='$CXXCPP $CPPFLAGS'
2709 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2710 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2711 cross_compiling=$ac_cv_prog_cxx_cross
2713 cat > conftest.$ac_ext <<EOF
2714 #line 2715 "configure"
2715 #include "confdefs.h"
2722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2723 egrep "ok" >/dev/null 2>&1; then
2725 gpp_satisfactory=yes
2728 { echo "configure: error: please upgrade to GCC 3.0 or above" 1>&2; exit 1; }
2733 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2734 ac_cpp='$CPP $CPPFLAGS'
2735 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2736 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2737 cross_compiling=$ac_cv_prog_cc_cross
2739 echo "$ac_t""$gpp_satisfactory" 1>&6
2740 touch stamp-sanity-compiler
2744 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2745 # Check whether --enable-debug or --disable-debug was given.
2746 if test "${enable_debug+set}" = set; then
2747 enableval="$enable_debug"
2748 case "${enableval}" in
2749 yes) enable_debug=yes ;;
2750 no) enable_debug=no ;;
2751 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2757 case "${enable_debug}" in
2759 DEBUG_FLAGS='-O0 -ggdb3'
2767 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2768 echo "configure:2769: checking how to run the C preprocessor" >&5
2769 # On Suns, sometimes $CPP names a directory.
2770 if test -n "$CPP" && test -d "$CPP"; then
2773 if test -z "$CPP"; then
2774 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2775 echo $ac_n "(cached) $ac_c" 1>&6
2777 # This must be in double quotes, not single quotes, because CPP may get
2778 # substituted into the Makefile and "${CC-cc}" will confuse make.
2780 # On the NeXT, cc -E runs the code through the compiler's parser,
2781 # not just through cpp.
2782 cat > conftest.$ac_ext <<EOF
2783 #line 2784 "configure"
2784 #include "confdefs.h"
2788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2789 { (eval echo configure:2790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2791 if test -z "$ac_err"; then
2795 echo "configure: failed program was:" >&5
2796 cat conftest.$ac_ext >&5
2798 CPP="${CC-cc} -E -traditional-cpp"
2799 cat > conftest.$ac_ext <<EOF
2800 #line 2801 "configure"
2801 #include "confdefs.h"
2805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2806 { (eval echo configure:2807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2808 if test -z "$ac_err"; then
2812 echo "configure: failed program was:" >&5
2813 cat conftest.$ac_ext >&5
2815 CPP="${CC-cc} -nologo -E"
2816 cat > conftest.$ac_ext <<EOF
2817 #line 2818 "configure"
2818 #include "confdefs.h"
2822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2823 { (eval echo configure:2824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2824 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2825 if test -z "$ac_err"; then
2829 echo "configure: failed program was:" >&5
2830 cat conftest.$ac_ext >&5
2839 ac_cv_prog_CPP="$CPP"
2841 CPP="$ac_cv_prog_CPP"
2843 ac_cv_prog_CPP="$CPP"
2845 echo "$ac_t""$CPP" 1>&6
2848 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2849 echo "configure:2850: checking for cstdio to use" >&5
2850 # Check whether --enable-cstdio or --disable-cstdio was given.
2851 if test "${enable_cstdio+set}" = set; then
2852 enableval="$enable_cstdio"
2853 if test x$enable_cstdio = xno; then
2861 enable_cstdio_flag=$enable_cstdio
2863 case x${enable_cstdio_flag} in
2865 CSTDIO_H=config/c_io_libio.h
2866 BASIC_FILE_H=config/basic_file_libio.h
2867 BASIC_FILE_CC=config/basic_file_libio.cc
2868 echo "$ac_t""libio" 1>&6
2870 # see if we are on a system with libio native (ie, linux)
2871 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2872 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2873 echo "configure:2874: checking for libio.h" >&5
2874 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2875 echo $ac_n "(cached) $ac_c" 1>&6
2877 cat > conftest.$ac_ext <<EOF
2878 #line 2879 "configure"
2879 #include "confdefs.h"
2882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2883 { (eval echo configure:2884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2884 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2885 if test -z "$ac_err"; then
2887 eval "ac_cv_header_$ac_safe=yes"
2890 echo "configure: failed program was:" >&5
2891 cat conftest.$ac_ext >&5
2893 eval "ac_cv_header_$ac_safe=no"
2897 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2898 echo "$ac_t""yes" 1>&6
2901 echo "$ac_t""no" 1>&6
2906 # Need to check and see what version of glibc is being used. If
2907 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2908 # compile most of libio for linux systems.
2909 if test x$has_libio = x"yes"; then
2912 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2913 echo "configure:2914: checking for glibc version >= 2.2" >&5
2914 cat > conftest.$ac_ext <<EOF
2915 #line 2916 "configure"
2916 #include "confdefs.h"
2918 #include <features.h>
2919 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2925 egrep "ok" >/dev/null 2>&1; then
2927 glibc_satisfactory=yes
2930 glibc_satisfactory=no
2934 echo "$ac_t""$glibc_satisfactory" 1>&6
2938 # XXX at the moment, admit defeat and force the recompilation
2939 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2940 glibc_satisfactory=no
2942 if test x$glibc_satisfactory = x"yes"; then
2947 # bkoz XXX need to add checks to enable this
2948 # pme XXX here's a first pass at such a check
2949 if test x$enable_c_mbchar != xno; then
2957 # Using libio, but <libio.h> doesn't exist on the target system. . .
2959 # bkoz XXX need to add checks to enable this
2960 # pme XXX here's a first pass at such a check
2961 if test x$enable_c_mbchar != xno; then
2968 xstdio | x | xno | xnone | xyes)
2970 CSTDIO_H=config/c_io_stdio.h
2971 BASIC_FILE_H=config/basic_file_stdio.h
2972 BASIC_FILE_CC=config/basic_file_stdio.cc
2973 echo "$ac_t""stdio" 1>&6
2975 # We're not using stdio.
2980 echo "$enable_cstdio is an unknown io package" 1>&2
2988 # 2000-08-04 bkoz hack
2989 CCODECVT_C=config/c_io_libio_codecvt.c
2991 # 2000-08-04 bkoz hack
2995 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2996 GLIBCPP_BUILD_LIBIO_TRUE=
2997 GLIBCPP_BUILD_LIBIO_FALSE='#'
2999 GLIBCPP_BUILD_LIBIO_TRUE='#'
3000 GLIBCPP_BUILD_LIBIO_FALSE=
3004 if test "$need_libio" = yes; then
3005 GLIBCPP_NEED_LIBIO_TRUE=
3006 GLIBCPP_NEED_LIBIO_FALSE='#'
3008 GLIBCPP_NEED_LIBIO_TRUE='#'
3009 GLIBCPP_NEED_LIBIO_FALSE=
3013 if test "$need_wlibio" = yes; then
3014 GLIBCPP_NEED_WLIBIO_TRUE=
3015 GLIBCPP_NEED_WLIBIO_FALSE='#'
3017 GLIBCPP_NEED_WLIBIO_TRUE='#'
3018 GLIBCPP_NEED_WLIBIO_FALSE=
3020 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
3021 libio_la=../libio/libio.la
3028 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
3029 echo "configure:3030: checking for clocale to use" >&5
3030 # Check whether --enable-clocale or --disable-clocale was given.
3031 if test "${enable_clocale+set}" = set; then
3032 enableval="$enable_clocale"
3033 if test x$enable_clocale = xno; then
3034 enable_clocale=generic
3037 enable_clocale=generic
3041 enable_clocale_flag=$enable_clocale
3043 case x${enable_clocale_flag} in
3045 CLOCALE_H=config/c_locale_gnu.h
3046 CLOCALE_CC=config/c_locale_gnu.cc
3047 echo "$ac_t""gnu" 1>&6
3050 CLOCALE_H=config/c_locale_generic.h
3051 CLOCALE_CC=config/c_locale_generic.cc
3052 echo "$ac_t""generic" 1>&6
3055 echo "$enable_clocale is an unknown locale package" 1>&2
3063 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3064 if test "${enable_c_mbchar+set}" = set; then
3065 enableval="$enable_c_mbchar"
3066 case "$enableval" in
3067 yes) enable_c_mbchar=yes ;;
3068 no) enable_c_mbchar=no ;;
3069 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3076 # Check whether --enable-long-long or --disable-long-long was given.
3077 if test "${enable_long_long+set}" = set; then
3078 enableval="$enable_long_long"
3079 case "$enableval" in
3080 yes) enable_long_long=yes ;;
3081 no) enable_long_long=no ;;
3082 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3088 # Allow use of os-dependent settings, so that macros that turn on
3089 # C99 capabilities can be defined and used in a consistent way.
3090 OS_INC_PATH=${srcdir}/$os_include_dir
3091 ac_test_CFLAGS="${CFLAGS+set}"
3092 ac_save_CFLAGS="$CFLAGS"
3093 CFLAGS="-I$OS_INC_PATH"
3095 # Check for the existence of functions used if long long is enabled.
3096 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
3097 echo "configure:3098: checking for strtoll" >&5
3098 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
3099 echo $ac_n "(cached) $ac_c" 1>&6
3101 cat > conftest.$ac_ext <<EOF
3102 #line 3103 "configure"
3103 #include "confdefs.h"
3104 /* System header to define __stub macros and hopefully few prototypes,
3105 which can conflict with char strtoll(); below. */
3107 /* Override any gcc2 internal prototype to avoid an error. */
3108 /* We use char because int might match the return type of a gcc2
3109 builtin and then its argument prototype would still apply. */
3114 /* The GNU C library defines this for functions which it implements
3115 to always fail with ENOSYS. Some functions are actually named
3116 something starting with __ and the normal name is an alias. */
3117 #if defined (__stub_strtoll) || defined (__stub___strtoll)
3125 if { (eval echo configure:3126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3127 eval "ac_cv_func_strtoll=yes"
3129 echo "configure: failed program was:" >&5
3130 cat conftest.$ac_ext >&5
3132 eval "ac_cv_func_strtoll=no"
3137 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
3138 echo "$ac_t""yes" 1>&6
3141 echo "$ac_t""no" 1>&6
3145 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
3146 echo "configure:3147: checking for strtoull" >&5
3147 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
3148 echo $ac_n "(cached) $ac_c" 1>&6
3150 cat > conftest.$ac_ext <<EOF
3151 #line 3152 "configure"
3152 #include "confdefs.h"
3153 /* System header to define __stub macros and hopefully few prototypes,
3154 which can conflict with char strtoull(); below. */
3156 /* Override any gcc2 internal prototype to avoid an error. */
3157 /* We use char because int might match the return type of a gcc2
3158 builtin and then its argument prototype would still apply. */
3163 /* The GNU C library defines this for functions which it implements
3164 to always fail with ENOSYS. Some functions are actually named
3165 something starting with __ and the normal name is an alias. */
3166 #if defined (__stub_strtoull) || defined (__stub___strtoull)
3174 if { (eval echo configure:3175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3176 eval "ac_cv_func_strtoull=yes"
3178 echo "configure: failed program was:" >&5
3179 cat conftest.$ac_ext >&5
3181 eval "ac_cv_func_strtoull=no"
3186 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
3187 echo "$ac_t""yes" 1>&6
3190 echo "$ac_t""no" 1>&6
3195 # Check for lldiv_t, et. al.
3196 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3197 echo "configure:3198: checking for lldiv_t declaration" >&5
3198 if eval "test \"`echo '$''{'glibcpp_lldiv_t_use'+set}'`\" = set"; then
3199 echo $ac_n "(cached) $ac_c" 1>&6
3202 cat > conftest.$ac_ext <<EOF
3203 #line 3204 "configure"
3204 #include "confdefs.h"
3205 #include <bits/os_defines.h>
3211 if { (eval echo configure:3212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3213 glibcpp_lldiv_t_use=yes
3215 echo "configure: failed program was:" >&5
3216 cat conftest.$ac_ext >&5
3218 glibcpp_lldiv_t_use=no
3224 echo "$ac_t""$glibcpp_lldiv_t_use" 1>&6
3225 if test x$glibcpp_lldiv_t_use = x"yes"; then
3226 cat >> confdefs.h <<\EOF
3227 #define HAVE_LLDIV_T 1
3232 echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
3233 echo "configure:3234: checking for enabled long long" >&5
3234 if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then
3235 enable_long_long=no;
3237 echo "$ac_t""$enable_long_long" 1>&6
3239 # Option parsed, now set things appropriately
3240 if test x"$enable_long_long" = xyes; then
3241 cat >> confdefs.h <<\EOF
3242 #define _GLIBCPP_USE_LONG_LONG 1
3248 CFLAGS="$ac_save_CFLAGS"
3250 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3251 echo "configure:3252: checking for c header strategy to use" >&5
3252 # Check whether --enable-cheaders or --disable-cheaders was given.
3253 if test "${enable_cheaders+set}" = set; then
3254 enableval="$enable_cheaders"
3256 case "$enableval" in
3261 enable_cheaders=c_std
3264 enable_cheaders=c_shadow
3266 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3270 enable_cheaders=c_std
3273 echo "$ac_t""$enable_cheaders" 1>&6
3275 case "$enable_cheaders" in
3277 CSHADOW_FLAGS="-fno-builtin"
3278 C_INCLUDE_DIR='${top_srcdir}/include/c_shadow'
3279 cat >> confdefs.h <<\EOF
3280 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3286 C_INCLUDE_DIR='${top_srcdir}/include/c_std'
3290 C_INCLUDE_DIR='${top_srcdir}/include/c'
3298 if test "$enable_cheaders" = c_shadow; then
3299 GLIBCPP_USE_CSHADOW_TRUE=
3300 GLIBCPP_USE_CSHADOW_FALSE='#'
3302 GLIBCPP_USE_CSHADOW_TRUE='#'
3303 GLIBCPP_USE_CSHADOW_FALSE=
3307 echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3308 echo "configure:3309: checking for threads package to use" >&5
3309 # Check whether --enable-threads or --disable-threads was given.
3310 if test "${enable_threads+set}" = set; then
3311 enableval="$enable_threads"
3312 if test x$enable_threads = xno; then
3320 enable_threads_flag=$enable_threads
3322 case x${enable_threads_flag} in
3325 target_thread_file='single'
3329 target_thread_file='posix'
3331 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3332 xsolaris | xwin32 | xdce | xvxworks)
3333 target_thread_file=$enable_threads_flag
3336 echo "$enable_threads is an unknown thread package" 1>&2
3342 case "$target_thread_file" in
3344 THREADH=threads-no.h
3347 THREADH=threads-posix.h
3349 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3350 { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3353 { echo "configure: error: $THREADS is an unsupported/unknown thread package" 1>&2; exit 1; }
3356 echo "$ac_t""$THREADH" 1>&6
3359 if test $THREADH != threads-no.h; then
3360 cat >> confdefs.h <<\EOF
3361 #define _GLIBCPP_USE_THREADS 1
3366 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3367 if test "${enable_cxx_flags+set}" = set; then
3368 enableval="$enable_cxx_flags"
3369 case "x$enableval" in
3371 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3373 enable_cxx_flags='' ;;
3375 enable_cxx_flags="$enableval" ;;
3378 enable_cxx_flags='none'
3382 if test "$enable_cxx_flags" = "none"; then
3383 enable_cxx_flags='';
3386 if test -n "$enable_cxx_flags"; then
3387 for f in $enable_cxx_flags; do
3391 *) # and we're trying to pass /what/ exactly?
3392 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3396 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3400 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3401 echo "configure:3402: checking for exception model to use" >&5
3404 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3405 ac_cpp='$CXXCPP $CPPFLAGS'
3406 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3407 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3408 cross_compiling=$ac_cv_prog_cxx_cross
3410 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3411 if test "${enable_sjlj_exceptions+set}" = set; then
3412 enableval="$enable_sjlj_exceptions"
3415 cat > conftest.$ac_ext << EOF
3416 #line 3417 "configure"
3425 old_CXXFLAGS="$CXXFLAGS"
3427 if { (eval echo configure:3428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3428 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3429 enable_sjlj_exceptions=yes
3430 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3431 enable_sjlj_exceptions=no
3434 CXXFLAGS="$old_CXXFLAGS"
3438 if test x$enable_sjlj_exceptions = xyes; then
3439 cat >> confdefs.h <<\EOF
3440 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3443 ac_exception_model_name=sjlj
3444 elif test x$enable_sjlj_exceptions = xno; then
3445 ac_exception_model_name="call frame"
3447 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3451 ac_cpp='$CPP $CPPFLAGS'
3452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3454 cross_compiling=$ac_cv_prog_cc_cross
3456 echo "$ac_t""$ac_exception_model_name" 1>&6
3459 if test -n "$with_cross_host"; then
3461 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3462 # may not work correctly, because the compiler may not be able to
3467 # If Canadian cross, then don't pick up tools from the build
3469 if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then
3477 case "$target_alias" in
3479 # Construct linux crosses by hand, eliminating bits that need ld...
3480 # Check for available headers.
3481 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3482 machine/endian.h machine/param.h sys/machine.h fp.h locale.h \
3485 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3486 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3487 echo "configure:3488: checking for $ac_hdr" >&5
3488 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3489 echo $ac_n "(cached) $ac_c" 1>&6
3491 cat > conftest.$ac_ext <<EOF
3492 #line 3493 "configure"
3493 #include "confdefs.h"
3496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3497 { (eval echo configure:3498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3499 if test -z "$ac_err"; then
3501 eval "ac_cv_header_$ac_safe=yes"
3504 echo "configure: failed program was:" >&5
3505 cat conftest.$ac_ext >&5
3507 eval "ac_cv_header_$ac_safe=no"
3511 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3512 echo "$ac_t""yes" 1>&6
3513 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3514 cat >> confdefs.h <<EOF
3515 #define $ac_tr_hdr 1
3519 echo "$ac_t""no" 1>&6
3524 # GLIBCPP_CHECK_COMPILER_FEATURES
3525 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3528 # If we're not using GNU ld, then there's no point in even trying these
3529 # tests. Check for that first. We should have already tested for gld
3530 # by now (in libtool), but require it now just to be safe...
3535 # Set --gc-sections.
3536 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3537 # GNU ld it is! Joy and bunny rabbits!
3539 # All these tests are for C++; save the language and the compiler flags.
3540 # Need to do this so that g++ won't try to link in libstdc++
3541 ac_test_CFLAGS="${CFLAGS+set}"
3542 ac_save_CFLAGS="$CFLAGS"
3543 CFLAGS='-x c++ -Wl,--gc-sections'
3545 # Check for -Wl,--gc-sections
3546 # XXX This test is broken at the moment, as symbols required for
3547 # linking are now in libsupc++ (not built yet.....). In addition,
3548 # this test has cored on solaris in the past. In addition,
3549 # --gc-sections doesn't really work at the moment (keeps on discarding
3550 # used sections, first .eh_frame and now some of the glibc sections for
3551 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3552 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3553 echo "configure:3554: checking for ld that supports -Wl,--gc-sections" >&5
3554 if test "$cross_compiling" = yes; then
3555 ac_sectionLDflags=yes
3557 cat > conftest.$ac_ext <<EOF
3558 #line 3559 "configure"
3559 #include "confdefs.h"
3569 if { (eval echo configure:3570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3571 ac_sectionLDflags=yes
3573 echo "configure: failed program was:" >&5
3574 cat conftest.$ac_ext >&5
3576 ac_sectionLFflags=no
3581 if test "$ac_test_CFLAGS" = set; then
3582 CFLAGS="$ac_save_CFLAGS"
3584 # this is the suspicious part
3587 if test "$ac_sectionLDflags" = "yes"; then
3588 SECTION_LDFLAGS='-Wl,--gc-sections'
3590 echo "$ac_t""$ac_sectionLDflags" 1>&6
3593 # Set linker optimization flags.
3594 if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
3595 OPT_LDFLAGS='-Wl,-O1'
3601 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3602 # GLIBCPP_CHECK_MATH_SUPPORT
3603 cat >> confdefs.h <<\EOF
3604 #define HAVE_ACOSF 1
3607 cat >> confdefs.h <<\EOF
3608 #define HAVE_ASINF 1
3611 cat >> confdefs.h <<\EOF
3612 #define HAVE_ATAN2F 1
3615 cat >> confdefs.h <<\EOF
3616 #define HAVE_ATANF 1
3619 cat >> confdefs.h <<\EOF
3620 #define HAVE_CEILF 1
3623 cat >> confdefs.h <<\EOF
3624 #define HAVE_COPYSIGN 1
3627 cat >> confdefs.h <<\EOF
3628 #define HAVE_COPYSIGNF 1
3631 cat >> confdefs.h <<\EOF
3635 cat >> confdefs.h <<\EOF
3636 #define HAVE_COSHF 1
3639 cat >> confdefs.h <<\EOF
3643 cat >> confdefs.h <<\EOF
3644 #define HAVE_FABSF 1
3647 cat >> confdefs.h <<\EOF
3648 #define HAVE_FINITE 1
3651 cat >> confdefs.h <<\EOF
3652 #define HAVE_FINITEF 1
3655 cat >> confdefs.h <<\EOF
3656 #define HAVE_FLOORF 1
3659 cat >> confdefs.h <<\EOF
3660 #define HAVE_FMODF 1
3663 cat >> confdefs.h <<\EOF
3664 #define HAVE_FREXPF 1
3667 cat >> confdefs.h <<\EOF
3668 #define HAVE_ISINF 1
3671 cat >> confdefs.h <<\EOF
3672 #define HAVE_ISINFF 1
3675 cat >> confdefs.h <<\EOF
3676 #define HAVE_ISNAN 1
3679 cat >> confdefs.h <<\EOF
3680 #define HAVE_ISNANF 1
3683 cat >> confdefs.h <<\EOF
3684 #define HAVE_LDEXPF 1
3687 cat >> confdefs.h <<\EOF
3688 #define HAVE_LOG10F 1
3691 cat >> confdefs.h <<\EOF
3695 cat >> confdefs.h <<\EOF
3696 #define HAVE_MODFF 1
3699 cat >> confdefs.h <<\EOF
3703 cat >> confdefs.h <<\EOF
3704 #define HAVE_SINCOS 1
3707 cat >> confdefs.h <<\EOF
3708 #define HAVE_SINCOSF 1
3711 cat >> confdefs.h <<\EOF
3715 cat >> confdefs.h <<\EOF
3716 #define HAVE_SINHF 1
3719 cat >> confdefs.h <<\EOF
3720 #define HAVE_SQRTF 1
3723 cat >> confdefs.h <<\EOF
3727 cat >> confdefs.h <<\EOF
3728 #define HAVE_TANHF 1
3732 # At some point, we should differentiate between architectures
3733 # like x86, which have long double versions, and alpha/powerpc/etc.,
3734 # which don't. For the time being, punt.
3735 if test x"long_double_math_on_this_cpu" = x"yes"; then
3736 cat >> confdefs.h <<\EOF
3737 #define HAVE_ACOSL 1
3740 cat >> confdefs.h <<\EOF
3741 #define HAVE_ASINL 1
3744 cat >> confdefs.h <<\EOF
3745 #define HAVE_ATAN2L 1
3748 cat >> confdefs.h <<\EOF
3749 #define HAVE_ATANL 1
3752 cat >> confdefs.h <<\EOF
3753 #define HAVE_CEILL 1
3756 cat >> confdefs.h <<\EOF
3757 #define HAVE_COPYSIGNL 1
3760 cat >> confdefs.h <<\EOF
3764 cat >> confdefs.h <<\EOF
3765 #define HAVE_COSHL 1
3768 cat >> confdefs.h <<\EOF
3772 cat >> confdefs.h <<\EOF
3773 #define HAVE_FABSL 1
3776 cat >> confdefs.h <<\EOF
3777 #define HAVE_FINITEL 1
3780 cat >> confdefs.h <<\EOF
3781 #define HAVE_FLOORL 1
3784 cat >> confdefs.h <<\EOF
3785 #define HAVE_FMODL 1
3788 cat >> confdefs.h <<\EOF
3789 #define HAVE_FREXPL 1
3792 cat >> confdefs.h <<\EOF
3793 #define HAVE_ISINFL 1
3796 cat >> confdefs.h <<\EOF
3797 #define HAVE_ISNANL 1
3800 cat >> confdefs.h <<\EOF
3801 #define HAVE_LDEXPL 1
3804 cat >> confdefs.h <<\EOF
3805 #define HAVE_LOG10L 1
3808 cat >> confdefs.h <<\EOF
3812 cat >> confdefs.h <<\EOF
3813 #define HAVE_MODFL 1
3816 cat >> confdefs.h <<\EOF
3820 cat >> confdefs.h <<\EOF
3821 #define HAVE_SINCOSL 1
3824 cat >> confdefs.h <<\EOF
3828 cat >> confdefs.h <<\EOF
3829 #define HAVE_SINHL 1
3832 cat >> confdefs.h <<\EOF
3833 #define HAVE_SQRTL 1
3836 cat >> confdefs.h <<\EOF
3840 cat >> confdefs.h <<\EOF
3841 #define HAVE_TANHL 1
3846 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
3847 echo "configure:3848: checking for main in -lm" >&5
3848 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
3849 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3850 echo $ac_n "(cached) $ac_c" 1>&6
3852 ac_save_LIBS="$LIBS"
3854 cat > conftest.$ac_ext <<EOF
3855 #line 3856 "configure"
3856 #include "confdefs.h"
3862 if { (eval echo configure:3863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3864 eval "ac_cv_lib_$ac_lib_var=yes"
3866 echo "configure: failed program was:" >&5
3867 cat conftest.$ac_ext >&5
3869 eval "ac_cv_lib_$ac_lib_var=no"
3872 LIBS="$ac_save_LIBS"
3875 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3876 echo "$ac_t""yes" 1>&6
3877 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3878 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3879 cat >> confdefs.h <<EOF
3880 #define $ac_tr_lib 1
3886 echo "$ac_t""no" 1>&6
3889 for ac_func in nan hypot hypotf atan2f expf copysignf
3891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3892 echo "configure:3893: checking for $ac_func" >&5
3893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3894 echo $ac_n "(cached) $ac_c" 1>&6
3896 cat > conftest.$ac_ext <<EOF
3897 #line 3898 "configure"
3898 #include "confdefs.h"
3899 /* System header to define __stub macros and hopefully few prototypes,
3900 which can conflict with char $ac_func(); below. */
3902 /* Override any gcc2 internal prototype to avoid an error. */
3903 /* We use char because int might match the return type of a gcc2
3904 builtin and then its argument prototype would still apply. */
3909 /* The GNU C library defines this for functions which it implements
3910 to always fail with ENOSYS. Some functions are actually named
3911 something starting with __ and the normal name is an alias. */
3912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3920 if { (eval echo configure:3921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3922 eval "ac_cv_func_$ac_func=yes"
3924 echo "configure: failed program was:" >&5
3925 cat conftest.$ac_ext >&5
3927 eval "ac_cv_func_$ac_func=no"
3932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3933 echo "$ac_t""yes" 1>&6
3934 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3935 cat >> confdefs.h <<EOF
3936 #define $ac_tr_func 1
3940 echo "$ac_t""no" 1>&6
3941 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
3947 USE_COMPLEX_LONG_DOUBLE=no
3948 if test x$ac_cv_func_atan2l = x"yes" \
3949 && test x$ac_cv_func_copysignl = x"yes"; then
3950 USE_COMPLEX_LONG_DOUBLE=yes
3951 for ac_func in hypotl signbitl
3953 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3954 echo "configure:3955: checking for $ac_func" >&5
3955 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3956 echo $ac_n "(cached) $ac_c" 1>&6
3958 cat > conftest.$ac_ext <<EOF
3959 #line 3960 "configure"
3960 #include "confdefs.h"
3961 /* System header to define __stub macros and hopefully few prototypes,
3962 which can conflict with char $ac_func(); below. */
3964 /* Override any gcc2 internal prototype to avoid an error. */
3965 /* We use char because int might match the return type of a gcc2
3966 builtin and then its argument prototype would still apply. */
3971 /* The GNU C library defines this for functions which it implements
3972 to always fail with ENOSYS. Some functions are actually named
3973 something starting with __ and the normal name is an alias. */
3974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3982 if { (eval echo configure:3983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3984 eval "ac_cv_func_$ac_func=yes"
3986 echo "configure: failed program was:" >&5
3987 cat conftest.$ac_ext >&5
3989 eval "ac_cv_func_$ac_func=no"
3994 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3995 echo "$ac_t""yes" 1>&6
3996 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3997 cat >> confdefs.h <<EOF
3998 #define $ac_tr_func 1
4002 echo "$ac_t""no" 1>&6
4003 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4015 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
4016 echo "configure:4017: checking for GNU C++ __complex__ support" >&5
4017 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
4018 echo $ac_n "(cached) $ac_c" 1>&6
4023 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4024 ac_cpp='$CXXCPP $CPPFLAGS'
4025 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4026 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4027 cross_compiling=$ac_cv_prog_cxx_cross
4029 cat > conftest.$ac_ext <<EOF
4030 #line 4031 "configure"
4031 #include "confdefs.h"
4032 struct dcomplex { __complex__ double x; }; \
4033 dcomplex f(const dcomplex& x) { return dcomplex(x); }
4039 if { (eval echo configure:4040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4041 glibcpp_cv_complex=ok
4043 echo "configure: failed program was:" >&5
4044 cat conftest.$ac_ext >&5
4046 glibcpp_cv_complex=buggy
4051 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4052 ac_cpp='$CPP $CPPFLAGS'
4053 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4054 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4055 cross_compiling=$ac_cv_prog_cc_cross
4060 echo "$ac_t""$glibcpp_cv_complex" 1>&6
4061 if test $glibcpp_cv_complex = buggy; then
4062 cat >> confdefs.h <<\EOF
4063 #define _GLIBCPP_BUGGY_COMPLEX 1
4068 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
4069 echo "configure:4070: checking for GNU C++ __complex__ float support" >&5
4070 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
4071 echo $ac_n "(cached) $ac_c" 1>&6
4076 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4077 ac_cpp='$CXXCPP $CPPFLAGS'
4078 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4079 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4080 cross_compiling=$ac_cv_prog_cxx_cross
4083 cat > conftest.h <<EOB
4085 // Check for buggy __complex__ that causes ICE in most versions of egcs
4086 // and gcc-2.95.x on certain platforms (eg., x86-win32).
4088 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
4089 // more info on the bug itself.
4094 __complex__ float m_value;
4095 float_complex (float = 0.0f, float = 0.0f);
4096 float_complex (__complex__ float val) : m_value (val) {}
4097 float_complex foo (const float_complex &val)
4098 { return float_complex (~val.m_value); }
4101 cat > conftest.$ac_ext <<EOF
4102 #line 4103 "configure"
4103 #include "confdefs.h"
4104 #include "conftest.h"
4109 if { (eval echo configure:4110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4111 glibcpp_cv_float_complex=ok
4113 echo "configure: failed program was:" >&5
4114 cat conftest.$ac_ext >&5
4116 glibcpp_cv_float_complex=buggy
4121 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4122 ac_cpp='$CPP $CPPFLAGS'
4123 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4124 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4125 cross_compiling=$ac_cv_prog_cc_cross
4130 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
4131 if test $glibcpp_cv_float_complex = buggy; then
4132 cat >> confdefs.h <<\EOF
4133 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
4140 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4141 echo "configure:4142: checking for mbstate_t" >&5
4142 cat > conftest.$ac_ext <<EOF
4143 #line 4144 "configure"
4144 #include "confdefs.h"
4147 mbstate_t teststate;
4150 if { (eval echo configure:4151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4154 echo "configure: failed program was:" >&5
4155 cat conftest.$ac_ext >&5
4160 echo "$ac_t""$have_mbstate_t" 1>&6
4161 if test x"$have_mbstate_t" = xyes; then
4162 cat >> confdefs.h <<\EOF
4163 #define HAVE_MBSTATE_T 1
4168 for ac_hdr in wchar.h
4170 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4171 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4172 echo "configure:4173: checking for $ac_hdr" >&5
4173 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4174 echo $ac_n "(cached) $ac_c" 1>&6
4176 cat > conftest.$ac_ext <<EOF
4177 #line 4178 "configure"
4178 #include "confdefs.h"
4181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4182 { (eval echo configure:4183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4183 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4184 if test -z "$ac_err"; then
4186 eval "ac_cv_header_$ac_safe=yes"
4189 echo "configure: failed program was:" >&5
4190 cat conftest.$ac_ext >&5
4192 eval "ac_cv_header_$ac_safe=no"
4196 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4197 echo "$ac_t""yes" 1>&6
4198 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4199 cat >> confdefs.h <<EOF
4200 #define $ac_tr_hdr 1
4204 echo "$ac_t""no" 1>&6
4209 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4210 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4211 echo "configure:4212: checking for wctype.h" >&5
4212 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4213 echo $ac_n "(cached) $ac_c" 1>&6
4215 cat > conftest.$ac_ext <<EOF
4216 #line 4217 "configure"
4217 #include "confdefs.h"
4220 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4221 { (eval echo configure:4222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4222 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4223 if test -z "$ac_err"; then
4225 eval "ac_cv_header_$ac_safe=yes"
4228 echo "configure: failed program was:" >&5
4229 cat conftest.$ac_ext >&5
4231 eval "ac_cv_header_$ac_safe=no"
4235 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4236 echo "$ac_t""yes" 1>&6
4239 echo "$ac_t""no" 1>&6
4244 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
4245 && test x"$enable_c_mbchar" != xno; then
4247 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4248 echo "configure:4249: checking for WCHAR_MIN and WCHAR_MAX" >&5
4249 cat > conftest.$ac_ext <<EOF
4250 #line 4251 "configure"
4251 #include "confdefs.h"
4254 int i = WCHAR_MIN; int j = WCHAR_MAX;
4257 if { (eval echo configure:4258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4259 has_wchar_minmax=yes
4261 echo "configure: failed program was:" >&5
4262 cat conftest.$ac_ext >&5
4267 echo "$ac_t""$has_wchar_minmax" 1>&6
4269 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4270 echo "configure:4271: checking for WEOF" >&5
4271 cat > conftest.$ac_ext <<EOF
4272 #line 4273 "configure"
4273 #include "confdefs.h"
4281 if { (eval echo configure:4282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4285 echo "configure: failed program was:" >&5
4286 cat conftest.$ac_ext >&5
4291 echo "$ac_t""$has_weof" 1>&6
4293 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
4296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4297 echo "configure:4298: checking for $ac_func" >&5
4298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4299 echo $ac_n "(cached) $ac_c" 1>&6
4301 cat > conftest.$ac_ext <<EOF
4302 #line 4303 "configure"
4303 #include "confdefs.h"
4304 /* System header to define __stub macros and hopefully few prototypes,
4305 which can conflict with char $ac_func(); below. */
4307 /* Override any gcc2 internal prototype to avoid an error. */
4308 /* We use char because int might match the return type of a gcc2
4309 builtin and then its argument prototype would still apply. */
4314 /* The GNU C library defines this for functions which it implements
4315 to always fail with ENOSYS. Some functions are actually named
4316 something starting with __ and the normal name is an alias. */
4317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4325 if { (eval echo configure:4326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4327 eval "ac_cv_func_$ac_func=yes"
4329 echo "configure: failed program was:" >&5
4330 cat conftest.$ac_ext >&5
4332 eval "ac_cv_func_$ac_func=no"
4337 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4338 echo "$ac_t""yes" 1>&6
4339 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4340 cat >> confdefs.h <<EOF
4341 #define $ac_tr_func 1
4345 echo "$ac_t""no" 1>&6
4351 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4352 echo "configure:4353: checking for ISO C99 wchar_t support" >&5
4353 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
4354 && test x"$ac_wfuncs" = xyes; then
4355 ac_isoC99_wchar_t=yes
4357 ac_isoC99_wchar_t=no
4359 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4361 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4362 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4363 echo "configure:4364: checking for iconv.h" >&5
4364 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4365 echo $ac_n "(cached) $ac_c" 1>&6
4367 cat > conftest.$ac_ext <<EOF
4368 #line 4369 "configure"
4369 #include "confdefs.h"
4372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4373 { (eval echo configure:4374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4375 if test -z "$ac_err"; then
4377 eval "ac_cv_header_$ac_safe=yes"
4380 echo "configure: failed program was:" >&5
4381 cat conftest.$ac_ext >&5
4383 eval "ac_cv_header_$ac_safe=no"
4387 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4388 echo "$ac_t""yes" 1>&6
4391 echo "$ac_t""no" 1>&6
4395 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4396 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4397 echo "configure:4398: checking for langinfo.h" >&5
4398 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4399 echo $ac_n "(cached) $ac_c" 1>&6
4401 cat > conftest.$ac_ext <<EOF
4402 #line 4403 "configure"
4403 #include "confdefs.h"
4404 #include <langinfo.h>
4406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4407 { (eval echo configure:4408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4409 if test -z "$ac_err"; then
4411 eval "ac_cv_header_$ac_safe=yes"
4414 echo "configure: failed program was:" >&5
4415 cat conftest.$ac_ext >&5
4417 eval "ac_cv_header_$ac_safe=no"
4421 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4422 echo "$ac_t""yes" 1>&6
4423 ac_has_langinfo_h=yes
4425 echo "$ac_t""no" 1>&6
4426 ac_has_langinfo_h=no
4430 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4431 echo "configure:4432: checking for iconv in -liconv" >&5
4432 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4433 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4434 echo $ac_n "(cached) $ac_c" 1>&6
4436 ac_save_LIBS="$LIBS"
4437 LIBS="-liconv $LIBS"
4438 cat > conftest.$ac_ext <<EOF
4439 #line 4440 "configure"
4440 #include "confdefs.h"
4441 /* Override any gcc2 internal prototype to avoid an error. */
4442 /* We use char because int might match the return type of a gcc2
4443 builtin and then its argument prototype would still apply. */
4450 if { (eval echo configure:4451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4452 eval "ac_cv_lib_$ac_lib_var=yes"
4454 echo "configure: failed program was:" >&5
4455 cat conftest.$ac_ext >&5
4457 eval "ac_cv_lib_$ac_lib_var=no"
4460 LIBS="$ac_save_LIBS"
4463 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4464 echo "$ac_t""yes" 1>&6
4467 echo "$ac_t""no" 1>&6
4470 ac_save_LIBS="$LIBS"
4471 LIBS="$LIBS $libiconv"
4473 for ac_func in iconv_open iconv_close iconv nl_langinfo
4475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4476 echo "configure:4477: checking for $ac_func" >&5
4477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4478 echo $ac_n "(cached) $ac_c" 1>&6
4480 cat > conftest.$ac_ext <<EOF
4481 #line 4482 "configure"
4482 #include "confdefs.h"
4483 /* System header to define __stub macros and hopefully few prototypes,
4484 which can conflict with char $ac_func(); below. */
4486 /* Override any gcc2 internal prototype to avoid an error. */
4487 /* We use char because int might match the return type of a gcc2
4488 builtin and then its argument prototype would still apply. */
4493 /* The GNU C library defines this for functions which it implements
4494 to always fail with ENOSYS. Some functions are actually named
4495 something starting with __ and the normal name is an alias. */
4496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4504 if { (eval echo configure:4505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4506 eval "ac_cv_func_$ac_func=yes"
4508 echo "configure: failed program was:" >&5
4509 cat conftest.$ac_ext >&5
4511 eval "ac_cv_func_$ac_func=no"
4516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4517 echo "$ac_t""yes" 1>&6
4518 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4519 cat >> confdefs.h <<EOF
4520 #define $ac_tr_func 1
4525 echo "$ac_t""no" 1>&6
4531 LIBS="$ac_save_LIBS"
4533 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4534 echo "configure:4535: checking for XPG2 wchar_t support" >&5
4535 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
4536 && test x"$ac_XPG2funcs" = xyes; then
4541 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4543 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4544 echo "configure:4545: checking for enabled wchar_t specializations" >&5
4545 if test x"$ac_isoC99_wchar_t" = xyes \
4546 && test x"$ac_XPG2_wchar_t" = xyes; then
4547 cat >> confdefs.h <<\EOF
4548 #define _GLIBCPP_USE_WCHAR_T 1
4551 echo "$ac_t"""yes"" 1>&6
4553 echo "$ac_t"""no"" 1>&6
4556 echo "configure: warning: wchar_t support disabled." 1>&2
4559 os_include_dir="config/os/gnu-linux"
4560 # GLIBCPP_CHECK_STDLIB_SUPPORT
4561 cat >> confdefs.h <<\EOF
4562 #define HAVE_STRTOF 1
4565 cat >> confdefs.h <<\EOF
4566 #define HAVE_STRTOLD 1
4570 cat >> confdefs.h <<\EOF
4576 # We assume newlib. This lets us hard-code the functions we know
4578 cat >> confdefs.h <<\EOF
4579 #define HAVE_FINITE 1
4582 cat >> confdefs.h <<\EOF
4583 #define HAVE_ISNAN 1
4586 cat >> confdefs.h <<\EOF
4587 #define HAVE_ISNANF 1
4590 cat >> confdefs.h <<\EOF
4591 #define HAVE_ISINF 1
4594 cat >> confdefs.h <<\EOF
4595 #define HAVE_ISINFF 1
4599 os_include_dir="config/os/newlib"
4601 cat >> confdefs.h <<\EOF
4602 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
4605 cat >> confdefs.h <<\EOF
4606 #define _GLIBCPP_BUGGY_COMPLEX 1
4609 # need to check for faster f versions of math functions, ie sinf?
4614 # We are being configured natively. We can do more elaborate tests
4615 # that include AC_TRY_COMPILE now, as the linker is assumed to be
4622 # Check for available headers.
4623 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
4624 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
4626 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4627 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4628 echo "configure:4629: checking for $ac_hdr" >&5
4629 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4630 echo $ac_n "(cached) $ac_c" 1>&6
4632 cat > conftest.$ac_ext <<EOF
4633 #line 4634 "configure"
4634 #include "confdefs.h"
4637 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4638 { (eval echo configure:4639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4639 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4640 if test -z "$ac_err"; then
4642 eval "ac_cv_header_$ac_safe=yes"
4645 echo "configure: failed program was:" >&5
4646 cat conftest.$ac_ext >&5
4648 eval "ac_cv_header_$ac_safe=no"
4652 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4653 echo "$ac_t""yes" 1>&6
4654 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4655 cat >> confdefs.h <<EOF
4656 #define $ac_tr_hdr 1
4660 echo "$ac_t""no" 1>&6
4666 # All these tests are for C++; save the language and the compiler flags.
4667 # The CXXFLAGS thing is suspicious, but based on similar bits
4668 # found in GLIBCPP_CONFIGURE.
4671 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4672 ac_cpp='$CXXCPP $CPPFLAGS'
4673 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4674 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4675 cross_compiling=$ac_cv_prog_cxx_cross
4677 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4678 ac_save_CXXFLAGS="$CXXFLAGS"
4680 # Check for maintainer-mode bits.
4681 if test x"$USE_MAINTAINER_MODE" = xno; then
4687 # Check for -ffunction-sections -fdata-sections
4688 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
4689 echo "configure:4690: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
4690 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
4691 cat > conftest.$ac_ext <<EOF
4692 #line 4693 "configure"
4693 #include "confdefs.h"
4700 if { (eval echo configure:4701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4704 echo "configure: failed program was:" >&5
4705 cat conftest.$ac_ext >&5
4710 if test "$ac_test_CXXFLAGS" = set; then
4711 CXXFLAGS="$ac_save_CXXFLAGS"
4713 # this is the suspicious part
4716 if test x"$ac_fdsections" = x"yes" && test x"$enable_debug" = x"no"; then
4717 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4719 echo "$ac_t""$ac_fdsections" 1>&6
4722 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4723 ac_cpp='$CPP $CPPFLAGS'
4724 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4725 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4726 cross_compiling=$ac_cv_prog_cc_cross
4732 # If we're not using GNU ld, then there's no point in even trying these
4733 # tests. Check for that first. We should have already tested for gld
4734 # by now (in libtool), but require it now just to be safe...
4739 # Set --gc-sections.
4740 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4741 # GNU ld it is! Joy and bunny rabbits!
4743 # All these tests are for C++; save the language and the compiler flags.
4744 # Need to do this so that g++ won't try to link in libstdc++
4745 ac_test_CFLAGS="${CFLAGS+set}"
4746 ac_save_CFLAGS="$CFLAGS"
4747 CFLAGS='-x c++ -Wl,--gc-sections'
4749 # Check for -Wl,--gc-sections
4750 # XXX This test is broken at the moment, as symbols required for
4751 # linking are now in libsupc++ (not built yet.....). In addition,
4752 # this test has cored on solaris in the past. In addition,
4753 # --gc-sections doesn't really work at the moment (keeps on discarding
4754 # used sections, first .eh_frame and now some of the glibc sections for
4755 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4756 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4757 echo "configure:4758: checking for ld that supports -Wl,--gc-sections" >&5
4758 if test "$cross_compiling" = yes; then
4759 ac_sectionLDflags=yes
4761 cat > conftest.$ac_ext <<EOF
4762 #line 4763 "configure"
4763 #include "confdefs.h"
4773 if { (eval echo configure:4774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4775 ac_sectionLDflags=yes
4777 echo "configure: failed program was:" >&5
4778 cat conftest.$ac_ext >&5
4780 ac_sectionLFflags=no
4785 if test "$ac_test_CFLAGS" = set; then
4786 CFLAGS="$ac_save_CFLAGS"
4788 # this is the suspicious part
4791 if test "$ac_sectionLDflags" = "yes"; then
4792 SECTION_LDFLAGS='-Wl,--gc-sections'
4794 echo "$ac_t""$ac_sectionLDflags" 1>&6
4797 # Set linker optimization flags.
4798 if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4799 OPT_LDFLAGS='-Wl,-O1'
4807 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
4808 echo "configure:4809: checking for __builtin_abs declaration" >&5
4809 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
4810 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
4811 echo $ac_n "(cached) $ac_c" 1>&6
4816 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4817 ac_cpp='$CXXCPP $CPPFLAGS'
4818 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4819 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4820 cross_compiling=$ac_cv_prog_cxx_cross
4822 cat > conftest.$ac_ext <<EOF
4823 #line 4824 "configure"
4824 #include "confdefs.h"
4830 if { (eval echo configure:4831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4832 glibcpp_cv_func___builtin_abs_use=yes
4834 echo "configure: failed program was:" >&5
4835 cat conftest.$ac_ext >&5
4837 glibcpp_cv_func___builtin_abs_use=no
4841 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4842 ac_cpp='$CPP $CPPFLAGS'
4843 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4844 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4845 cross_compiling=$ac_cv_prog_cc_cross
4851 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
4852 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
4853 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
4854 echo "configure:4855: checking for __builtin_abs linkage" >&5
4855 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
4856 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
4857 echo $ac_n "(cached) $ac_c" 1>&6
4860 cat > conftest.$ac_ext <<EOF
4861 #line 4862 "configure"
4862 #include "confdefs.h"
4868 if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4870 glibcpp_cv_func___builtin_abs_link=yes
4872 echo "configure: failed program was:" >&5
4873 cat conftest.$ac_ext >&5
4875 glibcpp_cv_func___builtin_abs_link=no
4882 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
4883 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
4884 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4885 cat >> confdefs.h <<EOF
4886 #define ${ac_tr_func} 1
4893 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
4894 echo "configure:4895: checking for __builtin_fabsf declaration" >&5
4895 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
4896 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
4897 echo $ac_n "(cached) $ac_c" 1>&6
4902 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4903 ac_cpp='$CXXCPP $CPPFLAGS'
4904 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4905 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4906 cross_compiling=$ac_cv_prog_cxx_cross
4908 cat > conftest.$ac_ext <<EOF
4909 #line 4910 "configure"
4910 #include "confdefs.h"
4916 if { (eval echo configure:4917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4918 glibcpp_cv_func___builtin_fabsf_use=yes
4920 echo "configure: failed program was:" >&5
4921 cat conftest.$ac_ext >&5
4923 glibcpp_cv_func___builtin_fabsf_use=no
4927 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4928 ac_cpp='$CPP $CPPFLAGS'
4929 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4930 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4931 cross_compiling=$ac_cv_prog_cc_cross
4937 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
4938 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
4939 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
4940 echo "configure:4941: checking for __builtin_fabsf linkage" >&5
4941 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
4942 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
4943 echo $ac_n "(cached) $ac_c" 1>&6
4946 cat > conftest.$ac_ext <<EOF
4947 #line 4948 "configure"
4948 #include "confdefs.h"
4954 if { (eval echo configure:4955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4956 glibcpp_cv_func___builtin_fabsf_link=yes
4958 echo "configure: failed program was:" >&5
4959 cat conftest.$ac_ext >&5
4961 glibcpp_cv_func___builtin_fabsf_link=no
4968 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
4969 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
4970 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4971 cat >> confdefs.h <<EOF
4972 #define ${ac_tr_func} 1
4979 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
4980 echo "configure:4981: checking for __builtin_fabs declaration" >&5
4981 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
4982 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
4983 echo $ac_n "(cached) $ac_c" 1>&6
4988 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4989 ac_cpp='$CXXCPP $CPPFLAGS'
4990 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4991 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4992 cross_compiling=$ac_cv_prog_cxx_cross
4994 cat > conftest.$ac_ext <<EOF
4995 #line 4996 "configure"
4996 #include "confdefs.h"
5002 if { (eval echo configure:5003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5004 glibcpp_cv_func___builtin_fabs_use=yes
5006 echo "configure: failed program was:" >&5
5007 cat conftest.$ac_ext >&5
5009 glibcpp_cv_func___builtin_fabs_use=no
5013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5014 ac_cpp='$CPP $CPPFLAGS'
5015 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5016 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5017 cross_compiling=$ac_cv_prog_cc_cross
5023 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5024 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
5025 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
5026 echo "configure:5027: checking for __builtin_fabs linkage" >&5
5027 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
5028 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5029 echo $ac_n "(cached) $ac_c" 1>&6
5032 cat > conftest.$ac_ext <<EOF
5033 #line 5034 "configure"
5034 #include "confdefs.h"
5040 if { (eval echo configure:5041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5042 glibcpp_cv_func___builtin_fabs_link=yes
5044 echo "configure: failed program was:" >&5
5045 cat conftest.$ac_ext >&5
5047 glibcpp_cv_func___builtin_fabs_link=no
5054 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5055 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
5056 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5057 cat >> confdefs.h <<EOF
5058 #define ${ac_tr_func} 1
5065 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
5066 echo "configure:5067: checking for __builtin_fabsl declaration" >&5
5067 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
5068 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5069 echo $ac_n "(cached) $ac_c" 1>&6
5074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5075 ac_cpp='$CXXCPP $CPPFLAGS'
5076 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5077 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5078 cross_compiling=$ac_cv_prog_cxx_cross
5080 cat > conftest.$ac_ext <<EOF
5081 #line 5082 "configure"
5082 #include "confdefs.h"
5088 if { (eval echo configure:5089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5090 glibcpp_cv_func___builtin_fabsl_use=yes
5092 echo "configure: failed program was:" >&5
5093 cat conftest.$ac_ext >&5
5095 glibcpp_cv_func___builtin_fabsl_use=no
5099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5100 ac_cpp='$CPP $CPPFLAGS'
5101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5103 cross_compiling=$ac_cv_prog_cc_cross
5109 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5110 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
5111 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
5112 echo "configure:5113: checking for __builtin_fabsl linkage" >&5
5113 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
5114 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5115 echo $ac_n "(cached) $ac_c" 1>&6
5118 cat > conftest.$ac_ext <<EOF
5119 #line 5120 "configure"
5120 #include "confdefs.h"
5126 if { (eval echo configure:5127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5128 glibcpp_cv_func___builtin_fabsl_link=yes
5130 echo "configure: failed program was:" >&5
5131 cat conftest.$ac_ext >&5
5133 glibcpp_cv_func___builtin_fabsl_link=no
5140 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5141 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
5142 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5143 cat >> confdefs.h <<EOF
5144 #define ${ac_tr_func} 1
5151 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
5152 echo "configure:5153: checking for __builtin_labs declaration" >&5
5153 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
5154 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5155 echo $ac_n "(cached) $ac_c" 1>&6
5160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5161 ac_cpp='$CXXCPP $CPPFLAGS'
5162 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5163 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5164 cross_compiling=$ac_cv_prog_cxx_cross
5166 cat > conftest.$ac_ext <<EOF
5167 #line 5168 "configure"
5168 #include "confdefs.h"
5174 if { (eval echo configure:5175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5176 glibcpp_cv_func___builtin_labs_use=yes
5178 echo "configure: failed program was:" >&5
5179 cat conftest.$ac_ext >&5
5181 glibcpp_cv_func___builtin_labs_use=no
5185 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5186 ac_cpp='$CPP $CPPFLAGS'
5187 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5188 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5189 cross_compiling=$ac_cv_prog_cc_cross
5195 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5196 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5197 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5198 echo "configure:5199: checking for __builtin_labs linkage" >&5
5199 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5200 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5201 echo $ac_n "(cached) $ac_c" 1>&6
5204 cat > conftest.$ac_ext <<EOF
5205 #line 5206 "configure"
5206 #include "confdefs.h"
5212 if { (eval echo configure:5213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5214 glibcpp_cv_func___builtin_labs_link=yes
5216 echo "configure: failed program was:" >&5
5217 cat conftest.$ac_ext >&5
5219 glibcpp_cv_func___builtin_labs_link=no
5226 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5227 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5228 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5229 cat >> confdefs.h <<EOF
5230 #define ${ac_tr_func} 1
5238 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5239 echo "configure:5240: checking for __builtin_sqrtf declaration" >&5
5240 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5241 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5242 echo $ac_n "(cached) $ac_c" 1>&6
5247 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5248 ac_cpp='$CXXCPP $CPPFLAGS'
5249 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5250 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5251 cross_compiling=$ac_cv_prog_cxx_cross
5253 cat > conftest.$ac_ext <<EOF
5254 #line 5255 "configure"
5255 #include "confdefs.h"
5261 if { (eval echo configure:5262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5263 glibcpp_cv_func___builtin_sqrtf_use=yes
5265 echo "configure: failed program was:" >&5
5266 cat conftest.$ac_ext >&5
5268 glibcpp_cv_func___builtin_sqrtf_use=no
5272 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5273 ac_cpp='$CPP $CPPFLAGS'
5274 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5275 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5276 cross_compiling=$ac_cv_prog_cc_cross
5282 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5283 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5284 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5285 echo "configure:5286: checking for __builtin_sqrtf linkage" >&5
5286 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5287 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5288 echo $ac_n "(cached) $ac_c" 1>&6
5291 cat > conftest.$ac_ext <<EOF
5292 #line 5293 "configure"
5293 #include "confdefs.h"
5299 if { (eval echo configure:5300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5301 glibcpp_cv_func___builtin_sqrtf_link=yes
5303 echo "configure: failed program was:" >&5
5304 cat conftest.$ac_ext >&5
5306 glibcpp_cv_func___builtin_sqrtf_link=no
5313 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5314 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5315 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5316 cat >> confdefs.h <<EOF
5317 #define ${ac_tr_func} 1
5324 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5325 echo "configure:5326: checking for __builtin_fsqrt declaration" >&5
5326 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5327 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5328 echo $ac_n "(cached) $ac_c" 1>&6
5333 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5334 ac_cpp='$CXXCPP $CPPFLAGS'
5335 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5336 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5337 cross_compiling=$ac_cv_prog_cxx_cross
5339 cat > conftest.$ac_ext <<EOF
5340 #line 5341 "configure"
5341 #include "confdefs.h"
5347 if { (eval echo configure:5348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5349 glibcpp_cv_func___builtin_fsqrt_use=yes
5351 echo "configure: failed program was:" >&5
5352 cat conftest.$ac_ext >&5
5354 glibcpp_cv_func___builtin_fsqrt_use=no
5358 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5359 ac_cpp='$CPP $CPPFLAGS'
5360 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5361 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5362 cross_compiling=$ac_cv_prog_cc_cross
5368 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5369 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5370 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5371 echo "configure:5372: checking for __builtin_fsqrt linkage" >&5
5372 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5373 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5374 echo $ac_n "(cached) $ac_c" 1>&6
5377 cat > conftest.$ac_ext <<EOF
5378 #line 5379 "configure"
5379 #include "confdefs.h"
5385 if { (eval echo configure:5386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5387 glibcpp_cv_func___builtin_fsqrt_link=yes
5389 echo "configure: failed program was:" >&5
5390 cat conftest.$ac_ext >&5
5392 glibcpp_cv_func___builtin_fsqrt_link=no
5399 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5400 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5401 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5402 cat >> confdefs.h <<EOF
5403 #define ${ac_tr_func} 1
5410 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5411 echo "configure:5412: checking for __builtin_sqrtl declaration" >&5
5412 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5413 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5414 echo $ac_n "(cached) $ac_c" 1>&6
5419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5420 ac_cpp='$CXXCPP $CPPFLAGS'
5421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5423 cross_compiling=$ac_cv_prog_cxx_cross
5425 cat > conftest.$ac_ext <<EOF
5426 #line 5427 "configure"
5427 #include "confdefs.h"
5433 if { (eval echo configure:5434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5435 glibcpp_cv_func___builtin_sqrtl_use=yes
5437 echo "configure: failed program was:" >&5
5438 cat conftest.$ac_ext >&5
5440 glibcpp_cv_func___builtin_sqrtl_use=no
5444 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5445 ac_cpp='$CPP $CPPFLAGS'
5446 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5447 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5448 cross_compiling=$ac_cv_prog_cc_cross
5454 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5455 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5456 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5457 echo "configure:5458: checking for __builtin_sqrtl linkage" >&5
5458 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5459 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5460 echo $ac_n "(cached) $ac_c" 1>&6
5463 cat > conftest.$ac_ext <<EOF
5464 #line 5465 "configure"
5465 #include "confdefs.h"
5471 if { (eval echo configure:5472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5473 glibcpp_cv_func___builtin_sqrtl_link=yes
5475 echo "configure: failed program was:" >&5
5476 cat conftest.$ac_ext >&5
5478 glibcpp_cv_func___builtin_sqrtl_link=no
5485 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5486 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5487 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5488 cat >> confdefs.h <<EOF
5489 #define ${ac_tr_func} 1
5497 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5498 echo "configure:5499: checking for __builtin_sinf declaration" >&5
5499 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5500 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5501 echo $ac_n "(cached) $ac_c" 1>&6
5506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5507 ac_cpp='$CXXCPP $CPPFLAGS'
5508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5510 cross_compiling=$ac_cv_prog_cxx_cross
5512 cat > conftest.$ac_ext <<EOF
5513 #line 5514 "configure"
5514 #include "confdefs.h"
5520 if { (eval echo configure:5521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5522 glibcpp_cv_func___builtin_sinf_use=yes
5524 echo "configure: failed program was:" >&5
5525 cat conftest.$ac_ext >&5
5527 glibcpp_cv_func___builtin_sinf_use=no
5531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5532 ac_cpp='$CPP $CPPFLAGS'
5533 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5534 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5535 cross_compiling=$ac_cv_prog_cc_cross
5541 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5542 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5543 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5544 echo "configure:5545: checking for __builtin_sinf linkage" >&5
5545 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5546 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5547 echo $ac_n "(cached) $ac_c" 1>&6
5550 cat > conftest.$ac_ext <<EOF
5551 #line 5552 "configure"
5552 #include "confdefs.h"
5558 if { (eval echo configure:5559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5560 glibcpp_cv_func___builtin_sinf_link=yes
5562 echo "configure: failed program was:" >&5
5563 cat conftest.$ac_ext >&5
5565 glibcpp_cv_func___builtin_sinf_link=no
5572 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5573 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
5574 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5575 cat >> confdefs.h <<EOF
5576 #define ${ac_tr_func} 1
5583 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
5584 echo "configure:5585: checking for __builtin_sin declaration" >&5
5585 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
5586 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5587 echo $ac_n "(cached) $ac_c" 1>&6
5592 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5593 ac_cpp='$CXXCPP $CPPFLAGS'
5594 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5595 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5596 cross_compiling=$ac_cv_prog_cxx_cross
5598 cat > conftest.$ac_ext <<EOF
5599 #line 5600 "configure"
5600 #include "confdefs.h"
5606 if { (eval echo configure:5607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5608 glibcpp_cv_func___builtin_sin_use=yes
5610 echo "configure: failed program was:" >&5
5611 cat conftest.$ac_ext >&5
5613 glibcpp_cv_func___builtin_sin_use=no
5617 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5618 ac_cpp='$CPP $CPPFLAGS'
5619 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5620 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5621 cross_compiling=$ac_cv_prog_cc_cross
5627 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
5628 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
5629 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
5630 echo "configure:5631: checking for __builtin_sin linkage" >&5
5631 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
5632 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
5633 echo $ac_n "(cached) $ac_c" 1>&6
5636 cat > conftest.$ac_ext <<EOF
5637 #line 5638 "configure"
5638 #include "confdefs.h"
5644 if { (eval echo configure:5645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5646 glibcpp_cv_func___builtin_sin_link=yes
5648 echo "configure: failed program was:" >&5
5649 cat conftest.$ac_ext >&5
5651 glibcpp_cv_func___builtin_sin_link=no
5658 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
5659 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
5660 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5661 cat >> confdefs.h <<EOF
5662 #define ${ac_tr_func} 1
5669 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
5670 echo "configure:5671: checking for __builtin_sinl declaration" >&5
5671 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
5672 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
5673 echo $ac_n "(cached) $ac_c" 1>&6
5678 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5679 ac_cpp='$CXXCPP $CPPFLAGS'
5680 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5681 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5682 cross_compiling=$ac_cv_prog_cxx_cross
5684 cat > conftest.$ac_ext <<EOF
5685 #line 5686 "configure"
5686 #include "confdefs.h"
5692 if { (eval echo configure:5693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5694 glibcpp_cv_func___builtin_sinl_use=yes
5696 echo "configure: failed program was:" >&5
5697 cat conftest.$ac_ext >&5
5699 glibcpp_cv_func___builtin_sinl_use=no
5703 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5704 ac_cpp='$CPP $CPPFLAGS'
5705 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5706 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5707 cross_compiling=$ac_cv_prog_cc_cross
5713 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
5714 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
5715 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
5716 echo "configure:5717: checking for __builtin_sinl linkage" >&5
5717 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
5718 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
5719 echo $ac_n "(cached) $ac_c" 1>&6
5722 cat > conftest.$ac_ext <<EOF
5723 #line 5724 "configure"
5724 #include "confdefs.h"
5730 if { (eval echo configure:5731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5732 glibcpp_cv_func___builtin_sinl_link=yes
5734 echo "configure: failed program was:" >&5
5735 cat conftest.$ac_ext >&5
5737 glibcpp_cv_func___builtin_sinl_link=no
5744 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
5745 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
5746 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5747 cat >> confdefs.h <<EOF
5748 #define ${ac_tr_func} 1
5756 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
5757 echo "configure:5758: checking for __builtin_cosf declaration" >&5
5758 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
5759 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
5760 echo $ac_n "(cached) $ac_c" 1>&6
5765 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5766 ac_cpp='$CXXCPP $CPPFLAGS'
5767 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5768 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5769 cross_compiling=$ac_cv_prog_cxx_cross
5771 cat > conftest.$ac_ext <<EOF
5772 #line 5773 "configure"
5773 #include "confdefs.h"
5779 if { (eval echo configure:5780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5781 glibcpp_cv_func___builtin_cosf_use=yes
5783 echo "configure: failed program was:" >&5
5784 cat conftest.$ac_ext >&5
5786 glibcpp_cv_func___builtin_cosf_use=no
5790 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5791 ac_cpp='$CPP $CPPFLAGS'
5792 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5793 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5794 cross_compiling=$ac_cv_prog_cc_cross
5800 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
5801 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
5802 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
5803 echo "configure:5804: checking for __builtin_cosf linkage" >&5
5804 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
5805 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
5806 echo $ac_n "(cached) $ac_c" 1>&6
5809 cat > conftest.$ac_ext <<EOF
5810 #line 5811 "configure"
5811 #include "confdefs.h"
5817 if { (eval echo configure:5818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5819 glibcpp_cv_func___builtin_cosf_link=yes
5821 echo "configure: failed program was:" >&5
5822 cat conftest.$ac_ext >&5
5824 glibcpp_cv_func___builtin_cosf_link=no
5831 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
5832 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
5833 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5834 cat >> confdefs.h <<EOF
5835 #define ${ac_tr_func} 1
5842 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
5843 echo "configure:5844: checking for __builtin_cos declaration" >&5
5844 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
5845 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
5846 echo $ac_n "(cached) $ac_c" 1>&6
5851 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5852 ac_cpp='$CXXCPP $CPPFLAGS'
5853 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5854 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5855 cross_compiling=$ac_cv_prog_cxx_cross
5857 cat > conftest.$ac_ext <<EOF
5858 #line 5859 "configure"
5859 #include "confdefs.h"
5865 if { (eval echo configure:5866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5867 glibcpp_cv_func___builtin_cos_use=yes
5869 echo "configure: failed program was:" >&5
5870 cat conftest.$ac_ext >&5
5872 glibcpp_cv_func___builtin_cos_use=no
5876 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5877 ac_cpp='$CPP $CPPFLAGS'
5878 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5879 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5880 cross_compiling=$ac_cv_prog_cc_cross
5886 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
5887 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
5888 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
5889 echo "configure:5890: checking for __builtin_cos linkage" >&5
5890 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
5891 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
5892 echo $ac_n "(cached) $ac_c" 1>&6
5895 cat > conftest.$ac_ext <<EOF
5896 #line 5897 "configure"
5897 #include "confdefs.h"
5903 if { (eval echo configure:5904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5905 glibcpp_cv_func___builtin_cos_link=yes
5907 echo "configure: failed program was:" >&5
5908 cat conftest.$ac_ext >&5
5910 glibcpp_cv_func___builtin_cos_link=no
5917 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
5918 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
5919 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5920 cat >> confdefs.h <<EOF
5921 #define ${ac_tr_func} 1
5928 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
5929 echo "configure:5930: checking for __builtin_cosl declaration" >&5
5930 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
5931 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
5932 echo $ac_n "(cached) $ac_c" 1>&6
5937 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5938 ac_cpp='$CXXCPP $CPPFLAGS'
5939 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5940 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5941 cross_compiling=$ac_cv_prog_cxx_cross
5943 cat > conftest.$ac_ext <<EOF
5944 #line 5945 "configure"
5945 #include "confdefs.h"
5951 if { (eval echo configure:5952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5953 glibcpp_cv_func___builtin_cosl_use=yes
5955 echo "configure: failed program was:" >&5
5956 cat conftest.$ac_ext >&5
5958 glibcpp_cv_func___builtin_cosl_use=no
5962 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5963 ac_cpp='$CPP $CPPFLAGS'
5964 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5965 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5966 cross_compiling=$ac_cv_prog_cc_cross
5972 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
5973 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
5974 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
5975 echo "configure:5976: checking for __builtin_cosl linkage" >&5
5976 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
5977 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
5978 echo $ac_n "(cached) $ac_c" 1>&6
5981 cat > conftest.$ac_ext <<EOF
5982 #line 5983 "configure"
5983 #include "confdefs.h"
5989 if { (eval echo configure:5990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5991 glibcpp_cv_func___builtin_cosl_link=yes
5993 echo "configure: failed program was:" >&5
5994 cat conftest.$ac_ext >&5
5996 glibcpp_cv_func___builtin_cosl_link=no
6003 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6004 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
6005 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6006 cat >> confdefs.h <<EOF
6007 #define ${ac_tr_func} 1
6015 if test x$dummyvar = x"yes"; then
6016 cat >> confdefs.h <<\EOF
6017 #define HAVE___BUILTIN_ABS 1
6020 cat >> confdefs.h <<\EOF
6021 #define HAVE___BUILTIN_LABS 1
6024 cat >> confdefs.h <<\EOF
6025 #define HAVE___BUILTIN_COS 1
6028 cat >> confdefs.h <<\EOF
6029 #define HAVE___BUILTIN_COSF 1
6032 cat >> confdefs.h <<\EOF
6033 #define HAVE___BUILTIN_COSL 1
6036 cat >> confdefs.h <<\EOF
6037 #define HAVE___BUILTIN_FABS 1
6040 cat >> confdefs.h <<\EOF
6041 #define HAVE___BUILTIN_FABSF 1
6044 cat >> confdefs.h <<\EOF
6045 #define HAVE___BUILTIN_FABSL 1
6048 cat >> confdefs.h <<\EOF
6049 #define HAVE___BUILTIN_SIN 1
6052 cat >> confdefs.h <<\EOF
6053 #define HAVE___BUILTIN_SINF 1
6056 cat >> confdefs.h <<\EOF
6057 #define HAVE___BUILTIN_SINL 1
6060 cat >> confdefs.h <<\EOF
6061 #define HAVE___BUILTIN_FSQRT 1
6064 cat >> confdefs.h <<\EOF
6065 #define HAVE___BUILTIN_SQRTF 1
6068 cat >> confdefs.h <<\EOF
6069 #define HAVE___BUILTIN_SQRTL 1
6075 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6076 ac_save_CXXFLAGS="$CXXFLAGS"
6077 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
6079 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
6080 echo "configure:6081: checking for sin in -lm" >&5
6081 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
6082 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6083 echo $ac_n "(cached) $ac_c" 1>&6
6085 ac_save_LIBS="$LIBS"
6087 cat > conftest.$ac_ext <<EOF
6088 #line 6089 "configure"
6089 #include "confdefs.h"
6090 /* Override any gcc2 internal prototype to avoid an error. */
6091 /* We use char because int might match the return type of a gcc2
6092 builtin and then its argument prototype would still apply. */
6099 if { (eval echo configure:6100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6101 eval "ac_cv_lib_$ac_lib_var=yes"
6103 echo "configure: failed program was:" >&5
6104 cat conftest.$ac_ext >&5
6106 eval "ac_cv_lib_$ac_lib_var=no"
6109 LIBS="$ac_save_LIBS"
6112 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6113 echo "$ac_t""yes" 1>&6
6116 echo "$ac_t""no" 1>&6
6119 ac_save_LIBS="$LIBS"
6124 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
6125 echo "configure:6126: checking for isinf declaration" >&5
6126 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
6127 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6128 echo $ac_n "(cached) $ac_c" 1>&6
6133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6134 ac_cpp='$CXXCPP $CPPFLAGS'
6135 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6136 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6137 cross_compiling=$ac_cv_prog_cxx_cross
6139 cat > conftest.$ac_ext <<EOF
6140 #line 6141 "configure"
6141 #include "confdefs.h"
6143 #ifdef HAVE_IEEEFP_H
6151 if { (eval echo configure:6152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6153 glibcpp_cv_func_isinf_use=yes
6155 echo "configure: failed program was:" >&5
6156 cat conftest.$ac_ext >&5
6158 glibcpp_cv_func_isinf_use=no
6162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6163 ac_cpp='$CPP $CPPFLAGS'
6164 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6165 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6166 cross_compiling=$ac_cv_prog_cc_cross
6172 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6174 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
6175 for ac_func in isinf
6177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6178 echo "configure:6179: checking for $ac_func" >&5
6179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6180 echo $ac_n "(cached) $ac_c" 1>&6
6182 cat > conftest.$ac_ext <<EOF
6183 #line 6184 "configure"
6184 #include "confdefs.h"
6185 /* System header to define __stub macros and hopefully few prototypes,
6186 which can conflict with char $ac_func(); below. */
6188 /* Override any gcc2 internal prototype to avoid an error. */
6189 /* We use char because int might match the return type of a gcc2
6190 builtin and then its argument prototype would still apply. */
6195 /* The GNU C library defines this for functions which it implements
6196 to always fail with ENOSYS. Some functions are actually named
6197 something starting with __ and the normal name is an alias. */
6198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6206 if { (eval echo configure:6207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6208 eval "ac_cv_func_$ac_func=yes"
6210 echo "configure: failed program was:" >&5
6211 cat conftest.$ac_ext >&5
6213 eval "ac_cv_func_$ac_func=no"
6218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6219 echo "$ac_t""yes" 1>&6
6220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6221 cat >> confdefs.h <<EOF
6222 #define $ac_tr_func 1
6226 echo "$ac_t""no" 1>&6
6232 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6233 echo "configure:6234: checking for _isinf declaration" >&5
6234 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6235 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6236 echo $ac_n "(cached) $ac_c" 1>&6
6241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6242 ac_cpp='$CXXCPP $CPPFLAGS'
6243 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6244 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6245 cross_compiling=$ac_cv_prog_cxx_cross
6247 cat > conftest.$ac_ext <<EOF
6248 #line 6249 "configure"
6249 #include "confdefs.h"
6251 #ifdef HAVE_IEEEFP_H
6259 if { (eval echo configure:6260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6261 glibcpp_cv_func__isinf_use=yes
6263 echo "configure: failed program was:" >&5
6264 cat conftest.$ac_ext >&5
6266 glibcpp_cv_func__isinf_use=no
6270 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6271 ac_cpp='$CPP $CPPFLAGS'
6272 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6273 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6274 cross_compiling=$ac_cv_prog_cc_cross
6280 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6282 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6283 for ac_func in _isinf
6285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6286 echo "configure:6287: checking for $ac_func" >&5
6287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6288 echo $ac_n "(cached) $ac_c" 1>&6
6290 cat > conftest.$ac_ext <<EOF
6291 #line 6292 "configure"
6292 #include "confdefs.h"
6293 /* System header to define __stub macros and hopefully few prototypes,
6294 which can conflict with char $ac_func(); below. */
6296 /* Override any gcc2 internal prototype to avoid an error. */
6297 /* We use char because int might match the return type of a gcc2
6298 builtin and then its argument prototype would still apply. */
6303 /* The GNU C library defines this for functions which it implements
6304 to always fail with ENOSYS. Some functions are actually named
6305 something starting with __ and the normal name is an alias. */
6306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6314 if { (eval echo configure:6315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6316 eval "ac_cv_func_$ac_func=yes"
6318 echo "configure: failed program was:" >&5
6319 cat conftest.$ac_ext >&5
6321 eval "ac_cv_func_$ac_func=no"
6326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6327 echo "$ac_t""yes" 1>&6
6328 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6329 cat >> confdefs.h <<EOF
6330 #define $ac_tr_func 1
6334 echo "$ac_t""no" 1>&6
6343 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6344 echo "configure:6345: checking for isnan declaration" >&5
6345 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6346 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6347 echo $ac_n "(cached) $ac_c" 1>&6
6352 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6353 ac_cpp='$CXXCPP $CPPFLAGS'
6354 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6355 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6356 cross_compiling=$ac_cv_prog_cxx_cross
6358 cat > conftest.$ac_ext <<EOF
6359 #line 6360 "configure"
6360 #include "confdefs.h"
6362 #ifdef HAVE_IEEEFP_H
6370 if { (eval echo configure:6371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6372 glibcpp_cv_func_isnan_use=yes
6374 echo "configure: failed program was:" >&5
6375 cat conftest.$ac_ext >&5
6377 glibcpp_cv_func_isnan_use=no
6381 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6382 ac_cpp='$CPP $CPPFLAGS'
6383 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6384 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6385 cross_compiling=$ac_cv_prog_cc_cross
6391 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6393 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6394 for ac_func in isnan
6396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6397 echo "configure:6398: checking for $ac_func" >&5
6398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6399 echo $ac_n "(cached) $ac_c" 1>&6
6401 cat > conftest.$ac_ext <<EOF
6402 #line 6403 "configure"
6403 #include "confdefs.h"
6404 /* System header to define __stub macros and hopefully few prototypes,
6405 which can conflict with char $ac_func(); below. */
6407 /* Override any gcc2 internal prototype to avoid an error. */
6408 /* We use char because int might match the return type of a gcc2
6409 builtin and then its argument prototype would still apply. */
6414 /* The GNU C library defines this for functions which it implements
6415 to always fail with ENOSYS. Some functions are actually named
6416 something starting with __ and the normal name is an alias. */
6417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6425 if { (eval echo configure:6426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6427 eval "ac_cv_func_$ac_func=yes"
6429 echo "configure: failed program was:" >&5
6430 cat conftest.$ac_ext >&5
6432 eval "ac_cv_func_$ac_func=no"
6437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6438 echo "$ac_t""yes" 1>&6
6439 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6440 cat >> confdefs.h <<EOF
6441 #define $ac_tr_func 1
6445 echo "$ac_t""no" 1>&6
6451 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6452 echo "configure:6453: checking for _isnan declaration" >&5
6453 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6454 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6455 echo $ac_n "(cached) $ac_c" 1>&6
6460 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6461 ac_cpp='$CXXCPP $CPPFLAGS'
6462 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6463 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6464 cross_compiling=$ac_cv_prog_cxx_cross
6466 cat > conftest.$ac_ext <<EOF
6467 #line 6468 "configure"
6468 #include "confdefs.h"
6470 #ifdef HAVE_IEEEFP_H
6478 if { (eval echo configure:6479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6480 glibcpp_cv_func__isnan_use=yes
6482 echo "configure: failed program was:" >&5
6483 cat conftest.$ac_ext >&5
6485 glibcpp_cv_func__isnan_use=no
6489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6490 ac_cpp='$CPP $CPPFLAGS'
6491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6493 cross_compiling=$ac_cv_prog_cc_cross
6499 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6501 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
6502 for ac_func in _isnan
6504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6505 echo "configure:6506: checking for $ac_func" >&5
6506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6507 echo $ac_n "(cached) $ac_c" 1>&6
6509 cat > conftest.$ac_ext <<EOF
6510 #line 6511 "configure"
6511 #include "confdefs.h"
6512 /* System header to define __stub macros and hopefully few prototypes,
6513 which can conflict with char $ac_func(); below. */
6515 /* Override any gcc2 internal prototype to avoid an error. */
6516 /* We use char because int might match the return type of a gcc2
6517 builtin and then its argument prototype would still apply. */
6522 /* The GNU C library defines this for functions which it implements
6523 to always fail with ENOSYS. Some functions are actually named
6524 something starting with __ and the normal name is an alias. */
6525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6533 if { (eval echo configure:6534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6535 eval "ac_cv_func_$ac_func=yes"
6537 echo "configure: failed program was:" >&5
6538 cat conftest.$ac_ext >&5
6540 eval "ac_cv_func_$ac_func=no"
6545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6546 echo "$ac_t""yes" 1>&6
6547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6548 cat >> confdefs.h <<EOF
6549 #define $ac_tr_func 1
6553 echo "$ac_t""no" 1>&6
6562 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
6563 echo "configure:6564: checking for finite declaration" >&5
6564 if test x${glibcpp_cv_func_finite_use+set} != xset; then
6565 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6566 echo $ac_n "(cached) $ac_c" 1>&6
6571 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6572 ac_cpp='$CXXCPP $CPPFLAGS'
6573 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6574 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6575 cross_compiling=$ac_cv_prog_cxx_cross
6577 cat > conftest.$ac_ext <<EOF
6578 #line 6579 "configure"
6579 #include "confdefs.h"
6581 #ifdef HAVE_IEEEFP_H
6589 if { (eval echo configure:6590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6591 glibcpp_cv_func_finite_use=yes
6593 echo "configure: failed program was:" >&5
6594 cat conftest.$ac_ext >&5
6596 glibcpp_cv_func_finite_use=no
6600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6601 ac_cpp='$CPP $CPPFLAGS'
6602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6604 cross_compiling=$ac_cv_prog_cc_cross
6610 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
6612 if test x$glibcpp_cv_func_finite_use = x"yes"; then
6613 for ac_func in finite
6615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6616 echo "configure:6617: checking for $ac_func" >&5
6617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6618 echo $ac_n "(cached) $ac_c" 1>&6
6620 cat > conftest.$ac_ext <<EOF
6621 #line 6622 "configure"
6622 #include "confdefs.h"
6623 /* System header to define __stub macros and hopefully few prototypes,
6624 which can conflict with char $ac_func(); below. */
6626 /* Override any gcc2 internal prototype to avoid an error. */
6627 /* We use char because int might match the return type of a gcc2
6628 builtin and then its argument prototype would still apply. */
6633 /* The GNU C library defines this for functions which it implements
6634 to always fail with ENOSYS. Some functions are actually named
6635 something starting with __ and the normal name is an alias. */
6636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6644 if { (eval echo configure:6645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6646 eval "ac_cv_func_$ac_func=yes"
6648 echo "configure: failed program was:" >&5
6649 cat conftest.$ac_ext >&5
6651 eval "ac_cv_func_$ac_func=no"
6656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6657 echo "$ac_t""yes" 1>&6
6658 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6659 cat >> confdefs.h <<EOF
6660 #define $ac_tr_func 1
6664 echo "$ac_t""no" 1>&6
6670 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
6671 echo "configure:6672: checking for _finite declaration" >&5
6672 if test x${glibcpp_cv_func__finite_use+set} != xset; then
6673 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
6674 echo $ac_n "(cached) $ac_c" 1>&6
6679 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6680 ac_cpp='$CXXCPP $CPPFLAGS'
6681 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6682 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6683 cross_compiling=$ac_cv_prog_cxx_cross
6685 cat > conftest.$ac_ext <<EOF
6686 #line 6687 "configure"
6687 #include "confdefs.h"
6689 #ifdef HAVE_IEEEFP_H
6697 if { (eval echo configure:6698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6699 glibcpp_cv_func__finite_use=yes
6701 echo "configure: failed program was:" >&5
6702 cat conftest.$ac_ext >&5
6704 glibcpp_cv_func__finite_use=no
6708 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6709 ac_cpp='$CPP $CPPFLAGS'
6710 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6711 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6712 cross_compiling=$ac_cv_prog_cc_cross
6718 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
6720 if test x$glibcpp_cv_func__finite_use = x"yes"; then
6721 for ac_func in _finite
6723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6724 echo "configure:6725: checking for $ac_func" >&5
6725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6726 echo $ac_n "(cached) $ac_c" 1>&6
6728 cat > conftest.$ac_ext <<EOF
6729 #line 6730 "configure"
6730 #include "confdefs.h"
6731 /* System header to define __stub macros and hopefully few prototypes,
6732 which can conflict with char $ac_func(); below. */
6734 /* Override any gcc2 internal prototype to avoid an error. */
6735 /* We use char because int might match the return type of a gcc2
6736 builtin and then its argument prototype would still apply. */
6741 /* The GNU C library defines this for functions which it implements
6742 to always fail with ENOSYS. Some functions are actually named
6743 something starting with __ and the normal name is an alias. */
6744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6752 if { (eval echo configure:6753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6754 eval "ac_cv_func_$ac_func=yes"
6756 echo "configure: failed program was:" >&5
6757 cat conftest.$ac_ext >&5
6759 eval "ac_cv_func_$ac_func=no"
6764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6765 echo "$ac_t""yes" 1>&6
6766 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6767 cat >> confdefs.h <<EOF
6768 #define $ac_tr_func 1
6772 echo "$ac_t""no" 1>&6
6781 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
6782 echo "configure:6783: checking for copysign declaration" >&5
6783 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
6784 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
6785 echo $ac_n "(cached) $ac_c" 1>&6
6790 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6791 ac_cpp='$CXXCPP $CPPFLAGS'
6792 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6793 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6794 cross_compiling=$ac_cv_prog_cxx_cross
6796 cat > conftest.$ac_ext <<EOF
6797 #line 6798 "configure"
6798 #include "confdefs.h"
6804 if { (eval echo configure:6805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6806 glibcpp_cv_func_copysign_use=yes
6808 echo "configure: failed program was:" >&5
6809 cat conftest.$ac_ext >&5
6811 glibcpp_cv_func_copysign_use=no
6815 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6816 ac_cpp='$CPP $CPPFLAGS'
6817 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6818 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6819 cross_compiling=$ac_cv_prog_cc_cross
6825 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
6827 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
6828 for ac_func in copysign
6830 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6831 echo "configure:6832: checking for $ac_func" >&5
6832 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6833 echo $ac_n "(cached) $ac_c" 1>&6
6835 cat > conftest.$ac_ext <<EOF
6836 #line 6837 "configure"
6837 #include "confdefs.h"
6838 /* System header to define __stub macros and hopefully few prototypes,
6839 which can conflict with char $ac_func(); below. */
6841 /* Override any gcc2 internal prototype to avoid an error. */
6842 /* We use char because int might match the return type of a gcc2
6843 builtin and then its argument prototype would still apply. */
6848 /* The GNU C library defines this for functions which it implements
6849 to always fail with ENOSYS. Some functions are actually named
6850 something starting with __ and the normal name is an alias. */
6851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6859 if { (eval echo configure:6860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6861 eval "ac_cv_func_$ac_func=yes"
6863 echo "configure: failed program was:" >&5
6864 cat conftest.$ac_ext >&5
6866 eval "ac_cv_func_$ac_func=no"
6871 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6872 echo "$ac_t""yes" 1>&6
6873 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6874 cat >> confdefs.h <<EOF
6875 #define $ac_tr_func 1
6879 echo "$ac_t""no" 1>&6
6885 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
6886 echo "configure:6887: checking for _copysign declaration" >&5
6887 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
6888 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
6889 echo $ac_n "(cached) $ac_c" 1>&6
6894 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6895 ac_cpp='$CXXCPP $CPPFLAGS'
6896 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6897 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6898 cross_compiling=$ac_cv_prog_cxx_cross
6900 cat > conftest.$ac_ext <<EOF
6901 #line 6902 "configure"
6902 #include "confdefs.h"
6908 if { (eval echo configure:6909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6910 glibcpp_cv_func__copysign_use=yes
6912 echo "configure: failed program was:" >&5
6913 cat conftest.$ac_ext >&5
6915 glibcpp_cv_func__copysign_use=no
6919 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6920 ac_cpp='$CPP $CPPFLAGS'
6921 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6922 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6923 cross_compiling=$ac_cv_prog_cc_cross
6929 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
6931 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
6932 for ac_func in _copysign
6934 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6935 echo "configure:6936: checking for $ac_func" >&5
6936 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6937 echo $ac_n "(cached) $ac_c" 1>&6
6939 cat > conftest.$ac_ext <<EOF
6940 #line 6941 "configure"
6941 #include "confdefs.h"
6942 /* System header to define __stub macros and hopefully few prototypes,
6943 which can conflict with char $ac_func(); below. */
6945 /* Override any gcc2 internal prototype to avoid an error. */
6946 /* We use char because int might match the return type of a gcc2
6947 builtin and then its argument prototype would still apply. */
6952 /* The GNU C library defines this for functions which it implements
6953 to always fail with ENOSYS. Some functions are actually named
6954 something starting with __ and the normal name is an alias. */
6955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6963 if { (eval echo configure:6964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6965 eval "ac_cv_func_$ac_func=yes"
6967 echo "configure: failed program was:" >&5
6968 cat conftest.$ac_ext >&5
6970 eval "ac_cv_func_$ac_func=no"
6975 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6976 echo "$ac_t""yes" 1>&6
6977 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6978 cat >> confdefs.h <<EOF
6979 #define $ac_tr_func 1
6983 echo "$ac_t""no" 1>&6
6992 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
6993 echo "configure:6994: checking for sincos declaration" >&5
6994 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
6995 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
6996 echo $ac_n "(cached) $ac_c" 1>&6
7001 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7002 ac_cpp='$CXXCPP $CPPFLAGS'
7003 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7004 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7005 cross_compiling=$ac_cv_prog_cxx_cross
7007 cat > conftest.$ac_ext <<EOF
7008 #line 7009 "configure"
7009 #include "confdefs.h"
7015 if { (eval echo configure:7016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7017 glibcpp_cv_func_sincos_use=yes
7019 echo "configure: failed program was:" >&5
7020 cat conftest.$ac_ext >&5
7022 glibcpp_cv_func_sincos_use=no
7026 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7027 ac_cpp='$CPP $CPPFLAGS'
7028 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7029 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7030 cross_compiling=$ac_cv_prog_cc_cross
7036 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7038 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
7039 for ac_func in sincos
7041 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7042 echo "configure:7043: checking for $ac_func" >&5
7043 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7044 echo $ac_n "(cached) $ac_c" 1>&6
7046 cat > conftest.$ac_ext <<EOF
7047 #line 7048 "configure"
7048 #include "confdefs.h"
7049 /* System header to define __stub macros and hopefully few prototypes,
7050 which can conflict with char $ac_func(); below. */
7052 /* Override any gcc2 internal prototype to avoid an error. */
7053 /* We use char because int might match the return type of a gcc2
7054 builtin and then its argument prototype would still apply. */
7059 /* The GNU C library defines this for functions which it implements
7060 to always fail with ENOSYS. Some functions are actually named
7061 something starting with __ and the normal name is an alias. */
7062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7070 if { (eval echo configure:7071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7072 eval "ac_cv_func_$ac_func=yes"
7074 echo "configure: failed program was:" >&5
7075 cat conftest.$ac_ext >&5
7077 eval "ac_cv_func_$ac_func=no"
7082 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7083 echo "$ac_t""yes" 1>&6
7084 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7085 cat >> confdefs.h <<EOF
7086 #define $ac_tr_func 1
7090 echo "$ac_t""no" 1>&6
7096 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
7097 echo "configure:7098: checking for _sincos declaration" >&5
7098 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
7099 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7100 echo $ac_n "(cached) $ac_c" 1>&6
7105 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7106 ac_cpp='$CXXCPP $CPPFLAGS'
7107 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7108 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7109 cross_compiling=$ac_cv_prog_cxx_cross
7111 cat > conftest.$ac_ext <<EOF
7112 #line 7113 "configure"
7113 #include "confdefs.h"
7119 if { (eval echo configure:7120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7121 glibcpp_cv_func__sincos_use=yes
7123 echo "configure: failed program was:" >&5
7124 cat conftest.$ac_ext >&5
7126 glibcpp_cv_func__sincos_use=no
7130 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7131 ac_cpp='$CPP $CPPFLAGS'
7132 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7133 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7134 cross_compiling=$ac_cv_prog_cc_cross
7140 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7142 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
7143 for ac_func in _sincos
7145 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7146 echo "configure:7147: checking for $ac_func" >&5
7147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7148 echo $ac_n "(cached) $ac_c" 1>&6
7150 cat > conftest.$ac_ext <<EOF
7151 #line 7152 "configure"
7152 #include "confdefs.h"
7153 /* System header to define __stub macros and hopefully few prototypes,
7154 which can conflict with char $ac_func(); below. */
7156 /* Override any gcc2 internal prototype to avoid an error. */
7157 /* We use char because int might match the return type of a gcc2
7158 builtin and then its argument prototype would still apply. */
7163 /* The GNU C library defines this for functions which it implements
7164 to always fail with ENOSYS. Some functions are actually named
7165 something starting with __ and the normal name is an alias. */
7166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7174 if { (eval echo configure:7175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7176 eval "ac_cv_func_$ac_func=yes"
7178 echo "configure: failed program was:" >&5
7179 cat conftest.$ac_ext >&5
7181 eval "ac_cv_func_$ac_func=no"
7186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7187 echo "$ac_t""yes" 1>&6
7188 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7189 cat >> confdefs.h <<EOF
7190 #define $ac_tr_func 1
7194 echo "$ac_t""no" 1>&6
7203 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7204 echo "configure:7205: checking for fpclass declaration" >&5
7205 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7206 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7207 echo $ac_n "(cached) $ac_c" 1>&6
7212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7213 ac_cpp='$CXXCPP $CPPFLAGS'
7214 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7215 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7216 cross_compiling=$ac_cv_prog_cxx_cross
7218 cat > conftest.$ac_ext <<EOF
7219 #line 7220 "configure"
7220 #include "confdefs.h"
7222 #ifdef HAVE_IEEEFP_H
7230 if { (eval echo configure:7231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7232 glibcpp_cv_func_fpclass_use=yes
7234 echo "configure: failed program was:" >&5
7235 cat conftest.$ac_ext >&5
7237 glibcpp_cv_func_fpclass_use=no
7241 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7242 ac_cpp='$CPP $CPPFLAGS'
7243 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7244 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7245 cross_compiling=$ac_cv_prog_cc_cross
7251 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7253 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7254 for ac_func in fpclass
7256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7257 echo "configure:7258: checking for $ac_func" >&5
7258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7259 echo $ac_n "(cached) $ac_c" 1>&6
7261 cat > conftest.$ac_ext <<EOF
7262 #line 7263 "configure"
7263 #include "confdefs.h"
7264 /* System header to define __stub macros and hopefully few prototypes,
7265 which can conflict with char $ac_func(); below. */
7267 /* Override any gcc2 internal prototype to avoid an error. */
7268 /* We use char because int might match the return type of a gcc2
7269 builtin and then its argument prototype would still apply. */
7274 /* The GNU C library defines this for functions which it implements
7275 to always fail with ENOSYS. Some functions are actually named
7276 something starting with __ and the normal name is an alias. */
7277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7285 if { (eval echo configure:7286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7287 eval "ac_cv_func_$ac_func=yes"
7289 echo "configure: failed program was:" >&5
7290 cat conftest.$ac_ext >&5
7292 eval "ac_cv_func_$ac_func=no"
7297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7298 echo "$ac_t""yes" 1>&6
7299 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7300 cat >> confdefs.h <<EOF
7301 #define $ac_tr_func 1
7305 echo "$ac_t""no" 1>&6
7311 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7312 echo "configure:7313: checking for _fpclass declaration" >&5
7313 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7314 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7315 echo $ac_n "(cached) $ac_c" 1>&6
7320 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7321 ac_cpp='$CXXCPP $CPPFLAGS'
7322 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7323 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7324 cross_compiling=$ac_cv_prog_cxx_cross
7326 cat > conftest.$ac_ext <<EOF
7327 #line 7328 "configure"
7328 #include "confdefs.h"
7330 #ifdef HAVE_IEEEFP_H
7338 if { (eval echo configure:7339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7340 glibcpp_cv_func__fpclass_use=yes
7342 echo "configure: failed program was:" >&5
7343 cat conftest.$ac_ext >&5
7345 glibcpp_cv_func__fpclass_use=no
7349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7350 ac_cpp='$CPP $CPPFLAGS'
7351 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7352 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7353 cross_compiling=$ac_cv_prog_cc_cross
7359 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7361 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7362 for ac_func in _fpclass
7364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7365 echo "configure:7366: checking for $ac_func" >&5
7366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7367 echo $ac_n "(cached) $ac_c" 1>&6
7369 cat > conftest.$ac_ext <<EOF
7370 #line 7371 "configure"
7371 #include "confdefs.h"
7372 /* System header to define __stub macros and hopefully few prototypes,
7373 which can conflict with char $ac_func(); below. */
7375 /* Override any gcc2 internal prototype to avoid an error. */
7376 /* We use char because int might match the return type of a gcc2
7377 builtin and then its argument prototype would still apply. */
7382 /* The GNU C library defines this for functions which it implements
7383 to always fail with ENOSYS. Some functions are actually named
7384 something starting with __ and the normal name is an alias. */
7385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7393 if { (eval echo configure:7394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7395 eval "ac_cv_func_$ac_func=yes"
7397 echo "configure: failed program was:" >&5
7398 cat conftest.$ac_ext >&5
7400 eval "ac_cv_func_$ac_func=no"
7405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7406 echo "$ac_t""yes" 1>&6
7407 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7408 cat >> confdefs.h <<EOF
7409 #define $ac_tr_func 1
7413 echo "$ac_t""no" 1>&6
7422 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7423 echo "configure:7424: checking for qfpclass declaration" >&5
7424 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7425 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7426 echo $ac_n "(cached) $ac_c" 1>&6
7431 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7432 ac_cpp='$CXXCPP $CPPFLAGS'
7433 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7434 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7435 cross_compiling=$ac_cv_prog_cxx_cross
7437 cat > conftest.$ac_ext <<EOF
7438 #line 7439 "configure"
7439 #include "confdefs.h"
7441 #ifdef HAVE_IEEEFP_H
7449 if { (eval echo configure:7450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7451 glibcpp_cv_func_qfpclass_use=yes
7453 echo "configure: failed program was:" >&5
7454 cat conftest.$ac_ext >&5
7456 glibcpp_cv_func_qfpclass_use=no
7460 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7461 ac_cpp='$CPP $CPPFLAGS'
7462 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7463 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7464 cross_compiling=$ac_cv_prog_cc_cross
7470 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7472 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
7473 for ac_func in qfpclass
7475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7476 echo "configure:7477: checking for $ac_func" >&5
7477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7478 echo $ac_n "(cached) $ac_c" 1>&6
7480 cat > conftest.$ac_ext <<EOF
7481 #line 7482 "configure"
7482 #include "confdefs.h"
7483 /* System header to define __stub macros and hopefully few prototypes,
7484 which can conflict with char $ac_func(); below. */
7486 /* Override any gcc2 internal prototype to avoid an error. */
7487 /* We use char because int might match the return type of a gcc2
7488 builtin and then its argument prototype would still apply. */
7493 /* The GNU C library defines this for functions which it implements
7494 to always fail with ENOSYS. Some functions are actually named
7495 something starting with __ and the normal name is an alias. */
7496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7504 if { (eval echo configure:7505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7506 eval "ac_cv_func_$ac_func=yes"
7508 echo "configure: failed program was:" >&5
7509 cat conftest.$ac_ext >&5
7511 eval "ac_cv_func_$ac_func=no"
7516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7517 echo "$ac_t""yes" 1>&6
7518 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7519 cat >> confdefs.h <<EOF
7520 #define $ac_tr_func 1
7524 echo "$ac_t""no" 1>&6
7530 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
7531 echo "configure:7532: checking for _qfpclass declaration" >&5
7532 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
7533 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7534 echo $ac_n "(cached) $ac_c" 1>&6
7539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7540 ac_cpp='$CXXCPP $CPPFLAGS'
7541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7543 cross_compiling=$ac_cv_prog_cxx_cross
7545 cat > conftest.$ac_ext <<EOF
7546 #line 7547 "configure"
7547 #include "confdefs.h"
7549 #ifdef HAVE_IEEEFP_H
7557 if { (eval echo configure:7558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7559 glibcpp_cv_func__qfpclass_use=yes
7561 echo "configure: failed program was:" >&5
7562 cat conftest.$ac_ext >&5
7564 glibcpp_cv_func__qfpclass_use=no
7568 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7569 ac_cpp='$CPP $CPPFLAGS'
7570 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7571 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7572 cross_compiling=$ac_cv_prog_cc_cross
7578 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7580 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
7581 for ac_func in _qfpclass
7583 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7584 echo "configure:7585: checking for $ac_func" >&5
7585 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7586 echo $ac_n "(cached) $ac_c" 1>&6
7588 cat > conftest.$ac_ext <<EOF
7589 #line 7590 "configure"
7590 #include "confdefs.h"
7591 /* System header to define __stub macros and hopefully few prototypes,
7592 which can conflict with char $ac_func(); below. */
7594 /* Override any gcc2 internal prototype to avoid an error. */
7595 /* We use char because int might match the return type of a gcc2
7596 builtin and then its argument prototype would still apply. */
7601 /* The GNU C library defines this for functions which it implements
7602 to always fail with ENOSYS. Some functions are actually named
7603 something starting with __ and the normal name is an alias. */
7604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7612 if { (eval echo configure:7613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7614 eval "ac_cv_func_$ac_func=yes"
7616 echo "configure: failed program was:" >&5
7617 cat conftest.$ac_ext >&5
7619 eval "ac_cv_func_$ac_func=no"
7624 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7625 echo "$ac_t""yes" 1>&6
7626 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7627 cat >> confdefs.h <<EOF
7628 #define $ac_tr_func 1
7632 echo "$ac_t""no" 1>&6
7641 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
7642 echo "configure:7643: checking for float trig functions" >&5
7643 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
7644 echo $ac_n "(cached) $ac_c" 1>&6
7649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7650 ac_cpp='$CXXCPP $CPPFLAGS'
7651 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7652 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7653 cross_compiling=$ac_cv_prog_cxx_cross
7655 cat > conftest.$ac_ext <<EOF
7656 #line 7657 "configure"
7657 #include "confdefs.h"
7660 `for x in acosf asinf atanf \
7662 coshf sinhf tanhf; do echo "$x (0);"; done`
7665 if { (eval echo configure:7666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7667 glibcpp_cv_func_float_trig_use=yes
7669 echo "configure: failed program was:" >&5
7670 cat conftest.$ac_ext >&5
7672 glibcpp_cv_func_float_trig_use=no
7676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7677 ac_cpp='$CPP $CPPFLAGS'
7678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7680 cross_compiling=$ac_cv_prog_cc_cross
7684 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
7685 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
7686 for ac_func in acosf asinf atanf \
7690 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7691 echo "configure:7692: checking for $ac_func" >&5
7692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7693 echo $ac_n "(cached) $ac_c" 1>&6
7695 cat > conftest.$ac_ext <<EOF
7696 #line 7697 "configure"
7697 #include "confdefs.h"
7698 /* System header to define __stub macros and hopefully few prototypes,
7699 which can conflict with char $ac_func(); below. */
7701 /* Override any gcc2 internal prototype to avoid an error. */
7702 /* We use char because int might match the return type of a gcc2
7703 builtin and then its argument prototype would still apply. */
7708 /* The GNU C library defines this for functions which it implements
7709 to always fail with ENOSYS. Some functions are actually named
7710 something starting with __ and the normal name is an alias. */
7711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7719 if { (eval echo configure:7720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7721 eval "ac_cv_func_$ac_func=yes"
7723 echo "configure: failed program was:" >&5
7724 cat conftest.$ac_ext >&5
7726 eval "ac_cv_func_$ac_func=no"
7731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7732 echo "$ac_t""yes" 1>&6
7733 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7734 cat >> confdefs.h <<EOF
7735 #define $ac_tr_func 1
7739 echo "$ac_t""no" 1>&6
7746 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
7747 echo "configure:7748: checking for float round functions" >&5
7748 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
7749 echo $ac_n "(cached) $ac_c" 1>&6
7754 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7755 ac_cpp='$CXXCPP $CPPFLAGS'
7756 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7757 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7758 cross_compiling=$ac_cv_prog_cxx_cross
7760 cat > conftest.$ac_ext <<EOF
7761 #line 7762 "configure"
7762 #include "confdefs.h"
7765 `for x in ceilf floorf; do echo "$x (0);"; done`
7768 if { (eval echo configure:7769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7770 glibcpp_cv_func_float_round_use=yes
7772 echo "configure: failed program was:" >&5
7773 cat conftest.$ac_ext >&5
7775 glibcpp_cv_func_float_round_use=no
7779 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7780 ac_cpp='$CPP $CPPFLAGS'
7781 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7782 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7783 cross_compiling=$ac_cv_prog_cc_cross
7787 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
7788 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
7789 for ac_func in ceilf floorf
7791 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7792 echo "configure:7793: checking for $ac_func" >&5
7793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7794 echo $ac_n "(cached) $ac_c" 1>&6
7796 cat > conftest.$ac_ext <<EOF
7797 #line 7798 "configure"
7798 #include "confdefs.h"
7799 /* System header to define __stub macros and hopefully few prototypes,
7800 which can conflict with char $ac_func(); below. */
7802 /* Override any gcc2 internal prototype to avoid an error. */
7803 /* We use char because int might match the return type of a gcc2
7804 builtin and then its argument prototype would still apply. */
7809 /* The GNU C library defines this for functions which it implements
7810 to always fail with ENOSYS. Some functions are actually named
7811 something starting with __ and the normal name is an alias. */
7812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7820 if { (eval echo configure:7821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7822 eval "ac_cv_func_$ac_func=yes"
7824 echo "configure: failed program was:" >&5
7825 cat conftest.$ac_ext >&5
7827 eval "ac_cv_func_$ac_func=no"
7832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7833 echo "$ac_t""yes" 1>&6
7834 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7835 cat >> confdefs.h <<EOF
7836 #define $ac_tr_func 1
7840 echo "$ac_t""no" 1>&6
7848 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
7849 echo "configure:7850: checking for isnanf declaration" >&5
7850 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
7851 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
7852 echo $ac_n "(cached) $ac_c" 1>&6
7857 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7858 ac_cpp='$CXXCPP $CPPFLAGS'
7859 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7860 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7861 cross_compiling=$ac_cv_prog_cxx_cross
7863 cat > conftest.$ac_ext <<EOF
7864 #line 7865 "configure"
7865 #include "confdefs.h"
7867 #ifdef HAVE_IEEEFP_H
7875 if { (eval echo configure:7876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7877 glibcpp_cv_func_isnanf_use=yes
7879 echo "configure: failed program was:" >&5
7880 cat conftest.$ac_ext >&5
7882 glibcpp_cv_func_isnanf_use=no
7886 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7887 ac_cpp='$CPP $CPPFLAGS'
7888 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7889 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7890 cross_compiling=$ac_cv_prog_cc_cross
7896 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
7898 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
7899 for ac_func in isnanf
7901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7902 echo "configure:7903: checking for $ac_func" >&5
7903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7904 echo $ac_n "(cached) $ac_c" 1>&6
7906 cat > conftest.$ac_ext <<EOF
7907 #line 7908 "configure"
7908 #include "confdefs.h"
7909 /* System header to define __stub macros and hopefully few prototypes,
7910 which can conflict with char $ac_func(); below. */
7912 /* Override any gcc2 internal prototype to avoid an error. */
7913 /* We use char because int might match the return type of a gcc2
7914 builtin and then its argument prototype would still apply. */
7919 /* The GNU C library defines this for functions which it implements
7920 to always fail with ENOSYS. Some functions are actually named
7921 something starting with __ and the normal name is an alias. */
7922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7930 if { (eval echo configure:7931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7932 eval "ac_cv_func_$ac_func=yes"
7934 echo "configure: failed program was:" >&5
7935 cat conftest.$ac_ext >&5
7937 eval "ac_cv_func_$ac_func=no"
7942 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7943 echo "$ac_t""yes" 1>&6
7944 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7945 cat >> confdefs.h <<EOF
7946 #define $ac_tr_func 1
7950 echo "$ac_t""no" 1>&6
7956 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
7957 echo "configure:7958: checking for _isnanf declaration" >&5
7958 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
7959 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
7960 echo $ac_n "(cached) $ac_c" 1>&6
7965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7966 ac_cpp='$CXXCPP $CPPFLAGS'
7967 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7968 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7969 cross_compiling=$ac_cv_prog_cxx_cross
7971 cat > conftest.$ac_ext <<EOF
7972 #line 7973 "configure"
7973 #include "confdefs.h"
7975 #ifdef HAVE_IEEEFP_H
7983 if { (eval echo configure:7984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7985 glibcpp_cv_func__isnanf_use=yes
7987 echo "configure: failed program was:" >&5
7988 cat conftest.$ac_ext >&5
7990 glibcpp_cv_func__isnanf_use=no
7994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7995 ac_cpp='$CPP $CPPFLAGS'
7996 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7997 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7998 cross_compiling=$ac_cv_prog_cc_cross
8004 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8006 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
8007 for ac_func in _isnanf
8009 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8010 echo "configure:8011: checking for $ac_func" >&5
8011 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8012 echo $ac_n "(cached) $ac_c" 1>&6
8014 cat > conftest.$ac_ext <<EOF
8015 #line 8016 "configure"
8016 #include "confdefs.h"
8017 /* System header to define __stub macros and hopefully few prototypes,
8018 which can conflict with char $ac_func(); below. */
8020 /* Override any gcc2 internal prototype to avoid an error. */
8021 /* We use char because int might match the return type of a gcc2
8022 builtin and then its argument prototype would still apply. */
8027 /* The GNU C library defines this for functions which it implements
8028 to always fail with ENOSYS. Some functions are actually named
8029 something starting with __ and the normal name is an alias. */
8030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8038 if { (eval echo configure:8039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8040 eval "ac_cv_func_$ac_func=yes"
8042 echo "configure: failed program was:" >&5
8043 cat conftest.$ac_ext >&5
8045 eval "ac_cv_func_$ac_func=no"
8050 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8051 echo "$ac_t""yes" 1>&6
8052 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8053 cat >> confdefs.h <<EOF
8054 #define $ac_tr_func 1
8058 echo "$ac_t""no" 1>&6
8067 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
8068 echo "configure:8069: checking for isinff declaration" >&5
8069 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
8070 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8071 echo $ac_n "(cached) $ac_c" 1>&6
8076 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8077 ac_cpp='$CXXCPP $CPPFLAGS'
8078 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8079 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8080 cross_compiling=$ac_cv_prog_cxx_cross
8082 cat > conftest.$ac_ext <<EOF
8083 #line 8084 "configure"
8084 #include "confdefs.h"
8086 #ifdef HAVE_IEEEFP_H
8094 if { (eval echo configure:8095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8096 glibcpp_cv_func_isinff_use=yes
8098 echo "configure: failed program was:" >&5
8099 cat conftest.$ac_ext >&5
8101 glibcpp_cv_func_isinff_use=no
8105 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8106 ac_cpp='$CPP $CPPFLAGS'
8107 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8108 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8109 cross_compiling=$ac_cv_prog_cc_cross
8115 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8117 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
8118 for ac_func in isinff
8120 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8121 echo "configure:8122: checking for $ac_func" >&5
8122 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8123 echo $ac_n "(cached) $ac_c" 1>&6
8125 cat > conftest.$ac_ext <<EOF
8126 #line 8127 "configure"
8127 #include "confdefs.h"
8128 /* System header to define __stub macros and hopefully few prototypes,
8129 which can conflict with char $ac_func(); below. */
8131 /* Override any gcc2 internal prototype to avoid an error. */
8132 /* We use char because int might match the return type of a gcc2
8133 builtin and then its argument prototype would still apply. */
8138 /* The GNU C library defines this for functions which it implements
8139 to always fail with ENOSYS. Some functions are actually named
8140 something starting with __ and the normal name is an alias. */
8141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8149 if { (eval echo configure:8150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8151 eval "ac_cv_func_$ac_func=yes"
8153 echo "configure: failed program was:" >&5
8154 cat conftest.$ac_ext >&5
8156 eval "ac_cv_func_$ac_func=no"
8161 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8162 echo "$ac_t""yes" 1>&6
8163 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8164 cat >> confdefs.h <<EOF
8165 #define $ac_tr_func 1
8169 echo "$ac_t""no" 1>&6
8175 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
8176 echo "configure:8177: checking for _isinff declaration" >&5
8177 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
8178 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8179 echo $ac_n "(cached) $ac_c" 1>&6
8184 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8185 ac_cpp='$CXXCPP $CPPFLAGS'
8186 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8187 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8188 cross_compiling=$ac_cv_prog_cxx_cross
8190 cat > conftest.$ac_ext <<EOF
8191 #line 8192 "configure"
8192 #include "confdefs.h"
8194 #ifdef HAVE_IEEEFP_H
8202 if { (eval echo configure:8203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8204 glibcpp_cv_func__isinff_use=yes
8206 echo "configure: failed program was:" >&5
8207 cat conftest.$ac_ext >&5
8209 glibcpp_cv_func__isinff_use=no
8213 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8214 ac_cpp='$CPP $CPPFLAGS'
8215 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8216 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8217 cross_compiling=$ac_cv_prog_cc_cross
8223 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8225 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8226 for ac_func in _isinff
8228 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8229 echo "configure:8230: checking for $ac_func" >&5
8230 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8231 echo $ac_n "(cached) $ac_c" 1>&6
8233 cat > conftest.$ac_ext <<EOF
8234 #line 8235 "configure"
8235 #include "confdefs.h"
8236 /* System header to define __stub macros and hopefully few prototypes,
8237 which can conflict with char $ac_func(); below. */
8239 /* Override any gcc2 internal prototype to avoid an error. */
8240 /* We use char because int might match the return type of a gcc2
8241 builtin and then its argument prototype would still apply. */
8246 /* The GNU C library defines this for functions which it implements
8247 to always fail with ENOSYS. Some functions are actually named
8248 something starting with __ and the normal name is an alias. */
8249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8257 if { (eval echo configure:8258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8259 eval "ac_cv_func_$ac_func=yes"
8261 echo "configure: failed program was:" >&5
8262 cat conftest.$ac_ext >&5
8264 eval "ac_cv_func_$ac_func=no"
8269 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8270 echo "$ac_t""yes" 1>&6
8271 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8272 cat >> confdefs.h <<EOF
8273 #define $ac_tr_func 1
8277 echo "$ac_t""no" 1>&6
8286 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
8287 echo "configure:8288: checking for fabsf declaration" >&5
8288 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
8289 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8290 echo $ac_n "(cached) $ac_c" 1>&6
8295 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8296 ac_cpp='$CXXCPP $CPPFLAGS'
8297 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8298 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8299 cross_compiling=$ac_cv_prog_cxx_cross
8301 cat > conftest.$ac_ext <<EOF
8302 #line 8303 "configure"
8303 #include "confdefs.h"
8305 #ifdef HAVE_IEEEFP_H
8313 if { (eval echo configure:8314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8315 glibcpp_cv_func_fabsf_use=yes
8317 echo "configure: failed program was:" >&5
8318 cat conftest.$ac_ext >&5
8320 glibcpp_cv_func_fabsf_use=no
8324 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8325 ac_cpp='$CPP $CPPFLAGS'
8326 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8327 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8328 cross_compiling=$ac_cv_prog_cc_cross
8334 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8336 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
8337 for ac_func in fabsf
8339 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8340 echo "configure:8341: checking for $ac_func" >&5
8341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8342 echo $ac_n "(cached) $ac_c" 1>&6
8344 cat > conftest.$ac_ext <<EOF
8345 #line 8346 "configure"
8346 #include "confdefs.h"
8347 /* System header to define __stub macros and hopefully few prototypes,
8348 which can conflict with char $ac_func(); below. */
8350 /* Override any gcc2 internal prototype to avoid an error. */
8351 /* We use char because int might match the return type of a gcc2
8352 builtin and then its argument prototype would still apply. */
8357 /* The GNU C library defines this for functions which it implements
8358 to always fail with ENOSYS. Some functions are actually named
8359 something starting with __ and the normal name is an alias. */
8360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8368 if { (eval echo configure:8369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8370 eval "ac_cv_func_$ac_func=yes"
8372 echo "configure: failed program was:" >&5
8373 cat conftest.$ac_ext >&5
8375 eval "ac_cv_func_$ac_func=no"
8380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8381 echo "$ac_t""yes" 1>&6
8382 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8383 cat >> confdefs.h <<EOF
8384 #define $ac_tr_func 1
8388 echo "$ac_t""no" 1>&6
8394 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
8395 echo "configure:8396: checking for _fabsf declaration" >&5
8396 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
8397 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
8398 echo $ac_n "(cached) $ac_c" 1>&6
8403 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8404 ac_cpp='$CXXCPP $CPPFLAGS'
8405 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8406 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8407 cross_compiling=$ac_cv_prog_cxx_cross
8409 cat > conftest.$ac_ext <<EOF
8410 #line 8411 "configure"
8411 #include "confdefs.h"
8413 #ifdef HAVE_IEEEFP_H
8421 if { (eval echo configure:8422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8423 glibcpp_cv_func__fabsf_use=yes
8425 echo "configure: failed program was:" >&5
8426 cat conftest.$ac_ext >&5
8428 glibcpp_cv_func__fabsf_use=no
8432 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8433 ac_cpp='$CPP $CPPFLAGS'
8434 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8435 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8436 cross_compiling=$ac_cv_prog_cc_cross
8442 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
8444 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
8445 for ac_func in _fabsf
8447 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8448 echo "configure:8449: checking for $ac_func" >&5
8449 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8450 echo $ac_n "(cached) $ac_c" 1>&6
8452 cat > conftest.$ac_ext <<EOF
8453 #line 8454 "configure"
8454 #include "confdefs.h"
8455 /* System header to define __stub macros and hopefully few prototypes,
8456 which can conflict with char $ac_func(); below. */
8458 /* Override any gcc2 internal prototype to avoid an error. */
8459 /* We use char because int might match the return type of a gcc2
8460 builtin and then its argument prototype would still apply. */
8465 /* The GNU C library defines this for functions which it implements
8466 to always fail with ENOSYS. Some functions are actually named
8467 something starting with __ and the normal name is an alias. */
8468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8476 if { (eval echo configure:8477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8478 eval "ac_cv_func_$ac_func=yes"
8480 echo "configure: failed program was:" >&5
8481 cat conftest.$ac_ext >&5
8483 eval "ac_cv_func_$ac_func=no"
8488 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8489 echo "$ac_t""yes" 1>&6
8490 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8491 cat >> confdefs.h <<EOF
8492 #define $ac_tr_func 1
8496 echo "$ac_t""no" 1>&6
8505 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
8506 echo "configure:8507: checking for fmodf declaration" >&5
8507 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
8508 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
8509 echo $ac_n "(cached) $ac_c" 1>&6
8514 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8515 ac_cpp='$CXXCPP $CPPFLAGS'
8516 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8517 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8518 cross_compiling=$ac_cv_prog_cxx_cross
8520 cat > conftest.$ac_ext <<EOF
8521 #line 8522 "configure"
8522 #include "confdefs.h"
8528 if { (eval echo configure:8529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8530 glibcpp_cv_func_fmodf_use=yes
8532 echo "configure: failed program was:" >&5
8533 cat conftest.$ac_ext >&5
8535 glibcpp_cv_func_fmodf_use=no
8539 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8540 ac_cpp='$CPP $CPPFLAGS'
8541 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8542 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8543 cross_compiling=$ac_cv_prog_cc_cross
8549 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
8551 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
8552 for ac_func in fmodf
8554 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8555 echo "configure:8556: checking for $ac_func" >&5
8556 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8557 echo $ac_n "(cached) $ac_c" 1>&6
8559 cat > conftest.$ac_ext <<EOF
8560 #line 8561 "configure"
8561 #include "confdefs.h"
8562 /* System header to define __stub macros and hopefully few prototypes,
8563 which can conflict with char $ac_func(); below. */
8565 /* Override any gcc2 internal prototype to avoid an error. */
8566 /* We use char because int might match the return type of a gcc2
8567 builtin and then its argument prototype would still apply. */
8572 /* The GNU C library defines this for functions which it implements
8573 to always fail with ENOSYS. Some functions are actually named
8574 something starting with __ and the normal name is an alias. */
8575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8583 if { (eval echo configure:8584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8585 eval "ac_cv_func_$ac_func=yes"
8587 echo "configure: failed program was:" >&5
8588 cat conftest.$ac_ext >&5
8590 eval "ac_cv_func_$ac_func=no"
8595 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8596 echo "$ac_t""yes" 1>&6
8597 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8598 cat >> confdefs.h <<EOF
8599 #define $ac_tr_func 1
8603 echo "$ac_t""no" 1>&6
8609 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
8610 echo "configure:8611: checking for _fmodf declaration" >&5
8611 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
8612 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
8613 echo $ac_n "(cached) $ac_c" 1>&6
8618 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8619 ac_cpp='$CXXCPP $CPPFLAGS'
8620 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8621 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8622 cross_compiling=$ac_cv_prog_cxx_cross
8624 cat > conftest.$ac_ext <<EOF
8625 #line 8626 "configure"
8626 #include "confdefs.h"
8632 if { (eval echo configure:8633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8634 glibcpp_cv_func__fmodf_use=yes
8636 echo "configure: failed program was:" >&5
8637 cat conftest.$ac_ext >&5
8639 glibcpp_cv_func__fmodf_use=no
8643 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8644 ac_cpp='$CPP $CPPFLAGS'
8645 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8646 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8647 cross_compiling=$ac_cv_prog_cc_cross
8653 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
8655 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
8656 for ac_func in _fmodf
8658 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8659 echo "configure:8660: checking for $ac_func" >&5
8660 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8661 echo $ac_n "(cached) $ac_c" 1>&6
8663 cat > conftest.$ac_ext <<EOF
8664 #line 8665 "configure"
8665 #include "confdefs.h"
8666 /* System header to define __stub macros and hopefully few prototypes,
8667 which can conflict with char $ac_func(); below. */
8669 /* Override any gcc2 internal prototype to avoid an error. */
8670 /* We use char because int might match the return type of a gcc2
8671 builtin and then its argument prototype would still apply. */
8676 /* The GNU C library defines this for functions which it implements
8677 to always fail with ENOSYS. Some functions are actually named
8678 something starting with __ and the normal name is an alias. */
8679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8687 if { (eval echo configure:8688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8689 eval "ac_cv_func_$ac_func=yes"
8691 echo "configure: failed program was:" >&5
8692 cat conftest.$ac_ext >&5
8694 eval "ac_cv_func_$ac_func=no"
8699 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8700 echo "$ac_t""yes" 1>&6
8701 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8702 cat >> confdefs.h <<EOF
8703 #define $ac_tr_func 1
8707 echo "$ac_t""no" 1>&6
8716 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
8717 echo "configure:8718: checking for frexpf declaration" >&5
8718 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
8719 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
8720 echo $ac_n "(cached) $ac_c" 1>&6
8725 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8726 ac_cpp='$CXXCPP $CPPFLAGS'
8727 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8728 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8729 cross_compiling=$ac_cv_prog_cxx_cross
8731 cat > conftest.$ac_ext <<EOF
8732 #line 8733 "configure"
8733 #include "confdefs.h"
8739 if { (eval echo configure:8740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8741 glibcpp_cv_func_frexpf_use=yes
8743 echo "configure: failed program was:" >&5
8744 cat conftest.$ac_ext >&5
8746 glibcpp_cv_func_frexpf_use=no
8750 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8751 ac_cpp='$CPP $CPPFLAGS'
8752 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8753 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8754 cross_compiling=$ac_cv_prog_cc_cross
8760 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
8762 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
8763 for ac_func in frexpf
8765 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8766 echo "configure:8767: checking for $ac_func" >&5
8767 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8768 echo $ac_n "(cached) $ac_c" 1>&6
8770 cat > conftest.$ac_ext <<EOF
8771 #line 8772 "configure"
8772 #include "confdefs.h"
8773 /* System header to define __stub macros and hopefully few prototypes,
8774 which can conflict with char $ac_func(); below. */
8776 /* Override any gcc2 internal prototype to avoid an error. */
8777 /* We use char because int might match the return type of a gcc2
8778 builtin and then its argument prototype would still apply. */
8783 /* The GNU C library defines this for functions which it implements
8784 to always fail with ENOSYS. Some functions are actually named
8785 something starting with __ and the normal name is an alias. */
8786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8794 if { (eval echo configure:8795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8796 eval "ac_cv_func_$ac_func=yes"
8798 echo "configure: failed program was:" >&5
8799 cat conftest.$ac_ext >&5
8801 eval "ac_cv_func_$ac_func=no"
8806 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8807 echo "$ac_t""yes" 1>&6
8808 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8809 cat >> confdefs.h <<EOF
8810 #define $ac_tr_func 1
8814 echo "$ac_t""no" 1>&6
8820 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
8821 echo "configure:8822: checking for _frexpf declaration" >&5
8822 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
8823 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
8824 echo $ac_n "(cached) $ac_c" 1>&6
8829 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8830 ac_cpp='$CXXCPP $CPPFLAGS'
8831 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8832 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8833 cross_compiling=$ac_cv_prog_cxx_cross
8835 cat > conftest.$ac_ext <<EOF
8836 #line 8837 "configure"
8837 #include "confdefs.h"
8843 if { (eval echo configure:8844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8845 glibcpp_cv_func__frexpf_use=yes
8847 echo "configure: failed program was:" >&5
8848 cat conftest.$ac_ext >&5
8850 glibcpp_cv_func__frexpf_use=no
8854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8855 ac_cpp='$CPP $CPPFLAGS'
8856 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8857 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8858 cross_compiling=$ac_cv_prog_cc_cross
8864 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
8866 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
8867 for ac_func in _frexpf
8869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8870 echo "configure:8871: checking for $ac_func" >&5
8871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8872 echo $ac_n "(cached) $ac_c" 1>&6
8874 cat > conftest.$ac_ext <<EOF
8875 #line 8876 "configure"
8876 #include "confdefs.h"
8877 /* System header to define __stub macros and hopefully few prototypes,
8878 which can conflict with char $ac_func(); below. */
8880 /* Override any gcc2 internal prototype to avoid an error. */
8881 /* We use char because int might match the return type of a gcc2
8882 builtin and then its argument prototype would still apply. */
8887 /* The GNU C library defines this for functions which it implements
8888 to always fail with ENOSYS. Some functions are actually named
8889 something starting with __ and the normal name is an alias. */
8890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8898 if { (eval echo configure:8899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8900 eval "ac_cv_func_$ac_func=yes"
8902 echo "configure: failed program was:" >&5
8903 cat conftest.$ac_ext >&5
8905 eval "ac_cv_func_$ac_func=no"
8910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8911 echo "$ac_t""yes" 1>&6
8912 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8913 cat >> confdefs.h <<EOF
8914 #define $ac_tr_func 1
8918 echo "$ac_t""no" 1>&6
8927 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
8928 echo "configure:8929: checking for ldexpf declaration" >&5
8929 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
8930 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
8931 echo $ac_n "(cached) $ac_c" 1>&6
8936 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8937 ac_cpp='$CXXCPP $CPPFLAGS'
8938 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8939 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8940 cross_compiling=$ac_cv_prog_cxx_cross
8942 cat > conftest.$ac_ext <<EOF
8943 #line 8944 "configure"
8944 #include "confdefs.h"
8950 if { (eval echo configure:8951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8952 glibcpp_cv_func_ldexpf_use=yes
8954 echo "configure: failed program was:" >&5
8955 cat conftest.$ac_ext >&5
8957 glibcpp_cv_func_ldexpf_use=no
8961 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8962 ac_cpp='$CPP $CPPFLAGS'
8963 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8964 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8965 cross_compiling=$ac_cv_prog_cc_cross
8971 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
8973 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
8974 for ac_func in ldexpf
8976 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8977 echo "configure:8978: checking for $ac_func" >&5
8978 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8979 echo $ac_n "(cached) $ac_c" 1>&6
8981 cat > conftest.$ac_ext <<EOF
8982 #line 8983 "configure"
8983 #include "confdefs.h"
8984 /* System header to define __stub macros and hopefully few prototypes,
8985 which can conflict with char $ac_func(); below. */
8987 /* Override any gcc2 internal prototype to avoid an error. */
8988 /* We use char because int might match the return type of a gcc2
8989 builtin and then its argument prototype would still apply. */
8994 /* The GNU C library defines this for functions which it implements
8995 to always fail with ENOSYS. Some functions are actually named
8996 something starting with __ and the normal name is an alias. */
8997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9005 if { (eval echo configure:9006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9007 eval "ac_cv_func_$ac_func=yes"
9009 echo "configure: failed program was:" >&5
9010 cat conftest.$ac_ext >&5
9012 eval "ac_cv_func_$ac_func=no"
9017 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9018 echo "$ac_t""yes" 1>&6
9019 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9020 cat >> confdefs.h <<EOF
9021 #define $ac_tr_func 1
9025 echo "$ac_t""no" 1>&6
9031 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
9032 echo "configure:9033: checking for _ldexpf declaration" >&5
9033 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
9034 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9035 echo $ac_n "(cached) $ac_c" 1>&6
9040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9041 ac_cpp='$CXXCPP $CPPFLAGS'
9042 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9043 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9044 cross_compiling=$ac_cv_prog_cxx_cross
9046 cat > conftest.$ac_ext <<EOF
9047 #line 9048 "configure"
9048 #include "confdefs.h"
9054 if { (eval echo configure:9055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9056 glibcpp_cv_func__ldexpf_use=yes
9058 echo "configure: failed program was:" >&5
9059 cat conftest.$ac_ext >&5
9061 glibcpp_cv_func__ldexpf_use=no
9065 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9066 ac_cpp='$CPP $CPPFLAGS'
9067 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9068 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9069 cross_compiling=$ac_cv_prog_cc_cross
9075 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
9077 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
9078 for ac_func in _ldexpf
9080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9081 echo "configure:9082: checking for $ac_func" >&5
9082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9083 echo $ac_n "(cached) $ac_c" 1>&6
9085 cat > conftest.$ac_ext <<EOF
9086 #line 9087 "configure"
9087 #include "confdefs.h"
9088 /* System header to define __stub macros and hopefully few prototypes,
9089 which can conflict with char $ac_func(); below. */
9091 /* Override any gcc2 internal prototype to avoid an error. */
9092 /* We use char because int might match the return type of a gcc2
9093 builtin and then its argument prototype would still apply. */
9098 /* The GNU C library defines this for functions which it implements
9099 to always fail with ENOSYS. Some functions are actually named
9100 something starting with __ and the normal name is an alias. */
9101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9109 if { (eval echo configure:9110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9111 eval "ac_cv_func_$ac_func=yes"
9113 echo "configure: failed program was:" >&5
9114 cat conftest.$ac_ext >&5
9116 eval "ac_cv_func_$ac_func=no"
9121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9122 echo "$ac_t""yes" 1>&6
9123 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9124 cat >> confdefs.h <<EOF
9125 #define $ac_tr_func 1
9129 echo "$ac_t""no" 1>&6
9138 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
9139 echo "configure:9140: checking for logf declaration" >&5
9140 if test x${glibcpp_cv_func_logf_use+set} != xset; then
9141 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
9142 echo $ac_n "(cached) $ac_c" 1>&6
9147 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9148 ac_cpp='$CXXCPP $CPPFLAGS'
9149 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9150 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9151 cross_compiling=$ac_cv_prog_cxx_cross
9153 cat > conftest.$ac_ext <<EOF
9154 #line 9155 "configure"
9155 #include "confdefs.h"
9157 #ifdef HAVE_IEEEFP_H
9165 if { (eval echo configure:9166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9167 glibcpp_cv_func_logf_use=yes
9169 echo "configure: failed program was:" >&5
9170 cat conftest.$ac_ext >&5
9172 glibcpp_cv_func_logf_use=no
9176 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9177 ac_cpp='$CPP $CPPFLAGS'
9178 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9179 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9180 cross_compiling=$ac_cv_prog_cc_cross
9186 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
9188 if test x$glibcpp_cv_func_logf_use = x"yes"; then
9191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9192 echo "configure:9193: checking for $ac_func" >&5
9193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9194 echo $ac_n "(cached) $ac_c" 1>&6
9196 cat > conftest.$ac_ext <<EOF
9197 #line 9198 "configure"
9198 #include "confdefs.h"
9199 /* System header to define __stub macros and hopefully few prototypes,
9200 which can conflict with char $ac_func(); below. */
9202 /* Override any gcc2 internal prototype to avoid an error. */
9203 /* We use char because int might match the return type of a gcc2
9204 builtin and then its argument prototype would still apply. */
9209 /* The GNU C library defines this for functions which it implements
9210 to always fail with ENOSYS. Some functions are actually named
9211 something starting with __ and the normal name is an alias. */
9212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9220 if { (eval echo configure:9221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9222 eval "ac_cv_func_$ac_func=yes"
9224 echo "configure: failed program was:" >&5
9225 cat conftest.$ac_ext >&5
9227 eval "ac_cv_func_$ac_func=no"
9232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9233 echo "$ac_t""yes" 1>&6
9234 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9235 cat >> confdefs.h <<EOF
9236 #define $ac_tr_func 1
9240 echo "$ac_t""no" 1>&6
9246 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
9247 echo "configure:9248: checking for _logf declaration" >&5
9248 if test x${glibcpp_cv_func__logf_use+set} != xset; then
9249 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
9250 echo $ac_n "(cached) $ac_c" 1>&6
9255 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9256 ac_cpp='$CXXCPP $CPPFLAGS'
9257 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9258 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9259 cross_compiling=$ac_cv_prog_cxx_cross
9261 cat > conftest.$ac_ext <<EOF
9262 #line 9263 "configure"
9263 #include "confdefs.h"
9265 #ifdef HAVE_IEEEFP_H
9273 if { (eval echo configure:9274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9275 glibcpp_cv_func__logf_use=yes
9277 echo "configure: failed program was:" >&5
9278 cat conftest.$ac_ext >&5
9280 glibcpp_cv_func__logf_use=no
9284 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9285 ac_cpp='$CPP $CPPFLAGS'
9286 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9287 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9288 cross_compiling=$ac_cv_prog_cc_cross
9294 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
9296 if test x$glibcpp_cv_func__logf_use = x"yes"; then
9297 for ac_func in _logf
9299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9300 echo "configure:9301: checking for $ac_func" >&5
9301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9302 echo $ac_n "(cached) $ac_c" 1>&6
9304 cat > conftest.$ac_ext <<EOF
9305 #line 9306 "configure"
9306 #include "confdefs.h"
9307 /* System header to define __stub macros and hopefully few prototypes,
9308 which can conflict with char $ac_func(); below. */
9310 /* Override any gcc2 internal prototype to avoid an error. */
9311 /* We use char because int might match the return type of a gcc2
9312 builtin and then its argument prototype would still apply. */
9317 /* The GNU C library defines this for functions which it implements
9318 to always fail with ENOSYS. Some functions are actually named
9319 something starting with __ and the normal name is an alias. */
9320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9328 if { (eval echo configure:9329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9330 eval "ac_cv_func_$ac_func=yes"
9332 echo "configure: failed program was:" >&5
9333 cat conftest.$ac_ext >&5
9335 eval "ac_cv_func_$ac_func=no"
9340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9341 echo "$ac_t""yes" 1>&6
9342 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9343 cat >> confdefs.h <<EOF
9344 #define $ac_tr_func 1
9348 echo "$ac_t""no" 1>&6
9357 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
9358 echo "configure:9359: checking for log10f declaration" >&5
9359 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
9360 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
9361 echo $ac_n "(cached) $ac_c" 1>&6
9366 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9367 ac_cpp='$CXXCPP $CPPFLAGS'
9368 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9369 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9370 cross_compiling=$ac_cv_prog_cxx_cross
9372 cat > conftest.$ac_ext <<EOF
9373 #line 9374 "configure"
9374 #include "confdefs.h"
9376 #ifdef HAVE_IEEEFP_H
9384 if { (eval echo configure:9385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9386 glibcpp_cv_func_log10f_use=yes
9388 echo "configure: failed program was:" >&5
9389 cat conftest.$ac_ext >&5
9391 glibcpp_cv_func_log10f_use=no
9395 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9396 ac_cpp='$CPP $CPPFLAGS'
9397 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9398 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9399 cross_compiling=$ac_cv_prog_cc_cross
9405 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
9407 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
9408 for ac_func in log10f
9410 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9411 echo "configure:9412: checking for $ac_func" >&5
9412 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9413 echo $ac_n "(cached) $ac_c" 1>&6
9415 cat > conftest.$ac_ext <<EOF
9416 #line 9417 "configure"
9417 #include "confdefs.h"
9418 /* System header to define __stub macros and hopefully few prototypes,
9419 which can conflict with char $ac_func(); below. */
9421 /* Override any gcc2 internal prototype to avoid an error. */
9422 /* We use char because int might match the return type of a gcc2
9423 builtin and then its argument prototype would still apply. */
9428 /* The GNU C library defines this for functions which it implements
9429 to always fail with ENOSYS. Some functions are actually named
9430 something starting with __ and the normal name is an alias. */
9431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9439 if { (eval echo configure:9440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9441 eval "ac_cv_func_$ac_func=yes"
9443 echo "configure: failed program was:" >&5
9444 cat conftest.$ac_ext >&5
9446 eval "ac_cv_func_$ac_func=no"
9451 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9452 echo "$ac_t""yes" 1>&6
9453 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9454 cat >> confdefs.h <<EOF
9455 #define $ac_tr_func 1
9459 echo "$ac_t""no" 1>&6
9465 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
9466 echo "configure:9467: checking for _log10f declaration" >&5
9467 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
9468 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
9469 echo $ac_n "(cached) $ac_c" 1>&6
9474 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9475 ac_cpp='$CXXCPP $CPPFLAGS'
9476 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9477 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9478 cross_compiling=$ac_cv_prog_cxx_cross
9480 cat > conftest.$ac_ext <<EOF
9481 #line 9482 "configure"
9482 #include "confdefs.h"
9484 #ifdef HAVE_IEEEFP_H
9492 if { (eval echo configure:9493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9494 glibcpp_cv_func__log10f_use=yes
9496 echo "configure: failed program was:" >&5
9497 cat conftest.$ac_ext >&5
9499 glibcpp_cv_func__log10f_use=no
9503 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9504 ac_cpp='$CPP $CPPFLAGS'
9505 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9506 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9507 cross_compiling=$ac_cv_prog_cc_cross
9513 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
9515 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
9516 for ac_func in _log10f
9518 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9519 echo "configure:9520: checking for $ac_func" >&5
9520 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9521 echo $ac_n "(cached) $ac_c" 1>&6
9523 cat > conftest.$ac_ext <<EOF
9524 #line 9525 "configure"
9525 #include "confdefs.h"
9526 /* System header to define __stub macros and hopefully few prototypes,
9527 which can conflict with char $ac_func(); below. */
9529 /* Override any gcc2 internal prototype to avoid an error. */
9530 /* We use char because int might match the return type of a gcc2
9531 builtin and then its argument prototype would still apply. */
9536 /* The GNU C library defines this for functions which it implements
9537 to always fail with ENOSYS. Some functions are actually named
9538 something starting with __ and the normal name is an alias. */
9539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9547 if { (eval echo configure:9548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9549 eval "ac_cv_func_$ac_func=yes"
9551 echo "configure: failed program was:" >&5
9552 cat conftest.$ac_ext >&5
9554 eval "ac_cv_func_$ac_func=no"
9559 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9560 echo "$ac_t""yes" 1>&6
9561 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9562 cat >> confdefs.h <<EOF
9563 #define $ac_tr_func 1
9567 echo "$ac_t""no" 1>&6
9576 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
9577 echo "configure:9578: checking for modff declaration" >&5
9578 if test x${glibcpp_cv_func_modff_use+set} != xset; then
9579 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
9580 echo $ac_n "(cached) $ac_c" 1>&6
9585 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9586 ac_cpp='$CXXCPP $CPPFLAGS'
9587 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9588 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9589 cross_compiling=$ac_cv_prog_cxx_cross
9591 cat > conftest.$ac_ext <<EOF
9592 #line 9593 "configure"
9593 #include "confdefs.h"
9599 if { (eval echo configure:9600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9601 glibcpp_cv_func_modff_use=yes
9603 echo "configure: failed program was:" >&5
9604 cat conftest.$ac_ext >&5
9606 glibcpp_cv_func_modff_use=no
9610 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9611 ac_cpp='$CPP $CPPFLAGS'
9612 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9613 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9614 cross_compiling=$ac_cv_prog_cc_cross
9620 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
9622 if test x$glibcpp_cv_func_modff_use = x"yes"; then
9623 for ac_func in modff
9625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9626 echo "configure:9627: checking for $ac_func" >&5
9627 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9628 echo $ac_n "(cached) $ac_c" 1>&6
9630 cat > conftest.$ac_ext <<EOF
9631 #line 9632 "configure"
9632 #include "confdefs.h"
9633 /* System header to define __stub macros and hopefully few prototypes,
9634 which can conflict with char $ac_func(); below. */
9636 /* Override any gcc2 internal prototype to avoid an error. */
9637 /* We use char because int might match the return type of a gcc2
9638 builtin and then its argument prototype would still apply. */
9643 /* The GNU C library defines this for functions which it implements
9644 to always fail with ENOSYS. Some functions are actually named
9645 something starting with __ and the normal name is an alias. */
9646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9654 if { (eval echo configure:9655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9656 eval "ac_cv_func_$ac_func=yes"
9658 echo "configure: failed program was:" >&5
9659 cat conftest.$ac_ext >&5
9661 eval "ac_cv_func_$ac_func=no"
9666 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9667 echo "$ac_t""yes" 1>&6
9668 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9669 cat >> confdefs.h <<EOF
9670 #define $ac_tr_func 1
9674 echo "$ac_t""no" 1>&6
9680 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
9681 echo "configure:9682: checking for _modff declaration" >&5
9682 if test x${glibcpp_cv_func__modff_use+set} != xset; then
9683 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
9684 echo $ac_n "(cached) $ac_c" 1>&6
9689 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9690 ac_cpp='$CXXCPP $CPPFLAGS'
9691 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9692 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9693 cross_compiling=$ac_cv_prog_cxx_cross
9695 cat > conftest.$ac_ext <<EOF
9696 #line 9697 "configure"
9697 #include "confdefs.h"
9703 if { (eval echo configure:9704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9705 glibcpp_cv_func__modff_use=yes
9707 echo "configure: failed program was:" >&5
9708 cat conftest.$ac_ext >&5
9710 glibcpp_cv_func__modff_use=no
9714 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9715 ac_cpp='$CPP $CPPFLAGS'
9716 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9717 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9718 cross_compiling=$ac_cv_prog_cc_cross
9724 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
9726 if test x$glibcpp_cv_func__modff_use = x"yes"; then
9727 for ac_func in _modff
9729 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9730 echo "configure:9731: checking for $ac_func" >&5
9731 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9732 echo $ac_n "(cached) $ac_c" 1>&6
9734 cat > conftest.$ac_ext <<EOF
9735 #line 9736 "configure"
9736 #include "confdefs.h"
9737 /* System header to define __stub macros and hopefully few prototypes,
9738 which can conflict with char $ac_func(); below. */
9740 /* Override any gcc2 internal prototype to avoid an error. */
9741 /* We use char because int might match the return type of a gcc2
9742 builtin and then its argument prototype would still apply. */
9747 /* The GNU C library defines this for functions which it implements
9748 to always fail with ENOSYS. Some functions are actually named
9749 something starting with __ and the normal name is an alias. */
9750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9758 if { (eval echo configure:9759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9760 eval "ac_cv_func_$ac_func=yes"
9762 echo "configure: failed program was:" >&5
9763 cat conftest.$ac_ext >&5
9765 eval "ac_cv_func_$ac_func=no"
9770 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9771 echo "$ac_t""yes" 1>&6
9772 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9773 cat >> confdefs.h <<EOF
9774 #define $ac_tr_func 1
9778 echo "$ac_t""no" 1>&6
9787 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
9788 echo "configure:9789: checking for powf declaration" >&5
9789 if test x${glibcpp_cv_func_powf_use+set} != xset; then
9790 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
9791 echo $ac_n "(cached) $ac_c" 1>&6
9796 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9797 ac_cpp='$CXXCPP $CPPFLAGS'
9798 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9799 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9800 cross_compiling=$ac_cv_prog_cxx_cross
9802 cat > conftest.$ac_ext <<EOF
9803 #line 9804 "configure"
9804 #include "confdefs.h"
9810 if { (eval echo configure:9811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9812 glibcpp_cv_func_powf_use=yes
9814 echo "configure: failed program was:" >&5
9815 cat conftest.$ac_ext >&5
9817 glibcpp_cv_func_powf_use=no
9821 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9822 ac_cpp='$CPP $CPPFLAGS'
9823 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9824 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9825 cross_compiling=$ac_cv_prog_cc_cross
9831 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
9833 if test x$glibcpp_cv_func_powf_use = x"yes"; then
9836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9837 echo "configure:9838: checking for $ac_func" >&5
9838 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9839 echo $ac_n "(cached) $ac_c" 1>&6
9841 cat > conftest.$ac_ext <<EOF
9842 #line 9843 "configure"
9843 #include "confdefs.h"
9844 /* System header to define __stub macros and hopefully few prototypes,
9845 which can conflict with char $ac_func(); below. */
9847 /* Override any gcc2 internal prototype to avoid an error. */
9848 /* We use char because int might match the return type of a gcc2
9849 builtin and then its argument prototype would still apply. */
9854 /* The GNU C library defines this for functions which it implements
9855 to always fail with ENOSYS. Some functions are actually named
9856 something starting with __ and the normal name is an alias. */
9857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9865 if { (eval echo configure:9866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9867 eval "ac_cv_func_$ac_func=yes"
9869 echo "configure: failed program was:" >&5
9870 cat conftest.$ac_ext >&5
9872 eval "ac_cv_func_$ac_func=no"
9877 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9878 echo "$ac_t""yes" 1>&6
9879 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9880 cat >> confdefs.h <<EOF
9881 #define $ac_tr_func 1
9885 echo "$ac_t""no" 1>&6
9891 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
9892 echo "configure:9893: checking for _powf declaration" >&5
9893 if test x${glibcpp_cv_func__powf_use+set} != xset; then
9894 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
9895 echo $ac_n "(cached) $ac_c" 1>&6
9900 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9901 ac_cpp='$CXXCPP $CPPFLAGS'
9902 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9903 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9904 cross_compiling=$ac_cv_prog_cxx_cross
9906 cat > conftest.$ac_ext <<EOF
9907 #line 9908 "configure"
9908 #include "confdefs.h"
9914 if { (eval echo configure:9915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9916 glibcpp_cv_func__powf_use=yes
9918 echo "configure: failed program was:" >&5
9919 cat conftest.$ac_ext >&5
9921 glibcpp_cv_func__powf_use=no
9925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9926 ac_cpp='$CPP $CPPFLAGS'
9927 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9928 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9929 cross_compiling=$ac_cv_prog_cc_cross
9935 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
9937 if test x$glibcpp_cv_func__powf_use = x"yes"; then
9938 for ac_func in _powf
9940 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9941 echo "configure:9942: checking for $ac_func" >&5
9942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9943 echo $ac_n "(cached) $ac_c" 1>&6
9945 cat > conftest.$ac_ext <<EOF
9946 #line 9947 "configure"
9947 #include "confdefs.h"
9948 /* System header to define __stub macros and hopefully few prototypes,
9949 which can conflict with char $ac_func(); below. */
9951 /* Override any gcc2 internal prototype to avoid an error. */
9952 /* We use char because int might match the return type of a gcc2
9953 builtin and then its argument prototype would still apply. */
9958 /* The GNU C library defines this for functions which it implements
9959 to always fail with ENOSYS. Some functions are actually named
9960 something starting with __ and the normal name is an alias. */
9961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9969 if { (eval echo configure:9970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9971 eval "ac_cv_func_$ac_func=yes"
9973 echo "configure: failed program was:" >&5
9974 cat conftest.$ac_ext >&5
9976 eval "ac_cv_func_$ac_func=no"
9981 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9982 echo "$ac_t""yes" 1>&6
9983 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9984 cat >> confdefs.h <<EOF
9985 #define $ac_tr_func 1
9989 echo "$ac_t""no" 1>&6
9998 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
9999 echo "configure:10000: checking for sqrtf declaration" >&5
10000 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
10001 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10002 echo $ac_n "(cached) $ac_c" 1>&6
10007 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10008 ac_cpp='$CXXCPP $CPPFLAGS'
10009 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10010 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10011 cross_compiling=$ac_cv_prog_cxx_cross
10013 cat > conftest.$ac_ext <<EOF
10014 #line 10015 "configure"
10015 #include "confdefs.h"
10017 #ifdef HAVE_IEEEFP_H
10018 #include <ieeefp.h>
10025 if { (eval echo configure:10026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10027 glibcpp_cv_func_sqrtf_use=yes
10029 echo "configure: failed program was:" >&5
10030 cat conftest.$ac_ext >&5
10032 glibcpp_cv_func_sqrtf_use=no
10036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10037 ac_cpp='$CPP $CPPFLAGS'
10038 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10039 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10040 cross_compiling=$ac_cv_prog_cc_cross
10046 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10048 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
10049 for ac_func in sqrtf
10051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10052 echo "configure:10053: checking for $ac_func" >&5
10053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10054 echo $ac_n "(cached) $ac_c" 1>&6
10056 cat > conftest.$ac_ext <<EOF
10057 #line 10058 "configure"
10058 #include "confdefs.h"
10059 /* System header to define __stub macros and hopefully few prototypes,
10060 which can conflict with char $ac_func(); below. */
10061 #include <assert.h>
10062 /* Override any gcc2 internal prototype to avoid an error. */
10063 /* We use char because int might match the return type of a gcc2
10064 builtin and then its argument prototype would still apply. */
10069 /* The GNU C library defines this for functions which it implements
10070 to always fail with ENOSYS. Some functions are actually named
10071 something starting with __ and the normal name is an alias. */
10072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10080 if { (eval echo configure:10081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10082 eval "ac_cv_func_$ac_func=yes"
10084 echo "configure: failed program was:" >&5
10085 cat conftest.$ac_ext >&5
10087 eval "ac_cv_func_$ac_func=no"
10092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10093 echo "$ac_t""yes" 1>&6
10094 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10095 cat >> confdefs.h <<EOF
10096 #define $ac_tr_func 1
10100 echo "$ac_t""no" 1>&6
10106 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
10107 echo "configure:10108: checking for _sqrtf declaration" >&5
10108 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
10109 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
10110 echo $ac_n "(cached) $ac_c" 1>&6
10115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10116 ac_cpp='$CXXCPP $CPPFLAGS'
10117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10119 cross_compiling=$ac_cv_prog_cxx_cross
10121 cat > conftest.$ac_ext <<EOF
10122 #line 10123 "configure"
10123 #include "confdefs.h"
10125 #ifdef HAVE_IEEEFP_H
10126 #include <ieeefp.h>
10133 if { (eval echo configure:10134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10135 glibcpp_cv_func__sqrtf_use=yes
10137 echo "configure: failed program was:" >&5
10138 cat conftest.$ac_ext >&5
10140 glibcpp_cv_func__sqrtf_use=no
10144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10145 ac_cpp='$CPP $CPPFLAGS'
10146 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10147 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10148 cross_compiling=$ac_cv_prog_cc_cross
10154 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
10156 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
10157 for ac_func in _sqrtf
10159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10160 echo "configure:10161: checking for $ac_func" >&5
10161 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10162 echo $ac_n "(cached) $ac_c" 1>&6
10164 cat > conftest.$ac_ext <<EOF
10165 #line 10166 "configure"
10166 #include "confdefs.h"
10167 /* System header to define __stub macros and hopefully few prototypes,
10168 which can conflict with char $ac_func(); below. */
10169 #include <assert.h>
10170 /* Override any gcc2 internal prototype to avoid an error. */
10171 /* We use char because int might match the return type of a gcc2
10172 builtin and then its argument prototype would still apply. */
10177 /* The GNU C library defines this for functions which it implements
10178 to always fail with ENOSYS. Some functions are actually named
10179 something starting with __ and the normal name is an alias. */
10180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10188 if { (eval echo configure:10189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10190 eval "ac_cv_func_$ac_func=yes"
10192 echo "configure: failed program was:" >&5
10193 cat conftest.$ac_ext >&5
10195 eval "ac_cv_func_$ac_func=no"
10200 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10201 echo "$ac_t""yes" 1>&6
10202 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10203 cat >> confdefs.h <<EOF
10204 #define $ac_tr_func 1
10208 echo "$ac_t""no" 1>&6
10217 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
10218 echo "configure:10219: checking for sincosf declaration" >&5
10219 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
10220 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
10221 echo $ac_n "(cached) $ac_c" 1>&6
10226 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10227 ac_cpp='$CXXCPP $CPPFLAGS'
10228 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10229 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10230 cross_compiling=$ac_cv_prog_cxx_cross
10232 cat > conftest.$ac_ext <<EOF
10233 #line 10234 "configure"
10234 #include "confdefs.h"
10240 if { (eval echo configure:10241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10242 glibcpp_cv_func_sincosf_use=yes
10244 echo "configure: failed program was:" >&5
10245 cat conftest.$ac_ext >&5
10247 glibcpp_cv_func_sincosf_use=no
10251 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10252 ac_cpp='$CPP $CPPFLAGS'
10253 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10254 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10255 cross_compiling=$ac_cv_prog_cc_cross
10261 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
10263 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
10264 for ac_func in sincosf
10266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10267 echo "configure:10268: checking for $ac_func" >&5
10268 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10269 echo $ac_n "(cached) $ac_c" 1>&6
10271 cat > conftest.$ac_ext <<EOF
10272 #line 10273 "configure"
10273 #include "confdefs.h"
10274 /* System header to define __stub macros and hopefully few prototypes,
10275 which can conflict with char $ac_func(); below. */
10276 #include <assert.h>
10277 /* Override any gcc2 internal prototype to avoid an error. */
10278 /* We use char because int might match the return type of a gcc2
10279 builtin and then its argument prototype would still apply. */
10284 /* The GNU C library defines this for functions which it implements
10285 to always fail with ENOSYS. Some functions are actually named
10286 something starting with __ and the normal name is an alias. */
10287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10295 if { (eval echo configure:10296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10297 eval "ac_cv_func_$ac_func=yes"
10299 echo "configure: failed program was:" >&5
10300 cat conftest.$ac_ext >&5
10302 eval "ac_cv_func_$ac_func=no"
10307 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10308 echo "$ac_t""yes" 1>&6
10309 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10310 cat >> confdefs.h <<EOF
10311 #define $ac_tr_func 1
10315 echo "$ac_t""no" 1>&6
10321 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
10322 echo "configure:10323: checking for _sincosf declaration" >&5
10323 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
10324 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
10325 echo $ac_n "(cached) $ac_c" 1>&6
10330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10331 ac_cpp='$CXXCPP $CPPFLAGS'
10332 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10333 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10334 cross_compiling=$ac_cv_prog_cxx_cross
10336 cat > conftest.$ac_ext <<EOF
10337 #line 10338 "configure"
10338 #include "confdefs.h"
10344 if { (eval echo configure:10345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10346 glibcpp_cv_func__sincosf_use=yes
10348 echo "configure: failed program was:" >&5
10349 cat conftest.$ac_ext >&5
10351 glibcpp_cv_func__sincosf_use=no
10355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10356 ac_cpp='$CPP $CPPFLAGS'
10357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10359 cross_compiling=$ac_cv_prog_cc_cross
10365 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
10367 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
10368 for ac_func in _sincosf
10370 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10371 echo "configure:10372: checking for $ac_func" >&5
10372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10373 echo $ac_n "(cached) $ac_c" 1>&6
10375 cat > conftest.$ac_ext <<EOF
10376 #line 10377 "configure"
10377 #include "confdefs.h"
10378 /* System header to define __stub macros and hopefully few prototypes,
10379 which can conflict with char $ac_func(); below. */
10380 #include <assert.h>
10381 /* Override any gcc2 internal prototype to avoid an error. */
10382 /* We use char because int might match the return type of a gcc2
10383 builtin and then its argument prototype would still apply. */
10388 /* The GNU C library defines this for functions which it implements
10389 to always fail with ENOSYS. Some functions are actually named
10390 something starting with __ and the normal name is an alias. */
10391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10399 if { (eval echo configure:10400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10401 eval "ac_cv_func_$ac_func=yes"
10403 echo "configure: failed program was:" >&5
10404 cat conftest.$ac_ext >&5
10406 eval "ac_cv_func_$ac_func=no"
10411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10412 echo "$ac_t""yes" 1>&6
10413 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10414 cat >> confdefs.h <<EOF
10415 #define $ac_tr_func 1
10419 echo "$ac_t""no" 1>&6
10428 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
10429 echo "configure:10430: checking for finitef declaration" >&5
10430 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
10431 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
10432 echo $ac_n "(cached) $ac_c" 1>&6
10437 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10438 ac_cpp='$CXXCPP $CPPFLAGS'
10439 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10440 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10441 cross_compiling=$ac_cv_prog_cxx_cross
10443 cat > conftest.$ac_ext <<EOF
10444 #line 10445 "configure"
10445 #include "confdefs.h"
10447 #ifdef HAVE_IEEEFP_H
10448 #include <ieeefp.h>
10455 if { (eval echo configure:10456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10457 glibcpp_cv_func_finitef_use=yes
10459 echo "configure: failed program was:" >&5
10460 cat conftest.$ac_ext >&5
10462 glibcpp_cv_func_finitef_use=no
10466 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10467 ac_cpp='$CPP $CPPFLAGS'
10468 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10469 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10470 cross_compiling=$ac_cv_prog_cc_cross
10476 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
10478 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
10479 for ac_func in finitef
10481 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10482 echo "configure:10483: checking for $ac_func" >&5
10483 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10484 echo $ac_n "(cached) $ac_c" 1>&6
10486 cat > conftest.$ac_ext <<EOF
10487 #line 10488 "configure"
10488 #include "confdefs.h"
10489 /* System header to define __stub macros and hopefully few prototypes,
10490 which can conflict with char $ac_func(); below. */
10491 #include <assert.h>
10492 /* Override any gcc2 internal prototype to avoid an error. */
10493 /* We use char because int might match the return type of a gcc2
10494 builtin and then its argument prototype would still apply. */
10499 /* The GNU C library defines this for functions which it implements
10500 to always fail with ENOSYS. Some functions are actually named
10501 something starting with __ and the normal name is an alias. */
10502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10510 if { (eval echo configure:10511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10512 eval "ac_cv_func_$ac_func=yes"
10514 echo "configure: failed program was:" >&5
10515 cat conftest.$ac_ext >&5
10517 eval "ac_cv_func_$ac_func=no"
10522 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10523 echo "$ac_t""yes" 1>&6
10524 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10525 cat >> confdefs.h <<EOF
10526 #define $ac_tr_func 1
10530 echo "$ac_t""no" 1>&6
10536 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
10537 echo "configure:10538: checking for _finitef declaration" >&5
10538 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
10539 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
10540 echo $ac_n "(cached) $ac_c" 1>&6
10545 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10546 ac_cpp='$CXXCPP $CPPFLAGS'
10547 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10548 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10549 cross_compiling=$ac_cv_prog_cxx_cross
10551 cat > conftest.$ac_ext <<EOF
10552 #line 10553 "configure"
10553 #include "confdefs.h"
10555 #ifdef HAVE_IEEEFP_H
10556 #include <ieeefp.h>
10563 if { (eval echo configure:10564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10565 glibcpp_cv_func__finitef_use=yes
10567 echo "configure: failed program was:" >&5
10568 cat conftest.$ac_ext >&5
10570 glibcpp_cv_func__finitef_use=no
10574 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10575 ac_cpp='$CPP $CPPFLAGS'
10576 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10577 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10578 cross_compiling=$ac_cv_prog_cc_cross
10584 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
10586 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
10587 for ac_func in _finitef
10589 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10590 echo "configure:10591: checking for $ac_func" >&5
10591 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10592 echo $ac_n "(cached) $ac_c" 1>&6
10594 cat > conftest.$ac_ext <<EOF
10595 #line 10596 "configure"
10596 #include "confdefs.h"
10597 /* System header to define __stub macros and hopefully few prototypes,
10598 which can conflict with char $ac_func(); below. */
10599 #include <assert.h>
10600 /* Override any gcc2 internal prototype to avoid an error. */
10601 /* We use char because int might match the return type of a gcc2
10602 builtin and then its argument prototype would still apply. */
10607 /* The GNU C library defines this for functions which it implements
10608 to always fail with ENOSYS. Some functions are actually named
10609 something starting with __ and the normal name is an alias. */
10610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10618 if { (eval echo configure:10619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10620 eval "ac_cv_func_$ac_func=yes"
10622 echo "configure: failed program was:" >&5
10623 cat conftest.$ac_ext >&5
10625 eval "ac_cv_func_$ac_func=no"
10630 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10631 echo "$ac_t""yes" 1>&6
10632 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10633 cat >> confdefs.h <<EOF
10634 #define $ac_tr_func 1
10638 echo "$ac_t""no" 1>&6
10647 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
10648 echo "configure:10649: checking for long double trig functions" >&5
10649 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
10650 echo $ac_n "(cached) $ac_c" 1>&6
10655 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10656 ac_cpp='$CXXCPP $CPPFLAGS'
10657 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10658 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10659 cross_compiling=$ac_cv_prog_cxx_cross
10661 cat > conftest.$ac_ext <<EOF
10662 #line 10663 "configure"
10663 #include "confdefs.h"
10666 `for x in acosl asinl atanl \
10668 coshl sinhl tanhl; do echo "$x (0);"; done`
10671 if { (eval echo configure:10672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10673 glibcpp_cv_func_long_double_trig_use=yes
10675 echo "configure: failed program was:" >&5
10676 cat conftest.$ac_ext >&5
10678 glibcpp_cv_func_long_double_trig_use=no
10682 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10683 ac_cpp='$CPP $CPPFLAGS'
10684 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10685 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10686 cross_compiling=$ac_cv_prog_cc_cross
10690 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
10691 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
10692 for ac_func in acosl asinl atanl \
10696 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10697 echo "configure:10698: checking for $ac_func" >&5
10698 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10699 echo $ac_n "(cached) $ac_c" 1>&6
10701 cat > conftest.$ac_ext <<EOF
10702 #line 10703 "configure"
10703 #include "confdefs.h"
10704 /* System header to define __stub macros and hopefully few prototypes,
10705 which can conflict with char $ac_func(); below. */
10706 #include <assert.h>
10707 /* Override any gcc2 internal prototype to avoid an error. */
10708 /* We use char because int might match the return type of a gcc2
10709 builtin and then its argument prototype would still apply. */
10714 /* The GNU C library defines this for functions which it implements
10715 to always fail with ENOSYS. Some functions are actually named
10716 something starting with __ and the normal name is an alias. */
10717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10725 if { (eval echo configure:10726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10727 eval "ac_cv_func_$ac_func=yes"
10729 echo "configure: failed program was:" >&5
10730 cat conftest.$ac_ext >&5
10732 eval "ac_cv_func_$ac_func=no"
10737 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10738 echo "$ac_t""yes" 1>&6
10739 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10740 cat >> confdefs.h <<EOF
10741 #define $ac_tr_func 1
10745 echo "$ac_t""no" 1>&6
10752 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
10753 echo "configure:10754: checking for long double round functions" >&5
10754 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
10755 echo $ac_n "(cached) $ac_c" 1>&6
10760 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10761 ac_cpp='$CXXCPP $CPPFLAGS'
10762 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10763 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10764 cross_compiling=$ac_cv_prog_cxx_cross
10766 cat > conftest.$ac_ext <<EOF
10767 #line 10768 "configure"
10768 #include "confdefs.h"
10771 `for x in ceill floorl; do echo "$x (0);"; done`
10774 if { (eval echo configure:10775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10776 glibcpp_cv_func_long_double_round_use=yes
10778 echo "configure: failed program was:" >&5
10779 cat conftest.$ac_ext >&5
10781 glibcpp_cv_func_long_double_round_use=no
10785 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10786 ac_cpp='$CPP $CPPFLAGS'
10787 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10788 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10789 cross_compiling=$ac_cv_prog_cc_cross
10793 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
10794 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
10795 for ac_func in ceill floorl
10797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10798 echo "configure:10799: checking for $ac_func" >&5
10799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10800 echo $ac_n "(cached) $ac_c" 1>&6
10802 cat > conftest.$ac_ext <<EOF
10803 #line 10804 "configure"
10804 #include "confdefs.h"
10805 /* System header to define __stub macros and hopefully few prototypes,
10806 which can conflict with char $ac_func(); below. */
10807 #include <assert.h>
10808 /* Override any gcc2 internal prototype to avoid an error. */
10809 /* We use char because int might match the return type of a gcc2
10810 builtin and then its argument prototype would still apply. */
10815 /* The GNU C library defines this for functions which it implements
10816 to always fail with ENOSYS. Some functions are actually named
10817 something starting with __ and the normal name is an alias. */
10818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10826 if { (eval echo configure:10827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10828 eval "ac_cv_func_$ac_func=yes"
10830 echo "configure: failed program was:" >&5
10831 cat conftest.$ac_ext >&5
10833 eval "ac_cv_func_$ac_func=no"
10838 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10839 echo "$ac_t""yes" 1>&6
10840 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10841 cat >> confdefs.h <<EOF
10842 #define $ac_tr_func 1
10846 echo "$ac_t""no" 1>&6
10854 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
10855 echo "configure:10856: checking for isnanl declaration" >&5
10856 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
10857 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
10858 echo $ac_n "(cached) $ac_c" 1>&6
10863 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10864 ac_cpp='$CXXCPP $CPPFLAGS'
10865 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10866 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10867 cross_compiling=$ac_cv_prog_cxx_cross
10869 cat > conftest.$ac_ext <<EOF
10870 #line 10871 "configure"
10871 #include "confdefs.h"
10873 #ifdef HAVE_IEEEFP_H
10874 #include <ieeefp.h>
10881 if { (eval echo configure:10882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10883 glibcpp_cv_func_isnanl_use=yes
10885 echo "configure: failed program was:" >&5
10886 cat conftest.$ac_ext >&5
10888 glibcpp_cv_func_isnanl_use=no
10892 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10893 ac_cpp='$CPP $CPPFLAGS'
10894 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10895 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10896 cross_compiling=$ac_cv_prog_cc_cross
10902 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
10904 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
10905 for ac_func in isnanl
10907 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10908 echo "configure:10909: checking for $ac_func" >&5
10909 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10910 echo $ac_n "(cached) $ac_c" 1>&6
10912 cat > conftest.$ac_ext <<EOF
10913 #line 10914 "configure"
10914 #include "confdefs.h"
10915 /* System header to define __stub macros and hopefully few prototypes,
10916 which can conflict with char $ac_func(); below. */
10917 #include <assert.h>
10918 /* Override any gcc2 internal prototype to avoid an error. */
10919 /* We use char because int might match the return type of a gcc2
10920 builtin and then its argument prototype would still apply. */
10925 /* The GNU C library defines this for functions which it implements
10926 to always fail with ENOSYS. Some functions are actually named
10927 something starting with __ and the normal name is an alias. */
10928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10936 if { (eval echo configure:10937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10938 eval "ac_cv_func_$ac_func=yes"
10940 echo "configure: failed program was:" >&5
10941 cat conftest.$ac_ext >&5
10943 eval "ac_cv_func_$ac_func=no"
10948 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10949 echo "$ac_t""yes" 1>&6
10950 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10951 cat >> confdefs.h <<EOF
10952 #define $ac_tr_func 1
10956 echo "$ac_t""no" 1>&6
10962 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
10963 echo "configure:10964: checking for _isnanl declaration" >&5
10964 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
10965 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
10966 echo $ac_n "(cached) $ac_c" 1>&6
10971 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10972 ac_cpp='$CXXCPP $CPPFLAGS'
10973 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10974 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10975 cross_compiling=$ac_cv_prog_cxx_cross
10977 cat > conftest.$ac_ext <<EOF
10978 #line 10979 "configure"
10979 #include "confdefs.h"
10981 #ifdef HAVE_IEEEFP_H
10982 #include <ieeefp.h>
10989 if { (eval echo configure:10990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10991 glibcpp_cv_func__isnanl_use=yes
10993 echo "configure: failed program was:" >&5
10994 cat conftest.$ac_ext >&5
10996 glibcpp_cv_func__isnanl_use=no
11000 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11001 ac_cpp='$CPP $CPPFLAGS'
11002 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11003 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11004 cross_compiling=$ac_cv_prog_cc_cross
11010 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11012 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
11013 for ac_func in _isnanl
11015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11016 echo "configure:11017: checking for $ac_func" >&5
11017 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11018 echo $ac_n "(cached) $ac_c" 1>&6
11020 cat > conftest.$ac_ext <<EOF
11021 #line 11022 "configure"
11022 #include "confdefs.h"
11023 /* System header to define __stub macros and hopefully few prototypes,
11024 which can conflict with char $ac_func(); below. */
11025 #include <assert.h>
11026 /* Override any gcc2 internal prototype to avoid an error. */
11027 /* We use char because int might match the return type of a gcc2
11028 builtin and then its argument prototype would still apply. */
11033 /* The GNU C library defines this for functions which it implements
11034 to always fail with ENOSYS. Some functions are actually named
11035 something starting with __ and the normal name is an alias. */
11036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11044 if { (eval echo configure:11045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11046 eval "ac_cv_func_$ac_func=yes"
11048 echo "configure: failed program was:" >&5
11049 cat conftest.$ac_ext >&5
11051 eval "ac_cv_func_$ac_func=no"
11056 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11057 echo "$ac_t""yes" 1>&6
11058 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11059 cat >> confdefs.h <<EOF
11060 #define $ac_tr_func 1
11064 echo "$ac_t""no" 1>&6
11073 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
11074 echo "configure:11075: checking for isinfl declaration" >&5
11075 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
11076 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
11077 echo $ac_n "(cached) $ac_c" 1>&6
11082 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11083 ac_cpp='$CXXCPP $CPPFLAGS'
11084 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11085 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11086 cross_compiling=$ac_cv_prog_cxx_cross
11088 cat > conftest.$ac_ext <<EOF
11089 #line 11090 "configure"
11090 #include "confdefs.h"
11092 #ifdef HAVE_IEEEFP_H
11093 #include <ieeefp.h>
11100 if { (eval echo configure:11101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11102 glibcpp_cv_func_isinfl_use=yes
11104 echo "configure: failed program was:" >&5
11105 cat conftest.$ac_ext >&5
11107 glibcpp_cv_func_isinfl_use=no
11111 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11112 ac_cpp='$CPP $CPPFLAGS'
11113 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11114 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11115 cross_compiling=$ac_cv_prog_cc_cross
11121 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
11123 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
11124 for ac_func in isinfl
11126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11127 echo "configure:11128: checking for $ac_func" >&5
11128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11129 echo $ac_n "(cached) $ac_c" 1>&6
11131 cat > conftest.$ac_ext <<EOF
11132 #line 11133 "configure"
11133 #include "confdefs.h"
11134 /* System header to define __stub macros and hopefully few prototypes,
11135 which can conflict with char $ac_func(); below. */
11136 #include <assert.h>
11137 /* Override any gcc2 internal prototype to avoid an error. */
11138 /* We use char because int might match the return type of a gcc2
11139 builtin and then its argument prototype would still apply. */
11144 /* The GNU C library defines this for functions which it implements
11145 to always fail with ENOSYS. Some functions are actually named
11146 something starting with __ and the normal name is an alias. */
11147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11155 if { (eval echo configure:11156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11157 eval "ac_cv_func_$ac_func=yes"
11159 echo "configure: failed program was:" >&5
11160 cat conftest.$ac_ext >&5
11162 eval "ac_cv_func_$ac_func=no"
11167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11168 echo "$ac_t""yes" 1>&6
11169 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11170 cat >> confdefs.h <<EOF
11171 #define $ac_tr_func 1
11175 echo "$ac_t""no" 1>&6
11181 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
11182 echo "configure:11183: checking for _isinfl declaration" >&5
11183 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
11184 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
11185 echo $ac_n "(cached) $ac_c" 1>&6
11190 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11191 ac_cpp='$CXXCPP $CPPFLAGS'
11192 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11193 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11194 cross_compiling=$ac_cv_prog_cxx_cross
11196 cat > conftest.$ac_ext <<EOF
11197 #line 11198 "configure"
11198 #include "confdefs.h"
11200 #ifdef HAVE_IEEEFP_H
11201 #include <ieeefp.h>
11208 if { (eval echo configure:11209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11210 glibcpp_cv_func__isinfl_use=yes
11212 echo "configure: failed program was:" >&5
11213 cat conftest.$ac_ext >&5
11215 glibcpp_cv_func__isinfl_use=no
11219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11220 ac_cpp='$CPP $CPPFLAGS'
11221 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11222 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11223 cross_compiling=$ac_cv_prog_cc_cross
11229 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
11231 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
11232 for ac_func in _isinfl
11234 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11235 echo "configure:11236: checking for $ac_func" >&5
11236 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11237 echo $ac_n "(cached) $ac_c" 1>&6
11239 cat > conftest.$ac_ext <<EOF
11240 #line 11241 "configure"
11241 #include "confdefs.h"
11242 /* System header to define __stub macros and hopefully few prototypes,
11243 which can conflict with char $ac_func(); below. */
11244 #include <assert.h>
11245 /* Override any gcc2 internal prototype to avoid an error. */
11246 /* We use char because int might match the return type of a gcc2
11247 builtin and then its argument prototype would still apply. */
11252 /* The GNU C library defines this for functions which it implements
11253 to always fail with ENOSYS. Some functions are actually named
11254 something starting with __ and the normal name is an alias. */
11255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11263 if { (eval echo configure:11264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11265 eval "ac_cv_func_$ac_func=yes"
11267 echo "configure: failed program was:" >&5
11268 cat conftest.$ac_ext >&5
11270 eval "ac_cv_func_$ac_func=no"
11275 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11276 echo "$ac_t""yes" 1>&6
11277 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11278 cat >> confdefs.h <<EOF
11279 #define $ac_tr_func 1
11283 echo "$ac_t""no" 1>&6
11292 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
11293 echo "configure:11294: checking for copysignl declaration" >&5
11294 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
11295 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
11296 echo $ac_n "(cached) $ac_c" 1>&6
11301 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11302 ac_cpp='$CXXCPP $CPPFLAGS'
11303 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11304 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11305 cross_compiling=$ac_cv_prog_cxx_cross
11307 cat > conftest.$ac_ext <<EOF
11308 #line 11309 "configure"
11309 #include "confdefs.h"
11315 if { (eval echo configure:11316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11317 glibcpp_cv_func_copysignl_use=yes
11319 echo "configure: failed program was:" >&5
11320 cat conftest.$ac_ext >&5
11322 glibcpp_cv_func_copysignl_use=no
11326 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11327 ac_cpp='$CPP $CPPFLAGS'
11328 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11329 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11330 cross_compiling=$ac_cv_prog_cc_cross
11336 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
11338 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
11339 for ac_func in copysignl
11341 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11342 echo "configure:11343: checking for $ac_func" >&5
11343 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11344 echo $ac_n "(cached) $ac_c" 1>&6
11346 cat > conftest.$ac_ext <<EOF
11347 #line 11348 "configure"
11348 #include "confdefs.h"
11349 /* System header to define __stub macros and hopefully few prototypes,
11350 which can conflict with char $ac_func(); below. */
11351 #include <assert.h>
11352 /* Override any gcc2 internal prototype to avoid an error. */
11353 /* We use char because int might match the return type of a gcc2
11354 builtin and then its argument prototype would still apply. */
11359 /* The GNU C library defines this for functions which it implements
11360 to always fail with ENOSYS. Some functions are actually named
11361 something starting with __ and the normal name is an alias. */
11362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11370 if { (eval echo configure:11371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11372 eval "ac_cv_func_$ac_func=yes"
11374 echo "configure: failed program was:" >&5
11375 cat conftest.$ac_ext >&5
11377 eval "ac_cv_func_$ac_func=no"
11382 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11383 echo "$ac_t""yes" 1>&6
11384 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11385 cat >> confdefs.h <<EOF
11386 #define $ac_tr_func 1
11390 echo "$ac_t""no" 1>&6
11396 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
11397 echo "configure:11398: checking for _copysignl declaration" >&5
11398 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
11399 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
11400 echo $ac_n "(cached) $ac_c" 1>&6
11405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11406 ac_cpp='$CXXCPP $CPPFLAGS'
11407 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11408 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11409 cross_compiling=$ac_cv_prog_cxx_cross
11411 cat > conftest.$ac_ext <<EOF
11412 #line 11413 "configure"
11413 #include "confdefs.h"
11419 if { (eval echo configure:11420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11421 glibcpp_cv_func__copysignl_use=yes
11423 echo "configure: failed program was:" >&5
11424 cat conftest.$ac_ext >&5
11426 glibcpp_cv_func__copysignl_use=no
11430 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11431 ac_cpp='$CPP $CPPFLAGS'
11432 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11433 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11434 cross_compiling=$ac_cv_prog_cc_cross
11440 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
11442 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
11443 for ac_func in _copysignl
11445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11446 echo "configure:11447: checking for $ac_func" >&5
11447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11448 echo $ac_n "(cached) $ac_c" 1>&6
11450 cat > conftest.$ac_ext <<EOF
11451 #line 11452 "configure"
11452 #include "confdefs.h"
11453 /* System header to define __stub macros and hopefully few prototypes,
11454 which can conflict with char $ac_func(); below. */
11455 #include <assert.h>
11456 /* Override any gcc2 internal prototype to avoid an error. */
11457 /* We use char because int might match the return type of a gcc2
11458 builtin and then its argument prototype would still apply. */
11463 /* The GNU C library defines this for functions which it implements
11464 to always fail with ENOSYS. Some functions are actually named
11465 something starting with __ and the normal name is an alias. */
11466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11474 if { (eval echo configure:11475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11476 eval "ac_cv_func_$ac_func=yes"
11478 echo "configure: failed program was:" >&5
11479 cat conftest.$ac_ext >&5
11481 eval "ac_cv_func_$ac_func=no"
11486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11487 echo "$ac_t""yes" 1>&6
11488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11489 cat >> confdefs.h <<EOF
11490 #define $ac_tr_func 1
11494 echo "$ac_t""no" 1>&6
11503 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
11504 echo "configure:11505: checking for atan2l declaration" >&5
11505 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
11506 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
11507 echo $ac_n "(cached) $ac_c" 1>&6
11512 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11513 ac_cpp='$CXXCPP $CPPFLAGS'
11514 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11515 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11516 cross_compiling=$ac_cv_prog_cxx_cross
11518 cat > conftest.$ac_ext <<EOF
11519 #line 11520 "configure"
11520 #include "confdefs.h"
11526 if { (eval echo configure:11527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11528 glibcpp_cv_func_atan2l_use=yes
11530 echo "configure: failed program was:" >&5
11531 cat conftest.$ac_ext >&5
11533 glibcpp_cv_func_atan2l_use=no
11537 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11538 ac_cpp='$CPP $CPPFLAGS'
11539 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11540 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11541 cross_compiling=$ac_cv_prog_cc_cross
11547 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
11549 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
11550 for ac_func in atan2l
11552 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11553 echo "configure:11554: checking for $ac_func" >&5
11554 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11555 echo $ac_n "(cached) $ac_c" 1>&6
11557 cat > conftest.$ac_ext <<EOF
11558 #line 11559 "configure"
11559 #include "confdefs.h"
11560 /* System header to define __stub macros and hopefully few prototypes,
11561 which can conflict with char $ac_func(); below. */
11562 #include <assert.h>
11563 /* Override any gcc2 internal prototype to avoid an error. */
11564 /* We use char because int might match the return type of a gcc2
11565 builtin and then its argument prototype would still apply. */
11570 /* The GNU C library defines this for functions which it implements
11571 to always fail with ENOSYS. Some functions are actually named
11572 something starting with __ and the normal name is an alias. */
11573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11581 if { (eval echo configure:11582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11583 eval "ac_cv_func_$ac_func=yes"
11585 echo "configure: failed program was:" >&5
11586 cat conftest.$ac_ext >&5
11588 eval "ac_cv_func_$ac_func=no"
11593 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11594 echo "$ac_t""yes" 1>&6
11595 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11596 cat >> confdefs.h <<EOF
11597 #define $ac_tr_func 1
11601 echo "$ac_t""no" 1>&6
11607 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
11608 echo "configure:11609: checking for _atan2l declaration" >&5
11609 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
11610 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
11611 echo $ac_n "(cached) $ac_c" 1>&6
11616 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11617 ac_cpp='$CXXCPP $CPPFLAGS'
11618 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11619 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11620 cross_compiling=$ac_cv_prog_cxx_cross
11622 cat > conftest.$ac_ext <<EOF
11623 #line 11624 "configure"
11624 #include "confdefs.h"
11630 if { (eval echo configure:11631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11632 glibcpp_cv_func__atan2l_use=yes
11634 echo "configure: failed program was:" >&5
11635 cat conftest.$ac_ext >&5
11637 glibcpp_cv_func__atan2l_use=no
11641 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11642 ac_cpp='$CPP $CPPFLAGS'
11643 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11644 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11645 cross_compiling=$ac_cv_prog_cc_cross
11651 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
11653 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
11654 for ac_func in _atan2l
11656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11657 echo "configure:11658: checking for $ac_func" >&5
11658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11659 echo $ac_n "(cached) $ac_c" 1>&6
11661 cat > conftest.$ac_ext <<EOF
11662 #line 11663 "configure"
11663 #include "confdefs.h"
11664 /* System header to define __stub macros and hopefully few prototypes,
11665 which can conflict with char $ac_func(); below. */
11666 #include <assert.h>
11667 /* Override any gcc2 internal prototype to avoid an error. */
11668 /* We use char because int might match the return type of a gcc2
11669 builtin and then its argument prototype would still apply. */
11674 /* The GNU C library defines this for functions which it implements
11675 to always fail with ENOSYS. Some functions are actually named
11676 something starting with __ and the normal name is an alias. */
11677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11685 if { (eval echo configure:11686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11687 eval "ac_cv_func_$ac_func=yes"
11689 echo "configure: failed program was:" >&5
11690 cat conftest.$ac_ext >&5
11692 eval "ac_cv_func_$ac_func=no"
11697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11698 echo "$ac_t""yes" 1>&6
11699 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11700 cat >> confdefs.h <<EOF
11701 #define $ac_tr_func 1
11705 echo "$ac_t""no" 1>&6
11714 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
11715 echo "configure:11716: checking for expl declaration" >&5
11716 if test x${glibcpp_cv_func_expl_use+set} != xset; then
11717 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
11718 echo $ac_n "(cached) $ac_c" 1>&6
11723 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11724 ac_cpp='$CXXCPP $CPPFLAGS'
11725 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11726 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11727 cross_compiling=$ac_cv_prog_cxx_cross
11729 cat > conftest.$ac_ext <<EOF
11730 #line 11731 "configure"
11731 #include "confdefs.h"
11733 #ifdef HAVE_IEEEFP_H
11734 #include <ieeefp.h>
11741 if { (eval echo configure:11742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11743 glibcpp_cv_func_expl_use=yes
11745 echo "configure: failed program was:" >&5
11746 cat conftest.$ac_ext >&5
11748 glibcpp_cv_func_expl_use=no
11752 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11753 ac_cpp='$CPP $CPPFLAGS'
11754 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11755 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11756 cross_compiling=$ac_cv_prog_cc_cross
11762 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
11764 if test x$glibcpp_cv_func_expl_use = x"yes"; then
11765 for ac_func in expl
11767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11768 echo "configure:11769: checking for $ac_func" >&5
11769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11770 echo $ac_n "(cached) $ac_c" 1>&6
11772 cat > conftest.$ac_ext <<EOF
11773 #line 11774 "configure"
11774 #include "confdefs.h"
11775 /* System header to define __stub macros and hopefully few prototypes,
11776 which can conflict with char $ac_func(); below. */
11777 #include <assert.h>
11778 /* Override any gcc2 internal prototype to avoid an error. */
11779 /* We use char because int might match the return type of a gcc2
11780 builtin and then its argument prototype would still apply. */
11785 /* The GNU C library defines this for functions which it implements
11786 to always fail with ENOSYS. Some functions are actually named
11787 something starting with __ and the normal name is an alias. */
11788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11796 if { (eval echo configure:11797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11798 eval "ac_cv_func_$ac_func=yes"
11800 echo "configure: failed program was:" >&5
11801 cat conftest.$ac_ext >&5
11803 eval "ac_cv_func_$ac_func=no"
11808 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11809 echo "$ac_t""yes" 1>&6
11810 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11811 cat >> confdefs.h <<EOF
11812 #define $ac_tr_func 1
11816 echo "$ac_t""no" 1>&6
11822 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
11823 echo "configure:11824: checking for _expl declaration" >&5
11824 if test x${glibcpp_cv_func__expl_use+set} != xset; then
11825 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
11826 echo $ac_n "(cached) $ac_c" 1>&6
11831 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11832 ac_cpp='$CXXCPP $CPPFLAGS'
11833 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11834 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11835 cross_compiling=$ac_cv_prog_cxx_cross
11837 cat > conftest.$ac_ext <<EOF
11838 #line 11839 "configure"
11839 #include "confdefs.h"
11841 #ifdef HAVE_IEEEFP_H
11842 #include <ieeefp.h>
11849 if { (eval echo configure:11850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11851 glibcpp_cv_func__expl_use=yes
11853 echo "configure: failed program was:" >&5
11854 cat conftest.$ac_ext >&5
11856 glibcpp_cv_func__expl_use=no
11860 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11861 ac_cpp='$CPP $CPPFLAGS'
11862 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11863 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11864 cross_compiling=$ac_cv_prog_cc_cross
11870 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
11872 if test x$glibcpp_cv_func__expl_use = x"yes"; then
11873 for ac_func in _expl
11875 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11876 echo "configure:11877: checking for $ac_func" >&5
11877 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11878 echo $ac_n "(cached) $ac_c" 1>&6
11880 cat > conftest.$ac_ext <<EOF
11881 #line 11882 "configure"
11882 #include "confdefs.h"
11883 /* System header to define __stub macros and hopefully few prototypes,
11884 which can conflict with char $ac_func(); below. */
11885 #include <assert.h>
11886 /* Override any gcc2 internal prototype to avoid an error. */
11887 /* We use char because int might match the return type of a gcc2
11888 builtin and then its argument prototype would still apply. */
11893 /* The GNU C library defines this for functions which it implements
11894 to always fail with ENOSYS. Some functions are actually named
11895 something starting with __ and the normal name is an alias. */
11896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11904 if { (eval echo configure:11905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11906 eval "ac_cv_func_$ac_func=yes"
11908 echo "configure: failed program was:" >&5
11909 cat conftest.$ac_ext >&5
11911 eval "ac_cv_func_$ac_func=no"
11916 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11917 echo "$ac_t""yes" 1>&6
11918 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11919 cat >> confdefs.h <<EOF
11920 #define $ac_tr_func 1
11924 echo "$ac_t""no" 1>&6
11933 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
11934 echo "configure:11935: checking for fabsl declaration" >&5
11935 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
11936 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
11937 echo $ac_n "(cached) $ac_c" 1>&6
11942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11943 ac_cpp='$CXXCPP $CPPFLAGS'
11944 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11945 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11946 cross_compiling=$ac_cv_prog_cxx_cross
11948 cat > conftest.$ac_ext <<EOF
11949 #line 11950 "configure"
11950 #include "confdefs.h"
11952 #ifdef HAVE_IEEEFP_H
11953 #include <ieeefp.h>
11960 if { (eval echo configure:11961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11962 glibcpp_cv_func_fabsl_use=yes
11964 echo "configure: failed program was:" >&5
11965 cat conftest.$ac_ext >&5
11967 glibcpp_cv_func_fabsl_use=no
11971 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11972 ac_cpp='$CPP $CPPFLAGS'
11973 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11974 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11975 cross_compiling=$ac_cv_prog_cc_cross
11981 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
11983 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
11984 for ac_func in fabsl
11986 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11987 echo "configure:11988: checking for $ac_func" >&5
11988 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11989 echo $ac_n "(cached) $ac_c" 1>&6
11991 cat > conftest.$ac_ext <<EOF
11992 #line 11993 "configure"
11993 #include "confdefs.h"
11994 /* System header to define __stub macros and hopefully few prototypes,
11995 which can conflict with char $ac_func(); below. */
11996 #include <assert.h>
11997 /* Override any gcc2 internal prototype to avoid an error. */
11998 /* We use char because int might match the return type of a gcc2
11999 builtin and then its argument prototype would still apply. */
12004 /* The GNU C library defines this for functions which it implements
12005 to always fail with ENOSYS. Some functions are actually named
12006 something starting with __ and the normal name is an alias. */
12007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12015 if { (eval echo configure:12016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12017 eval "ac_cv_func_$ac_func=yes"
12019 echo "configure: failed program was:" >&5
12020 cat conftest.$ac_ext >&5
12022 eval "ac_cv_func_$ac_func=no"
12027 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12028 echo "$ac_t""yes" 1>&6
12029 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12030 cat >> confdefs.h <<EOF
12031 #define $ac_tr_func 1
12035 echo "$ac_t""no" 1>&6
12041 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
12042 echo "configure:12043: checking for _fabsl declaration" >&5
12043 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
12044 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12045 echo $ac_n "(cached) $ac_c" 1>&6
12050 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12051 ac_cpp='$CXXCPP $CPPFLAGS'
12052 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12053 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12054 cross_compiling=$ac_cv_prog_cxx_cross
12056 cat > conftest.$ac_ext <<EOF
12057 #line 12058 "configure"
12058 #include "confdefs.h"
12060 #ifdef HAVE_IEEEFP_H
12061 #include <ieeefp.h>
12068 if { (eval echo configure:12069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12070 glibcpp_cv_func__fabsl_use=yes
12072 echo "configure: failed program was:" >&5
12073 cat conftest.$ac_ext >&5
12075 glibcpp_cv_func__fabsl_use=no
12079 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12080 ac_cpp='$CPP $CPPFLAGS'
12081 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12082 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12083 cross_compiling=$ac_cv_prog_cc_cross
12089 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
12091 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
12092 for ac_func in _fabsl
12094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12095 echo "configure:12096: checking for $ac_func" >&5
12096 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12097 echo $ac_n "(cached) $ac_c" 1>&6
12099 cat > conftest.$ac_ext <<EOF
12100 #line 12101 "configure"
12101 #include "confdefs.h"
12102 /* System header to define __stub macros and hopefully few prototypes,
12103 which can conflict with char $ac_func(); below. */
12104 #include <assert.h>
12105 /* Override any gcc2 internal prototype to avoid an error. */
12106 /* We use char because int might match the return type of a gcc2
12107 builtin and then its argument prototype would still apply. */
12112 /* The GNU C library defines this for functions which it implements
12113 to always fail with ENOSYS. Some functions are actually named
12114 something starting with __ and the normal name is an alias. */
12115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12123 if { (eval echo configure:12124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12125 eval "ac_cv_func_$ac_func=yes"
12127 echo "configure: failed program was:" >&5
12128 cat conftest.$ac_ext >&5
12130 eval "ac_cv_func_$ac_func=no"
12135 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12136 echo "$ac_t""yes" 1>&6
12137 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12138 cat >> confdefs.h <<EOF
12139 #define $ac_tr_func 1
12143 echo "$ac_t""no" 1>&6
12152 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
12153 echo "configure:12154: checking for fmodl declaration" >&5
12154 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
12155 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
12156 echo $ac_n "(cached) $ac_c" 1>&6
12161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12162 ac_cpp='$CXXCPP $CPPFLAGS'
12163 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12164 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12165 cross_compiling=$ac_cv_prog_cxx_cross
12167 cat > conftest.$ac_ext <<EOF
12168 #line 12169 "configure"
12169 #include "confdefs.h"
12175 if { (eval echo configure:12176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12177 glibcpp_cv_func_fmodl_use=yes
12179 echo "configure: failed program was:" >&5
12180 cat conftest.$ac_ext >&5
12182 glibcpp_cv_func_fmodl_use=no
12186 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12187 ac_cpp='$CPP $CPPFLAGS'
12188 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12189 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12190 cross_compiling=$ac_cv_prog_cc_cross
12196 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
12198 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
12199 for ac_func in fmodl
12201 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12202 echo "configure:12203: checking for $ac_func" >&5
12203 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12204 echo $ac_n "(cached) $ac_c" 1>&6
12206 cat > conftest.$ac_ext <<EOF
12207 #line 12208 "configure"
12208 #include "confdefs.h"
12209 /* System header to define __stub macros and hopefully few prototypes,
12210 which can conflict with char $ac_func(); below. */
12211 #include <assert.h>
12212 /* Override any gcc2 internal prototype to avoid an error. */
12213 /* We use char because int might match the return type of a gcc2
12214 builtin and then its argument prototype would still apply. */
12219 /* The GNU C library defines this for functions which it implements
12220 to always fail with ENOSYS. Some functions are actually named
12221 something starting with __ and the normal name is an alias. */
12222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12230 if { (eval echo configure:12231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12232 eval "ac_cv_func_$ac_func=yes"
12234 echo "configure: failed program was:" >&5
12235 cat conftest.$ac_ext >&5
12237 eval "ac_cv_func_$ac_func=no"
12242 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12243 echo "$ac_t""yes" 1>&6
12244 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12245 cat >> confdefs.h <<EOF
12246 #define $ac_tr_func 1
12250 echo "$ac_t""no" 1>&6
12256 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
12257 echo "configure:12258: checking for _fmodl declaration" >&5
12258 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
12259 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
12260 echo $ac_n "(cached) $ac_c" 1>&6
12265 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12266 ac_cpp='$CXXCPP $CPPFLAGS'
12267 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12268 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12269 cross_compiling=$ac_cv_prog_cxx_cross
12271 cat > conftest.$ac_ext <<EOF
12272 #line 12273 "configure"
12273 #include "confdefs.h"
12279 if { (eval echo configure:12280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12281 glibcpp_cv_func__fmodl_use=yes
12283 echo "configure: failed program was:" >&5
12284 cat conftest.$ac_ext >&5
12286 glibcpp_cv_func__fmodl_use=no
12290 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12291 ac_cpp='$CPP $CPPFLAGS'
12292 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12293 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12294 cross_compiling=$ac_cv_prog_cc_cross
12300 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
12302 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
12303 for ac_func in _fmodl
12305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12306 echo "configure:12307: checking for $ac_func" >&5
12307 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12308 echo $ac_n "(cached) $ac_c" 1>&6
12310 cat > conftest.$ac_ext <<EOF
12311 #line 12312 "configure"
12312 #include "confdefs.h"
12313 /* System header to define __stub macros and hopefully few prototypes,
12314 which can conflict with char $ac_func(); below. */
12315 #include <assert.h>
12316 /* Override any gcc2 internal prototype to avoid an error. */
12317 /* We use char because int might match the return type of a gcc2
12318 builtin and then its argument prototype would still apply. */
12323 /* The GNU C library defines this for functions which it implements
12324 to always fail with ENOSYS. Some functions are actually named
12325 something starting with __ and the normal name is an alias. */
12326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12334 if { (eval echo configure:12335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12336 eval "ac_cv_func_$ac_func=yes"
12338 echo "configure: failed program was:" >&5
12339 cat conftest.$ac_ext >&5
12341 eval "ac_cv_func_$ac_func=no"
12346 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12347 echo "$ac_t""yes" 1>&6
12348 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12349 cat >> confdefs.h <<EOF
12350 #define $ac_tr_func 1
12354 echo "$ac_t""no" 1>&6
12363 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
12364 echo "configure:12365: checking for frexpl declaration" >&5
12365 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
12366 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
12367 echo $ac_n "(cached) $ac_c" 1>&6
12372 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12373 ac_cpp='$CXXCPP $CPPFLAGS'
12374 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12375 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12376 cross_compiling=$ac_cv_prog_cxx_cross
12378 cat > conftest.$ac_ext <<EOF
12379 #line 12380 "configure"
12380 #include "confdefs.h"
12386 if { (eval echo configure:12387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12388 glibcpp_cv_func_frexpl_use=yes
12390 echo "configure: failed program was:" >&5
12391 cat conftest.$ac_ext >&5
12393 glibcpp_cv_func_frexpl_use=no
12397 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12398 ac_cpp='$CPP $CPPFLAGS'
12399 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12400 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12401 cross_compiling=$ac_cv_prog_cc_cross
12407 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
12409 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
12410 for ac_func in frexpl
12412 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12413 echo "configure:12414: checking for $ac_func" >&5
12414 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12415 echo $ac_n "(cached) $ac_c" 1>&6
12417 cat > conftest.$ac_ext <<EOF
12418 #line 12419 "configure"
12419 #include "confdefs.h"
12420 /* System header to define __stub macros and hopefully few prototypes,
12421 which can conflict with char $ac_func(); below. */
12422 #include <assert.h>
12423 /* Override any gcc2 internal prototype to avoid an error. */
12424 /* We use char because int might match the return type of a gcc2
12425 builtin and then its argument prototype would still apply. */
12430 /* The GNU C library defines this for functions which it implements
12431 to always fail with ENOSYS. Some functions are actually named
12432 something starting with __ and the normal name is an alias. */
12433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12441 if { (eval echo configure:12442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12443 eval "ac_cv_func_$ac_func=yes"
12445 echo "configure: failed program was:" >&5
12446 cat conftest.$ac_ext >&5
12448 eval "ac_cv_func_$ac_func=no"
12453 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12454 echo "$ac_t""yes" 1>&6
12455 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12456 cat >> confdefs.h <<EOF
12457 #define $ac_tr_func 1
12461 echo "$ac_t""no" 1>&6
12467 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
12468 echo "configure:12469: checking for _frexpl declaration" >&5
12469 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
12470 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
12471 echo $ac_n "(cached) $ac_c" 1>&6
12476 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12477 ac_cpp='$CXXCPP $CPPFLAGS'
12478 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12479 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12480 cross_compiling=$ac_cv_prog_cxx_cross
12482 cat > conftest.$ac_ext <<EOF
12483 #line 12484 "configure"
12484 #include "confdefs.h"
12490 if { (eval echo configure:12491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12492 glibcpp_cv_func__frexpl_use=yes
12494 echo "configure: failed program was:" >&5
12495 cat conftest.$ac_ext >&5
12497 glibcpp_cv_func__frexpl_use=no
12501 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12502 ac_cpp='$CPP $CPPFLAGS'
12503 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12504 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12505 cross_compiling=$ac_cv_prog_cc_cross
12511 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
12513 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
12514 for ac_func in _frexpl
12516 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12517 echo "configure:12518: checking for $ac_func" >&5
12518 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12519 echo $ac_n "(cached) $ac_c" 1>&6
12521 cat > conftest.$ac_ext <<EOF
12522 #line 12523 "configure"
12523 #include "confdefs.h"
12524 /* System header to define __stub macros and hopefully few prototypes,
12525 which can conflict with char $ac_func(); below. */
12526 #include <assert.h>
12527 /* Override any gcc2 internal prototype to avoid an error. */
12528 /* We use char because int might match the return type of a gcc2
12529 builtin and then its argument prototype would still apply. */
12534 /* The GNU C library defines this for functions which it implements
12535 to always fail with ENOSYS. Some functions are actually named
12536 something starting with __ and the normal name is an alias. */
12537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12545 if { (eval echo configure:12546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12547 eval "ac_cv_func_$ac_func=yes"
12549 echo "configure: failed program was:" >&5
12550 cat conftest.$ac_ext >&5
12552 eval "ac_cv_func_$ac_func=no"
12557 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12558 echo "$ac_t""yes" 1>&6
12559 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12560 cat >> confdefs.h <<EOF
12561 #define $ac_tr_func 1
12565 echo "$ac_t""no" 1>&6
12574 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
12575 echo "configure:12576: checking for ldexpl declaration" >&5
12576 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
12577 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
12578 echo $ac_n "(cached) $ac_c" 1>&6
12583 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12584 ac_cpp='$CXXCPP $CPPFLAGS'
12585 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12586 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12587 cross_compiling=$ac_cv_prog_cxx_cross
12589 cat > conftest.$ac_ext <<EOF
12590 #line 12591 "configure"
12591 #include "confdefs.h"
12597 if { (eval echo configure:12598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12599 glibcpp_cv_func_ldexpl_use=yes
12601 echo "configure: failed program was:" >&5
12602 cat conftest.$ac_ext >&5
12604 glibcpp_cv_func_ldexpl_use=no
12608 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12609 ac_cpp='$CPP $CPPFLAGS'
12610 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12611 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12612 cross_compiling=$ac_cv_prog_cc_cross
12618 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
12620 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
12621 for ac_func in ldexpl
12623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12624 echo "configure:12625: checking for $ac_func" >&5
12625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12626 echo $ac_n "(cached) $ac_c" 1>&6
12628 cat > conftest.$ac_ext <<EOF
12629 #line 12630 "configure"
12630 #include "confdefs.h"
12631 /* System header to define __stub macros and hopefully few prototypes,
12632 which can conflict with char $ac_func(); below. */
12633 #include <assert.h>
12634 /* Override any gcc2 internal prototype to avoid an error. */
12635 /* We use char because int might match the return type of a gcc2
12636 builtin and then its argument prototype would still apply. */
12641 /* The GNU C library defines this for functions which it implements
12642 to always fail with ENOSYS. Some functions are actually named
12643 something starting with __ and the normal name is an alias. */
12644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12652 if { (eval echo configure:12653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12654 eval "ac_cv_func_$ac_func=yes"
12656 echo "configure: failed program was:" >&5
12657 cat conftest.$ac_ext >&5
12659 eval "ac_cv_func_$ac_func=no"
12664 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12665 echo "$ac_t""yes" 1>&6
12666 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12667 cat >> confdefs.h <<EOF
12668 #define $ac_tr_func 1
12672 echo "$ac_t""no" 1>&6
12678 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
12679 echo "configure:12680: checking for _ldexpl declaration" >&5
12680 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
12681 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
12682 echo $ac_n "(cached) $ac_c" 1>&6
12687 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12688 ac_cpp='$CXXCPP $CPPFLAGS'
12689 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12690 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12691 cross_compiling=$ac_cv_prog_cxx_cross
12693 cat > conftest.$ac_ext <<EOF
12694 #line 12695 "configure"
12695 #include "confdefs.h"
12701 if { (eval echo configure:12702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12703 glibcpp_cv_func__ldexpl_use=yes
12705 echo "configure: failed program was:" >&5
12706 cat conftest.$ac_ext >&5
12708 glibcpp_cv_func__ldexpl_use=no
12712 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12713 ac_cpp='$CPP $CPPFLAGS'
12714 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12715 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12716 cross_compiling=$ac_cv_prog_cc_cross
12722 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
12724 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
12725 for ac_func in _ldexpl
12727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12728 echo "configure:12729: checking for $ac_func" >&5
12729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12730 echo $ac_n "(cached) $ac_c" 1>&6
12732 cat > conftest.$ac_ext <<EOF
12733 #line 12734 "configure"
12734 #include "confdefs.h"
12735 /* System header to define __stub macros and hopefully few prototypes,
12736 which can conflict with char $ac_func(); below. */
12737 #include <assert.h>
12738 /* Override any gcc2 internal prototype to avoid an error. */
12739 /* We use char because int might match the return type of a gcc2
12740 builtin and then its argument prototype would still apply. */
12745 /* The GNU C library defines this for functions which it implements
12746 to always fail with ENOSYS. Some functions are actually named
12747 something starting with __ and the normal name is an alias. */
12748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12756 if { (eval echo configure:12757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12758 eval "ac_cv_func_$ac_func=yes"
12760 echo "configure: failed program was:" >&5
12761 cat conftest.$ac_ext >&5
12763 eval "ac_cv_func_$ac_func=no"
12768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12769 echo "$ac_t""yes" 1>&6
12770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12771 cat >> confdefs.h <<EOF
12772 #define $ac_tr_func 1
12776 echo "$ac_t""no" 1>&6
12785 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
12786 echo "configure:12787: checking for logl declaration" >&5
12787 if test x${glibcpp_cv_func_logl_use+set} != xset; then
12788 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
12789 echo $ac_n "(cached) $ac_c" 1>&6
12794 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12795 ac_cpp='$CXXCPP $CPPFLAGS'
12796 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12797 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12798 cross_compiling=$ac_cv_prog_cxx_cross
12800 cat > conftest.$ac_ext <<EOF
12801 #line 12802 "configure"
12802 #include "confdefs.h"
12804 #ifdef HAVE_IEEEFP_H
12805 #include <ieeefp.h>
12812 if { (eval echo configure:12813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12814 glibcpp_cv_func_logl_use=yes
12816 echo "configure: failed program was:" >&5
12817 cat conftest.$ac_ext >&5
12819 glibcpp_cv_func_logl_use=no
12823 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12824 ac_cpp='$CPP $CPPFLAGS'
12825 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12826 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12827 cross_compiling=$ac_cv_prog_cc_cross
12833 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
12835 if test x$glibcpp_cv_func_logl_use = x"yes"; then
12836 for ac_func in logl
12838 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12839 echo "configure:12840: checking for $ac_func" >&5
12840 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12841 echo $ac_n "(cached) $ac_c" 1>&6
12843 cat > conftest.$ac_ext <<EOF
12844 #line 12845 "configure"
12845 #include "confdefs.h"
12846 /* System header to define __stub macros and hopefully few prototypes,
12847 which can conflict with char $ac_func(); below. */
12848 #include <assert.h>
12849 /* Override any gcc2 internal prototype to avoid an error. */
12850 /* We use char because int might match the return type of a gcc2
12851 builtin and then its argument prototype would still apply. */
12856 /* The GNU C library defines this for functions which it implements
12857 to always fail with ENOSYS. Some functions are actually named
12858 something starting with __ and the normal name is an alias. */
12859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12867 if { (eval echo configure:12868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12869 eval "ac_cv_func_$ac_func=yes"
12871 echo "configure: failed program was:" >&5
12872 cat conftest.$ac_ext >&5
12874 eval "ac_cv_func_$ac_func=no"
12879 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12880 echo "$ac_t""yes" 1>&6
12881 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12882 cat >> confdefs.h <<EOF
12883 #define $ac_tr_func 1
12887 echo "$ac_t""no" 1>&6
12893 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
12894 echo "configure:12895: checking for _logl declaration" >&5
12895 if test x${glibcpp_cv_func__logl_use+set} != xset; then
12896 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
12897 echo $ac_n "(cached) $ac_c" 1>&6
12902 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12903 ac_cpp='$CXXCPP $CPPFLAGS'
12904 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12905 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12906 cross_compiling=$ac_cv_prog_cxx_cross
12908 cat > conftest.$ac_ext <<EOF
12909 #line 12910 "configure"
12910 #include "confdefs.h"
12912 #ifdef HAVE_IEEEFP_H
12913 #include <ieeefp.h>
12920 if { (eval echo configure:12921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12922 glibcpp_cv_func__logl_use=yes
12924 echo "configure: failed program was:" >&5
12925 cat conftest.$ac_ext >&5
12927 glibcpp_cv_func__logl_use=no
12931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12932 ac_cpp='$CPP $CPPFLAGS'
12933 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12934 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12935 cross_compiling=$ac_cv_prog_cc_cross
12941 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
12943 if test x$glibcpp_cv_func__logl_use = x"yes"; then
12944 for ac_func in _logl
12946 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12947 echo "configure:12948: checking for $ac_func" >&5
12948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12949 echo $ac_n "(cached) $ac_c" 1>&6
12951 cat > conftest.$ac_ext <<EOF
12952 #line 12953 "configure"
12953 #include "confdefs.h"
12954 /* System header to define __stub macros and hopefully few prototypes,
12955 which can conflict with char $ac_func(); below. */
12956 #include <assert.h>
12957 /* Override any gcc2 internal prototype to avoid an error. */
12958 /* We use char because int might match the return type of a gcc2
12959 builtin and then its argument prototype would still apply. */
12964 /* The GNU C library defines this for functions which it implements
12965 to always fail with ENOSYS. Some functions are actually named
12966 something starting with __ and the normal name is an alias. */
12967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12975 if { (eval echo configure:12976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12977 eval "ac_cv_func_$ac_func=yes"
12979 echo "configure: failed program was:" >&5
12980 cat conftest.$ac_ext >&5
12982 eval "ac_cv_func_$ac_func=no"
12987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12988 echo "$ac_t""yes" 1>&6
12989 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12990 cat >> confdefs.h <<EOF
12991 #define $ac_tr_func 1
12995 echo "$ac_t""no" 1>&6
13004 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
13005 echo "configure:13006: checking for log10l declaration" >&5
13006 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
13007 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
13008 echo $ac_n "(cached) $ac_c" 1>&6
13013 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13014 ac_cpp='$CXXCPP $CPPFLAGS'
13015 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13016 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13017 cross_compiling=$ac_cv_prog_cxx_cross
13019 cat > conftest.$ac_ext <<EOF
13020 #line 13021 "configure"
13021 #include "confdefs.h"
13023 #ifdef HAVE_IEEEFP_H
13024 #include <ieeefp.h>
13031 if { (eval echo configure:13032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13033 glibcpp_cv_func_log10l_use=yes
13035 echo "configure: failed program was:" >&5
13036 cat conftest.$ac_ext >&5
13038 glibcpp_cv_func_log10l_use=no
13042 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13043 ac_cpp='$CPP $CPPFLAGS'
13044 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13045 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13046 cross_compiling=$ac_cv_prog_cc_cross
13052 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
13054 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
13055 for ac_func in log10l
13057 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13058 echo "configure:13059: checking for $ac_func" >&5
13059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13060 echo $ac_n "(cached) $ac_c" 1>&6
13062 cat > conftest.$ac_ext <<EOF
13063 #line 13064 "configure"
13064 #include "confdefs.h"
13065 /* System header to define __stub macros and hopefully few prototypes,
13066 which can conflict with char $ac_func(); below. */
13067 #include <assert.h>
13068 /* Override any gcc2 internal prototype to avoid an error. */
13069 /* We use char because int might match the return type of a gcc2
13070 builtin and then its argument prototype would still apply. */
13075 /* The GNU C library defines this for functions which it implements
13076 to always fail with ENOSYS. Some functions are actually named
13077 something starting with __ and the normal name is an alias. */
13078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13086 if { (eval echo configure:13087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13088 eval "ac_cv_func_$ac_func=yes"
13090 echo "configure: failed program was:" >&5
13091 cat conftest.$ac_ext >&5
13093 eval "ac_cv_func_$ac_func=no"
13098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13099 echo "$ac_t""yes" 1>&6
13100 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13101 cat >> confdefs.h <<EOF
13102 #define $ac_tr_func 1
13106 echo "$ac_t""no" 1>&6
13112 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
13113 echo "configure:13114: checking for _log10l declaration" >&5
13114 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
13115 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
13116 echo $ac_n "(cached) $ac_c" 1>&6
13121 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13122 ac_cpp='$CXXCPP $CPPFLAGS'
13123 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13124 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13125 cross_compiling=$ac_cv_prog_cxx_cross
13127 cat > conftest.$ac_ext <<EOF
13128 #line 13129 "configure"
13129 #include "confdefs.h"
13131 #ifdef HAVE_IEEEFP_H
13132 #include <ieeefp.h>
13139 if { (eval echo configure:13140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13141 glibcpp_cv_func__log10l_use=yes
13143 echo "configure: failed program was:" >&5
13144 cat conftest.$ac_ext >&5
13146 glibcpp_cv_func__log10l_use=no
13150 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13151 ac_cpp='$CPP $CPPFLAGS'
13152 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13153 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13154 cross_compiling=$ac_cv_prog_cc_cross
13160 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
13162 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
13163 for ac_func in _log10l
13165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13166 echo "configure:13167: checking for $ac_func" >&5
13167 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13168 echo $ac_n "(cached) $ac_c" 1>&6
13170 cat > conftest.$ac_ext <<EOF
13171 #line 13172 "configure"
13172 #include "confdefs.h"
13173 /* System header to define __stub macros and hopefully few prototypes,
13174 which can conflict with char $ac_func(); below. */
13175 #include <assert.h>
13176 /* Override any gcc2 internal prototype to avoid an error. */
13177 /* We use char because int might match the return type of a gcc2
13178 builtin and then its argument prototype would still apply. */
13183 /* The GNU C library defines this for functions which it implements
13184 to always fail with ENOSYS. Some functions are actually named
13185 something starting with __ and the normal name is an alias. */
13186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13194 if { (eval echo configure:13195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13196 eval "ac_cv_func_$ac_func=yes"
13198 echo "configure: failed program was:" >&5
13199 cat conftest.$ac_ext >&5
13201 eval "ac_cv_func_$ac_func=no"
13206 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13207 echo "$ac_t""yes" 1>&6
13208 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13209 cat >> confdefs.h <<EOF
13210 #define $ac_tr_func 1
13214 echo "$ac_t""no" 1>&6
13223 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
13224 echo "configure:13225: checking for modfl declaration" >&5
13225 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
13226 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
13227 echo $ac_n "(cached) $ac_c" 1>&6
13232 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13233 ac_cpp='$CXXCPP $CPPFLAGS'
13234 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13235 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13236 cross_compiling=$ac_cv_prog_cxx_cross
13238 cat > conftest.$ac_ext <<EOF
13239 #line 13240 "configure"
13240 #include "confdefs.h"
13246 if { (eval echo configure:13247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13248 glibcpp_cv_func_modfl_use=yes
13250 echo "configure: failed program was:" >&5
13251 cat conftest.$ac_ext >&5
13253 glibcpp_cv_func_modfl_use=no
13257 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13258 ac_cpp='$CPP $CPPFLAGS'
13259 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13260 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13261 cross_compiling=$ac_cv_prog_cc_cross
13267 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
13269 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
13270 for ac_func in modfl
13272 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13273 echo "configure:13274: checking for $ac_func" >&5
13274 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13275 echo $ac_n "(cached) $ac_c" 1>&6
13277 cat > conftest.$ac_ext <<EOF
13278 #line 13279 "configure"
13279 #include "confdefs.h"
13280 /* System header to define __stub macros and hopefully few prototypes,
13281 which can conflict with char $ac_func(); below. */
13282 #include <assert.h>
13283 /* Override any gcc2 internal prototype to avoid an error. */
13284 /* We use char because int might match the return type of a gcc2
13285 builtin and then its argument prototype would still apply. */
13290 /* The GNU C library defines this for functions which it implements
13291 to always fail with ENOSYS. Some functions are actually named
13292 something starting with __ and the normal name is an alias. */
13293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13301 if { (eval echo configure:13302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13303 eval "ac_cv_func_$ac_func=yes"
13305 echo "configure: failed program was:" >&5
13306 cat conftest.$ac_ext >&5
13308 eval "ac_cv_func_$ac_func=no"
13313 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13314 echo "$ac_t""yes" 1>&6
13315 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13316 cat >> confdefs.h <<EOF
13317 #define $ac_tr_func 1
13321 echo "$ac_t""no" 1>&6
13327 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
13328 echo "configure:13329: checking for _modfl declaration" >&5
13329 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
13330 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13331 echo $ac_n "(cached) $ac_c" 1>&6
13336 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13337 ac_cpp='$CXXCPP $CPPFLAGS'
13338 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13339 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13340 cross_compiling=$ac_cv_prog_cxx_cross
13342 cat > conftest.$ac_ext <<EOF
13343 #line 13344 "configure"
13344 #include "confdefs.h"
13350 if { (eval echo configure:13351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13352 glibcpp_cv_func__modfl_use=yes
13354 echo "configure: failed program was:" >&5
13355 cat conftest.$ac_ext >&5
13357 glibcpp_cv_func__modfl_use=no
13361 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13362 ac_cpp='$CPP $CPPFLAGS'
13363 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13364 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13365 cross_compiling=$ac_cv_prog_cc_cross
13371 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13373 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
13374 for ac_func in _modfl
13376 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13377 echo "configure:13378: checking for $ac_func" >&5
13378 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13379 echo $ac_n "(cached) $ac_c" 1>&6
13381 cat > conftest.$ac_ext <<EOF
13382 #line 13383 "configure"
13383 #include "confdefs.h"
13384 /* System header to define __stub macros and hopefully few prototypes,
13385 which can conflict with char $ac_func(); below. */
13386 #include <assert.h>
13387 /* Override any gcc2 internal prototype to avoid an error. */
13388 /* We use char because int might match the return type of a gcc2
13389 builtin and then its argument prototype would still apply. */
13394 /* The GNU C library defines this for functions which it implements
13395 to always fail with ENOSYS. Some functions are actually named
13396 something starting with __ and the normal name is an alias. */
13397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13405 if { (eval echo configure:13406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13407 eval "ac_cv_func_$ac_func=yes"
13409 echo "configure: failed program was:" >&5
13410 cat conftest.$ac_ext >&5
13412 eval "ac_cv_func_$ac_func=no"
13417 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13418 echo "$ac_t""yes" 1>&6
13419 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13420 cat >> confdefs.h <<EOF
13421 #define $ac_tr_func 1
13425 echo "$ac_t""no" 1>&6
13434 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
13435 echo "configure:13436: checking for powl declaration" >&5
13436 if test x${glibcpp_cv_func_powl_use+set} != xset; then
13437 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
13438 echo $ac_n "(cached) $ac_c" 1>&6
13443 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13444 ac_cpp='$CXXCPP $CPPFLAGS'
13445 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13446 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13447 cross_compiling=$ac_cv_prog_cxx_cross
13449 cat > conftest.$ac_ext <<EOF
13450 #line 13451 "configure"
13451 #include "confdefs.h"
13457 if { (eval echo configure:13458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13459 glibcpp_cv_func_powl_use=yes
13461 echo "configure: failed program was:" >&5
13462 cat conftest.$ac_ext >&5
13464 glibcpp_cv_func_powl_use=no
13468 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13469 ac_cpp='$CPP $CPPFLAGS'
13470 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13471 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13472 cross_compiling=$ac_cv_prog_cc_cross
13478 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
13480 if test x$glibcpp_cv_func_powl_use = x"yes"; then
13481 for ac_func in powl
13483 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13484 echo "configure:13485: checking for $ac_func" >&5
13485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13486 echo $ac_n "(cached) $ac_c" 1>&6
13488 cat > conftest.$ac_ext <<EOF
13489 #line 13490 "configure"
13490 #include "confdefs.h"
13491 /* System header to define __stub macros and hopefully few prototypes,
13492 which can conflict with char $ac_func(); below. */
13493 #include <assert.h>
13494 /* Override any gcc2 internal prototype to avoid an error. */
13495 /* We use char because int might match the return type of a gcc2
13496 builtin and then its argument prototype would still apply. */
13501 /* The GNU C library defines this for functions which it implements
13502 to always fail with ENOSYS. Some functions are actually named
13503 something starting with __ and the normal name is an alias. */
13504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13512 if { (eval echo configure:13513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13514 eval "ac_cv_func_$ac_func=yes"
13516 echo "configure: failed program was:" >&5
13517 cat conftest.$ac_ext >&5
13519 eval "ac_cv_func_$ac_func=no"
13524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13525 echo "$ac_t""yes" 1>&6
13526 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13527 cat >> confdefs.h <<EOF
13528 #define $ac_tr_func 1
13532 echo "$ac_t""no" 1>&6
13538 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
13539 echo "configure:13540: checking for _powl declaration" >&5
13540 if test x${glibcpp_cv_func__powl_use+set} != xset; then
13541 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
13542 echo $ac_n "(cached) $ac_c" 1>&6
13547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13548 ac_cpp='$CXXCPP $CPPFLAGS'
13549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13551 cross_compiling=$ac_cv_prog_cxx_cross
13553 cat > conftest.$ac_ext <<EOF
13554 #line 13555 "configure"
13555 #include "confdefs.h"
13561 if { (eval echo configure:13562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13563 glibcpp_cv_func__powl_use=yes
13565 echo "configure: failed program was:" >&5
13566 cat conftest.$ac_ext >&5
13568 glibcpp_cv_func__powl_use=no
13572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13573 ac_cpp='$CPP $CPPFLAGS'
13574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13576 cross_compiling=$ac_cv_prog_cc_cross
13582 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
13584 if test x$glibcpp_cv_func__powl_use = x"yes"; then
13585 for ac_func in _powl
13587 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13588 echo "configure:13589: checking for $ac_func" >&5
13589 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13590 echo $ac_n "(cached) $ac_c" 1>&6
13592 cat > conftest.$ac_ext <<EOF
13593 #line 13594 "configure"
13594 #include "confdefs.h"
13595 /* System header to define __stub macros and hopefully few prototypes,
13596 which can conflict with char $ac_func(); below. */
13597 #include <assert.h>
13598 /* Override any gcc2 internal prototype to avoid an error. */
13599 /* We use char because int might match the return type of a gcc2
13600 builtin and then its argument prototype would still apply. */
13605 /* The GNU C library defines this for functions which it implements
13606 to always fail with ENOSYS. Some functions are actually named
13607 something starting with __ and the normal name is an alias. */
13608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13616 if { (eval echo configure:13617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13618 eval "ac_cv_func_$ac_func=yes"
13620 echo "configure: failed program was:" >&5
13621 cat conftest.$ac_ext >&5
13623 eval "ac_cv_func_$ac_func=no"
13628 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13629 echo "$ac_t""yes" 1>&6
13630 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13631 cat >> confdefs.h <<EOF
13632 #define $ac_tr_func 1
13636 echo "$ac_t""no" 1>&6
13645 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
13646 echo "configure:13647: checking for sqrtl declaration" >&5
13647 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
13648 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
13649 echo $ac_n "(cached) $ac_c" 1>&6
13654 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13655 ac_cpp='$CXXCPP $CPPFLAGS'
13656 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13657 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13658 cross_compiling=$ac_cv_prog_cxx_cross
13660 cat > conftest.$ac_ext <<EOF
13661 #line 13662 "configure"
13662 #include "confdefs.h"
13664 #ifdef HAVE_IEEEFP_H
13665 #include <ieeefp.h>
13672 if { (eval echo configure:13673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13674 glibcpp_cv_func_sqrtl_use=yes
13676 echo "configure: failed program was:" >&5
13677 cat conftest.$ac_ext >&5
13679 glibcpp_cv_func_sqrtl_use=no
13683 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13684 ac_cpp='$CPP $CPPFLAGS'
13685 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13686 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13687 cross_compiling=$ac_cv_prog_cc_cross
13693 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
13695 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
13696 for ac_func in sqrtl
13698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13699 echo "configure:13700: checking for $ac_func" >&5
13700 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13701 echo $ac_n "(cached) $ac_c" 1>&6
13703 cat > conftest.$ac_ext <<EOF
13704 #line 13705 "configure"
13705 #include "confdefs.h"
13706 /* System header to define __stub macros and hopefully few prototypes,
13707 which can conflict with char $ac_func(); below. */
13708 #include <assert.h>
13709 /* Override any gcc2 internal prototype to avoid an error. */
13710 /* We use char because int might match the return type of a gcc2
13711 builtin and then its argument prototype would still apply. */
13716 /* The GNU C library defines this for functions which it implements
13717 to always fail with ENOSYS. Some functions are actually named
13718 something starting with __ and the normal name is an alias. */
13719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13727 if { (eval echo configure:13728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13729 eval "ac_cv_func_$ac_func=yes"
13731 echo "configure: failed program was:" >&5
13732 cat conftest.$ac_ext >&5
13734 eval "ac_cv_func_$ac_func=no"
13739 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13740 echo "$ac_t""yes" 1>&6
13741 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13742 cat >> confdefs.h <<EOF
13743 #define $ac_tr_func 1
13747 echo "$ac_t""no" 1>&6
13753 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
13754 echo "configure:13755: checking for _sqrtl declaration" >&5
13755 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
13756 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
13757 echo $ac_n "(cached) $ac_c" 1>&6
13762 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13763 ac_cpp='$CXXCPP $CPPFLAGS'
13764 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13765 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13766 cross_compiling=$ac_cv_prog_cxx_cross
13768 cat > conftest.$ac_ext <<EOF
13769 #line 13770 "configure"
13770 #include "confdefs.h"
13772 #ifdef HAVE_IEEEFP_H
13773 #include <ieeefp.h>
13780 if { (eval echo configure:13781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13782 glibcpp_cv_func__sqrtl_use=yes
13784 echo "configure: failed program was:" >&5
13785 cat conftest.$ac_ext >&5
13787 glibcpp_cv_func__sqrtl_use=no
13791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13792 ac_cpp='$CPP $CPPFLAGS'
13793 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13794 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13795 cross_compiling=$ac_cv_prog_cc_cross
13801 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
13803 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
13804 for ac_func in _sqrtl
13806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13807 echo "configure:13808: checking for $ac_func" >&5
13808 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13809 echo $ac_n "(cached) $ac_c" 1>&6
13811 cat > conftest.$ac_ext <<EOF
13812 #line 13813 "configure"
13813 #include "confdefs.h"
13814 /* System header to define __stub macros and hopefully few prototypes,
13815 which can conflict with char $ac_func(); below. */
13816 #include <assert.h>
13817 /* Override any gcc2 internal prototype to avoid an error. */
13818 /* We use char because int might match the return type of a gcc2
13819 builtin and then its argument prototype would still apply. */
13824 /* The GNU C library defines this for functions which it implements
13825 to always fail with ENOSYS. Some functions are actually named
13826 something starting with __ and the normal name is an alias. */
13827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13835 if { (eval echo configure:13836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13837 eval "ac_cv_func_$ac_func=yes"
13839 echo "configure: failed program was:" >&5
13840 cat conftest.$ac_ext >&5
13842 eval "ac_cv_func_$ac_func=no"
13847 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13848 echo "$ac_t""yes" 1>&6
13849 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13850 cat >> confdefs.h <<EOF
13851 #define $ac_tr_func 1
13855 echo "$ac_t""no" 1>&6
13864 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
13865 echo "configure:13866: checking for sincosl declaration" >&5
13866 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
13867 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
13868 echo $ac_n "(cached) $ac_c" 1>&6
13873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13874 ac_cpp='$CXXCPP $CPPFLAGS'
13875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13877 cross_compiling=$ac_cv_prog_cxx_cross
13879 cat > conftest.$ac_ext <<EOF
13880 #line 13881 "configure"
13881 #include "confdefs.h"
13887 if { (eval echo configure:13888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13889 glibcpp_cv_func_sincosl_use=yes
13891 echo "configure: failed program was:" >&5
13892 cat conftest.$ac_ext >&5
13894 glibcpp_cv_func_sincosl_use=no
13898 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13899 ac_cpp='$CPP $CPPFLAGS'
13900 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13901 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13902 cross_compiling=$ac_cv_prog_cc_cross
13908 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
13910 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
13911 for ac_func in sincosl
13913 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13914 echo "configure:13915: checking for $ac_func" >&5
13915 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13916 echo $ac_n "(cached) $ac_c" 1>&6
13918 cat > conftest.$ac_ext <<EOF
13919 #line 13920 "configure"
13920 #include "confdefs.h"
13921 /* System header to define __stub macros and hopefully few prototypes,
13922 which can conflict with char $ac_func(); below. */
13923 #include <assert.h>
13924 /* Override any gcc2 internal prototype to avoid an error. */
13925 /* We use char because int might match the return type of a gcc2
13926 builtin and then its argument prototype would still apply. */
13931 /* The GNU C library defines this for functions which it implements
13932 to always fail with ENOSYS. Some functions are actually named
13933 something starting with __ and the normal name is an alias. */
13934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13942 if { (eval echo configure:13943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13944 eval "ac_cv_func_$ac_func=yes"
13946 echo "configure: failed program was:" >&5
13947 cat conftest.$ac_ext >&5
13949 eval "ac_cv_func_$ac_func=no"
13954 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13955 echo "$ac_t""yes" 1>&6
13956 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13957 cat >> confdefs.h <<EOF
13958 #define $ac_tr_func 1
13962 echo "$ac_t""no" 1>&6
13968 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
13969 echo "configure:13970: checking for _sincosl declaration" >&5
13970 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
13971 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
13972 echo $ac_n "(cached) $ac_c" 1>&6
13977 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13978 ac_cpp='$CXXCPP $CPPFLAGS'
13979 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13980 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13981 cross_compiling=$ac_cv_prog_cxx_cross
13983 cat > conftest.$ac_ext <<EOF
13984 #line 13985 "configure"
13985 #include "confdefs.h"
13991 if { (eval echo configure:13992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13993 glibcpp_cv_func__sincosl_use=yes
13995 echo "configure: failed program was:" >&5
13996 cat conftest.$ac_ext >&5
13998 glibcpp_cv_func__sincosl_use=no
14002 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14003 ac_cpp='$CPP $CPPFLAGS'
14004 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14005 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14006 cross_compiling=$ac_cv_prog_cc_cross
14012 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
14014 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
14015 for ac_func in _sincosl
14017 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14018 echo "configure:14019: checking for $ac_func" >&5
14019 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14020 echo $ac_n "(cached) $ac_c" 1>&6
14022 cat > conftest.$ac_ext <<EOF
14023 #line 14024 "configure"
14024 #include "confdefs.h"
14025 /* System header to define __stub macros and hopefully few prototypes,
14026 which can conflict with char $ac_func(); below. */
14027 #include <assert.h>
14028 /* Override any gcc2 internal prototype to avoid an error. */
14029 /* We use char because int might match the return type of a gcc2
14030 builtin and then its argument prototype would still apply. */
14035 /* The GNU C library defines this for functions which it implements
14036 to always fail with ENOSYS. Some functions are actually named
14037 something starting with __ and the normal name is an alias. */
14038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14046 if { (eval echo configure:14047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14048 eval "ac_cv_func_$ac_func=yes"
14050 echo "configure: failed program was:" >&5
14051 cat conftest.$ac_ext >&5
14053 eval "ac_cv_func_$ac_func=no"
14058 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14059 echo "$ac_t""yes" 1>&6
14060 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14061 cat >> confdefs.h <<EOF
14062 #define $ac_tr_func 1
14066 echo "$ac_t""no" 1>&6
14075 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
14076 echo "configure:14077: checking for finitel declaration" >&5
14077 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
14078 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
14079 echo $ac_n "(cached) $ac_c" 1>&6
14084 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14085 ac_cpp='$CXXCPP $CPPFLAGS'
14086 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14087 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14088 cross_compiling=$ac_cv_prog_cxx_cross
14090 cat > conftest.$ac_ext <<EOF
14091 #line 14092 "configure"
14092 #include "confdefs.h"
14094 #ifdef HAVE_IEEEFP_H
14095 #include <ieeefp.h>
14102 if { (eval echo configure:14103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14104 glibcpp_cv_func_finitel_use=yes
14106 echo "configure: failed program was:" >&5
14107 cat conftest.$ac_ext >&5
14109 glibcpp_cv_func_finitel_use=no
14113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14114 ac_cpp='$CPP $CPPFLAGS'
14115 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14116 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14117 cross_compiling=$ac_cv_prog_cc_cross
14123 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
14125 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
14126 for ac_func in finitel
14128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14129 echo "configure:14130: checking for $ac_func" >&5
14130 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14131 echo $ac_n "(cached) $ac_c" 1>&6
14133 cat > conftest.$ac_ext <<EOF
14134 #line 14135 "configure"
14135 #include "confdefs.h"
14136 /* System header to define __stub macros and hopefully few prototypes,
14137 which can conflict with char $ac_func(); below. */
14138 #include <assert.h>
14139 /* Override any gcc2 internal prototype to avoid an error. */
14140 /* We use char because int might match the return type of a gcc2
14141 builtin and then its argument prototype would still apply. */
14146 /* The GNU C library defines this for functions which it implements
14147 to always fail with ENOSYS. Some functions are actually named
14148 something starting with __ and the normal name is an alias. */
14149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14157 if { (eval echo configure:14158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14159 eval "ac_cv_func_$ac_func=yes"
14161 echo "configure: failed program was:" >&5
14162 cat conftest.$ac_ext >&5
14164 eval "ac_cv_func_$ac_func=no"
14169 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14170 echo "$ac_t""yes" 1>&6
14171 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14172 cat >> confdefs.h <<EOF
14173 #define $ac_tr_func 1
14177 echo "$ac_t""no" 1>&6
14183 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
14184 echo "configure:14185: checking for _finitel declaration" >&5
14185 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
14186 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
14187 echo $ac_n "(cached) $ac_c" 1>&6
14192 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14193 ac_cpp='$CXXCPP $CPPFLAGS'
14194 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14195 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14196 cross_compiling=$ac_cv_prog_cxx_cross
14198 cat > conftest.$ac_ext <<EOF
14199 #line 14200 "configure"
14200 #include "confdefs.h"
14202 #ifdef HAVE_IEEEFP_H
14203 #include <ieeefp.h>
14210 if { (eval echo configure:14211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14212 glibcpp_cv_func__finitel_use=yes
14214 echo "configure: failed program was:" >&5
14215 cat conftest.$ac_ext >&5
14217 glibcpp_cv_func__finitel_use=no
14221 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14222 ac_cpp='$CPP $CPPFLAGS'
14223 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14224 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14225 cross_compiling=$ac_cv_prog_cc_cross
14231 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14233 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
14234 for ac_func in _finitel
14236 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14237 echo "configure:14238: checking for $ac_func" >&5
14238 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14239 echo $ac_n "(cached) $ac_c" 1>&6
14241 cat > conftest.$ac_ext <<EOF
14242 #line 14243 "configure"
14243 #include "confdefs.h"
14244 /* System header to define __stub macros and hopefully few prototypes,
14245 which can conflict with char $ac_func(); below. */
14246 #include <assert.h>
14247 /* Override any gcc2 internal prototype to avoid an error. */
14248 /* We use char because int might match the return type of a gcc2
14249 builtin and then its argument prototype would still apply. */
14254 /* The GNU C library defines this for functions which it implements
14255 to always fail with ENOSYS. Some functions are actually named
14256 something starting with __ and the normal name is an alias. */
14257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14265 if { (eval echo configure:14266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14267 eval "ac_cv_func_$ac_func=yes"
14269 echo "configure: failed program was:" >&5
14270 cat conftest.$ac_ext >&5
14272 eval "ac_cv_func_$ac_func=no"
14277 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14278 echo "$ac_t""yes" 1>&6
14279 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14280 cat >> confdefs.h <<EOF
14281 #define $ac_tr_func 1
14285 echo "$ac_t""no" 1>&6
14295 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
14296 echo "configure:14297: checking for _float trig functions" >&5
14297 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
14298 echo $ac_n "(cached) $ac_c" 1>&6
14303 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14304 ac_cpp='$CXXCPP $CPPFLAGS'
14305 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14306 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14307 cross_compiling=$ac_cv_prog_cxx_cross
14309 cat > conftest.$ac_ext <<EOF
14310 #line 14311 "configure"
14311 #include "confdefs.h"
14314 `for x in _acosf _asinf _atanf \
14315 _cosf _sinf _tanf \
14316 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
14319 if { (eval echo configure:14320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14321 glibcpp_cv_func__float_trig_use=yes
14323 echo "configure: failed program was:" >&5
14324 cat conftest.$ac_ext >&5
14326 glibcpp_cv_func__float_trig_use=no
14330 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14331 ac_cpp='$CPP $CPPFLAGS'
14332 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14333 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14334 cross_compiling=$ac_cv_prog_cc_cross
14338 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
14339 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
14340 for ac_func in _acosf _asinf _atanf \
14341 _cosf _sinf _tanf \
14342 _coshf _sinhf _tanhf
14344 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14345 echo "configure:14346: checking for $ac_func" >&5
14346 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14347 echo $ac_n "(cached) $ac_c" 1>&6
14349 cat > conftest.$ac_ext <<EOF
14350 #line 14351 "configure"
14351 #include "confdefs.h"
14352 /* System header to define __stub macros and hopefully few prototypes,
14353 which can conflict with char $ac_func(); below. */
14354 #include <assert.h>
14355 /* Override any gcc2 internal prototype to avoid an error. */
14356 /* We use char because int might match the return type of a gcc2
14357 builtin and then its argument prototype would still apply. */
14362 /* The GNU C library defines this for functions which it implements
14363 to always fail with ENOSYS. Some functions are actually named
14364 something starting with __ and the normal name is an alias. */
14365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14373 if { (eval echo configure:14374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14375 eval "ac_cv_func_$ac_func=yes"
14377 echo "configure: failed program was:" >&5
14378 cat conftest.$ac_ext >&5
14380 eval "ac_cv_func_$ac_func=no"
14385 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14386 echo "$ac_t""yes" 1>&6
14387 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14388 cat >> confdefs.h <<EOF
14389 #define $ac_tr_func 1
14393 echo "$ac_t""no" 1>&6
14400 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
14401 echo "configure:14402: checking for _float round functions" >&5
14402 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
14403 echo $ac_n "(cached) $ac_c" 1>&6
14408 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14409 ac_cpp='$CXXCPP $CPPFLAGS'
14410 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14411 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14412 cross_compiling=$ac_cv_prog_cxx_cross
14414 cat > conftest.$ac_ext <<EOF
14415 #line 14416 "configure"
14416 #include "confdefs.h"
14419 `for x in _ceilf _floorf; do echo "$x (0);"; done`
14422 if { (eval echo configure:14423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14424 glibcpp_cv_func__float_round_use=yes
14426 echo "configure: failed program was:" >&5
14427 cat conftest.$ac_ext >&5
14429 glibcpp_cv_func__float_round_use=no
14433 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14434 ac_cpp='$CPP $CPPFLAGS'
14435 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14436 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14437 cross_compiling=$ac_cv_prog_cc_cross
14441 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
14442 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
14443 for ac_func in _ceilf _floorf
14445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14446 echo "configure:14447: checking for $ac_func" >&5
14447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14448 echo $ac_n "(cached) $ac_c" 1>&6
14450 cat > conftest.$ac_ext <<EOF
14451 #line 14452 "configure"
14452 #include "confdefs.h"
14453 /* System header to define __stub macros and hopefully few prototypes,
14454 which can conflict with char $ac_func(); below. */
14455 #include <assert.h>
14456 /* Override any gcc2 internal prototype to avoid an error. */
14457 /* We use char because int might match the return type of a gcc2
14458 builtin and then its argument prototype would still apply. */
14463 /* The GNU C library defines this for functions which it implements
14464 to always fail with ENOSYS. Some functions are actually named
14465 something starting with __ and the normal name is an alias. */
14466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14474 if { (eval echo configure:14475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14476 eval "ac_cv_func_$ac_func=yes"
14478 echo "configure: failed program was:" >&5
14479 cat conftest.$ac_ext >&5
14481 eval "ac_cv_func_$ac_func=no"
14486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14487 echo "$ac_t""yes" 1>&6
14488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14489 cat >> confdefs.h <<EOF
14490 #define $ac_tr_func 1
14494 echo "$ac_t""no" 1>&6
14502 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
14503 echo "configure:14504: checking for _long double trig functions" >&5
14504 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
14505 echo $ac_n "(cached) $ac_c" 1>&6
14510 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14511 ac_cpp='$CXXCPP $CPPFLAGS'
14512 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14513 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14514 cross_compiling=$ac_cv_prog_cxx_cross
14516 cat > conftest.$ac_ext <<EOF
14517 #line 14518 "configure"
14518 #include "confdefs.h"
14521 `for x in _acosl _asinl _atanl \
14522 _cosl _sinl _tanl \
14523 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
14526 if { (eval echo configure:14527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14528 glibcpp_cv_func__long_double_trig_use=yes
14530 echo "configure: failed program was:" >&5
14531 cat conftest.$ac_ext >&5
14533 glibcpp_cv_func__long_double_trig_use=no
14537 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14538 ac_cpp='$CPP $CPPFLAGS'
14539 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14540 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14541 cross_compiling=$ac_cv_prog_cc_cross
14545 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
14546 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
14547 for ac_func in _acosl _asinl _atanl \
14548 _cosl _sinl _tanl \
14549 _coshl _sinhl _tanhl
14551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14552 echo "configure:14553: checking for $ac_func" >&5
14553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14554 echo $ac_n "(cached) $ac_c" 1>&6
14556 cat > conftest.$ac_ext <<EOF
14557 #line 14558 "configure"
14558 #include "confdefs.h"
14559 /* System header to define __stub macros and hopefully few prototypes,
14560 which can conflict with char $ac_func(); below. */
14561 #include <assert.h>
14562 /* Override any gcc2 internal prototype to avoid an error. */
14563 /* We use char because int might match the return type of a gcc2
14564 builtin and then its argument prototype would still apply. */
14569 /* The GNU C library defines this for functions which it implements
14570 to always fail with ENOSYS. Some functions are actually named
14571 something starting with __ and the normal name is an alias. */
14572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14580 if { (eval echo configure:14581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14582 eval "ac_cv_func_$ac_func=yes"
14584 echo "configure: failed program was:" >&5
14585 cat conftest.$ac_ext >&5
14587 eval "ac_cv_func_$ac_func=no"
14592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14593 echo "$ac_t""yes" 1>&6
14594 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14595 cat >> confdefs.h <<EOF
14596 #define $ac_tr_func 1
14600 echo "$ac_t""no" 1>&6
14607 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
14608 echo "configure:14609: checking for _long double round functions" >&5
14609 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
14610 echo $ac_n "(cached) $ac_c" 1>&6
14615 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14616 ac_cpp='$CXXCPP $CPPFLAGS'
14617 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14618 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14619 cross_compiling=$ac_cv_prog_cxx_cross
14621 cat > conftest.$ac_ext <<EOF
14622 #line 14623 "configure"
14623 #include "confdefs.h"
14626 `for x in _ceill _floorl; do echo "$x (0);"; done`
14629 if { (eval echo configure:14630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14631 glibcpp_cv_func__long_double_round_use=yes
14633 echo "configure: failed program was:" >&5
14634 cat conftest.$ac_ext >&5
14636 glibcpp_cv_func__long_double_round_use=no
14640 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14641 ac_cpp='$CPP $CPPFLAGS'
14642 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14643 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14644 cross_compiling=$ac_cv_prog_cc_cross
14648 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
14649 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
14650 for ac_func in _ceill _floorl
14652 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14653 echo "configure:14654: checking for $ac_func" >&5
14654 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14655 echo $ac_n "(cached) $ac_c" 1>&6
14657 cat > conftest.$ac_ext <<EOF
14658 #line 14659 "configure"
14659 #include "confdefs.h"
14660 /* System header to define __stub macros and hopefully few prototypes,
14661 which can conflict with char $ac_func(); below. */
14662 #include <assert.h>
14663 /* Override any gcc2 internal prototype to avoid an error. */
14664 /* We use char because int might match the return type of a gcc2
14665 builtin and then its argument prototype would still apply. */
14670 /* The GNU C library defines this for functions which it implements
14671 to always fail with ENOSYS. Some functions are actually named
14672 something starting with __ and the normal name is an alias. */
14673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14681 if { (eval echo configure:14682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14683 eval "ac_cv_func_$ac_func=yes"
14685 echo "configure: failed program was:" >&5
14686 cat conftest.$ac_ext >&5
14688 eval "ac_cv_func_$ac_func=no"
14693 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14694 echo "$ac_t""yes" 1>&6
14695 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14696 cat >> confdefs.h <<EOF
14697 #define $ac_tr_func 1
14701 echo "$ac_t""no" 1>&6
14708 LIBS="$ac_save_LIBS"
14709 CXXFLAGS="$ac_save_CXXFLAGS"
14712 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
14713 echo "configure:14714: checking for main in -lm" >&5
14714 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
14715 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14716 echo $ac_n "(cached) $ac_c" 1>&6
14718 ac_save_LIBS="$LIBS"
14720 cat > conftest.$ac_ext <<EOF
14721 #line 14722 "configure"
14722 #include "confdefs.h"
14728 if { (eval echo configure:14729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14730 eval "ac_cv_lib_$ac_lib_var=yes"
14732 echo "configure: failed program was:" >&5
14733 cat conftest.$ac_ext >&5
14735 eval "ac_cv_lib_$ac_lib_var=no"
14738 LIBS="$ac_save_LIBS"
14741 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14742 echo "$ac_t""yes" 1>&6
14743 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
14744 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
14745 cat >> confdefs.h <<EOF
14746 #define $ac_tr_lib 1
14752 echo "$ac_t""no" 1>&6
14755 for ac_func in nan hypot hypotf atan2f expf copysignf
14757 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14758 echo "configure:14759: checking for $ac_func" >&5
14759 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14760 echo $ac_n "(cached) $ac_c" 1>&6
14762 cat > conftest.$ac_ext <<EOF
14763 #line 14764 "configure"
14764 #include "confdefs.h"
14765 /* System header to define __stub macros and hopefully few prototypes,
14766 which can conflict with char $ac_func(); below. */
14767 #include <assert.h>
14768 /* Override any gcc2 internal prototype to avoid an error. */
14769 /* We use char because int might match the return type of a gcc2
14770 builtin and then its argument prototype would still apply. */
14775 /* The GNU C library defines this for functions which it implements
14776 to always fail with ENOSYS. Some functions are actually named
14777 something starting with __ and the normal name is an alias. */
14778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14786 if { (eval echo configure:14787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14788 eval "ac_cv_func_$ac_func=yes"
14790 echo "configure: failed program was:" >&5
14791 cat conftest.$ac_ext >&5
14793 eval "ac_cv_func_$ac_func=no"
14798 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14799 echo "$ac_t""yes" 1>&6
14800 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14801 cat >> confdefs.h <<EOF
14802 #define $ac_tr_func 1
14806 echo "$ac_t""no" 1>&6
14807 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
14813 USE_COMPLEX_LONG_DOUBLE=no
14814 if test x$ac_cv_func_atan2l = x"yes" \
14815 && test x$ac_cv_func_copysignl = x"yes"; then
14816 USE_COMPLEX_LONG_DOUBLE=yes
14817 for ac_func in hypotl signbitl
14819 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14820 echo "configure:14821: checking for $ac_func" >&5
14821 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14822 echo $ac_n "(cached) $ac_c" 1>&6
14824 cat > conftest.$ac_ext <<EOF
14825 #line 14826 "configure"
14826 #include "confdefs.h"
14827 /* System header to define __stub macros and hopefully few prototypes,
14828 which can conflict with char $ac_func(); below. */
14829 #include <assert.h>
14830 /* Override any gcc2 internal prototype to avoid an error. */
14831 /* We use char because int might match the return type of a gcc2
14832 builtin and then its argument prototype would still apply. */
14837 /* The GNU C library defines this for functions which it implements
14838 to always fail with ENOSYS. Some functions are actually named
14839 something starting with __ and the normal name is an alias. */
14840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14848 if { (eval echo configure:14849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14850 eval "ac_cv_func_$ac_func=yes"
14852 echo "configure: failed program was:" >&5
14853 cat conftest.$ac_ext >&5
14855 eval "ac_cv_func_$ac_func=no"
14860 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14861 echo "$ac_t""yes" 1>&6
14862 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14863 cat >> confdefs.h <<EOF
14864 #define $ac_tr_func 1
14868 echo "$ac_t""no" 1>&6
14869 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
14881 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
14882 echo "configure:14883: checking for GNU C++ __complex__ support" >&5
14883 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
14884 echo $ac_n "(cached) $ac_c" 1>&6
14889 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14890 ac_cpp='$CXXCPP $CPPFLAGS'
14891 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14892 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14893 cross_compiling=$ac_cv_prog_cxx_cross
14895 cat > conftest.$ac_ext <<EOF
14896 #line 14897 "configure"
14897 #include "confdefs.h"
14898 struct dcomplex { __complex__ double x; }; \
14899 dcomplex f(const dcomplex& x) { return dcomplex(x); }
14905 if { (eval echo configure:14906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14907 glibcpp_cv_complex=ok
14909 echo "configure: failed program was:" >&5
14910 cat conftest.$ac_ext >&5
14912 glibcpp_cv_complex=buggy
14917 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14918 ac_cpp='$CPP $CPPFLAGS'
14919 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14920 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14921 cross_compiling=$ac_cv_prog_cc_cross
14926 echo "$ac_t""$glibcpp_cv_complex" 1>&6
14927 if test $glibcpp_cv_complex = buggy; then
14928 cat >> confdefs.h <<\EOF
14929 #define _GLIBCPP_BUGGY_COMPLEX 1
14934 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
14935 echo "configure:14936: checking for GNU C++ __complex__ float support" >&5
14936 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
14937 echo $ac_n "(cached) $ac_c" 1>&6
14942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14943 ac_cpp='$CXXCPP $CPPFLAGS'
14944 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14945 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14946 cross_compiling=$ac_cv_prog_cxx_cross
14949 cat > conftest.h <<EOB
14951 // Check for buggy __complex__ that causes ICE in most versions of egcs
14952 // and gcc-2.95.x on certain platforms (eg., x86-win32).
14954 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
14955 // more info on the bug itself.
14960 __complex__ float m_value;
14961 float_complex (float = 0.0f, float = 0.0f);
14962 float_complex (__complex__ float val) : m_value (val) {}
14963 float_complex foo (const float_complex &val)
14964 { return float_complex (~val.m_value); }
14967 cat > conftest.$ac_ext <<EOF
14968 #line 14969 "configure"
14969 #include "confdefs.h"
14970 #include "conftest.h"
14975 if { (eval echo configure:14976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14977 glibcpp_cv_float_complex=ok
14979 echo "configure: failed program was:" >&5
14980 cat conftest.$ac_ext >&5
14982 glibcpp_cv_float_complex=buggy
14987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14988 ac_cpp='$CPP $CPPFLAGS'
14989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14991 cross_compiling=$ac_cv_prog_cc_cross
14996 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
14997 if test $glibcpp_cv_float_complex = buggy; then
14998 cat >> confdefs.h <<\EOF
14999 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
15006 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
15007 echo "configure:15008: checking for mbstate_t" >&5
15008 cat > conftest.$ac_ext <<EOF
15009 #line 15010 "configure"
15010 #include "confdefs.h"
15013 mbstate_t teststate;
15016 if { (eval echo configure:15017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15020 echo "configure: failed program was:" >&5
15021 cat conftest.$ac_ext >&5
15026 echo "$ac_t""$have_mbstate_t" 1>&6
15027 if test x"$have_mbstate_t" = xyes; then
15028 cat >> confdefs.h <<\EOF
15029 #define HAVE_MBSTATE_T 1
15034 for ac_hdr in wchar.h
15036 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15037 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15038 echo "configure:15039: checking for $ac_hdr" >&5
15039 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15040 echo $ac_n "(cached) $ac_c" 1>&6
15042 cat > conftest.$ac_ext <<EOF
15043 #line 15044 "configure"
15044 #include "confdefs.h"
15047 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15048 { (eval echo configure:15049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15049 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15050 if test -z "$ac_err"; then
15052 eval "ac_cv_header_$ac_safe=yes"
15055 echo "configure: failed program was:" >&5
15056 cat conftest.$ac_ext >&5
15058 eval "ac_cv_header_$ac_safe=no"
15062 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15063 echo "$ac_t""yes" 1>&6
15064 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15065 cat >> confdefs.h <<EOF
15066 #define $ac_tr_hdr 1
15070 echo "$ac_t""no" 1>&6
15075 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
15076 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
15077 echo "configure:15078: checking for wctype.h" >&5
15078 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15079 echo $ac_n "(cached) $ac_c" 1>&6
15081 cat > conftest.$ac_ext <<EOF
15082 #line 15083 "configure"
15083 #include "confdefs.h"
15084 #include <wctype.h>
15086 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15087 { (eval echo configure:15088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15088 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15089 if test -z "$ac_err"; then
15091 eval "ac_cv_header_$ac_safe=yes"
15094 echo "configure: failed program was:" >&5
15095 cat conftest.$ac_ext >&5
15097 eval "ac_cv_header_$ac_safe=no"
15101 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15102 echo "$ac_t""yes" 1>&6
15103 ac_has_wctype_h=yes
15105 echo "$ac_t""no" 1>&6
15110 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
15111 && test x"$enable_c_mbchar" != xno; then
15113 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
15114 echo "configure:15115: checking for WCHAR_MIN and WCHAR_MAX" >&5
15115 cat > conftest.$ac_ext <<EOF
15116 #line 15117 "configure"
15117 #include "confdefs.h"
15120 int i = WCHAR_MIN; int j = WCHAR_MAX;
15123 if { (eval echo configure:15124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15125 has_wchar_minmax=yes
15127 echo "configure: failed program was:" >&5
15128 cat conftest.$ac_ext >&5
15130 has_wchar_minmax=no
15133 echo "$ac_t""$has_wchar_minmax" 1>&6
15135 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
15136 echo "configure:15137: checking for WEOF" >&5
15137 cat > conftest.$ac_ext <<EOF
15138 #line 15139 "configure"
15139 #include "confdefs.h"
15142 #include <stddef.h>
15147 if { (eval echo configure:15148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15151 echo "configure: failed program was:" >&5
15152 cat conftest.$ac_ext >&5
15157 echo "$ac_t""$has_weof" 1>&6
15159 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
15160 wcsrtombs mbsrtowcs
15162 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15163 echo "configure:15164: checking for $ac_func" >&5
15164 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15165 echo $ac_n "(cached) $ac_c" 1>&6
15167 cat > conftest.$ac_ext <<EOF
15168 #line 15169 "configure"
15169 #include "confdefs.h"
15170 /* System header to define __stub macros and hopefully few prototypes,
15171 which can conflict with char $ac_func(); below. */
15172 #include <assert.h>
15173 /* Override any gcc2 internal prototype to avoid an error. */
15174 /* We use char because int might match the return type of a gcc2
15175 builtin and then its argument prototype would still apply. */
15180 /* The GNU C library defines this for functions which it implements
15181 to always fail with ENOSYS. Some functions are actually named
15182 something starting with __ and the normal name is an alias. */
15183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15191 if { (eval echo configure:15192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15193 eval "ac_cv_func_$ac_func=yes"
15195 echo "configure: failed program was:" >&5
15196 cat conftest.$ac_ext >&5
15198 eval "ac_cv_func_$ac_func=no"
15203 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15204 echo "$ac_t""yes" 1>&6
15205 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15206 cat >> confdefs.h <<EOF
15207 #define $ac_tr_func 1
15211 echo "$ac_t""no" 1>&6
15217 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
15218 echo "configure:15219: checking for ISO C99 wchar_t support" >&5
15219 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
15220 && test x"$ac_wfuncs" = xyes; then
15221 ac_isoC99_wchar_t=yes
15223 ac_isoC99_wchar_t=no
15225 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
15227 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
15228 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
15229 echo "configure:15230: checking for iconv.h" >&5
15230 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15231 echo $ac_n "(cached) $ac_c" 1>&6
15233 cat > conftest.$ac_ext <<EOF
15234 #line 15235 "configure"
15235 #include "confdefs.h"
15238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15239 { (eval echo configure:15240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15240 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15241 if test -z "$ac_err"; then
15243 eval "ac_cv_header_$ac_safe=yes"
15246 echo "configure: failed program was:" >&5
15247 cat conftest.$ac_ext >&5
15249 eval "ac_cv_header_$ac_safe=no"
15253 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15254 echo "$ac_t""yes" 1>&6
15257 echo "$ac_t""no" 1>&6
15261 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
15262 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
15263 echo "configure:15264: checking for langinfo.h" >&5
15264 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15265 echo $ac_n "(cached) $ac_c" 1>&6
15267 cat > conftest.$ac_ext <<EOF
15268 #line 15269 "configure"
15269 #include "confdefs.h"
15270 #include <langinfo.h>
15272 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15273 { (eval echo configure:15274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15274 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15275 if test -z "$ac_err"; then
15277 eval "ac_cv_header_$ac_safe=yes"
15280 echo "configure: failed program was:" >&5
15281 cat conftest.$ac_ext >&5
15283 eval "ac_cv_header_$ac_safe=no"
15287 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15288 echo "$ac_t""yes" 1>&6
15289 ac_has_langinfo_h=yes
15291 echo "$ac_t""no" 1>&6
15292 ac_has_langinfo_h=no
15296 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
15297 echo "configure:15298: checking for iconv in -liconv" >&5
15298 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
15299 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15300 echo $ac_n "(cached) $ac_c" 1>&6
15302 ac_save_LIBS="$LIBS"
15303 LIBS="-liconv $LIBS"
15304 cat > conftest.$ac_ext <<EOF
15305 #line 15306 "configure"
15306 #include "confdefs.h"
15307 /* Override any gcc2 internal prototype to avoid an error. */
15308 /* We use char because int might match the return type of a gcc2
15309 builtin and then its argument prototype would still apply. */
15316 if { (eval echo configure:15317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15318 eval "ac_cv_lib_$ac_lib_var=yes"
15320 echo "configure: failed program was:" >&5
15321 cat conftest.$ac_ext >&5
15323 eval "ac_cv_lib_$ac_lib_var=no"
15326 LIBS="$ac_save_LIBS"
15329 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15330 echo "$ac_t""yes" 1>&6
15333 echo "$ac_t""no" 1>&6
15336 ac_save_LIBS="$LIBS"
15337 LIBS="$LIBS $libiconv"
15339 for ac_func in iconv_open iconv_close iconv nl_langinfo
15341 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15342 echo "configure:15343: checking for $ac_func" >&5
15343 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15344 echo $ac_n "(cached) $ac_c" 1>&6
15346 cat > conftest.$ac_ext <<EOF
15347 #line 15348 "configure"
15348 #include "confdefs.h"
15349 /* System header to define __stub macros and hopefully few prototypes,
15350 which can conflict with char $ac_func(); below. */
15351 #include <assert.h>
15352 /* Override any gcc2 internal prototype to avoid an error. */
15353 /* We use char because int might match the return type of a gcc2
15354 builtin and then its argument prototype would still apply. */
15359 /* The GNU C library defines this for functions which it implements
15360 to always fail with ENOSYS. Some functions are actually named
15361 something starting with __ and the normal name is an alias. */
15362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15370 if { (eval echo configure:15371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15372 eval "ac_cv_func_$ac_func=yes"
15374 echo "configure: failed program was:" >&5
15375 cat conftest.$ac_ext >&5
15377 eval "ac_cv_func_$ac_func=no"
15382 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15383 echo "$ac_t""yes" 1>&6
15384 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15385 cat >> confdefs.h <<EOF
15386 #define $ac_tr_func 1
15391 echo "$ac_t""no" 1>&6
15397 LIBS="$ac_save_LIBS"
15399 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
15400 echo "configure:15401: checking for XPG2 wchar_t support" >&5
15401 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
15402 && test x"$ac_XPG2funcs" = xyes; then
15403 ac_XPG2_wchar_t=yes
15407 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
15409 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
15410 echo "configure:15411: checking for enabled wchar_t specializations" >&5
15411 if test x"$ac_isoC99_wchar_t" = xyes \
15412 && test x"$ac_XPG2_wchar_t" = xyes; then
15413 cat >> confdefs.h <<\EOF
15414 #define _GLIBCPP_USE_WCHAR_T 1
15417 echo "$ac_t"""yes"" 1>&6
15419 echo "$ac_t"""no"" 1>&6
15422 echo "configure: warning: wchar_t support disabled." 1>&2
15426 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15427 ac_save_CXXFLAGS="$CXXFLAGS"
15428 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
15430 for ac_func in strtof
15432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15433 echo "configure:15434: checking for $ac_func" >&5
15434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15435 echo $ac_n "(cached) $ac_c" 1>&6
15437 cat > conftest.$ac_ext <<EOF
15438 #line 15439 "configure"
15439 #include "confdefs.h"
15440 /* System header to define __stub macros and hopefully few prototypes,
15441 which can conflict with char $ac_func(); below. */
15442 #include <assert.h>
15443 /* Override any gcc2 internal prototype to avoid an error. */
15444 /* We use char because int might match the return type of a gcc2
15445 builtin and then its argument prototype would still apply. */
15450 /* The GNU C library defines this for functions which it implements
15451 to always fail with ENOSYS. Some functions are actually named
15452 something starting with __ and the normal name is an alias. */
15453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15461 if { (eval echo configure:15462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15463 eval "ac_cv_func_$ac_func=yes"
15465 echo "configure: failed program was:" >&5
15466 cat conftest.$ac_ext >&5
15468 eval "ac_cv_func_$ac_func=no"
15473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15474 echo "$ac_t""yes" 1>&6
15475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15476 cat >> confdefs.h <<EOF
15477 #define $ac_tr_func 1
15481 echo "$ac_t""no" 1>&6
15486 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
15487 echo "configure:15488: checking for strtold declaration" >&5
15488 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
15489 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
15490 echo $ac_n "(cached) $ac_c" 1>&6
15495 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15496 ac_cpp='$CXXCPP $CPPFLAGS'
15497 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15498 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15499 cross_compiling=$ac_cv_prog_cxx_cross
15501 cat > conftest.$ac_ext <<EOF
15502 #line 15503 "configure"
15503 #include "confdefs.h"
15504 #include <stdlib.h>
15509 if { (eval echo configure:15510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15511 glibcpp_cv_func_strtold_use=yes
15513 echo "configure: failed program was:" >&5
15514 cat conftest.$ac_ext >&5
15516 glibcpp_cv_func_strtold_use=no
15520 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15521 ac_cpp='$CPP $CPPFLAGS'
15522 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15523 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15524 cross_compiling=$ac_cv_prog_cc_cross
15530 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
15531 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
15532 for ac_func in strtold
15534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15535 echo "configure:15536: checking for $ac_func" >&5
15536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15537 echo $ac_n "(cached) $ac_c" 1>&6
15539 cat > conftest.$ac_ext <<EOF
15540 #line 15541 "configure"
15541 #include "confdefs.h"
15542 /* System header to define __stub macros and hopefully few prototypes,
15543 which can conflict with char $ac_func(); below. */
15544 #include <assert.h>
15545 /* Override any gcc2 internal prototype to avoid an error. */
15546 /* We use char because int might match the return type of a gcc2
15547 builtin and then its argument prototype would still apply. */
15552 /* The GNU C library defines this for functions which it implements
15553 to always fail with ENOSYS. Some functions are actually named
15554 something starting with __ and the normal name is an alias. */
15555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15563 if { (eval echo configure:15564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15565 eval "ac_cv_func_$ac_func=yes"
15567 echo "configure: failed program was:" >&5
15568 cat conftest.$ac_ext >&5
15570 eval "ac_cv_func_$ac_func=no"
15575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15576 echo "$ac_t""yes" 1>&6
15577 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15578 cat >> confdefs.h <<EOF
15579 #define $ac_tr_func 1
15583 echo "$ac_t""no" 1>&6
15590 CXXFLAGS="$ac_save_CXXFLAGS"
15593 cat > conftest.$ac_ext <<EOF
15594 #line 15595 "configure"
15595 #include "confdefs.h"
15597 #include <setjmp.h>
15600 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
15603 if { (eval echo configure:15604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15605 cat >> confdefs.h <<\EOF
15606 #define HAVE_SIGSETJMP 1
15610 echo "configure: failed program was:" >&5
15611 cat conftest.$ac_ext >&5
15615 for ac_hdr in unistd.h
15617 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15618 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15619 echo "configure:15620: checking for $ac_hdr" >&5
15620 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15621 echo $ac_n "(cached) $ac_c" 1>&6
15623 cat > conftest.$ac_ext <<EOF
15624 #line 15625 "configure"
15625 #include "confdefs.h"
15628 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15629 { (eval echo configure:15630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15630 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15631 if test -z "$ac_err"; then
15633 eval "ac_cv_header_$ac_safe=yes"
15636 echo "configure: failed program was:" >&5
15637 cat conftest.$ac_ext >&5
15639 eval "ac_cv_header_$ac_safe=no"
15643 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15644 echo "$ac_t""yes" 1>&6
15645 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15646 cat >> confdefs.h <<EOF
15647 #define $ac_tr_hdr 1
15651 echo "$ac_t""no" 1>&6
15655 for ac_func in getpagesize
15657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15658 echo "configure:15659: checking for $ac_func" >&5
15659 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15660 echo $ac_n "(cached) $ac_c" 1>&6
15662 cat > conftest.$ac_ext <<EOF
15663 #line 15664 "configure"
15664 #include "confdefs.h"
15665 /* System header to define __stub macros and hopefully few prototypes,
15666 which can conflict with char $ac_func(); below. */
15667 #include <assert.h>
15668 /* Override any gcc2 internal prototype to avoid an error. */
15669 /* We use char because int might match the return type of a gcc2
15670 builtin and then its argument prototype would still apply. */
15675 /* The GNU C library defines this for functions which it implements
15676 to always fail with ENOSYS. Some functions are actually named
15677 something starting with __ and the normal name is an alias. */
15678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15686 if { (eval echo configure:15687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15688 eval "ac_cv_func_$ac_func=yes"
15690 echo "configure: failed program was:" >&5
15691 cat conftest.$ac_ext >&5
15693 eval "ac_cv_func_$ac_func=no"
15698 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15699 echo "$ac_t""yes" 1>&6
15700 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15701 cat >> confdefs.h <<EOF
15702 #define $ac_tr_func 1
15706 echo "$ac_t""no" 1>&6
15710 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
15711 echo "configure:15712: checking for working mmap" >&5
15712 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
15713 echo $ac_n "(cached) $ac_c" 1>&6
15715 if test "$cross_compiling" = yes; then
15716 ac_cv_func_mmap_fixed_mapped=no
15718 cat > conftest.$ac_ext <<EOF
15719 #line 15720 "configure"
15720 #include "confdefs.h"
15722 /* Thanks to Mike Haertel and Jim Avera for this test.
15723 Here is a matrix of mmap possibilities:
15724 mmap private not fixed
15725 mmap private fixed at somewhere currently unmapped
15726 mmap private fixed at somewhere already mapped
15727 mmap shared not fixed
15728 mmap shared fixed at somewhere currently unmapped
15729 mmap shared fixed at somewhere already mapped
15730 For private mappings, we should verify that changes cannot be read()
15731 back from the file, nor mmap's back from the file at a different
15732 address. (There have been systems where private was not correctly
15733 implemented like the infamous i386 svr4.0, and systems where the
15734 VM page cache was not coherent with the filesystem buffer cache
15735 like early versions of FreeBSD and possibly contemporary NetBSD.)
15736 For shared mappings, we should conversely verify that changes get
15737 propogated back to all the places they're supposed to be.
15739 Grep wants private fixed already mapped.
15740 The main things grep needs to know about mmap are:
15741 * does it exist and is it safe to write into the mmap'd area
15742 * how to use it (BSD variants) */
15743 #include <sys/types.h>
15745 #include <sys/mman.h>
15747 /* This mess was copied from the GNU getpagesize.h. */
15748 #ifndef HAVE_GETPAGESIZE
15749 # ifdef HAVE_UNISTD_H
15750 # include <unistd.h>
15753 /* Assume that all systems that can run configure have sys/param.h. */
15754 # ifndef HAVE_SYS_PARAM_H
15755 # define HAVE_SYS_PARAM_H 1
15758 # ifdef _SC_PAGESIZE
15759 # define getpagesize() sysconf(_SC_PAGESIZE)
15760 # else /* no _SC_PAGESIZE */
15761 # ifdef HAVE_SYS_PARAM_H
15762 # include <sys/param.h>
15763 # ifdef EXEC_PAGESIZE
15764 # define getpagesize() EXEC_PAGESIZE
15765 # else /* no EXEC_PAGESIZE */
15767 # define getpagesize() NBPG * CLSIZE
15770 # endif /* no CLSIZE */
15771 # else /* no NBPG */
15773 # define getpagesize() NBPC
15774 # else /* no NBPC */
15776 # define getpagesize() PAGESIZE
15777 # endif /* PAGESIZE */
15778 # endif /* no NBPC */
15779 # endif /* no NBPG */
15780 # endif /* no EXEC_PAGESIZE */
15781 # else /* no HAVE_SYS_PARAM_H */
15782 # define getpagesize() 8192 /* punt totally */
15783 # endif /* no HAVE_SYS_PARAM_H */
15784 # endif /* no _SC_PAGESIZE */
15786 #endif /* no HAVE_GETPAGESIZE */
15789 extern "C" { void *malloc(unsigned); }
15797 char *data, *data2, *data3;
15801 pagesize = getpagesize();
15804 * First, make a file with some known garbage in it.
15806 data = malloc(pagesize);
15809 for (i = 0; i < pagesize; ++i)
15810 *(data + i) = rand();
15812 fd = creat("conftestmmap", 0600);
15815 if (write(fd, data, pagesize) != pagesize)
15820 * Next, try to mmap the file at a fixed address which
15821 * already has something else allocated at it. If we can,
15822 * also make sure that we see the same garbage.
15824 fd = open("conftestmmap", O_RDWR);
15827 data2 = malloc(2 * pagesize);
15830 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
15831 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
15832 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15834 for (i = 0; i < pagesize; ++i)
15835 if (*(data + i) != *(data2 + i))
15839 * Finally, make sure that changes to the mapped area
15840 * do not percolate back to the file as seen by read().
15841 * (This is a bug on some variants of i386 svr4.0.)
15843 for (i = 0; i < pagesize; ++i)
15844 *(data2 + i) = *(data2 + i) + 1;
15845 data3 = malloc(pagesize);
15848 if (read(fd, data3, pagesize) != pagesize)
15850 for (i = 0; i < pagesize; ++i)
15851 if (*(data + i) != *(data3 + i))
15854 unlink("conftestmmap");
15859 if { (eval echo configure:15860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
15861 ac_cv_func_mmap_fixed_mapped=yes
15863 echo "configure: failed program was:" >&5
15864 cat conftest.$ac_ext >&5
15866 ac_cv_func_mmap_fixed_mapped=no
15873 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
15874 if test $ac_cv_func_mmap_fixed_mapped = yes; then
15875 cat >> confdefs.h <<\EOF
15876 #define HAVE_MMAP 1
15883 # Now that ctype is determined for all possible targets, we can do this...
15891 if test "$NULL_TARGET" = yes; then
15893 NULL_TARGET_FALSE='#'
15895 NULL_TARGET_TRUE='#'
15900 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
15909 if test "$CANADIAN" = yes; then
15917 cat > confcache <<\EOF
15918 # This file is a shell script that caches the results of configure
15919 # tests run on this system so they can be shared between configure
15920 # scripts and configure runs. It is not useful on other systems.
15921 # If it contains results you don't want to keep, you may remove or edit it.
15923 # By default, configure uses ./config.cache as the cache file,
15924 # creating it if it does not exist already. You can give configure
15925 # the --cache-file=FILE option to use a different cache file; that is
15926 # what configure does when it calls configure scripts in
15927 # subdirectories, so they share the cache.
15928 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15929 # config.status only pays attention to the cache file if you give it the
15930 # --recheck option to rerun configure.
15933 # The following way of writing the cache mishandles newlines in values,
15934 # but we know of no workaround that is simple, portable, and efficient.
15935 # So, don't put newlines in cache variables' values.
15936 # Ultrix sh set writes to stderr and can't be redirected directly,
15937 # and sets the high bit in the cache file unless we assign to the vars.
15939 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15941 # `set' does not quote correctly, so add quotes (double-quote substitution
15942 # turns \\\\ into \\, and sed turns \\ into \).
15944 -e "s/'/'\\\\''/g" \
15945 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15948 # `set' quotes correctly as required by POSIX, so do not add quotes.
15949 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15952 if cmp -s $cache_file confcache; then
15955 if test -w $cache_file; then
15956 echo "updating cache $cache_file"
15957 cat confcache > $cache_file
15959 echo "not updating unwritable cache $cache_file"
15965 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
15966 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
15967 echo "configure:15968: checking for locale.h" >&5
15968 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15969 echo $ac_n "(cached) $ac_c" 1>&6
15971 cat > conftest.$ac_ext <<EOF
15972 #line 15973 "configure"
15973 #include "confdefs.h"
15974 #include <locale.h>
15976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15977 { (eval echo configure:15978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15978 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15979 if test -z "$ac_err"; then
15981 eval "ac_cv_header_$ac_safe=yes"
15984 echo "configure: failed program was:" >&5
15985 cat conftest.$ac_ext >&5
15987 eval "ac_cv_header_$ac_safe=no"
15991 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15992 echo "$ac_t""yes" 1>&6
15994 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
15995 echo "configure:15996: checking for LC_MESSAGES" >&5
15996 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
15997 echo $ac_n "(cached) $ac_c" 1>&6
15999 cat > conftest.$ac_ext <<EOF
16000 #line 16001 "configure"
16001 #include "confdefs.h"
16002 #include <locale.h>
16007 if { (eval echo configure:16008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16009 ac_cv_val_LC_MESSAGES=yes
16011 echo "configure: failed program was:" >&5
16012 cat conftest.$ac_ext >&5
16014 ac_cv_val_LC_MESSAGES=no
16019 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16020 if test $ac_cv_val_LC_MESSAGES = yes; then
16021 cat >> confdefs.h <<\EOF
16022 #define HAVE_LC_MESSAGES 1
16028 echo "$ac_t""no" 1>&6
16033 if test "${multilib}" = "yes"; then
16034 multilib_arg="--enable-multilib"
16040 # Generate the various Makefiles, include files, and scripts.
16042 # Needed so that g++ can find the correct include subdir automatically.
16045 # Export all the install information
16048 glibcpp_toolexecdir=no
16049 glibcpp_toolexeclibdir=no
16051 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
16052 echo "configure:16053: checking for interface version number" >&5
16053 libstdcxx_interface=$INTERFACE
16054 echo "$ac_t""$libstdcxx_interface" 1>&6
16056 # Process the option --with-gxx-include-dir=<path to include-files directory>
16057 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
16058 echo "configure:16059: checking for --with-gxx-include-dir" >&5
16059 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
16060 if test "${with_gxx_include_dir+set}" = set; then
16061 withval="$with_gxx_include_dir"
16062 case "${withval}" in
16064 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
16071 gxx_include_dir=${withval}
16078 echo "$ac_t""$gxx_include_dir" 1>&6
16080 # Process the option "--enable-version-specific-runtime-libs"
16081 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
16082 echo "configure:16083: checking for --enable-version-specific-runtime-libs" >&5
16083 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
16084 if test "${enable_version_specific_runtime_libs+set}" = set; then
16085 enableval="$enable_version_specific_runtime_libs"
16086 version_specific_libs=yes
16087 # Need the gcc compiler version to know where to install libraries
16088 # and header files if --enable-version-specific-runtime-libs option
16090 gcc_version_trigger=${srcdir}/../gcc/version.c
16091 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
16092 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
16093 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
16094 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16095 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}
16098 version_specific_libs=no
16101 echo "$ac_t""$version_specific_libs" 1>&6
16103 # Default case for install directory for include files.
16104 if test x"$version_specific_libs" = x"no" \
16105 && test x"$gxx_include_dir" = x"no"; then
16106 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
16109 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
16110 # Install a library built with a cross compiler in tooldir, not libdir.
16111 if test x"$glibcpp_toolexecdir" = x"no"; then
16112 if test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
16113 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
16114 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
16116 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
16117 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
16121 echo $ac_n "checking for install location""... $ac_c" 1>&6
16122 echo "configure:16123: checking for install location" >&5
16123 echo "$ac_t""$gxx_include_dir" 1>&6
16130 # Export all the include and flag information to makefiles.
16132 # Root level of the include sources.
16133 GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
16135 # Can either use include/c or include/c_std to grab "C" headers. This
16136 # variable is set to the include directory currently in use.
16137 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_CHEADERS
16139 # Passed down for canadian crosses.
16140 if test x"$CANADIAN" = xyes; then
16141 TOPLEVEL_INCLUDES='-I$(includedir)'
16144 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
16146 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
16148 #if GLIBCPP_NEED_LIBIO
16149 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
16151 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
16154 #if GLIBCPP_USE_CSHADOW
16155 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
16156 # -I$(top_blddir)/cshadow'
16158 CSTD_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
16161 # Now, export this to all the little Makefiles....
16170 # Optimization flags that are probably a good idea for thrill-seekers. Just
16171 # uncomment the lines below and make, everything else is ready to go...
16172 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
16176 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
16180 # This should be done by mkincludedir, but hack around it now.
16182 echo "checking for $blddir/include"
16184 if test ! -d "$blddir/include"; then
16185 mkdir "$blddir/include"
16188 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
16189 # and libsupc++/Makefile.am so that multilib installs will end up
16190 # installed in the correct place. To work around this not being passed
16191 # down from config-ml.in -> top_srcdir/Makefile.am ->
16192 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
16194 cat > confcache <<\EOF
16195 # This file is a shell script that caches the results of configure
16196 # tests run on this system so they can be shared between configure
16197 # scripts and configure runs. It is not useful on other systems.
16198 # If it contains results you don't want to keep, you may remove or edit it.
16200 # By default, configure uses ./config.cache as the cache file,
16201 # creating it if it does not exist already. You can give configure
16202 # the --cache-file=FILE option to use a different cache file; that is
16203 # what configure does when it calls configure scripts in
16204 # subdirectories, so they share the cache.
16205 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16206 # config.status only pays attention to the cache file if you give it the
16207 # --recheck option to rerun configure.
16210 # The following way of writing the cache mishandles newlines in values,
16211 # but we know of no workaround that is simple, portable, and efficient.
16212 # So, don't put newlines in cache variables' values.
16213 # Ultrix sh set writes to stderr and can't be redirected directly,
16214 # and sets the high bit in the cache file unless we assign to the vars.
16216 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16218 # `set' does not quote correctly, so add quotes (double-quote substitution
16219 # turns \\\\ into \\, and sed turns \\ into \).
16221 -e "s/'/'\\\\''/g" \
16222 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16225 # `set' quotes correctly as required by POSIX, so do not add quotes.
16226 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16229 if cmp -s $cache_file confcache; then
16232 if test -w $cache_file; then
16233 echo "updating cache $cache_file"
16234 cat confcache > $cache_file
16236 echo "not updating unwritable cache $cache_file"
16241 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16243 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16244 # Let make expand exec_prefix.
16245 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16247 # Any assignment to VPATH causes Sun make to only execute
16248 # the first set of double-colon rules, so remove it if not needed.
16249 # If there is a colon in the path, we need to keep it.
16250 if test "x$srcdir" = x.; then
16251 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
16254 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16256 DEFS=-DHAVE_CONFIG_H
16258 # Without the "./", some shells look in PATH for config.status.
16259 : ${CONFIG_STATUS=./config.status}
16261 echo creating $CONFIG_STATUS
16262 rm -f $CONFIG_STATUS
16263 cat > $CONFIG_STATUS <<EOF
16265 # Generated automatically by configure.
16266 # Run this file to recreate the current configuration.
16267 # This directory was configured as follows,
16268 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16270 # $0 $ac_configure_args
16272 # Compiler output produced by configure, useful for debugging
16273 # configure, is in ./config.log if it exists.
16275 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
16278 case "\$ac_option" in
16279 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16280 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16281 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16282 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16283 echo "$CONFIG_STATUS generated by autoconf version 2.13"
16285 -help | --help | --hel | --he | --h)
16286 echo "\$ac_cs_usage"; exit 0 ;;
16287 *) echo "\$ac_cs_usage"; exit 1 ;;
16291 ac_given_srcdir=$srcdir
16292 ac_given_INSTALL="$INSTALL"
16294 trap 'rm -fr `echo "tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
16296 cat >> $CONFIG_STATUS <<EOF
16298 # Protect against being on the right side of a sed subst in config.status.
16299 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16300 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16304 s%@CFLAGS@%$CFLAGS%g
16305 s%@CPPFLAGS@%$CPPFLAGS%g
16306 s%@CXXFLAGS@%$CXXFLAGS%g
16307 s%@FFLAGS@%$FFLAGS%g
16309 s%@LDFLAGS@%$LDFLAGS%g
16311 s%@exec_prefix@%$exec_prefix%g
16312 s%@prefix@%$prefix%g
16313 s%@program_transform_name@%$program_transform_name%g
16314 s%@bindir@%$bindir%g
16315 s%@sbindir@%$sbindir%g
16316 s%@libexecdir@%$libexecdir%g
16317 s%@datadir@%$datadir%g
16318 s%@sysconfdir@%$sysconfdir%g
16319 s%@sharedstatedir@%$sharedstatedir%g
16320 s%@localstatedir@%$localstatedir%g
16321 s%@libdir@%$libdir%g
16322 s%@includedir@%$includedir%g
16323 s%@oldincludedir@%$oldincludedir%g
16324 s%@infodir@%$infodir%g
16325 s%@mandir@%$mandir%g
16326 s%@toplevel_srcdir@%$toplevel_srcdir%g
16328 s%@host_alias@%$host_alias%g
16329 s%@host_cpu@%$host_cpu%g
16330 s%@host_vendor@%$host_vendor%g
16331 s%@host_os@%$host_os%g
16332 s%@target@%$target%g
16333 s%@target_alias@%$target_alias%g
16334 s%@target_cpu@%$target_cpu%g
16335 s%@target_vendor@%$target_vendor%g
16336 s%@target_os@%$target_os%g
16338 s%@build_alias@%$build_alias%g
16339 s%@build_cpu@%$build_cpu%g
16340 s%@build_vendor@%$build_vendor%g
16341 s%@build_os@%$build_os%g
16342 s%@glibcpp_basedir@%$glibcpp_basedir%g
16343 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16344 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16345 s%@INSTALL_DATA@%$INSTALL_DATA%g
16346 s%@PACKAGE@%$PACKAGE%g
16347 s%@VERSION@%$VERSION%g
16348 s%@ACLOCAL@%$ACLOCAL%g
16349 s%@AUTOCONF@%$AUTOCONF%g
16350 s%@AUTOMAKE@%$AUTOMAKE%g
16351 s%@AUTOHEADER@%$AUTOHEADER%g
16352 s%@MAKEINFO@%$MAKEINFO%g
16353 s%@SET_MAKE@%$SET_MAKE%g
16355 s%@glibcpp_CXX@%$glibcpp_CXX%g
16358 s%@RANLIB@%$RANLIB%g
16359 s%@glibcpp_expect@%$glibcpp_expect%g
16360 s%@glibcpp_runtest@%$glibcpp_runtest%g
16361 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
16362 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
16364 s%@EXEEXT@%$EXEEXT%g
16366 s%@OBJEXT@%$OBJEXT%g
16368 s%@LIBTOOL@%$LIBTOOL%g
16369 s%@CXXCPP@%$CXXCPP%g
16370 s%@enable_shared@%$enable_shared%g
16371 s%@enable_static@%$enable_static%g
16372 s%@ifGNUmake@%$ifGNUmake%g
16373 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
16375 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
16376 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
16377 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
16378 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
16379 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
16380 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
16381 s%@libio_la@%$libio_la%g
16382 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
16383 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
16384 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
16385 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
16386 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
16387 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
16388 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
16389 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
16390 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
16391 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
16392 s%@WERROR@%$WERROR%g
16393 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
16394 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
16395 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
16396 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
16397 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
16398 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
16399 s%@gxx_include_dir@%$gxx_include_dir%g
16400 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
16401 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
16402 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
16403 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
16404 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
16405 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
16406 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
16407 s%@CSTD_INCLUDES@%$CSTD_INCLUDES%g
16408 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
16409 s%@WARN_FLAGS@%$WARN_FLAGS%g
16414 cat >> $CONFIG_STATUS <<\EOF
16416 # Split the substitutions into bite-sized pieces for seds with
16417 # small command number limits, like on Digital OSF/1 and HP-UX.
16418 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
16419 ac_file=1 # Number of current file.
16420 ac_beg=1 # First line for current file.
16421 ac_end=$ac_max_sed_cmds # Line after last line for current file.
16424 while $ac_more_lines; do
16425 if test $ac_beg -gt 1; then
16426 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
16428 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
16430 if test ! -s conftest.s$ac_file; then
16431 ac_more_lines=false
16432 rm -f conftest.s$ac_file
16434 if test -z "$ac_sed_cmds"; then
16435 ac_sed_cmds="sed -f conftest.s$ac_file"
16437 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
16439 ac_file=`expr $ac_file + 1`
16441 ac_end=`expr $ac_end + $ac_max_sed_cmds`
16444 if test -z "$ac_sed_cmds"; then
16449 cat >> $CONFIG_STATUS <<EOF
16451 CONFIG_FILES=\${CONFIG_FILES-"tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile"}
16453 cat >> $CONFIG_STATUS <<\EOF
16454 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
16455 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16457 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16458 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16459 *) ac_file_in="${ac_file}.in" ;;
16462 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
16464 # Remove last slash and all that follows it. Not all systems have dirname.
16465 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16466 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16467 # The file is in a subdirectory.
16468 test ! -d "$ac_dir" && mkdir "$ac_dir"
16469 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
16470 # A "../" for each directory in $ac_dir_suffix.
16471 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
16473 ac_dir_suffix= ac_dots=
16476 case "$ac_given_srcdir" in
16478 if test -z "$ac_dots"; then top_srcdir=.
16479 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
16480 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
16481 *) # Relative path.
16482 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16483 top_srcdir="$ac_dots$ac_given_srcdir" ;;
16486 case "$ac_given_INSTALL" in
16487 [/$]*) INSTALL="$ac_given_INSTALL" ;;
16488 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
16491 echo creating "$ac_file"
16493 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
16495 *Makefile*) ac_comsub="1i\\
16496 # $configure_input" ;;
16500 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16502 s%@configure_input@%$configure_input%g
16503 s%@srcdir@%$srcdir%g
16504 s%@top_srcdir@%$top_srcdir%g
16505 s%@INSTALL@%$INSTALL%g
16506 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
16510 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16511 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16513 # ac_d sets the value in "#define NAME VALUE" lines.
16514 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16515 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
16518 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
16519 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16520 ac_uB='\([ ]\)%\1#\2define\3'
16523 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16524 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16525 ac_eB='$%\1#\2define\3'
16529 if test "${CONFIG_HEADERS+set}" != set; then
16531 cat >> $CONFIG_STATUS <<EOF
16532 CONFIG_HEADERS="config.h"
16534 cat >> $CONFIG_STATUS <<\EOF
16536 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
16537 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16539 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16540 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16541 *) ac_file_in="${ac_file}.in" ;;
16544 echo creating $ac_file
16546 rm -f conftest.frag conftest.in conftest.out
16547 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16548 cat $ac_file_inputs > conftest.in
16552 # Transform confdefs.h into a sed script conftest.vals that substitutes
16553 # the proper values into config.h.in to produce config.h. And first:
16554 # Protect against being on the right side of a sed subst in config.status.
16555 # Protect against being in an unquoted here document in config.status.
16556 rm -f conftest.vals
16557 cat > conftest.hdr <<\EOF
16560 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
16564 sed -n -f conftest.hdr confdefs.h > conftest.vals
16567 # This sed command replaces #undef with comments. This is necessary, for
16568 # example, in the case of _POSIX_SOURCE, which is predefined and required
16569 # on some systems where configure will not decide to define it.
16570 cat >> conftest.vals <<\EOF
16571 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
16574 # Break up conftest.vals because some shells have a limit on
16575 # the size of here documents, and old seds have small limits too.
16577 rm -f conftest.tail
16580 ac_lines=`grep -c . conftest.vals`
16581 # grep -c gives empty output for an empty file on some AIX systems.
16582 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
16583 # Write a limited-size here document to conftest.frag.
16584 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
16585 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
16587 sed -f conftest.frag conftest.in > conftest.out
16589 mv conftest.out conftest.in
16590 ' >> $CONFIG_STATUS
16591 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
16592 rm -f conftest.vals
16593 mv conftest.tail conftest.vals
16595 rm -f conftest.vals
16597 cat >> $CONFIG_STATUS <<\EOF
16598 rm -f conftest.frag conftest.h
16599 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
16600 cat conftest.in >> conftest.h
16602 if cmp -s $ac_file conftest.h 2>/dev/null; then
16603 echo "$ac_file is unchanged"
16606 # Remove last slash and all that follows it. Not all systems have dirname.
16607 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16608 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16609 # The file is in a subdirectory.
16610 test ! -d "$ac_dir" && mkdir "$ac_dir"
16613 mv conftest.h $ac_file
16619 cat >> $CONFIG_STATUS <<EOF
16620 ac_sources="$os_include_dir/bits/os_defines.h $CSTDIO_H $BASIC_FILE_H $BASIC_FILE_CC $CCODECVT_C $CLOCALE_H $CLOCALE_CC config/$THREADH $os_include_dir/bits/ctype_base.h $os_include_dir/bits/ctype_inline.h $os_include_dir/bits/ctype_noninline.h $ATOMICITYH/bits/atomicity.h"
16621 ac_dests="include/bits/os_defines.h include/bits/c++io.h include/bits/basic_file_model.h src/basic_file.cc libio/c_codecvt.c include/bits/c++locale.h src/c++locale.cc include/bits/c++threads.h \
16622 include/bits/ctype_base.h \
16623 include/bits/ctype_inline.h \
16624 include/bits/ctype_noninline.h include/bits/atomicity.h"
16627 cat >> $CONFIG_STATUS <<\EOF
16628 srcdir=$ac_given_srcdir
16629 while test -n "$ac_sources"; do
16630 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
16631 set $ac_sources; ac_source=$1; shift; ac_sources=$*
16633 echo "linking $srcdir/$ac_source to $ac_dest"
16635 if test ! -r $srcdir/$ac_source; then
16636 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
16640 # Make relative symlinks.
16641 # Remove last slash and all that follows it. Not all systems have dirname.
16642 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
16643 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
16644 # The dest file is in a subdirectory.
16645 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
16646 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
16647 # A "../" for each directory in $ac_dest_dir_suffix.
16648 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
16650 ac_dest_dir_suffix= ac_dots=
16654 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
16655 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
16658 # Make a symlink if possible; otherwise try a hard link.
16659 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
16660 ln $srcdir/$ac_source $ac_dest; then :
16662 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
16666 cat >> $CONFIG_STATUS <<EOF
16671 with_multisubdir=${with_multisubdir}
16672 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16673 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16674 glibcpp_basedir=${glibcpp_basedir}
16679 cat >> $CONFIG_STATUS <<\EOF
16680 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
16681 if test -n "$CONFIG_FILES"; then
16682 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
16683 grep '^MULTISUBDIR =' Makefile >> src/Makefile
16684 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
16686 chmod +x tests_flags
16691 chmod +x $CONFIG_STATUS
16692 rm -fr confdefs* $ac_clean_files
16693 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
16697 # Generate bits/c++config.h
16698 # NB: This must be the first generated file as others include it. . .
16699 $srcdir/mkc++config $blddir $srcdir
16701 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
16702 if test ! -f stamp-limits; then
16703 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
16704 if test ! -f include/bits/std_limits.h; then
16705 echo "mknumeric_limits failed to execute properly: exiting"
16713 # Sanity checking & User-visible messages.
16714 # Checks down here, otherwise they get scrolled off before
16715 # the user will notice.
16717 # Trying to get more people to read documentation. Possibly remove
16718 # check and warn all the time. There is no "informational" AC_MSG_
16719 # macro, so these are going to be printed even when --quiet/--silent
16721 if test ! -f stamp-sanity-warned; then
16722 touch stamp-sanity-warned
16724 echo "Please make certain that you read the installation information here:"
16725 echo " faster => ${srcdir}/docs/install.html"
16726 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
16728 echo "and the configuration information here:"
16729 echo " faster => ${srcdir}/docs/configopts.html"
16730 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
16732 echo "before proceeding with ${_cv_gnu_make_command}."