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 --with-gxx-include-dir the installation directory for include files"
63 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
65 # Initialize some variables set by options.
66 # The variables have the same names as the options, with
67 # dashes changed to underlines.
69 cache_file
=.
/config.cache
78 program_transform_name
=s
,x
,x
,
86 bindir
='${exec_prefix}/bin'
87 sbindir
='${exec_prefix}/sbin'
88 libexecdir
='${exec_prefix}/libexec'
89 datadir
='${prefix}/share'
90 sysconfdir
='${prefix}/etc'
91 sharedstatedir
='${prefix}/com'
92 localstatedir
='${prefix}/var'
93 libdir
='${exec_prefix}/lib'
94 includedir
='${prefix}/include'
95 oldincludedir
='/usr/include'
96 infodir
='${prefix}/info'
97 mandir
='${prefix}/man'
99 # Initialize some other variables.
102 SHELL
=${CONFIG_SHELL-/bin/sh}
103 # Maximum number of lines to put in a shell here document.
110 # If the previous option needs an argument, assign it.
111 if test -n "$ac_prev"; then
112 eval "$ac_prev=\$ac_option"
118 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
122 # Accept the important Cygnus configure options, so we can diagnose typos.
126 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
128 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
129 bindir
="$ac_optarg" ;;
131 -build |
--build |
--buil |
--bui |
--bu)
133 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
134 build
="$ac_optarg" ;;
136 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
137 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
138 ac_prev
=cache_file
;;
139 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
140 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
141 cache_file
="$ac_optarg" ;;
143 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
145 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
147 datadir
="$ac_optarg" ;;
149 -disable-* |
--disable-*)
150 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
151 # Reject names that are not valid shell variable names.
152 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
153 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
155 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
156 eval "enable_${ac_feature}=no" ;;
158 -enable-* |
--enable-*)
159 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
160 # Reject names that are not valid shell variable names.
161 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
162 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
164 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
169 eval "enable_${ac_feature}='$ac_optarg'" ;;
171 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
172 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
173 |
--exec |
--exe |
--ex)
174 ac_prev
=exec_prefix
;;
175 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
176 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
177 |
--exec=* |
--exe=* |
--ex=*)
178 exec_prefix
="$ac_optarg" ;;
180 -gas |
--gas |
--ga |
--g)
181 # Obsolete; use --with-gas.
184 -help |
--help |
--hel |
--he)
185 # Omit some internal or obsolete options to make the list less imposing.
186 # This message is too long to be a string in the A/UX 3.1 sh.
188 Usage: configure [options] [host]
189 Options: [defaults in brackets after descriptions]
191 --cache-file=FILE cache test results in FILE
192 --help print this message
193 --no-create do not create output files
194 --quiet, --silent do not print \`checking...' messages
195 --version print the version of autoconf that created configure
196 Directory and file names:
197 --prefix=PREFIX install architecture-independent files in PREFIX
199 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
201 --bindir=DIR user executables in DIR [EPREFIX/bin]
202 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
203 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
204 --datadir=DIR read-only architecture-independent data in DIR
206 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
207 --sharedstatedir=DIR modifiable architecture-independent data in DIR
209 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
210 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
211 --includedir=DIR C header files in DIR [PREFIX/include]
212 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
213 --infodir=DIR info documentation in DIR [PREFIX/info]
214 --mandir=DIR man documentation in DIR [PREFIX/man]
215 --srcdir=DIR find the sources in DIR [configure dir or ..]
216 --program-prefix=PREFIX prepend PREFIX to installed program names
217 --program-suffix=SUFFIX append SUFFIX to installed program names
218 --program-transform-name=PROGRAM
219 run sed PROGRAM on installed program names
223 --build=BUILD configure for building on BUILD [BUILD=HOST]
224 --host=HOST configure for HOST [guessed]
225 --target=TARGET configure for TARGET [TARGET=HOST]
226 Features and packages:
227 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
228 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
229 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
230 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
231 --x-includes=DIR X include files are in DIR
232 --x-libraries=DIR X library files are in DIR
234 if test -n "$ac_help"; then
235 echo "--enable and --with options recognized:$ac_help"
239 -host |
--host |
--hos |
--ho)
241 -host=* |
--host=* |
--hos=* |
--ho=*)
244 -includedir |
--includedir |
--includedi |
--included |
--include \
245 |
--includ |
--inclu |
--incl |
--inc)
246 ac_prev
=includedir
;;
247 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
248 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
249 includedir
="$ac_optarg" ;;
251 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
253 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
254 infodir
="$ac_optarg" ;;
256 -libdir |
--libdir |
--libdi |
--libd)
258 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
259 libdir
="$ac_optarg" ;;
261 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
262 |
--libexe |
--libex |
--libe)
263 ac_prev
=libexecdir
;;
264 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
265 |
--libexe=* |
--libex=* |
--libe=*)
266 libexecdir
="$ac_optarg" ;;
268 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
269 |
--localstate |
--localstat |
--localsta |
--localst \
270 |
--locals |
--local |
--loca |
--loc |
--lo)
271 ac_prev
=localstatedir
;;
272 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
273 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
274 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
275 localstatedir
="$ac_optarg" ;;
277 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
279 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
280 mandir
="$ac_optarg" ;;
283 # Obsolete; use --without-fp.
286 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
290 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
291 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
294 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
295 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
296 |
--oldin |
--oldi |
--old |
--ol |
--o)
297 ac_prev
=oldincludedir
;;
298 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
299 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
300 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
301 oldincludedir
="$ac_optarg" ;;
303 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
305 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
306 prefix
="$ac_optarg" ;;
308 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
309 |
--program-pre |
--program-pr |
--program-p)
310 ac_prev
=program_prefix
;;
311 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
312 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
313 program_prefix
="$ac_optarg" ;;
315 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
316 |
--program-suf |
--program-su |
--program-s)
317 ac_prev
=program_suffix
;;
318 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
319 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
320 program_suffix
="$ac_optarg" ;;
322 -program-transform-name |
--program-transform-name \
323 |
--program-transform-nam |
--program-transform-na \
324 |
--program-transform-n |
--program-transform- \
325 |
--program-transform |
--program-transfor \
326 |
--program-transfo |
--program-transf \
327 |
--program-trans |
--program-tran \
328 |
--progr-tra |
--program-tr |
--program-t)
329 ac_prev
=program_transform_name
;;
330 -program-transform-name=* |
--program-transform-name=* \
331 |
--program-transform-nam=* |
--program-transform-na=* \
332 |
--program-transform-n=* |
--program-transform-=* \
333 |
--program-transform=* |
--program-transfor=* \
334 |
--program-transfo=* |
--program-transf=* \
335 |
--program-trans=* |
--program-tran=* \
336 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
337 program_transform_name
="$ac_optarg" ;;
339 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
340 |
-silent |
--silent |
--silen |
--sile |
--sil)
343 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
345 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
347 sbindir
="$ac_optarg" ;;
349 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
350 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
351 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
353 ac_prev
=sharedstatedir
;;
354 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
355 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
356 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
358 sharedstatedir
="$ac_optarg" ;;
360 -site |
--site |
--sit)
362 -site=* |
--site=* |
--sit=*)
365 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
367 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
368 srcdir
="$ac_optarg" ;;
370 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
371 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
372 ac_prev
=sysconfdir
;;
373 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
374 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
375 sysconfdir
="$ac_optarg" ;;
377 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
379 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
380 target
="$ac_optarg" ;;
382 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
385 -version |
--version |
--versio |
--versi |
--vers)
386 echo "configure generated by autoconf version 2.13"
390 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
391 # Reject names that are not valid shell variable names.
392 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
393 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
395 ac_package
=`echo $ac_package| sed 's/-/_/g'`
400 eval "with_${ac_package}='$ac_optarg'" ;;
402 -without-* |
--without-*)
403 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
404 # Reject names that are not valid shell variable names.
405 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
406 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
408 ac_package
=`echo $ac_package| sed 's/-/_/g'`
409 eval "with_${ac_package}=no" ;;
412 # Obsolete; use --with-x.
415 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
416 |
--x-incl |
--x-inc |
--x-in |
--x-i)
417 ac_prev
=x_includes
;;
418 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
419 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
420 x_includes
="$ac_optarg" ;;
422 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
423 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
424 ac_prev
=x_libraries
;;
425 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
426 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
427 x_libraries
="$ac_optarg" ;;
429 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
433 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
434 echo "configure: warning: $ac_option: invalid host type" 1>&2
436 if test "x$nonopt" != xNONE
; then
437 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
445 if test -n "$ac_prev"; then
446 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
449 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
451 # File descriptor usage:
454 # 2 errors and warnings
455 # 3 some systems may open it to /dev/tty
456 # 4 used on the Kubota Titan
457 # 6 checking for... messages and results
458 # 5 compiler messages saved in config.log
459 if test "$silent" = yes; then
467 This file contains any messages produced by compilers while
468 running configure, to aid debugging if configure makes a mistake.
471 # Strip out --no-create and --no-recursion so they do not pile up.
472 # Also quote any args containing shell metacharacters.
477 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
478 |
--no-cr |
--no-c) ;;
479 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
480 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
481 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
482 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
483 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
488 # Only set these to C if already set. These must not be set unconditionally
489 # because not all systems understand e.g. LANG=C (notably SCO).
490 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
491 # Non-C LC_CTYPE values break the ctype check.
492 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
493 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
494 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
495 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
497 # confdefs.h avoids OS command line length limits that DEFS can exceed.
498 rm -rf conftest
* confdefs.h
499 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
502 # A filename unique to this package, relative to the directory that
503 # configure is in, which we can look for to find out if srcdir is correct.
504 ac_unique_file
=src
/ios.cc
506 # Find the source files, if location was not specified.
507 if test -z "$srcdir"; then
508 ac_srcdir_defaulted
=yes
509 # Try the directory containing this script, then its parent.
511 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
512 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
514 if test ! -r $srcdir/$ac_unique_file; then
518 ac_srcdir_defaulted
=no
520 if test ! -r $srcdir/$ac_unique_file; then
521 if test "$ac_srcdir_defaulted" = yes; then
522 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
524 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
527 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
529 # Prefer explicitly selected file to automatically selected ones.
530 if test -z "$CONFIG_SITE"; then
531 if test "x$prefix" != xNONE
; then
532 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
534 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
537 for ac_site_file
in $CONFIG_SITE; do
538 if test -r "$ac_site_file"; then
539 echo "loading site script $ac_site_file"
544 if test -r "$cache_file"; then
545 echo "loading cache $cache_file"
548 echo "creating cache $cache_file"
553 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
554 ac_cpp
='$CPP $CPPFLAGS'
555 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
556 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
557 cross_compiling
=$ac_cv_prog_cc_cross
561 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
562 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
563 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
570 ac_n
= ac_c
='\c' ac_t
=
575 # When building with srcdir == objdir, links to the source files will
576 # be created in directories within the target_subdir. We have to
577 # adjust toplevel_srcdir accordingly, so that configure finds
578 # install-sh and other auxiliary files that live in the top-level
580 if test "${srcdir}" = "."; then
581 if test -z "${with_target_subdir}"; then
582 toplevel_srcdir
="\${top_srcdir}/.."
583 auxdir
="${srcdir}/.."
585 if test "${with_target_subdir}" != "."; then
586 toplevel_srcdir
="\${top_srcdir}/${with_multisrctop}../.."
587 auxdir
="${srcdir}/${with_multisrctop}../.."
589 toplevel_srcdir
="\${top_srcdir}/${with_multisrctop}.."
590 auxdir
="${srcdir}/${with_multisrctop}.."
594 toplevel_srcdir
="\${top_srcdir}/.."
595 auxdir
="${srcdir}/.."
598 for ac_dir
in $auxdir $srcdir/$auxdir; do
599 if test -f $ac_dir/install-sh
; then
601 ac_install_sh
="$ac_aux_dir/install-sh -c"
603 elif test -f $ac_dir/install.sh
; then
605 ac_install_sh
="$ac_aux_dir/install.sh -c"
609 if test -z "$ac_aux_dir"; then
610 { echo "configure: error: can not find install-sh or install.sh in $auxdir $srcdir/$auxdir" 1>&2; exit 1; }
612 ac_config_guess
=$ac_aux_dir/config.guess
613 ac_config_sub
=$ac_aux_dir/config.sub
614 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
620 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
622 # Do some error checking and defaulting for the host and target type.
624 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
627 # 1. You are not allowed to specify --host, --target, and nonopt at the
629 # 2. Host defaults to nonopt.
630 # 3. If nonopt is not specified, then host defaults to the current host,
631 # as determined by config.guess.
632 # 4. Target and build default to nonopt.
633 # 5. If nonopt is not specified, then target and build default to host.
635 # The aliases save the names the user supplied, while $host etc.
636 # will get canonicalized.
637 case $host---$target---$nonopt in
638 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
639 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
643 # Make sure we can run config.sub.
644 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
645 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
648 echo $ac_n "checking host system type""... $ac_c" 1>&6
649 echo "configure:650: checking host system type" >&5
652 case "$host_alias" in
656 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
657 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
659 *) host_alias
=$nonopt ;;
663 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
664 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
665 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
666 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
667 echo "$ac_t""$host" 1>&6
669 echo $ac_n "checking target system type""... $ac_c" 1>&6
670 echo "configure:671: checking target system type" >&5
673 case "$target_alias" in
676 NONE
) target_alias
=$host_alias ;;
677 *) target_alias
=$nonopt ;;
681 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
682 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
683 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
684 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
685 echo "$ac_t""$target" 1>&6
687 echo $ac_n "checking build system type""... $ac_c" 1>&6
688 echo "configure:689: checking build system type" >&5
691 case "$build_alias" in
694 NONE
) build_alias
=$host_alias ;;
695 *) build_alias
=$nonopt ;;
699 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
700 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
701 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
702 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
703 echo "$ac_t""$build" 1>&6
705 test "$host_alias" != "$target_alias" &&
706 test "$program_prefix$program_suffix$program_transform_name" = \
708 program_prefix
=${target_alias}-
711 # We use these options to decide which functions to include.
712 # Check whether --with-target-subdir or --without-target-subdir was given.
713 if test "${with_target_subdir+set}" = set; then
714 withval
="$with_target_subdir"
718 # Check whether --with-cross-host or --without-cross-host was given.
719 if test "${with_cross_host+set}" = set; then
720 withval
="$with_cross_host"
725 # Runs configure.host and configure.target. Have to run this before
726 # the GLIBCPP_ENABLE_* macros below.
727 # Find a good install program. We prefer a C program (faster),
728 # so one script is as good as another. But avoid the broken or
729 # incompatible versions:
730 # SysV /etc/install, /usr/sbin/install
731 # SunOS /usr/etc/install
734 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
735 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
736 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
737 # ./install, which can be erroneously created by make from ./install.sh.
738 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
739 echo "configure:740: checking for a BSD compatible install" >&5
740 if test -z "$INSTALL"; then
741 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
742 echo $ac_n "(cached) $ac_c" 1>&6
744 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
745 for ac_dir
in $PATH; do
746 # Account for people who put trailing slashes in PATH elements.
748 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
750 # OSF1 and SCO ODT 3.0 have their own names for install.
751 # Don't use installbsd from OSF since it installs stuff as root
753 for ac_prog
in ginstall scoinst
install; do
754 if test -f $ac_dir/$ac_prog; then
755 if test $ac_prog = install &&
756 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
757 # AIX install. It has an incompatible calling convention.
760 ac_cv_path_install
="$ac_dir/$ac_prog -c"
771 if test "${ac_cv_path_install+set}" = set; then
772 INSTALL
="$ac_cv_path_install"
774 # As a last resort, use the slow shell script. We don't cache a
775 # path for INSTALL within a source directory, because that will
776 # break other packages using the cache if that directory is
777 # removed, or if the path is relative.
778 INSTALL
="$ac_install_sh"
781 echo "$ac_t""$INSTALL" 1>&6
783 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
784 # It thinks the first close brace ends the variable substitution.
785 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
787 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
789 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
791 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
792 echo "configure:793: checking whether build environment is sane" >&5
795 echo timestamp
> conftestfile
796 # Do `set' in a subshell so we don't clobber the current shell's
797 # arguments. Must try -L first in case configure is actually a
798 # symlink; some systems play weird games with the mod time of symlinks
799 # (eg FreeBSD returns the mod time of the symlink's containing
802 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
803 if test "$*" = "X"; then
805 set X
`ls -t $srcdir/configure conftestfile`
807 if test "$*" != "X $srcdir/configure conftestfile" \
808 && test "$*" != "X conftestfile $srcdir/configure"; then
810 # If neither matched, then we have a broken ls. This can happen
811 # if, for instance, CONFIG_SHELL is bash and it inherits a
812 # broken ls alias from the environment. This has actually
813 # happened. Such a system could not be considered "sane".
814 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
815 alias in your environment" 1>&2; exit 1; }
818 test "$2" = conftestfile
824 { echo "configure: error: newly created file is older than distributed files!
825 Check your system clock" 1>&2; exit 1; }
828 echo "$ac_t""yes" 1>&6
829 if test "$program_transform_name" = s
,x
,x
,; then
830 program_transform_name
=
832 # Double any \ or $. echo might interpret backslashes.
833 cat <<\EOF_SED
> conftestsed
834 s
,\\,\\\\,g
; s
,\$
,$$
,g
836 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
839 test "$program_prefix" != NONE
&&
840 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
841 # Use a double $ so make ignores it.
842 test "$program_suffix" != NONE
&&
843 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
845 # sed with no file args requires a program.
846 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
848 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
849 echo "configure:850: checking whether ${MAKE-make} sets \${MAKE}" >&5
850 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
851 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
852 echo $ac_n "(cached) $ac_c" 1>&6
854 cat > conftestmake
<<\EOF
856 @
echo 'ac_maketemp="${MAKE}"'
858 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
859 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
860 if test -n "$ac_maketemp"; then
861 eval ac_cv_prog_make_
${ac_make}_set
=yes
863 eval ac_cv_prog_make_
${ac_make}_set
=no
867 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
868 echo "$ac_t""yes" 1>&6
871 echo "$ac_t""no" 1>&6
872 SET_MAKE
="MAKE=${MAKE-make}"
875 if test $host != $build; then
876 ac_tool_prefix
=${host_alias}-
881 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
882 echo "configure:883: checking for Cygwin environment" >&5
883 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
884 echo $ac_n "(cached) $ac_c" 1>&6
886 cat > conftest.
$ac_ext <<EOF
887 #line 888 "configure"
888 #include "confdefs.h"
893 #define __CYGWIN__ __CYGWIN32__
898 if { (eval echo configure
:899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
902 echo "configure: failed program was:" >&5
903 cat conftest.
$ac_ext >&5
911 echo "$ac_t""$ac_cv_cygwin" 1>&6
913 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
914 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
915 echo "configure:916: checking for mingw32 environment" >&5
916 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
917 echo $ac_n "(cached) $ac_c" 1>&6
919 cat > conftest.
$ac_ext <<EOF
920 #line 921 "configure"
921 #include "confdefs.h"
927 if { (eval echo configure
:928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
931 echo "configure: failed program was:" >&5
932 cat conftest.
$ac_ext >&5
940 echo "$ac_t""$ac_cv_mingw32" 1>&6
942 test "$ac_cv_mingw32" = yes && MINGW32
=yes
944 # Check whether --enable-multilib or --disable-multilib was given.
945 if test "${enable_multilib+set}" = set; then
946 enableval
="$enable_multilib"
947 case "${enableval}" in
950 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
956 glibcpp_basedir
=$auxdir/.
/libstdc
++-v3
964 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
965 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
967 cat >> confdefs.h
<<EOF
968 #define PACKAGE "$PACKAGE"
971 cat >> confdefs.h
<<EOF
972 #define VERSION "$VERSION"
977 missing_dir
=`cd $ac_aux_dir && pwd`
978 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
979 echo "configure:980: checking for working aclocal" >&5
980 # Run test in a subshell; some versions of sh will print an error if
981 # an executable is not found, even if stderr is redirected.
982 # Redirect stdin to placate older versions of autoconf. Sigh.
983 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
985 echo "$ac_t""found" 1>&6
987 ACLOCAL
="$missing_dir/missing aclocal"
988 echo "$ac_t""missing" 1>&6
991 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
992 echo "configure:993: checking for working autoconf" >&5
993 # Run test in a subshell; some versions of sh will print an error if
994 # an executable is not found, even if stderr is redirected.
995 # Redirect stdin to placate older versions of autoconf. Sigh.
996 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
998 echo "$ac_t""found" 1>&6
1000 AUTOCONF
="$missing_dir/missing autoconf"
1001 echo "$ac_t""missing" 1>&6
1004 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1005 echo "configure:1006: checking for working automake" >&5
1006 # Run test in a subshell; some versions of sh will print an error if
1007 # an executable is not found, even if stderr is redirected.
1008 # Redirect stdin to placate older versions of autoconf. Sigh.
1009 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
1011 echo "$ac_t""found" 1>&6
1013 AUTOMAKE
="$missing_dir/missing automake"
1014 echo "$ac_t""missing" 1>&6
1017 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1018 echo "configure:1019: checking for working autoheader" >&5
1019 # Run test in a subshell; some versions of sh will print an error if
1020 # an executable is not found, even if stderr is redirected.
1021 # Redirect stdin to placate older versions of autoconf. Sigh.
1022 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1023 AUTOHEADER
=autoheader
1024 echo "$ac_t""found" 1>&6
1026 AUTOHEADER
="$missing_dir/missing autoheader"
1027 echo "$ac_t""missing" 1>&6
1030 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1031 echo "configure:1032: checking for working makeinfo" >&5
1032 # Run test in a subshell; some versions of sh will print an error if
1033 # an executable is not found, even if stderr is redirected.
1034 # Redirect stdin to placate older versions of autoconf. Sigh.
1035 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1037 echo "$ac_t""found" 1>&6
1039 MAKEINFO
="$missing_dir/missing makeinfo"
1040 echo "$ac_t""missing" 1>&6
1045 # Never versions of autoconf add an underscore to these functions.
1046 # Prevent future problems ...
1054 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1055 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1056 # are probably using a cross compiler, which will not be able to fully
1057 # link an executable. This should really be fixed in autoconf
1063 # Extract the first word of "gcc", so it can be a program name with args.
1064 set dummy gcc
; ac_word
=$2
1065 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1066 echo "configure:1067: checking for $ac_word" >&5
1067 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1068 echo $ac_n "(cached) $ac_c" 1>&6
1070 if test -n "$CC"; then
1071 ac_cv_prog_CC
="$CC" # Let the user override the test.
1073 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1075 for ac_dir
in $ac_dummy; do
1076 test -z "$ac_dir" && ac_dir
=.
1077 if test -f $ac_dir/$ac_word; then
1086 if test -n "$CC"; then
1087 echo "$ac_t""$CC" 1>&6
1089 echo "$ac_t""no" 1>&6
1092 if test -z "$CC"; then
1093 # Extract the first word of "cc", so it can be a program name with args.
1094 set dummy cc
; ac_word
=$2
1095 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1096 echo "configure:1097: checking for $ac_word" >&5
1097 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1098 echo $ac_n "(cached) $ac_c" 1>&6
1100 if test -n "$CC"; then
1101 ac_cv_prog_CC
="$CC" # Let the user override the test.
1103 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1106 for ac_dir
in $ac_dummy; do
1107 test -z "$ac_dir" && ac_dir
=.
1108 if test -f $ac_dir/$ac_word; then
1109 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1110 ac_prog_rejected
=yes
1118 if test $ac_prog_rejected = yes; then
1119 # We found a bogon in the path, so make sure we never use it.
1120 set dummy
$ac_cv_prog_CC
1122 if test $# -gt 0; then
1123 # We chose a different compiler from the bogus one.
1124 # However, it has the same basename, so the bogon will be chosen
1125 # first if we set CC to just the basename; use the full file name.
1127 set dummy
"$ac_dir/$ac_word" "$@"
1135 if test -n "$CC"; then
1136 echo "$ac_t""$CC" 1>&6
1138 echo "$ac_t""no" 1>&6
1141 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1144 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1145 echo "configure:1146: checking whether we are using GNU C" >&5
1146 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1147 echo $ac_n "(cached) $ac_c" 1>&6
1149 cat > conftest.c
<<EOF
1154 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1161 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1163 if test $ac_cv_prog_gcc = yes; then
1165 ac_test_CFLAGS
="${CFLAGS+set}"
1166 ac_save_CFLAGS
="$CFLAGS"
1168 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1169 echo "configure:1170: checking whether ${CC-cc} accepts -g" >&5
1170 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1171 echo $ac_n "(cached) $ac_c" 1>&6
1173 echo 'void f(){}' > conftest.c
1174 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1183 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1184 if test "$ac_test_CFLAGS" = set; then
1185 CFLAGS
="$ac_save_CFLAGS"
1186 elif test $ac_cv_prog_cc_g = yes; then
1193 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1197 # Can't just call these here as g++ requires libstc++ to be built....
1200 # Likewise for AC_PROG_CXX.
1204 # Use CXX_libstdcxx so that we do not cause CXX to be cached with the
1205 # flags that come in CXX while configuring libstdc++. They're different
1206 # from those used for all other target libraries. If CXX is set in
1207 # the environment, respect that here.
1209 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1211 # Extract the first word of "$ac_prog", so it can be a program name with args.
1212 set dummy
$ac_prog; ac_word
=$2
1213 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1214 echo "configure:1215: checking for $ac_word" >&5
1215 if eval "test \"`echo '$''{'ac_cv_prog_CXX_libstdcxx'+set}'`\" = set"; then
1216 echo $ac_n "(cached) $ac_c" 1>&6
1218 if test -n "$CXX_libstdcxx"; then
1219 ac_cv_prog_CXX_libstdcxx
="$CXX_libstdcxx" # Let the user override the test.
1221 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1223 for ac_dir
in $ac_dummy; do
1224 test -z "$ac_dir" && ac_dir
=.
1225 if test -f $ac_dir/$ac_word; then
1226 ac_cv_prog_CXX_libstdcxx
="$ac_prog"
1233 CXX_libstdcxx
="$ac_cv_prog_CXX_libstdcxx"
1234 if test -n "$CXX_libstdcxx"; then
1235 echo "$ac_t""$CXX_libstdcxx" 1>&6
1237 echo "$ac_t""no" 1>&6
1240 test -n "$CXX_libstdcxx" && break
1242 test -n "$CXX_libstdcxx" || CXX_libstdcxx
="gcc"
1246 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1248 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1249 echo "configure:1250: checking whether we are using GNU C++" >&5
1250 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1251 echo $ac_n "(cached) $ac_c" 1>&6
1253 cat > conftest.C
<<EOF
1258 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1265 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1267 if test $ac_cv_prog_gxx = yes; then
1269 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1270 ac_save_CXXFLAGS
="$CXXFLAGS"
1272 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1273 echo "configure:1274: checking whether ${CXX-g++} accepts -g" >&5
1274 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1275 echo $ac_n "(cached) $ac_c" 1>&6
1277 echo 'void f(){}' > conftest.cc
1278 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1279 ac_cv_prog_cxx_g
=yes
1287 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1288 if test "$ac_test_CXXFLAGS" = set; then
1289 CXXFLAGS
="$ac_save_CXXFLAGS"
1290 elif test $ac_cv_prog_cxx_g = yes; then
1297 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1301 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1302 set dummy
${ac_tool_prefix}as
; ac_word
=$2
1303 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1304 echo "configure:1305: checking for $ac_word" >&5
1305 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1306 echo $ac_n "(cached) $ac_c" 1>&6
1308 if test -n "$AS"; then
1309 ac_cv_prog_AS
="$AS" # Let the user override the test.
1311 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1313 for ac_dir
in $ac_dummy; do
1314 test -z "$ac_dir" && ac_dir
=.
1315 if test -f $ac_dir/$ac_word; then
1316 ac_cv_prog_AS
="${ac_tool_prefix}as"
1321 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS
="as"
1325 if test -n "$AS"; then
1326 echo "$ac_t""$AS" 1>&6
1328 echo "$ac_t""no" 1>&6
1333 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1334 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1335 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1336 echo "configure:1337: checking for $ac_word" >&5
1337 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1338 echo $ac_n "(cached) $ac_c" 1>&6
1340 if test -n "$AR"; then
1341 ac_cv_prog_AR
="$AR" # Let the user override the test.
1343 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1345 for ac_dir
in $ac_dummy; do
1346 test -z "$ac_dir" && ac_dir
=.
1347 if test -f $ac_dir/$ac_word; then
1348 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1353 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1357 if test -n "$AR"; then
1358 echo "$ac_t""$AR" 1>&6
1360 echo "$ac_t""no" 1>&6
1365 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1366 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1367 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1368 echo "configure:1369: checking for $ac_word" >&5
1369 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1370 echo $ac_n "(cached) $ac_c" 1>&6
1372 if test -n "$RANLIB"; then
1373 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1375 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1377 for ac_dir
in $ac_dummy; do
1378 test -z "$ac_dir" && ac_dir
=.
1379 if test -f $ac_dir/$ac_word; then
1380 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1387 RANLIB
="$ac_cv_prog_RANLIB"
1388 if test -n "$RANLIB"; then
1389 echo "$ac_t""$RANLIB" 1>&6
1391 echo "$ac_t""no" 1>&6
1395 if test -z "$ac_cv_prog_RANLIB"; then
1396 if test -n "$ac_tool_prefix"; then
1397 # Extract the first word of "ranlib", so it can be a program name with args.
1398 set dummy ranlib
; ac_word
=$2
1399 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1400 echo "configure:1401: checking for $ac_word" >&5
1401 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1402 echo $ac_n "(cached) $ac_c" 1>&6
1404 if test -n "$RANLIB"; then
1405 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1407 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1409 for ac_dir
in $ac_dummy; do
1410 test -z "$ac_dir" && ac_dir
=.
1411 if test -f $ac_dir/$ac_word; then
1412 ac_cv_prog_RANLIB
="ranlib"
1417 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1420 RANLIB
="$ac_cv_prog_RANLIB"
1421 if test -n "$RANLIB"; then
1422 echo "$ac_t""$RANLIB" 1>&6
1424 echo "$ac_t""no" 1>&6
1433 # Find a good install program. We prefer a C program (faster),
1434 # so one script is as good as another. But avoid the broken or
1435 # incompatible versions:
1436 # SysV /etc/install, /usr/sbin/install
1437 # SunOS /usr/etc/install
1438 # IRIX /sbin/install
1440 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1441 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1442 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1443 # ./install, which can be erroneously created by make from ./install.sh.
1444 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1445 echo "configure:1446: checking for a BSD compatible install" >&5
1446 if test -z "$INSTALL"; then
1447 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1448 echo $ac_n "(cached) $ac_c" 1>&6
1450 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1451 for ac_dir
in $PATH; do
1452 # Account for people who put trailing slashes in PATH elements.
1454 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1456 # OSF1 and SCO ODT 3.0 have their own names for install.
1457 # Don't use installbsd from OSF since it installs stuff as root
1459 for ac_prog
in ginstall scoinst
install; do
1460 if test -f $ac_dir/$ac_prog; then
1461 if test $ac_prog = install &&
1462 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1463 # AIX install. It has an incompatible calling convention.
1466 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1477 if test "${ac_cv_path_install+set}" = set; then
1478 INSTALL
="$ac_cv_path_install"
1480 # As a last resort, use the slow shell script. We don't cache a
1481 # path for INSTALL within a source directory, because that will
1482 # break other packages using the cache if that directory is
1483 # removed, or if the path is relative.
1484 INSTALL
="$ac_install_sh"
1487 echo "$ac_t""$INSTALL" 1>&6
1489 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1490 # It thinks the first close brace ends the variable substitution.
1491 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1493 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1495 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1498 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1499 echo "configure:1500: checking whether to enable maintainer-specific portions of Makefiles" >&5
1500 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1501 if test "${enable_maintainer_mode+set}" = set; then
1502 enableval
="$enable_maintainer_mode"
1503 USE_MAINTAINER_MODE
=$enableval
1505 USE_MAINTAINER_MODE
=no
1508 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1511 if test $USE_MAINTAINER_MODE = yes; then
1512 MAINTAINER_MODE_TRUE
=
1513 MAINTAINER_MODE_FALSE
='#'
1515 MAINTAINER_MODE_TRUE
='#'
1516 MAINTAINER_MODE_FALSE
=
1518 MAINT
=$MAINTAINER_MODE_TRUE
1522 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1523 # at least currently, we never actually build a program, so we never
1524 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1525 # fails, because we are probably configuring with a cross compiler
1526 # which cant create executables. So we include AC_EXEEXT to keep
1527 # automake happy, but we dont execute it, since we dont care about
1532 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1533 echo "configure:1534: checking for executable suffix" >&5
1534 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1535 echo $ac_n "(cached) $ac_c" 1>&6
1537 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
1541 echo 'int main () { return 0; }' > conftest.
$ac_ext
1543 if { (eval echo configure
:1544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1544 for file in conftest.
*; do
1546 *.c |
*.o |
*.obj
) ;;
1547 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
1551 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1554 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
1559 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
1560 echo "$ac_t""${ac_cv_exeext}" 1>&6
1565 .
${glibcpp_basedir}/configure.
host
1567 case ${glibcpp_basedir} in
1568 /* | A-Za-z
:\\/*) libgcj_flagbasedir
=${glibcpp_basedir} ;;
1569 *) glibcpp_flagbasedir
='$(top_builddir)/'${glibcpp_basedir} ;;
1572 # This does for the target what configure.host does for the host. In
1573 # addition to possibly modifying the same flags, it also sets up symlinks.
1575 .
${glibcpp_basedir}/configure.target
1576 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1577 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1583 # Check whether --enable-shared or --disable-shared was given.
1584 if test "${enable_shared+set}" = set; then
1585 enableval
="$enable_shared"
1586 p
=${PACKAGE-default}
1587 case "$enableval" in
1588 yes) enable_shared
=yes ;;
1589 no
) enable_shared
=no
;;
1592 # Look at the argument we got. We use all the common list separators.
1593 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1594 for pkg
in $enableval; do
1595 if test "X$pkg" = "X$p"; then
1606 # Check whether --enable-static or --disable-static was given.
1607 if test "${enable_static+set}" = set; then
1608 enableval
="$enable_static"
1609 p
=${PACKAGE-default}
1610 case "$enableval" in
1611 yes) enable_static
=yes ;;
1612 no
) enable_static
=no
;;
1615 # Look at the argument we got. We use all the common list separators.
1616 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1617 for pkg
in $enableval; do
1618 if test "X$pkg" = "X$p"; then
1629 # Check whether --enable-fast-install or --disable-fast-install was given.
1630 if test "${enable_fast_install+set}" = set; then
1631 enableval
="$enable_fast_install"
1632 p
=${PACKAGE-default}
1633 case "$enableval" in
1634 yes) enable_fast_install
=yes ;;
1635 no
) enable_fast_install
=no
;;
1637 enable_fast_install
=no
1638 # Look at the argument we got. We use all the common list separators.
1639 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1640 for pkg
in $enableval; do
1641 if test "X$pkg" = "X$p"; then
1642 enable_fast_install
=yes
1649 enable_fast_install
=yes
1652 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1653 if test "${with_gnu_ld+set}" = set; then
1654 withval
="$with_gnu_ld"
1655 test "$withval" = no || with_gnu_ld
=yes
1661 if test "$ac_cv_prog_gcc" = yes; then
1662 # Check if gcc -print-prog-name=ld gives a path.
1663 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1664 echo "configure:1665: checking for ld used by GCC" >&5
1667 # gcc leaves a trailing carriage return which upsets mingw
1668 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1670 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
1673 # Accept absolute paths.
1674 [\\/]* |
[A-Za-z
]:[\\/]*)
1675 re_direlt
='/[^/][^/]*/\.\./'
1676 # Canonicalize the path of ld
1677 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
1678 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
1679 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
1681 test -z "$LD" && LD
="$ac_prog"
1684 # If it fails, then pretend we aren't using GCC.
1688 # If it is relative, then search for the first ld in PATH.
1692 elif test "$with_gnu_ld" = yes; then
1693 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1694 echo "configure:1695: checking for GNU ld" >&5
1696 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1697 echo "configure:1698: checking for non-GNU ld" >&5
1699 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1700 echo $ac_n "(cached) $ac_c" 1>&6
1702 if test -z "$LD"; then
1703 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1704 for ac_dir
in $PATH; do
1705 test -z "$ac_dir" && ac_dir
=.
1706 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
1707 ac_cv_path_LD
="$ac_dir/$ac_prog"
1708 # Check to see if the program is GNU ld. I'd rather use --version,
1709 # but apparently some GNU ld's only accept -v.
1710 # Break only if it was the GNU/non-GNU ld that we prefer.
1711 if "$ac_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
1712 test "$with_gnu_ld" != no
&& break
1714 test "$with_gnu_ld" != yes && break
1720 ac_cv_path_LD
="$LD" # Let the user override the test with a path.
1725 if test -n "$LD"; then
1726 echo "$ac_t""$LD" 1>&6
1728 echo "$ac_t""no" 1>&6
1730 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1731 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1732 echo "configure:1733: checking if the linker ($LD) is GNU ld" >&5
1733 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1734 echo $ac_n "(cached) $ac_c" 1>&6
1736 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1737 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
1738 ac_cv_prog_gnu_ld
=yes
1740 ac_cv_prog_gnu_ld
=no
1744 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1745 with_gnu_ld
=$ac_cv_prog_gnu_ld
1748 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1749 echo "configure:1750: checking for $LD option to reload object files" >&5
1750 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1751 echo $ac_n "(cached) $ac_c" 1>&6
1753 lt_cv_ld_reload_flag
='-r'
1756 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1757 reload_flag
=$lt_cv_ld_reload_flag
1758 test -n "$reload_flag" && reload_flag
=" $reload_flag"
1760 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1761 echo "configure:1762: checking for BSD-compatible nm" >&5
1762 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1763 echo $ac_n "(cached) $ac_c" 1>&6
1765 if test -n "$NM"; then
1766 # Let the user override the test.
1769 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1770 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
1771 test -z "$ac_dir" && ac_dir
=.
1772 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
1773 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
1774 # Check to see if the nm accepts a BSD-compat flag.
1775 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1776 # nm: unknown option "B" ignored
1777 # Tru64's nm complains that /dev/null is an invalid object file
1778 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
1779 ac_cv_path_NM
="$tmp_nm -B"
1781 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1782 ac_cv_path_NM
="$tmp_nm -p"
1785 ac_cv_path_NM
=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1786 continue # so that we can try to find one that supports BSD flags
1791 test -z "$ac_cv_path_NM" && ac_cv_path_NM
=nm
1796 echo "$ac_t""$NM" 1>&6
1798 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1799 echo "configure:1800: checking whether ln -s works" >&5
1800 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1801 echo $ac_n "(cached) $ac_c" 1>&6
1804 if ln -s X conftestdata
2>/dev
/null
1807 ac_cv_prog_LN_S
="ln -s"
1812 LN_S
="$ac_cv_prog_LN_S"
1813 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1814 echo "$ac_t""yes" 1>&6
1816 echo "$ac_t""no" 1>&6
1819 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1820 echo "configure:1821: checking how to recognise dependant libraries" >&5
1821 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1822 echo $ac_n "(cached) $ac_c" 1>&6
1824 lt_cv_file_magic_cmd
='$MAGIC_CMD'
1825 lt_cv_file_magic_test_file
=
1826 lt_cv_deplibs_check_method
='unknown'
1827 # Need to set the preceding variable on all platforms that support
1828 # interlibrary dependencies.
1829 # 'none' -- dependencies not supported.
1830 # `unknown' -- same as none, but documents that we really don't know.
1831 # 'pass_all' -- all dependencies passed with no checks.
1832 # 'test_compile' -- check by making test program.
1833 # 'file_magic [regex]' -- check by looking for files in library path
1834 # which responds to the $file_magic_cmd with a given egrep regex.
1835 # If you have `file' or equivalent on your system and you're not sure
1836 # whether `pass_all' will *always* work, you probably want this one.
1840 lt_cv_deplibs_check_method
=pass_all
1844 lt_cv_deplibs_check_method
=pass_all
1848 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1849 lt_cv_file_magic_cmd
='/usr/bin/file -L'
1850 lt_cv_file_magic_test_file
=/shlib
/libc.so
1853 cygwin
* | mingw
* |pw32
*)
1854 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
1855 lt_cv_file_magic_cmd
='$OBJDUMP -f'
1859 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
1862 # Not sure whether the presence of OpenBSD here was a mistake.
1863 # Let's accept both of them until this is cleared up.
1864 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1865 lt_cv_file_magic_cmd
=/usr
/bin
/file
1866 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
1870 lt_cv_deplibs_check_method
=pass_all
1875 lt_cv_deplibs_check_method
=pass_all
1879 # TODO: Does this work for hpux-11 too?
1880 lt_cv_deplibs_check_method
='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1881 lt_cv_file_magic_cmd
=/usr
/bin
/file
1882 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
1888 # this will be overridden with pass_all, but let us keep it just in case
1889 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1893 *-32|
*"-32 ") libmagic
=32-bit;;
1894 *-n32|
*"-n32 ") libmagic
=N32
;;
1895 *-64|
*"-64 ") libmagic
=64-bit;;
1896 *) libmagic
=never-match
;;
1898 # this will be overridden with pass_all, but let us keep it just in case
1899 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1902 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
1903 lt_cv_deplibs_check_method
=pass_all
1906 # This must be Linux ELF.
1909 alpha
* | i
*86 | powerpc
* | sparc
* | ia64
* )
1910 lt_cv_deplibs_check_method
=pass_all
;;
1912 # glibc up to 2.1.1 does not perform some relocations on ARM
1913 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1915 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
1919 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then :
1921 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1922 lt_cv_file_magic_cmd
='/usr/bin/file -L'
1923 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
1927 osf3
* | osf4
* | osf5
*)
1928 # this will be overridden with pass_all, but let us keep it just in case
1929 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
1930 lt_cv_file_magic_test_file
=/shlib
/libc.so
1931 lt_cv_deplibs_check_method
=pass_all
1935 lt_cv_deplibs_check_method
=pass_all
1939 lt_cv_deplibs_check_method
=pass_all
1940 lt_cv_file_magic_test_file
=/lib
/libc.so
1943 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
1944 case "$host_vendor" in
1946 lt_cv_deplibs_check_method
=pass_all
1949 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]'
1950 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
1958 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1959 file_magic_cmd
=$lt_cv_file_magic_cmd
1960 deplibs_check_method
=$lt_cv_deplibs_check_method
1962 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1963 echo "configure:1964: checking for object suffix" >&5
1964 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1965 echo $ac_n "(cached) $ac_c" 1>&6
1968 echo 'int i = 1;' > conftest.
$ac_ext
1969 if { (eval echo configure
:1970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1970 for ac_file
in conftest.
*; do
1973 *) ac_cv_objext
=`echo $ac_file | sed -e s/conftest.//` ;;
1977 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1982 echo "$ac_t""$ac_cv_objext" 1>&6
1983 OBJEXT
=$ac_cv_objext
1984 ac_objext
=$ac_cv_objext
1986 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1988 # Only perform the check for file, if the check method requires it
1989 case "$deplibs_check_method" in
1991 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1992 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1993 echo "configure:1994: checking for ${ac_tool_prefix}file" >&5
1994 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1995 echo $ac_n "(cached) $ac_c" 1>&6
1997 case "$MAGIC_CMD" in
1999 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
2002 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
2005 ac_save_MAGIC_CMD
="$MAGIC_CMD"
2006 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2007 ac_dummy
="/usr/bin:$PATH"
2008 for ac_dir
in $ac_dummy; do
2009 test -z "$ac_dir" && ac_dir
=.
2010 if test -f $ac_dir/${ac_tool_prefix}file; then
2011 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
2012 if test -n "$file_magic_test_file"; then
2013 case "$deplibs_check_method" in
2015 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2016 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2017 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
2018 egrep "$file_magic_regex" > /dev
/null
; then
2023 *** Warning: the command libtool uses to detect shared libraries,
2024 *** $file_magic_cmd, produces output that libtool cannot recognize.
2025 *** The result is that libtool may fail to recognize shared libraries
2026 *** as such. This will affect the creation of libtool libraries that
2027 *** depend on shared libraries, but programs linked with such libtool
2028 *** libraries will work regardless of this problem. Nevertheless, you
2029 *** may want to report the problem to your system manager and/or to
2030 *** bug-libtool@gnu.org
2040 MAGIC_CMD
="$ac_save_MAGIC_CMD"
2045 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2046 if test -n "$MAGIC_CMD"; then
2047 echo "$ac_t""$MAGIC_CMD" 1>&6
2049 echo "$ac_t""no" 1>&6
2052 if test -z "$lt_cv_path_MAGIC_CMD"; then
2053 if test -n "$ac_tool_prefix"; then
2054 echo $ac_n "checking for file""... $ac_c" 1>&6
2055 echo "configure:2056: checking for file" >&5
2056 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2057 echo $ac_n "(cached) $ac_c" 1>&6
2059 case "$MAGIC_CMD" in
2061 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
2064 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
2067 ac_save_MAGIC_CMD
="$MAGIC_CMD"
2068 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2069 ac_dummy
="/usr/bin:$PATH"
2070 for ac_dir
in $ac_dummy; do
2071 test -z "$ac_dir" && ac_dir
=.
2072 if test -f $ac_dir/file; then
2073 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
2074 if test -n "$file_magic_test_file"; then
2075 case "$deplibs_check_method" in
2077 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2078 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2079 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
2080 egrep "$file_magic_regex" > /dev
/null
; then
2085 *** Warning: the command libtool uses to detect shared libraries,
2086 *** $file_magic_cmd, produces output that libtool cannot recognize.
2087 *** The result is that libtool may fail to recognize shared libraries
2088 *** as such. This will affect the creation of libtool libraries that
2089 *** depend on shared libraries, but programs linked with such libtool
2090 *** libraries will work regardless of this problem. Nevertheless, you
2091 *** may want to report the problem to your system manager and/or to
2092 *** bug-libtool@gnu.org
2102 MAGIC_CMD
="$ac_save_MAGIC_CMD"
2107 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2108 if test -n "$MAGIC_CMD"; then
2109 echo "$ac_t""$MAGIC_CMD" 1>&6
2111 echo "$ac_t""no" 1>&6
2123 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2124 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2125 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2126 echo "configure:2127: checking for $ac_word" >&5
2127 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2128 echo $ac_n "(cached) $ac_c" 1>&6
2130 if test -n "$RANLIB"; then
2131 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2133 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2135 for ac_dir
in $ac_dummy; do
2136 test -z "$ac_dir" && ac_dir
=.
2137 if test -f $ac_dir/$ac_word; then
2138 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2145 RANLIB
="$ac_cv_prog_RANLIB"
2146 if test -n "$RANLIB"; then
2147 echo "$ac_t""$RANLIB" 1>&6
2149 echo "$ac_t""no" 1>&6
2153 if test -z "$ac_cv_prog_RANLIB"; then
2154 if test -n "$ac_tool_prefix"; then
2155 # Extract the first word of "ranlib", so it can be a program name with args.
2156 set dummy ranlib
; ac_word
=$2
2157 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2158 echo "configure:2159: checking for $ac_word" >&5
2159 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2160 echo $ac_n "(cached) $ac_c" 1>&6
2162 if test -n "$RANLIB"; then
2163 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2165 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2167 for ac_dir
in $ac_dummy; do
2168 test -z "$ac_dir" && ac_dir
=.
2169 if test -f $ac_dir/$ac_word; then
2170 ac_cv_prog_RANLIB
="ranlib"
2175 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
2178 RANLIB
="$ac_cv_prog_RANLIB"
2179 if test -n "$RANLIB"; then
2180 echo "$ac_t""$RANLIB" 1>&6
2182 echo "$ac_t""no" 1>&6
2190 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2191 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2192 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2193 echo "configure:2194: checking for $ac_word" >&5
2194 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2195 echo $ac_n "(cached) $ac_c" 1>&6
2197 if test -n "$STRIP"; then
2198 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2200 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2202 for ac_dir
in $ac_dummy; do
2203 test -z "$ac_dir" && ac_dir
=.
2204 if test -f $ac_dir/$ac_word; then
2205 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2212 STRIP
="$ac_cv_prog_STRIP"
2213 if test -n "$STRIP"; then
2214 echo "$ac_t""$STRIP" 1>&6
2216 echo "$ac_t""no" 1>&6
2220 if test -z "$ac_cv_prog_STRIP"; then
2221 if test -n "$ac_tool_prefix"; then
2222 # Extract the first word of "strip", so it can be a program name with args.
2223 set dummy strip
; ac_word
=$2
2224 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2225 echo "configure:2226: checking for $ac_word" >&5
2226 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2227 echo $ac_n "(cached) $ac_c" 1>&6
2229 if test -n "$STRIP"; then
2230 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2232 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2234 for ac_dir
in $ac_dummy; do
2235 test -z "$ac_dir" && ac_dir
=.
2236 if test -f $ac_dir/$ac_word; then
2237 ac_cv_prog_STRIP
="strip"
2242 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
=":"
2245 STRIP
="$ac_cv_prog_STRIP"
2246 if test -n "$STRIP"; then
2247 echo "$ac_t""$STRIP" 1>&6
2249 echo "$ac_t""no" 1>&6
2258 # Check for any special flags to pass to ltconfig.
2259 libtool_flags
="--cache-file=$cache_file"
2260 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
2261 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
2262 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
2263 test "$ac_cv_prog_gcc" = yes && libtool_flags
="$libtool_flags --with-gcc"
2264 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
2265 libtool_flags
="$libtool_flags --enable-dlopen"
2267 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2268 if test "${enable_libtool_lock+set}" = set; then
2269 enableval
="$enable_libtool_lock"
2273 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
2274 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
2276 # Check whether --with-pic or --without-pic was given.
2277 if test "${with_pic+set}" = set; then
2284 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
2285 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
2287 # Some flags need to be propagated to the compiler or linker for good
2291 # Find out which ABI we are using.
2292 echo '#line 2293 "configure"' > conftest.
$ac_ext
2293 if { (eval echo configure
:2294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2294 case "`/usr/bin/file conftest.o`" in
2310 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2311 SAVE_CFLAGS
="$CFLAGS"
2312 CFLAGS
="$CFLAGS -belf"
2313 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2314 echo "configure:2315: checking whether the C compiler needs -belf" >&5
2315 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2316 echo $ac_n "(cached) $ac_c" 1>&6
2320 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2321 ac_cpp
='$CPP $CPPFLAGS'
2322 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2323 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2324 cross_compiling
=$ac_cv_prog_cc_cross
2326 cat > conftest.
$ac_ext <<EOF
2327 #line 2328 "configure"
2328 #include "confdefs.h"
2334 if { (eval echo configure
:2335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2336 lt_cv_cc_needs_belf
=yes
2338 echo "configure: failed program was:" >&5
2339 cat conftest.
$ac_ext >&5
2341 lt_cv_cc_needs_belf
=no
2345 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2346 ac_cpp
='$CPP $CPPFLAGS'
2347 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2348 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2349 cross_compiling
=$ac_cv_prog_cc_cross
2353 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2354 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
2355 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2356 CFLAGS
="$SAVE_CFLAGS"
2363 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2364 echo "configure:2365: checking how to run the C++ preprocessor" >&5
2365 if test -z "$CXXCPP"; then
2366 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2367 echo $ac_n "(cached) $ac_c" 1>&6
2370 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2371 ac_cpp
='$CXXCPP $CPPFLAGS'
2372 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2373 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2374 cross_compiling
=$ac_cv_prog_cxx_cross
2375 CXXCPP
="${CXX-g++} -E"
2376 cat > conftest.
$ac_ext <<EOF
2377 #line 2378 "configure"
2378 #include "confdefs.h"
2381 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2382 { (eval echo configure
:2383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2383 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2384 if test -z "$ac_err"; then
2388 echo "configure: failed program was:" >&5
2389 cat conftest.
$ac_ext >&5
2394 ac_cv_prog_CXXCPP
="$CXXCPP"
2396 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2397 ac_cpp
='$CPP $CPPFLAGS'
2398 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2399 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2400 cross_compiling
=$ac_cv_prog_cc_cross
2403 CXXCPP
="$ac_cv_prog_CXXCPP"
2404 echo "$ac_t""$CXXCPP" 1>&6
2407 # Save cache, so that ltconfig can load it
2408 cat > confcache
<<\EOF
2409 # This file is a shell script that caches the results of configure
2410 # tests run on this system so they can be shared between configure
2411 # scripts and configure runs. It is not useful on other systems.
2412 # If it contains results you don't want to keep, you may remove or edit it.
2414 # By default, configure uses ./config.cache as the cache file,
2415 # creating it if it does not exist already. You can give configure
2416 # the --cache-file=FILE option to use a different cache file; that is
2417 # what configure does when it calls configure scripts in
2418 # subdirectories, so they share the cache.
2419 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2420 # config.status only pays attention to the cache file if you give it the
2421 # --recheck option to rerun configure.
2424 # The following way of writing the cache mishandles newlines in values,
2425 # but we know of no workaround that is simple, portable, and efficient.
2426 # So, don't put newlines in cache variables' values.
2427 # Ultrix sh set writes to stderr and can't be redirected directly,
2428 # and sets the high bit in the cache file unless we assign to the vars.
2430 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2432 # `set' does not quote correctly, so add quotes (double-quote substitution
2433 # turns \\\\ into \\, and sed turns \\ into \).
2435 -e "s/'/'\\\\''/g" \
2436 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2439 # `set' quotes correctly as required by POSIX, so do not add quotes.
2440 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2443 if cmp -s $cache_file confcache
; then
2446 if test -w $cache_file; then
2447 echo "updating cache $cache_file"
2448 cat confcache
> $cache_file
2450 echo "not updating unwritable cache $cache_file"
2456 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2457 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
2458 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2459 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
2460 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
2461 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
2462 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
2463 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
2464 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
2465 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2467 # Reload cache, that may have been modified by ltconfig
2468 if test -r "$cache_file"; then
2469 echo "loading cache $cache_file"
2472 echo "creating cache $cache_file"
2477 # This can be used to rebuild libtool when needed
2478 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2480 # Always use our own libtool.
2481 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
2483 # Redirect the config.log output again, so that the ltconfig log is not
2484 # clobbered by the next message.
2485 exec 5>>.
/config.log
2490 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2492 lt_save_CFLAGS
="$CFLAGS"
2493 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
2494 MAGIC_CMD
="$MAGIC_CMD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2495 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
2496 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
2497 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
2498 deplibs_check_method
="$deplibs_check_method" \
2499 file_magic_cmd
="$file_magic_cmd" \
2500 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
2501 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
2502 ||
{ echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2504 CFLAGS
="$lt_save_CFLAGS"
2506 # Redirect the config.log output again, so that the ltconfig log is not
2507 # clobbered by the next message.
2508 exec 5>>.
/config.log
2518 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2519 echo "configure:2520: checking for GNU make" >&5
2520 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2521 echo $ac_n "(cached) $ac_c" 1>&6
2523 _cv_gnu_make_command
='' ;
2524 for a
in "${MAKE-make}" make gmake gnumake
; do
2525 if ( $a --version 2> /dev
/null |
grep -c GNU
> /dev
/null
)
2527 _cv_gnu_make_command
=$a ;
2534 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2535 if test "x$_cv_gnu_make_command" != "x" ; then
2542 if test "x$_cv_gnu_make_command" = "x"; then
2543 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2549 # Check for c++ or library specific bits that don't require linking.
2551 if test ! -f stamp-sanity-compiler
; then
2552 echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2553 echo "configure:2554: checking for g++ that will successfully compile libstdc++-v3" >&5
2556 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2557 ac_cpp
='$CXXCPP $CPPFLAGS'
2558 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2559 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2560 cross_compiling
=$ac_cv_prog_cxx_cross
2562 cat > conftest.
$ac_ext <<EOF
2563 #line 2564 "configure"
2564 #include "confdefs.h"
2571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2572 egrep "ok" >/dev
/null
2>&1; then
2574 gpp_satisfactory
=yes
2577 { echo "configure: error: please upgrade to GCC 3.0 or above" 1>&2; exit 1; }
2582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2583 ac_cpp
='$CPP $CPPFLAGS'
2584 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2585 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2586 cross_compiling
=$ac_cv_prog_cc_cross
2588 echo "$ac_t""$gpp_satisfactory" 1>&6
2589 touch stamp-sanity-compiler
2593 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2594 # Check whether --enable-debug or --disable-debug was given.
2595 if test "${enable_debug+set}" = set; then
2596 enableval
="$enable_debug"
2597 case "${enableval}" in
2598 yes) enable_debug
=yes ;;
2599 no
) enable_debug
=no
;;
2600 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2606 case "${enable_debug}" in
2608 DEBUG_FLAGS
='-O0 -ggdb3'
2616 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2617 echo "configure:2618: checking how to run the C preprocessor" >&5
2618 # On Suns, sometimes $CPP names a directory.
2619 if test -n "$CPP" && test -d "$CPP"; then
2622 if test -z "$CPP"; then
2623 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2624 echo $ac_n "(cached) $ac_c" 1>&6
2626 # This must be in double quotes, not single quotes, because CPP may get
2627 # substituted into the Makefile and "${CC-cc}" will confuse make.
2629 # On the NeXT, cc -E runs the code through the compiler's parser,
2630 # not just through cpp.
2631 cat > conftest.
$ac_ext <<EOF
2632 #line 2633 "configure"
2633 #include "confdefs.h"
2637 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2638 { (eval echo configure
:2639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2639 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2640 if test -z "$ac_err"; then
2644 echo "configure: failed program was:" >&5
2645 cat conftest.
$ac_ext >&5
2647 CPP
="${CC-cc} -E -traditional-cpp"
2648 cat > conftest.
$ac_ext <<EOF
2649 #line 2650 "configure"
2650 #include "confdefs.h"
2654 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2655 { (eval echo configure
:2656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2656 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2657 if test -z "$ac_err"; then
2661 echo "configure: failed program was:" >&5
2662 cat conftest.
$ac_ext >&5
2664 CPP
="${CC-cc} -nologo -E"
2665 cat > conftest.
$ac_ext <<EOF
2666 #line 2667 "configure"
2667 #include "confdefs.h"
2671 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2672 { (eval echo configure
:2673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2673 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2674 if test -z "$ac_err"; then
2678 echo "configure: failed program was:" >&5
2679 cat conftest.
$ac_ext >&5
2688 ac_cv_prog_CPP
="$CPP"
2690 CPP
="$ac_cv_prog_CPP"
2692 ac_cv_prog_CPP
="$CPP"
2694 echo "$ac_t""$CPP" 1>&6
2697 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2698 echo "configure:2699: checking for cstdio to use" >&5
2699 # Check whether --enable-cstdio or --disable-cstdio was given.
2700 if test "${enable_cstdio+set}" = set; then
2701 enableval
="$enable_cstdio"
2702 if test x
$enable_cstdio = xno
; then
2710 enable_cstdio_flag
=$enable_cstdio
2712 case x
${enable_cstdio_flag} in
2714 CSTDIO_H
=config
/c_io_libio.h
2715 BASIC_FILE_H
=config
/basic_file_libio.h
2716 BASIC_FILE_CC
=config
/basic_file_libio.cc
2717 echo "$ac_t""libio" 1>&6
2719 # see if we are on a system with libio native (ie, linux)
2720 ac_safe
=`echo "libio.h" | sed 'y%./+-%__p_%'`
2721 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2722 echo "configure:2723: checking for libio.h" >&5
2723 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2724 echo $ac_n "(cached) $ac_c" 1>&6
2726 cat > conftest.
$ac_ext <<EOF
2727 #line 2728 "configure"
2728 #include "confdefs.h"
2731 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2732 { (eval echo configure
:2733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2733 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2734 if test -z "$ac_err"; then
2736 eval "ac_cv_header_$ac_safe=yes"
2739 echo "configure: failed program was:" >&5
2740 cat conftest.
$ac_ext >&5
2742 eval "ac_cv_header_$ac_safe=no"
2746 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2747 echo "$ac_t""yes" 1>&6
2750 echo "$ac_t""no" 1>&6
2755 # Need to check and see what version of glibc is being used. If
2756 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2757 # compile most of libio for linux systems.
2758 if test x
$has_libio = x
"yes"; then
2761 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2762 echo "configure:2763: checking for glibc version >= 2.2" >&5
2763 cat > conftest.
$ac_ext <<EOF
2764 #line 2765 "configure"
2765 #include "confdefs.h"
2767 #include <features.h>
2768 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2774 egrep "ok" >/dev
/null
2>&1; then
2776 glibc_satisfactory
=yes
2779 glibc_satisfactory
=no
2783 echo "$ac_t""$glibc_satisfactory" 1>&6
2787 # XXX at the moment, admit defeat and force the recompilation
2788 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2789 glibc_satisfactory
=no
2791 if test x
$glibc_satisfactory = x
"yes"; then
2796 # bkoz XXX need to add checks to enable this
2797 # pme XXX here's a first pass at such a check
2798 if test x
$enable_c_mbchar != xno
; then
2806 # Using libio, but <libio.h> doesn't exist on the target system. . .
2808 # bkoz XXX need to add checks to enable this
2809 # pme XXX here's a first pass at such a check
2810 if test x
$enable_c_mbchar != xno
; then
2817 xstdio | x | xno | xnone | xyes
)
2819 CSTDIO_H
=config
/c_io_stdio.h
2820 BASIC_FILE_H
=config
/basic_file_stdio.h
2821 BASIC_FILE_CC
=config
/basic_file_stdio.cc
2822 echo "$ac_t""stdio" 1>&6
2824 # We're not using stdio.
2829 echo "$enable_cstdio is an unknown io package" 1>&2
2837 # 2000-08-04 bkoz hack
2838 CCODECVT_C
=config
/c_io_libio_codecvt.c
2840 # 2000-08-04 bkoz hack
2844 if test "$need_libio" = yes ||
test "$need_wlibio" = yes; then
2845 GLIBCPP_BUILD_LIBIO_TRUE
=
2846 GLIBCPP_BUILD_LIBIO_FALSE
='#'
2848 GLIBCPP_BUILD_LIBIO_TRUE
='#'
2849 GLIBCPP_BUILD_LIBIO_FALSE
=
2853 if test "$need_libio" = yes; then
2854 GLIBCPP_NEED_LIBIO_TRUE
=
2855 GLIBCPP_NEED_LIBIO_FALSE
='#'
2857 GLIBCPP_NEED_LIBIO_TRUE
='#'
2858 GLIBCPP_NEED_LIBIO_FALSE
=
2862 if test "$need_wlibio" = yes; then
2863 GLIBCPP_NEED_WLIBIO_TRUE
=
2864 GLIBCPP_NEED_WLIBIO_FALSE
='#'
2866 GLIBCPP_NEED_WLIBIO_TRUE
='#'
2867 GLIBCPP_NEED_WLIBIO_FALSE
=
2869 if test "$need_libio" = yes ||
test "$need_wlibio" = yes; then
2870 libio_la
=..
/libio
/libio.la
2877 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2878 echo "configure:2879: checking for clocale to use" >&5
2879 # Check whether --enable-clocale or --disable-clocale was given.
2880 if test "${enable_clocale+set}" = set; then
2881 enableval
="$enable_clocale"
2882 if test x
$enable_clocale = xno
; then
2883 enable_clocale
=generic
2886 enable_clocale
=generic
2890 enable_clocale_flag
=$enable_clocale
2892 case x
${enable_clocale_flag} in
2894 CLOCALE_H
=config
/c_locale_gnu.h
2895 CLOCALE_CC
=config
/c_locale_gnu.cc
2896 echo "$ac_t""gnu" 1>&6
2899 CLOCALE_H
=config
/c_locale_generic.h
2900 CLOCALE_CC
=config
/c_locale_generic.cc
2901 echo "$ac_t""generic" 1>&6
2904 echo "$enable_clocale is an unknown locale package" 1>&2
2912 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2913 if test "${enable_c_mbchar+set}" = set; then
2914 enableval
="$enable_c_mbchar"
2915 case "$enableval" in
2916 yes) enable_c_mbchar
=yes ;;
2917 no
) enable_c_mbchar
=no
;;
2918 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2925 # Check whether --enable-long-long or --disable-long-long was given.
2926 if test "${enable_long_long+set}" = set; then
2927 enableval
="$enable_long_long"
2928 case "$enableval" in
2929 yes) enable_long_long
=yes ;;
2930 no
) enable_long_long
=no
;;
2931 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
2937 # Allow use of os-dependent settings, so that macros that turn on
2938 # C99 capabilities can be defined and used in a consistent way.
2939 OS_INC_PATH
=${srcdir}/$os_include_dir
2940 ac_test_CFLAGS
="${CFLAGS+set}"
2941 ac_save_CFLAGS
="$CFLAGS"
2942 CFLAGS
="-I$OS_INC_PATH"
2944 # Check for the existence of functions used if long long is enabled.
2945 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2946 echo "configure:2947: checking for strtoll" >&5
2947 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2948 echo $ac_n "(cached) $ac_c" 1>&6
2950 cat > conftest.
$ac_ext <<EOF
2951 #line 2952 "configure"
2952 #include "confdefs.h"
2953 /* System header to define __stub macros and hopefully few prototypes,
2954 which can conflict with char strtoll(); below. */
2956 /* Override any gcc2 internal prototype to avoid an error. */
2957 /* We use char because int might match the return type of a gcc2
2958 builtin and then its argument prototype would still apply. */
2963 /* The GNU C library defines this for functions which it implements
2964 to always fail with ENOSYS. Some functions are actually named
2965 something starting with __ and the normal name is an alias. */
2966 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2974 if { (eval echo configure
:2975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2976 eval "ac_cv_func_strtoll=yes"
2978 echo "configure: failed program was:" >&5
2979 cat conftest.
$ac_ext >&5
2981 eval "ac_cv_func_strtoll=no"
2986 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
2987 echo "$ac_t""yes" 1>&6
2990 echo "$ac_t""no" 1>&6
2994 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
2995 echo "configure:2996: checking for strtoull" >&5
2996 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
2997 echo $ac_n "(cached) $ac_c" 1>&6
2999 cat > conftest.
$ac_ext <<EOF
3000 #line 3001 "configure"
3001 #include "confdefs.h"
3002 /* System header to define __stub macros and hopefully few prototypes,
3003 which can conflict with char strtoull(); below. */
3005 /* Override any gcc2 internal prototype to avoid an error. */
3006 /* We use char because int might match the return type of a gcc2
3007 builtin and then its argument prototype would still apply. */
3012 /* The GNU C library defines this for functions which it implements
3013 to always fail with ENOSYS. Some functions are actually named
3014 something starting with __ and the normal name is an alias. */
3015 #if defined (__stub_strtoull) || defined (__stub___strtoull)
3023 if { (eval echo configure
:3024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3025 eval "ac_cv_func_strtoull=yes"
3027 echo "configure: failed program was:" >&5
3028 cat conftest.
$ac_ext >&5
3030 eval "ac_cv_func_strtoull=no"
3035 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
3036 echo "$ac_t""yes" 1>&6
3039 echo "$ac_t""no" 1>&6
3044 # Check for lldiv_t, et. al.
3045 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3046 echo "configure:3047: checking for lldiv_t declaration" >&5
3047 if eval "test \"`echo '$''{'glibcpp_lldiv_t_use'+set}'`\" = set"; then
3048 echo $ac_n "(cached) $ac_c" 1>&6
3051 cat > conftest.
$ac_ext <<EOF
3052 #line 3053 "configure"
3053 #include "confdefs.h"
3054 #include <bits/os_defines.h>
3060 if { (eval echo configure
:3061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3062 glibcpp_lldiv_t_use
=yes
3064 echo "configure: failed program was:" >&5
3065 cat conftest.
$ac_ext >&5
3067 glibcpp_lldiv_t_use
=no
3073 echo "$ac_t""$glibcpp_lldiv_t_use" 1>&6
3074 if test x
$glibcpp_lldiv_t_use = x
"yes"; then
3075 cat >> confdefs.h
<<\EOF
3076 #define HAVE_LLDIV_T 1
3081 echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
3082 echo "configure:3083: checking for enabled long long" >&5
3083 if test x
"$ac_strtoll" = xno ||
test x
"$ac_strtoull" = xno
; then
3084 enable_long_long
=no
;
3086 echo "$ac_t""$enable_long_long" 1>&6
3088 # Option parsed, now set things appropriately
3089 if test x
"$enable_long_long" = xyes
; then
3090 cat >> confdefs.h
<<\EOF
3091 #define _GLIBCPP_USE_LONG_LONG 1
3097 CFLAGS
="$ac_save_CFLAGS"
3099 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3100 echo "configure:3101: checking for c header strategy to use" >&5
3101 # Check whether --enable-cheaders or --disable-cheaders was given.
3102 if test "${enable_cheaders+set}" = set; then
3103 enableval
="$enable_cheaders"
3105 case "$enableval" in
3110 enable_cheaders
=c_std
3113 enable_cheaders
=c_shadow
3115 *) { echo "configure: error: Unknown argument to enable/disable "C
" headers" 1>&2; exit 1; }
3119 enable_cheaders
=c_std
3122 echo "$ac_t""$enable_cheaders" 1>&6
3124 case "$enable_cheaders" in
3126 CSHADOW_FLAGS
="-fno-builtin"
3127 C_INCLUDE_DIR
='${top_srcdir}/include/c_shadow'
3128 cat >> confdefs.h
<<\EOF
3129 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3135 C_INCLUDE_DIR
='${top_srcdir}/include/c_std'
3139 C_INCLUDE_DIR
='${top_srcdir}/include/c'
3147 if test "$enable_cheaders" = c_shadow
; then
3148 GLIBCPP_USE_CSHADOW_TRUE
=
3149 GLIBCPP_USE_CSHADOW_FALSE
='#'
3151 GLIBCPP_USE_CSHADOW_TRUE
='#'
3152 GLIBCPP_USE_CSHADOW_FALSE
=
3156 echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3157 echo "configure:3158: checking for threads package to use" >&5
3158 # Check whether --enable-threads or --disable-threads was given.
3159 if test "${enable_threads+set}" = set; then
3160 enableval
="$enable_threads"
3161 if test x
$enable_threads = xno
; then
3169 enable_threads_flag
=$enable_threads
3171 case x
${enable_threads_flag} in
3174 target_thread_file
='single'
3178 target_thread_file
='posix'
3180 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3181 xsolaris | xwin32 | xdce | xvxworks
)
3182 target_thread_file
=$enable_threads_flag
3185 echo "$enable_threads is an unknown thread package" 1>&2
3191 case "$target_thread_file" in
3193 THREADH
=threads-no.h
3196 THREADH
=threads-posix.h
3198 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks
)
3199 { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3202 { echo "configure: error: $THREADS is an unsupported/unknown thread package" 1>&2; exit 1; }
3205 echo "$ac_t""$THREADH" 1>&6
3208 if test $THREADH != threads-no.h
; then
3209 cat >> confdefs.h
<<\EOF
3210 #define _GLIBCPP_USE_THREADS 1
3215 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3216 if test "${enable_cxx_flags+set}" = set; then
3217 enableval
="$enable_cxx_flags"
3218 case "x$enableval" in
3220 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3222 enable_cxx_flags
='' ;;
3224 enable_cxx_flags
="$enableval" ;;
3227 enable_cxx_flags
='none'
3231 if test "$enable_cxx_flags" = "none"; then
3232 enable_cxx_flags
='';
3235 if test -n "$enable_cxx_flags"; then
3236 for f
in $enable_cxx_flags; do
3240 *) # and we're trying to pass /what/ exactly?
3241 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3245 EXTRA_CXX_FLAGS
="$enable_cxx_flags"
3249 if test -n "$with_cross_host"; then
3251 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3252 # may not work correctly, because the compiler may not be able to
3257 # If Canadian cross, then don't pick up tools from the build
3259 if test x
"$build" != x
"$with_cross_host" && x
"$build" != x
"$target"; then
3267 case "$target_alias" in
3269 # Construct linux crosses by hand, eliminating bits that need ld...
3270 # Check for available headers.
3271 for ac_hdr
in nan.h ieeefp.h endian.h sys
/isa_defs.h \
3272 machine
/endian.h machine
/param.h sys
/machine.h fp.h locale.h \
3275 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3276 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3277 echo "configure:3278: checking for $ac_hdr" >&5
3278 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3279 echo $ac_n "(cached) $ac_c" 1>&6
3281 cat > conftest.
$ac_ext <<EOF
3282 #line 3283 "configure"
3283 #include "confdefs.h"
3286 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3287 { (eval echo configure
:3288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3288 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3289 if test -z "$ac_err"; then
3291 eval "ac_cv_header_$ac_safe=yes"
3294 echo "configure: failed program was:" >&5
3295 cat conftest.
$ac_ext >&5
3297 eval "ac_cv_header_$ac_safe=no"
3301 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3302 echo "$ac_t""yes" 1>&6
3303 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3304 cat >> confdefs.h
<<EOF
3305 #define $ac_tr_hdr 1
3309 echo "$ac_t""no" 1>&6
3314 # GLIBCPP_CHECK_COMPILER_FEATURES
3315 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
3318 # If we're not using GNU ld, then there's no point in even trying these
3319 # tests. Check for that first. We should have already tested for gld
3320 # by now (in libtool), but require it now just to be safe...
3325 # Set --gc-sections.
3326 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3327 # GNU ld it is! Joy and bunny rabbits!
3329 # All these tests are for C++; save the language and the compiler flags.
3330 # Need to do this so that g++ won't try to link in libstdc++
3331 ac_test_CFLAGS
="${CFLAGS+set}"
3332 ac_save_CFLAGS
="$CFLAGS"
3333 CFLAGS
='-x c++ -Wl,--gc-sections'
3335 # Check for -Wl,--gc-sections
3336 # XXX This test is broken at the moment, as symbols required for
3337 # linking are now in libsupc++ (not built yet.....). In addition,
3338 # this test has cored on solaris in the past. In addition,
3339 # --gc-sections doesn't really work at the moment (keeps on discarding
3340 # used sections, first .eh_frame and now some of the glibc sections for
3341 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3342 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3343 echo "configure:3344: checking for ld that supports -Wl,--gc-sections" >&5
3344 if test "$cross_compiling" = yes; then
3345 ac_sectionLDflags
=yes
3347 cat > conftest.
$ac_ext <<EOF
3348 #line 3349 "configure"
3349 #include "confdefs.h"
3359 if { (eval echo configure
:3360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
3361 ac_sectionLDflags
=yes
3363 echo "configure: failed program was:" >&5
3364 cat conftest.
$ac_ext >&5
3366 ac_sectionLFflags
=no
3371 if test "$ac_test_CFLAGS" = set; then
3372 CFLAGS
="$ac_save_CFLAGS"
3374 # this is the suspicious part
3377 if test "$ac_sectionLDflags" = "yes"; then
3378 SECTION_LDFLAGS
='-Wl,--gc-sections'
3380 echo "$ac_t""$ac_sectionLDflags" 1>&6
3383 # Set linker optimization flags.
3384 if test x
"$ac_cv_prog_gnu_ld" = x
"yes" && test x
"$enable_debug" = x
"no"; then
3385 OPT_LDFLAGS
='-Wl,-O1'
3391 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3392 # GLIBCPP_CHECK_MATH_SUPPORT
3393 cat >> confdefs.h
<<\EOF
3394 #define HAVE_ACOSF 1
3397 cat >> confdefs.h
<<\EOF
3398 #define HAVE_ASINF 1
3401 cat >> confdefs.h
<<\EOF
3402 #define HAVE_ATAN2F 1
3405 cat >> confdefs.h
<<\EOF
3406 #define HAVE_ATANF 1
3409 cat >> confdefs.h
<<\EOF
3410 #define HAVE_CEILF 1
3413 cat >> confdefs.h
<<\EOF
3414 #define HAVE_COPYSIGN 1
3417 cat >> confdefs.h
<<\EOF
3418 #define HAVE_COPYSIGNF 1
3421 cat >> confdefs.h
<<\EOF
3425 cat >> confdefs.h
<<\EOF
3426 #define HAVE_COSHF 1
3429 cat >> confdefs.h
<<\EOF
3433 cat >> confdefs.h
<<\EOF
3434 #define HAVE_FABSF 1
3437 cat >> confdefs.h
<<\EOF
3438 #define HAVE_FINITE 1
3441 cat >> confdefs.h
<<\EOF
3442 #define HAVE_FINITEF 1
3445 cat >> confdefs.h
<<\EOF
3446 #define HAVE_FLOORF 1
3449 cat >> confdefs.h
<<\EOF
3450 #define HAVE_FMODF 1
3453 cat >> confdefs.h
<<\EOF
3454 #define HAVE_FREXPF 1
3457 cat >> confdefs.h
<<\EOF
3458 #define HAVE_ISINF 1
3461 cat >> confdefs.h
<<\EOF
3462 #define HAVE_ISINFF 1
3465 cat >> confdefs.h
<<\EOF
3466 #define HAVE_ISNAN 1
3469 cat >> confdefs.h
<<\EOF
3470 #define HAVE_ISNANF 1
3473 cat >> confdefs.h
<<\EOF
3474 #define HAVE_LDEXPF 1
3477 cat >> confdefs.h
<<\EOF
3478 #define HAVE_LOG10F 1
3481 cat >> confdefs.h
<<\EOF
3485 cat >> confdefs.h
<<\EOF
3486 #define HAVE_MODFF 1
3489 cat >> confdefs.h
<<\EOF
3493 cat >> confdefs.h
<<\EOF
3494 #define HAVE_SINCOS 1
3497 cat >> confdefs.h
<<\EOF
3498 #define HAVE_SINCOSF 1
3501 cat >> confdefs.h
<<\EOF
3505 cat >> confdefs.h
<<\EOF
3506 #define HAVE_SINHF 1
3509 cat >> confdefs.h
<<\EOF
3510 #define HAVE_SQRTF 1
3513 cat >> confdefs.h
<<\EOF
3517 cat >> confdefs.h
<<\EOF
3518 #define HAVE_TANHF 1
3522 # At some point, we should differentiate between architectures
3523 # like x86, which have long double versions, and alpha/powerpc/etc.,
3524 # which don't. For the time being, punt.
3525 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
3526 cat >> confdefs.h
<<\EOF
3527 #define HAVE_ACOSL 1
3530 cat >> confdefs.h
<<\EOF
3531 #define HAVE_ASINL 1
3534 cat >> confdefs.h
<<\EOF
3535 #define HAVE_ATAN2L 1
3538 cat >> confdefs.h
<<\EOF
3539 #define HAVE_ATANL 1
3542 cat >> confdefs.h
<<\EOF
3543 #define HAVE_CEILL 1
3546 cat >> confdefs.h
<<\EOF
3547 #define HAVE_COPYSIGNL 1
3550 cat >> confdefs.h
<<\EOF
3554 cat >> confdefs.h
<<\EOF
3555 #define HAVE_COSHL 1
3558 cat >> confdefs.h
<<\EOF
3562 cat >> confdefs.h
<<\EOF
3563 #define HAVE_FABSL 1
3566 cat >> confdefs.h
<<\EOF
3567 #define HAVE_FINITEL 1
3570 cat >> confdefs.h
<<\EOF
3571 #define HAVE_FLOORL 1
3574 cat >> confdefs.h
<<\EOF
3575 #define HAVE_FMODL 1
3578 cat >> confdefs.h
<<\EOF
3579 #define HAVE_FREXPL 1
3582 cat >> confdefs.h
<<\EOF
3583 #define HAVE_ISINFL 1
3586 cat >> confdefs.h
<<\EOF
3587 #define HAVE_ISNANL 1
3590 cat >> confdefs.h
<<\EOF
3591 #define HAVE_LDEXPL 1
3594 cat >> confdefs.h
<<\EOF
3595 #define HAVE_LOG10L 1
3598 cat >> confdefs.h
<<\EOF
3602 cat >> confdefs.h
<<\EOF
3603 #define HAVE_MODFL 1
3606 cat >> confdefs.h
<<\EOF
3610 cat >> confdefs.h
<<\EOF
3611 #define HAVE_SINCOSL 1
3614 cat >> confdefs.h
<<\EOF
3618 cat >> confdefs.h
<<\EOF
3619 #define HAVE_SINHL 1
3622 cat >> confdefs.h
<<\EOF
3623 #define HAVE_SQRTL 1
3626 cat >> confdefs.h
<<\EOF
3630 cat >> confdefs.h
<<\EOF
3631 #define HAVE_TANHL 1
3636 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
3637 echo "configure:3638: checking for main in -lm" >&5
3638 ac_lib_var
=`echo m'_'main | sed 'y%./+-%__p_%'`
3639 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3640 echo $ac_n "(cached) $ac_c" 1>&6
3642 ac_save_LIBS
="$LIBS"
3644 cat > conftest.
$ac_ext <<EOF
3645 #line 3646 "configure"
3646 #include "confdefs.h"
3652 if { (eval echo configure
:3653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3654 eval "ac_cv_lib_$ac_lib_var=yes"
3656 echo "configure: failed program was:" >&5
3657 cat conftest.
$ac_ext >&5
3659 eval "ac_cv_lib_$ac_lib_var=no"
3662 LIBS
="$ac_save_LIBS"
3665 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3666 echo "$ac_t""yes" 1>&6
3667 ac_tr_lib
=HAVE_LIB
`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3668 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3669 cat >> confdefs.h
<<EOF
3670 #define $ac_tr_lib 1
3676 echo "$ac_t""no" 1>&6
3679 for ac_func
in nan hypot hypotf atan2f expf copysignf
3681 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3682 echo "configure:3683: checking for $ac_func" >&5
3683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3684 echo $ac_n "(cached) $ac_c" 1>&6
3686 cat > conftest.
$ac_ext <<EOF
3687 #line 3688 "configure"
3688 #include "confdefs.h"
3689 /* System header to define __stub macros and hopefully few prototypes,
3690 which can conflict with char $ac_func(); below. */
3692 /* Override any gcc2 internal prototype to avoid an error. */
3693 /* We use char because int might match the return type of a gcc2
3694 builtin and then its argument prototype would still apply. */
3699 /* The GNU C library defines this for functions which it implements
3700 to always fail with ENOSYS. Some functions are actually named
3701 something starting with __ and the normal name is an alias. */
3702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3710 if { (eval echo configure
:3711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3712 eval "ac_cv_func_$ac_func=yes"
3714 echo "configure: failed program was:" >&5
3715 cat conftest.
$ac_ext >&5
3717 eval "ac_cv_func_$ac_func=no"
3722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3723 echo "$ac_t""yes" 1>&6
3724 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3725 cat >> confdefs.h
<<EOF
3726 #define $ac_tr_func 1
3730 echo "$ac_t""no" 1>&6
3731 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
3737 USE_COMPLEX_LONG_DOUBLE
=no
3738 if test x
$ac_cv_func_atan2l = x
"yes" \
3739 && test x
$ac_cv_func_copysignl = x
"yes"; then
3740 USE_COMPLEX_LONG_DOUBLE
=yes
3741 for ac_func
in hypotl signbitl
3743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3744 echo "configure:3745: checking for $ac_func" >&5
3745 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3746 echo $ac_n "(cached) $ac_c" 1>&6
3748 cat > conftest.
$ac_ext <<EOF
3749 #line 3750 "configure"
3750 #include "confdefs.h"
3751 /* System header to define __stub macros and hopefully few prototypes,
3752 which can conflict with char $ac_func(); below. */
3754 /* Override any gcc2 internal prototype to avoid an error. */
3755 /* We use char because int might match the return type of a gcc2
3756 builtin and then its argument prototype would still apply. */
3761 /* The GNU C library defines this for functions which it implements
3762 to always fail with ENOSYS. Some functions are actually named
3763 something starting with __ and the normal name is an alias. */
3764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3772 if { (eval echo configure
:3773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3774 eval "ac_cv_func_$ac_func=yes"
3776 echo "configure: failed program was:" >&5
3777 cat conftest.
$ac_ext >&5
3779 eval "ac_cv_func_$ac_func=no"
3784 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3785 echo "$ac_t""yes" 1>&6
3786 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3787 cat >> confdefs.h
<<EOF
3788 #define $ac_tr_func 1
3792 echo "$ac_t""no" 1>&6
3793 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
3805 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
3806 echo "configure:3807: checking for GNU C++ __complex__ support" >&5
3807 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
3808 echo $ac_n "(cached) $ac_c" 1>&6
3813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3814 ac_cpp
='$CXXCPP $CPPFLAGS'
3815 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3816 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3817 cross_compiling
=$ac_cv_prog_cxx_cross
3819 cat > conftest.
$ac_ext <<EOF
3820 #line 3821 "configure"
3821 #include "confdefs.h"
3822 struct dcomplex { __complex__ double x; }; \
3823 dcomplex f(const dcomplex& x) { return dcomplex(x); }
3829 if { (eval echo configure
:3830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3831 glibcpp_cv_complex
=ok
3833 echo "configure: failed program was:" >&5
3834 cat conftest.
$ac_ext >&5
3836 glibcpp_cv_complex
=buggy
3841 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3842 ac_cpp
='$CPP $CPPFLAGS'
3843 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3844 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3845 cross_compiling
=$ac_cv_prog_cc_cross
3850 echo "$ac_t""$glibcpp_cv_complex" 1>&6
3851 if test $glibcpp_cv_complex = buggy
; then
3852 cat >> confdefs.h
<<\EOF
3853 #define _GLIBCPP_BUGGY_COMPLEX 1
3858 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
3859 echo "configure:3860: checking for GNU C++ __complex__ float support" >&5
3860 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
3861 echo $ac_n "(cached) $ac_c" 1>&6
3866 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3867 ac_cpp
='$CXXCPP $CPPFLAGS'
3868 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3869 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3870 cross_compiling
=$ac_cv_prog_cxx_cross
3873 cat > conftest.h
<<EOB
3875 // Check for buggy __complex__ that causes ICE in most versions of egcs
3876 // and gcc-2.95.x on certain platforms (eg., x86-win32).
3878 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
3879 // more info on the bug itself.
3884 __complex__ float m_value;
3885 float_complex (float = 0.0f, float = 0.0f);
3886 float_complex (__complex__ float val) : m_value (val) {}
3887 float_complex foo (const float_complex &val)
3888 { return float_complex (~val.m_value); }
3891 cat > conftest.
$ac_ext <<EOF
3892 #line 3893 "configure"
3893 #include "confdefs.h"
3894 #include "conftest.h"
3899 if { (eval echo configure
:3900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3901 glibcpp_cv_float_complex
=ok
3903 echo "configure: failed program was:" >&5
3904 cat conftest.
$ac_ext >&5
3906 glibcpp_cv_float_complex
=buggy
3911 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3912 ac_cpp
='$CPP $CPPFLAGS'
3913 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3914 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3915 cross_compiling
=$ac_cv_prog_cc_cross
3920 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
3921 if test $glibcpp_cv_float_complex = buggy
; then
3922 cat >> confdefs.h
<<\EOF
3923 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3930 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
3931 echo "configure:3932: checking for mbstate_t" >&5
3932 cat > conftest.
$ac_ext <<EOF
3933 #line 3934 "configure"
3934 #include "confdefs.h"
3937 mbstate_t teststate;
3940 if { (eval echo configure
:3941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3944 echo "configure: failed program was:" >&5
3945 cat conftest.
$ac_ext >&5
3950 echo "$ac_t""$have_mbstate_t" 1>&6
3951 if test x
"$have_mbstate_t" = xyes
; then
3952 cat >> confdefs.h
<<\EOF
3953 #define HAVE_MBSTATE_T 1
3958 for ac_hdr
in wchar.h
3960 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3961 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3962 echo "configure:3963: checking for $ac_hdr" >&5
3963 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3964 echo $ac_n "(cached) $ac_c" 1>&6
3966 cat > conftest.
$ac_ext <<EOF
3967 #line 3968 "configure"
3968 #include "confdefs.h"
3971 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3972 { (eval echo configure
:3973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3973 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3974 if test -z "$ac_err"; then
3976 eval "ac_cv_header_$ac_safe=yes"
3979 echo "configure: failed program was:" >&5
3980 cat conftest.
$ac_ext >&5
3982 eval "ac_cv_header_$ac_safe=no"
3986 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3987 echo "$ac_t""yes" 1>&6
3988 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3989 cat >> confdefs.h
<<EOF
3990 #define $ac_tr_hdr 1
3994 echo "$ac_t""no" 1>&6
3999 ac_safe
=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4000 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4001 echo "configure:4002: checking for wctype.h" >&5
4002 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4003 echo $ac_n "(cached) $ac_c" 1>&6
4005 cat > conftest.
$ac_ext <<EOF
4006 #line 4007 "configure"
4007 #include "confdefs.h"
4010 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4011 { (eval echo configure
:4012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4012 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4013 if test -z "$ac_err"; then
4015 eval "ac_cv_header_$ac_safe=yes"
4018 echo "configure: failed program was:" >&5
4019 cat conftest.
$ac_ext >&5
4021 eval "ac_cv_header_$ac_safe=no"
4025 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4026 echo "$ac_t""yes" 1>&6
4029 echo "$ac_t""no" 1>&6
4034 if test x
"$ac_has_wchar_h" = xyes
&& test x
"$ac_has_wctype_h" = xyes \
4035 && test x
"$enable_c_mbchar" != xno
; then
4037 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4038 echo "configure:4039: checking for WCHAR_MIN and WCHAR_MAX" >&5
4039 cat > conftest.
$ac_ext <<EOF
4040 #line 4041 "configure"
4041 #include "confdefs.h"
4044 int i = WCHAR_MIN; int j = WCHAR_MAX;
4047 if { (eval echo configure
:4048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4049 has_wchar_minmax
=yes
4051 echo "configure: failed program was:" >&5
4052 cat conftest.
$ac_ext >&5
4057 echo "$ac_t""$has_wchar_minmax" 1>&6
4059 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4060 echo "configure:4061: checking for WEOF" >&5
4061 cat > conftest.
$ac_ext <<EOF
4062 #line 4063 "configure"
4063 #include "confdefs.h"
4071 if { (eval echo configure
:4072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4075 echo "configure: failed program was:" >&5
4076 cat conftest.
$ac_ext >&5
4081 echo "$ac_t""$has_weof" 1>&6
4083 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
4086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4087 echo "configure:4088: checking for $ac_func" >&5
4088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4089 echo $ac_n "(cached) $ac_c" 1>&6
4091 cat > conftest.
$ac_ext <<EOF
4092 #line 4093 "configure"
4093 #include "confdefs.h"
4094 /* System header to define __stub macros and hopefully few prototypes,
4095 which can conflict with char $ac_func(); below. */
4097 /* Override any gcc2 internal prototype to avoid an error. */
4098 /* We use char because int might match the return type of a gcc2
4099 builtin and then its argument prototype would still apply. */
4104 /* The GNU C library defines this for functions which it implements
4105 to always fail with ENOSYS. Some functions are actually named
4106 something starting with __ and the normal name is an alias. */
4107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4115 if { (eval echo configure
:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4117 eval "ac_cv_func_$ac_func=yes"
4119 echo "configure: failed program was:" >&5
4120 cat conftest.
$ac_ext >&5
4122 eval "ac_cv_func_$ac_func=no"
4127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4128 echo "$ac_t""yes" 1>&6
4129 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4130 cat >> confdefs.h
<<EOF
4131 #define $ac_tr_func 1
4135 echo "$ac_t""no" 1>&6
4141 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4142 echo "configure:4143: checking for ISO C99 wchar_t support" >&5
4143 if test x
"$has_weof" = xyes
&& test x
"$has_wchar_minmax" = xyes \
4144 && test x
"$ac_wfuncs" = xyes
; then
4145 ac_isoC99_wchar_t
=yes
4147 ac_isoC99_wchar_t
=no
4149 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4151 ac_safe
=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4152 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4153 echo "configure:4154: checking for iconv.h" >&5
4154 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4155 echo $ac_n "(cached) $ac_c" 1>&6
4157 cat > conftest.
$ac_ext <<EOF
4158 #line 4159 "configure"
4159 #include "confdefs.h"
4162 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4163 { (eval echo configure
:4164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4164 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4165 if test -z "$ac_err"; then
4167 eval "ac_cv_header_$ac_safe=yes"
4170 echo "configure: failed program was:" >&5
4171 cat conftest.
$ac_ext >&5
4173 eval "ac_cv_header_$ac_safe=no"
4177 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4178 echo "$ac_t""yes" 1>&6
4181 echo "$ac_t""no" 1>&6
4185 ac_safe
=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4186 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4187 echo "configure:4188: checking for langinfo.h" >&5
4188 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4189 echo $ac_n "(cached) $ac_c" 1>&6
4191 cat > conftest.
$ac_ext <<EOF
4192 #line 4193 "configure"
4193 #include "confdefs.h"
4194 #include <langinfo.h>
4196 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4197 { (eval echo configure
:4198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4198 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4199 if test -z "$ac_err"; then
4201 eval "ac_cv_header_$ac_safe=yes"
4204 echo "configure: failed program was:" >&5
4205 cat conftest.
$ac_ext >&5
4207 eval "ac_cv_header_$ac_safe=no"
4211 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4212 echo "$ac_t""yes" 1>&6
4213 ac_has_langinfo_h
=yes
4215 echo "$ac_t""no" 1>&6
4216 ac_has_langinfo_h
=no
4220 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4221 echo "configure:4222: checking for iconv in -liconv" >&5
4222 ac_lib_var
=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4223 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4224 echo $ac_n "(cached) $ac_c" 1>&6
4226 ac_save_LIBS
="$LIBS"
4227 LIBS
="-liconv $LIBS"
4228 cat > conftest.
$ac_ext <<EOF
4229 #line 4230 "configure"
4230 #include "confdefs.h"
4231 /* Override any gcc2 internal prototype to avoid an error. */
4232 /* We use char because int might match the return type of a gcc2
4233 builtin and then its argument prototype would still apply. */
4240 if { (eval echo configure
:4241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4242 eval "ac_cv_lib_$ac_lib_var=yes"
4244 echo "configure: failed program was:" >&5
4245 cat conftest.
$ac_ext >&5
4247 eval "ac_cv_lib_$ac_lib_var=no"
4250 LIBS
="$ac_save_LIBS"
4253 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4254 echo "$ac_t""yes" 1>&6
4257 echo "$ac_t""no" 1>&6
4260 ac_save_LIBS
="$LIBS"
4261 LIBS
="$LIBS $libiconv"
4263 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
4265 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4266 echo "configure:4267: checking for $ac_func" >&5
4267 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4268 echo $ac_n "(cached) $ac_c" 1>&6
4270 cat > conftest.
$ac_ext <<EOF
4271 #line 4272 "configure"
4272 #include "confdefs.h"
4273 /* System header to define __stub macros and hopefully few prototypes,
4274 which can conflict with char $ac_func(); below. */
4276 /* Override any gcc2 internal prototype to avoid an error. */
4277 /* We use char because int might match the return type of a gcc2
4278 builtin and then its argument prototype would still apply. */
4283 /* The GNU C library defines this for functions which it implements
4284 to always fail with ENOSYS. Some functions are actually named
4285 something starting with __ and the normal name is an alias. */
4286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4294 if { (eval echo configure
:4295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4296 eval "ac_cv_func_$ac_func=yes"
4298 echo "configure: failed program was:" >&5
4299 cat conftest.
$ac_ext >&5
4301 eval "ac_cv_func_$ac_func=no"
4306 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4307 echo "$ac_t""yes" 1>&6
4308 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4309 cat >> confdefs.h
<<EOF
4310 #define $ac_tr_func 1
4315 echo "$ac_t""no" 1>&6
4321 LIBS
="$ac_save_LIBS"
4323 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4324 echo "configure:4325: checking for XPG2 wchar_t support" >&5
4325 if test x
"$ac_has_iconv_h" = xyes
&& test x
"$ac_has_langinfo_h" = xyes \
4326 && test x
"$ac_XPG2funcs" = xyes
; then
4331 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4333 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4334 echo "configure:4335: checking for enabled wchar_t specializations" >&5
4335 if test x
"$ac_isoC99_wchar_t" = xyes \
4336 && test x
"$ac_XPG2_wchar_t" = xyes
; then
4337 libinst_wstring_la
="libinst-wstring.la"
4338 cat >> confdefs.h
<<\EOF
4339 #define _GLIBCPP_USE_WCHAR_T 1
4342 echo "$ac_t"""yes"" 1>&6
4344 libinst_wstring_la
=""
4345 echo "$ac_t"""no
"" 1>&6
4350 echo "configure: warning: wchar_t support disabled." 1>&2
4353 os_include_dir
="config/os/gnu-linux"
4354 # GLIBCPP_CHECK_STDLIB_SUPPORT
4355 cat >> confdefs.h
<<\EOF
4356 #define HAVE_STRTOF 1
4359 cat >> confdefs.h
<<\EOF
4360 #define HAVE_STRTOLD 1
4364 cat >> confdefs.h
<<\EOF
4370 # We assume newlib. This lets us hard-code the functions we know
4372 cat >> confdefs.h
<<\EOF
4373 #define HAVE_FINITE 1
4376 cat >> confdefs.h
<<\EOF
4377 #define HAVE_ISNAN 1
4380 cat >> confdefs.h
<<\EOF
4381 #define HAVE_ISNANF 1
4384 cat >> confdefs.h
<<\EOF
4385 #define HAVE_ISINF 1
4388 cat >> confdefs.h
<<\EOF
4389 #define HAVE_ISINFF 1
4393 os_include_dir
="config/os/newlib"
4395 cat >> confdefs.h
<<\EOF
4396 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
4399 cat >> confdefs.h
<<\EOF
4400 #define _GLIBCPP_BUGGY_COMPLEX 1
4403 # need to check for faster f versions of math functions, ie sinf?
4408 # We are being configured natively. We can do more elaborate tests
4409 # that include AC_TRY_COMPILE now, as the linker is assumed to be
4416 # Check for available headers.
4417 for ac_hdr
in nan.h ieeefp.h endian.h sys
/isa_defs.h machine
/endian.h \
4418 machine
/param.h sys
/machine.h fp.h locale.h float.h inttypes.h gconv.h
4420 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4421 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4422 echo "configure:4423: checking for $ac_hdr" >&5
4423 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4424 echo $ac_n "(cached) $ac_c" 1>&6
4426 cat > conftest.
$ac_ext <<EOF
4427 #line 4428 "configure"
4428 #include "confdefs.h"
4431 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4432 { (eval echo configure
:4433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4433 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4434 if test -z "$ac_err"; then
4436 eval "ac_cv_header_$ac_safe=yes"
4439 echo "configure: failed program was:" >&5
4440 cat conftest.
$ac_ext >&5
4442 eval "ac_cv_header_$ac_safe=no"
4446 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4447 echo "$ac_t""yes" 1>&6
4448 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4449 cat >> confdefs.h
<<EOF
4450 #define $ac_tr_hdr 1
4454 echo "$ac_t""no" 1>&6
4460 # All these tests are for C++; save the language and the compiler flags.
4461 # The CXXFLAGS thing is suspicious, but based on similar bits
4462 # found in GLIBCPP_CONFIGURE.
4465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4466 ac_cpp
='$CXXCPP $CPPFLAGS'
4467 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4468 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4469 cross_compiling
=$ac_cv_prog_cxx_cross
4471 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
4472 ac_save_CXXFLAGS
="$CXXFLAGS"
4474 # Check for maintainer-mode bits.
4475 if test x
"$USE_MAINTAINER_MODE" = xno
; then
4481 # Check for -ffunction-sections -fdata-sections
4482 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
4483 echo "configure:4484: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
4484 CXXFLAGS
='-Werror -ffunction-sections -fdata-sections'
4485 cat > conftest.
$ac_ext <<EOF
4486 #line 4487 "configure"
4487 #include "confdefs.h"
4494 if { (eval echo configure
:4495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4498 echo "configure: failed program was:" >&5
4499 cat conftest.
$ac_ext >&5
4504 if test "$ac_test_CXXFLAGS" = set; then
4505 CXXFLAGS
="$ac_save_CXXFLAGS"
4507 # this is the suspicious part
4510 if test x
"$ac_fdsections" = x
"yes" && test x
"$enable_debug" = x
"no"; then
4511 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
4513 echo "$ac_t""$ac_fdsections" 1>&6
4516 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4517 ac_cpp
='$CPP $CPPFLAGS'
4518 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4519 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4520 cross_compiling
=$ac_cv_prog_cc_cross
4526 # If we're not using GNU ld, then there's no point in even trying these
4527 # tests. Check for that first. We should have already tested for gld
4528 # by now (in libtool), but require it now just to be safe...
4533 # Set --gc-sections.
4534 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4535 # GNU ld it is! Joy and bunny rabbits!
4537 # All these tests are for C++; save the language and the compiler flags.
4538 # Need to do this so that g++ won't try to link in libstdc++
4539 ac_test_CFLAGS
="${CFLAGS+set}"
4540 ac_save_CFLAGS
="$CFLAGS"
4541 CFLAGS
='-x c++ -Wl,--gc-sections'
4543 # Check for -Wl,--gc-sections
4544 # XXX This test is broken at the moment, as symbols required for
4545 # linking are now in libsupc++ (not built yet.....). In addition,
4546 # this test has cored on solaris in the past. In addition,
4547 # --gc-sections doesn't really work at the moment (keeps on discarding
4548 # used sections, first .eh_frame and now some of the glibc sections for
4549 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4550 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4551 echo "configure:4552: checking for ld that supports -Wl,--gc-sections" >&5
4552 if test "$cross_compiling" = yes; then
4553 ac_sectionLDflags
=yes
4555 cat > conftest.
$ac_ext <<EOF
4556 #line 4557 "configure"
4557 #include "confdefs.h"
4567 if { (eval echo configure
:4568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4569 ac_sectionLDflags
=yes
4571 echo "configure: failed program was:" >&5
4572 cat conftest.
$ac_ext >&5
4574 ac_sectionLFflags
=no
4579 if test "$ac_test_CFLAGS" = set; then
4580 CFLAGS
="$ac_save_CFLAGS"
4582 # this is the suspicious part
4585 if test "$ac_sectionLDflags" = "yes"; then
4586 SECTION_LDFLAGS
='-Wl,--gc-sections'
4588 echo "$ac_t""$ac_sectionLDflags" 1>&6
4591 # Set linker optimization flags.
4592 if test x
"$ac_cv_prog_gnu_ld" = x
"yes" && test x
"$enable_debug" = x
"no"; then
4593 OPT_LDFLAGS
='-Wl,-O1'
4601 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
4602 echo "configure:4603: checking for __builtin_abs declaration" >&5
4603 if test x
${glibcpp_cv_func___builtin_abs_use+set} != xset
; then
4604 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
4605 echo $ac_n "(cached) $ac_c" 1>&6
4610 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4611 ac_cpp
='$CXXCPP $CPPFLAGS'
4612 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4613 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4614 cross_compiling
=$ac_cv_prog_cxx_cross
4616 cat > conftest.
$ac_ext <<EOF
4617 #line 4618 "configure"
4618 #include "confdefs.h"
4624 if { (eval echo configure
:4625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4626 glibcpp_cv_func___builtin_abs_use
=yes
4628 echo "configure: failed program was:" >&5
4629 cat conftest.
$ac_ext >&5
4631 glibcpp_cv_func___builtin_abs_use
=no
4635 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4636 ac_cpp
='$CPP $CPPFLAGS'
4637 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4638 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4639 cross_compiling
=$ac_cv_prog_cc_cross
4645 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
4646 if test x
$glibcpp_cv_func___builtin_abs_use = x
"yes"; then
4647 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
4648 echo "configure:4649: checking for __builtin_abs linkage" >&5
4649 if test x
${glibcpp_cv_func___builtin_abs_link+set} != xset
; then
4650 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
4651 echo $ac_n "(cached) $ac_c" 1>&6
4654 cat > conftest.
$ac_ext <<EOF
4655 #line 4656 "configure"
4656 #include "confdefs.h"
4662 if { (eval echo configure
:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4664 glibcpp_cv_func___builtin_abs_link
=yes
4666 echo "configure: failed program was:" >&5
4667 cat conftest.
$ac_ext >&5
4669 glibcpp_cv_func___builtin_abs_link
=no
4676 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
4677 if test x
$glibcpp_cv_func___builtin_abs_link = x
"yes"; then
4678 ac_tr_func
=HAVE_
`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4679 cat >> confdefs.h
<<EOF
4680 #define ${ac_tr_func} 1
4687 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
4688 echo "configure:4689: checking for __builtin_fabsf declaration" >&5
4689 if test x
${glibcpp_cv_func___builtin_fabsf_use+set} != xset
; then
4690 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
4691 echo $ac_n "(cached) $ac_c" 1>&6
4696 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4697 ac_cpp
='$CXXCPP $CPPFLAGS'
4698 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4699 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4700 cross_compiling
=$ac_cv_prog_cxx_cross
4702 cat > conftest.
$ac_ext <<EOF
4703 #line 4704 "configure"
4704 #include "confdefs.h"
4710 if { (eval echo configure
:4711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4712 glibcpp_cv_func___builtin_fabsf_use
=yes
4714 echo "configure: failed program was:" >&5
4715 cat conftest.
$ac_ext >&5
4717 glibcpp_cv_func___builtin_fabsf_use
=no
4721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4722 ac_cpp
='$CPP $CPPFLAGS'
4723 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4724 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4725 cross_compiling
=$ac_cv_prog_cc_cross
4731 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
4732 if test x
$glibcpp_cv_func___builtin_fabsf_use = x
"yes"; then
4733 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
4734 echo "configure:4735: checking for __builtin_fabsf linkage" >&5
4735 if test x
${glibcpp_cv_func___builtin_fabsf_link+set} != xset
; then
4736 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
4737 echo $ac_n "(cached) $ac_c" 1>&6
4740 cat > conftest.
$ac_ext <<EOF
4741 #line 4742 "configure"
4742 #include "confdefs.h"
4748 if { (eval echo configure
:4749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4750 glibcpp_cv_func___builtin_fabsf_link
=yes
4752 echo "configure: failed program was:" >&5
4753 cat conftest.
$ac_ext >&5
4755 glibcpp_cv_func___builtin_fabsf_link
=no
4762 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
4763 if test x
$glibcpp_cv_func___builtin_fabsf_link = x
"yes"; then
4764 ac_tr_func
=HAVE_
`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4765 cat >> confdefs.h
<<EOF
4766 #define ${ac_tr_func} 1
4773 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
4774 echo "configure:4775: checking for __builtin_fabs declaration" >&5
4775 if test x
${glibcpp_cv_func___builtin_fabs_use+set} != xset
; then
4776 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
4777 echo $ac_n "(cached) $ac_c" 1>&6
4782 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4783 ac_cpp
='$CXXCPP $CPPFLAGS'
4784 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4785 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4786 cross_compiling
=$ac_cv_prog_cxx_cross
4788 cat > conftest.
$ac_ext <<EOF
4789 #line 4790 "configure"
4790 #include "confdefs.h"
4796 if { (eval echo configure
:4797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4798 glibcpp_cv_func___builtin_fabs_use
=yes
4800 echo "configure: failed program was:" >&5
4801 cat conftest.
$ac_ext >&5
4803 glibcpp_cv_func___builtin_fabs_use
=no
4807 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4808 ac_cpp
='$CPP $CPPFLAGS'
4809 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4810 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4811 cross_compiling
=$ac_cv_prog_cc_cross
4817 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
4818 if test x
$glibcpp_cv_func___builtin_fabs_use = x
"yes"; then
4819 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
4820 echo "configure:4821: checking for __builtin_fabs linkage" >&5
4821 if test x
${glibcpp_cv_func___builtin_fabs_link+set} != xset
; then
4822 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
4823 echo $ac_n "(cached) $ac_c" 1>&6
4826 cat > conftest.
$ac_ext <<EOF
4827 #line 4828 "configure"
4828 #include "confdefs.h"
4834 if { (eval echo configure
:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4836 glibcpp_cv_func___builtin_fabs_link
=yes
4838 echo "configure: failed program was:" >&5
4839 cat conftest.
$ac_ext >&5
4841 glibcpp_cv_func___builtin_fabs_link
=no
4848 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
4849 if test x
$glibcpp_cv_func___builtin_fabs_link = x
"yes"; then
4850 ac_tr_func
=HAVE_
`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4851 cat >> confdefs.h
<<EOF
4852 #define ${ac_tr_func} 1
4859 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
4860 echo "configure:4861: checking for __builtin_fabsl declaration" >&5
4861 if test x
${glibcpp_cv_func___builtin_fabsl_use+set} != xset
; then
4862 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
4863 echo $ac_n "(cached) $ac_c" 1>&6
4868 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4869 ac_cpp
='$CXXCPP $CPPFLAGS'
4870 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4871 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4872 cross_compiling
=$ac_cv_prog_cxx_cross
4874 cat > conftest.
$ac_ext <<EOF
4875 #line 4876 "configure"
4876 #include "confdefs.h"
4882 if { (eval echo configure
:4883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4884 glibcpp_cv_func___builtin_fabsl_use
=yes
4886 echo "configure: failed program was:" >&5
4887 cat conftest.
$ac_ext >&5
4889 glibcpp_cv_func___builtin_fabsl_use
=no
4893 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4894 ac_cpp
='$CPP $CPPFLAGS'
4895 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4896 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4897 cross_compiling
=$ac_cv_prog_cc_cross
4903 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
4904 if test x
$glibcpp_cv_func___builtin_fabsl_use = x
"yes"; then
4905 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
4906 echo "configure:4907: checking for __builtin_fabsl linkage" >&5
4907 if test x
${glibcpp_cv_func___builtin_fabsl_link+set} != xset
; then
4908 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
4909 echo $ac_n "(cached) $ac_c" 1>&6
4912 cat > conftest.
$ac_ext <<EOF
4913 #line 4914 "configure"
4914 #include "confdefs.h"
4920 if { (eval echo configure
:4921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4922 glibcpp_cv_func___builtin_fabsl_link
=yes
4924 echo "configure: failed program was:" >&5
4925 cat conftest.
$ac_ext >&5
4927 glibcpp_cv_func___builtin_fabsl_link
=no
4934 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
4935 if test x
$glibcpp_cv_func___builtin_fabsl_link = x
"yes"; then
4936 ac_tr_func
=HAVE_
`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4937 cat >> confdefs.h
<<EOF
4938 #define ${ac_tr_func} 1
4945 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
4946 echo "configure:4947: checking for __builtin_labs declaration" >&5
4947 if test x
${glibcpp_cv_func___builtin_labs_use+set} != xset
; then
4948 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
4949 echo $ac_n "(cached) $ac_c" 1>&6
4954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4955 ac_cpp
='$CXXCPP $CPPFLAGS'
4956 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4957 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4958 cross_compiling
=$ac_cv_prog_cxx_cross
4960 cat > conftest.
$ac_ext <<EOF
4961 #line 4962 "configure"
4962 #include "confdefs.h"
4968 if { (eval echo configure
:4969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4970 glibcpp_cv_func___builtin_labs_use
=yes
4972 echo "configure: failed program was:" >&5
4973 cat conftest.
$ac_ext >&5
4975 glibcpp_cv_func___builtin_labs_use
=no
4979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4980 ac_cpp
='$CPP $CPPFLAGS'
4981 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4982 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4983 cross_compiling
=$ac_cv_prog_cc_cross
4989 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
4990 if test x
$glibcpp_cv_func___builtin_labs_use = x
"yes"; then
4991 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
4992 echo "configure:4993: checking for __builtin_labs linkage" >&5
4993 if test x
${glibcpp_cv_func___builtin_labs_link+set} != xset
; then
4994 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
4995 echo $ac_n "(cached) $ac_c" 1>&6
4998 cat > conftest.
$ac_ext <<EOF
4999 #line 5000 "configure"
5000 #include "confdefs.h"
5006 if { (eval echo configure
:5007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5008 glibcpp_cv_func___builtin_labs_link
=yes
5010 echo "configure: failed program was:" >&5
5011 cat conftest.
$ac_ext >&5
5013 glibcpp_cv_func___builtin_labs_link
=no
5020 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5021 if test x
$glibcpp_cv_func___builtin_labs_link = x
"yes"; then
5022 ac_tr_func
=HAVE_
`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5023 cat >> confdefs.h
<<EOF
5024 #define ${ac_tr_func} 1
5032 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5033 echo "configure:5034: checking for __builtin_sqrtf declaration" >&5
5034 if test x
${glibcpp_cv_func___builtin_sqrtf_use+set} != xset
; then
5035 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5036 echo $ac_n "(cached) $ac_c" 1>&6
5041 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5042 ac_cpp
='$CXXCPP $CPPFLAGS'
5043 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5044 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5045 cross_compiling
=$ac_cv_prog_cxx_cross
5047 cat > conftest.
$ac_ext <<EOF
5048 #line 5049 "configure"
5049 #include "confdefs.h"
5055 if { (eval echo configure
:5056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5057 glibcpp_cv_func___builtin_sqrtf_use
=yes
5059 echo "configure: failed program was:" >&5
5060 cat conftest.
$ac_ext >&5
5062 glibcpp_cv_func___builtin_sqrtf_use
=no
5066 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5067 ac_cpp
='$CPP $CPPFLAGS'
5068 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5069 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5070 cross_compiling
=$ac_cv_prog_cc_cross
5076 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5077 if test x
$glibcpp_cv_func___builtin_sqrtf_use = x
"yes"; then
5078 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5079 echo "configure:5080: checking for __builtin_sqrtf linkage" >&5
5080 if test x
${glibcpp_cv_func___builtin_sqrtf_link+set} != xset
; then
5081 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5082 echo $ac_n "(cached) $ac_c" 1>&6
5085 cat > conftest.
$ac_ext <<EOF
5086 #line 5087 "configure"
5087 #include "confdefs.h"
5093 if { (eval echo configure
:5094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5095 glibcpp_cv_func___builtin_sqrtf_link
=yes
5097 echo "configure: failed program was:" >&5
5098 cat conftest.
$ac_ext >&5
5100 glibcpp_cv_func___builtin_sqrtf_link
=no
5107 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5108 if test x
$glibcpp_cv_func___builtin_sqrtf_link = x
"yes"; then
5109 ac_tr_func
=HAVE_
`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5110 cat >> confdefs.h
<<EOF
5111 #define ${ac_tr_func} 1
5118 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5119 echo "configure:5120: checking for __builtin_fsqrt declaration" >&5
5120 if test x
${glibcpp_cv_func___builtin_fsqrt_use+set} != xset
; then
5121 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5122 echo $ac_n "(cached) $ac_c" 1>&6
5127 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5128 ac_cpp
='$CXXCPP $CPPFLAGS'
5129 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5130 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5131 cross_compiling
=$ac_cv_prog_cxx_cross
5133 cat > conftest.
$ac_ext <<EOF
5134 #line 5135 "configure"
5135 #include "confdefs.h"
5141 if { (eval echo configure
:5142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5143 glibcpp_cv_func___builtin_fsqrt_use
=yes
5145 echo "configure: failed program was:" >&5
5146 cat conftest.
$ac_ext >&5
5148 glibcpp_cv_func___builtin_fsqrt_use
=no
5152 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5153 ac_cpp
='$CPP $CPPFLAGS'
5154 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5155 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5156 cross_compiling
=$ac_cv_prog_cc_cross
5162 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5163 if test x
$glibcpp_cv_func___builtin_fsqrt_use = x
"yes"; then
5164 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5165 echo "configure:5166: checking for __builtin_fsqrt linkage" >&5
5166 if test x
${glibcpp_cv_func___builtin_fsqrt_link+set} != xset
; then
5167 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5168 echo $ac_n "(cached) $ac_c" 1>&6
5171 cat > conftest.
$ac_ext <<EOF
5172 #line 5173 "configure"
5173 #include "confdefs.h"
5179 if { (eval echo configure
:5180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5181 glibcpp_cv_func___builtin_fsqrt_link
=yes
5183 echo "configure: failed program was:" >&5
5184 cat conftest.
$ac_ext >&5
5186 glibcpp_cv_func___builtin_fsqrt_link
=no
5193 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5194 if test x
$glibcpp_cv_func___builtin_fsqrt_link = x
"yes"; then
5195 ac_tr_func
=HAVE_
`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5196 cat >> confdefs.h
<<EOF
5197 #define ${ac_tr_func} 1
5204 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5205 echo "configure:5206: checking for __builtin_sqrtl declaration" >&5
5206 if test x
${glibcpp_cv_func___builtin_sqrtl_use+set} != xset
; then
5207 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5208 echo $ac_n "(cached) $ac_c" 1>&6
5213 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5214 ac_cpp
='$CXXCPP $CPPFLAGS'
5215 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5216 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5217 cross_compiling
=$ac_cv_prog_cxx_cross
5219 cat > conftest.
$ac_ext <<EOF
5220 #line 5221 "configure"
5221 #include "confdefs.h"
5227 if { (eval echo configure
:5228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5229 glibcpp_cv_func___builtin_sqrtl_use
=yes
5231 echo "configure: failed program was:" >&5
5232 cat conftest.
$ac_ext >&5
5234 glibcpp_cv_func___builtin_sqrtl_use
=no
5238 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5239 ac_cpp
='$CPP $CPPFLAGS'
5240 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5241 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5242 cross_compiling
=$ac_cv_prog_cc_cross
5248 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5249 if test x
$glibcpp_cv_func___builtin_sqrtl_use = x
"yes"; then
5250 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5251 echo "configure:5252: checking for __builtin_sqrtl linkage" >&5
5252 if test x
${glibcpp_cv_func___builtin_sqrtl_link+set} != xset
; then
5253 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5254 echo $ac_n "(cached) $ac_c" 1>&6
5257 cat > conftest.
$ac_ext <<EOF
5258 #line 5259 "configure"
5259 #include "confdefs.h"
5265 if { (eval echo configure
:5266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5267 glibcpp_cv_func___builtin_sqrtl_link
=yes
5269 echo "configure: failed program was:" >&5
5270 cat conftest.
$ac_ext >&5
5272 glibcpp_cv_func___builtin_sqrtl_link
=no
5279 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5280 if test x
$glibcpp_cv_func___builtin_sqrtl_link = x
"yes"; then
5281 ac_tr_func
=HAVE_
`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5282 cat >> confdefs.h
<<EOF
5283 #define ${ac_tr_func} 1
5291 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5292 echo "configure:5293: checking for __builtin_sinf declaration" >&5
5293 if test x
${glibcpp_cv_func___builtin_sinf_use+set} != xset
; then
5294 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5295 echo $ac_n "(cached) $ac_c" 1>&6
5300 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5301 ac_cpp
='$CXXCPP $CPPFLAGS'
5302 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5303 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5304 cross_compiling
=$ac_cv_prog_cxx_cross
5306 cat > conftest.
$ac_ext <<EOF
5307 #line 5308 "configure"
5308 #include "confdefs.h"
5314 if { (eval echo configure
:5315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5316 glibcpp_cv_func___builtin_sinf_use
=yes
5318 echo "configure: failed program was:" >&5
5319 cat conftest.
$ac_ext >&5
5321 glibcpp_cv_func___builtin_sinf_use
=no
5325 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5326 ac_cpp
='$CPP $CPPFLAGS'
5327 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5328 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5329 cross_compiling
=$ac_cv_prog_cc_cross
5335 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5336 if test x
$glibcpp_cv_func___builtin_sinf_use = x
"yes"; then
5337 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5338 echo "configure:5339: checking for __builtin_sinf linkage" >&5
5339 if test x
${glibcpp_cv_func___builtin_sinf_link+set} != xset
; then
5340 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5341 echo $ac_n "(cached) $ac_c" 1>&6
5344 cat > conftest.
$ac_ext <<EOF
5345 #line 5346 "configure"
5346 #include "confdefs.h"
5352 if { (eval echo configure
:5353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5354 glibcpp_cv_func___builtin_sinf_link
=yes
5356 echo "configure: failed program was:" >&5
5357 cat conftest.
$ac_ext >&5
5359 glibcpp_cv_func___builtin_sinf_link
=no
5366 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5367 if test x
$glibcpp_cv_func___builtin_sinf_link = x
"yes"; then
5368 ac_tr_func
=HAVE_
`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5369 cat >> confdefs.h
<<EOF
5370 #define ${ac_tr_func} 1
5377 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
5378 echo "configure:5379: checking for __builtin_sin declaration" >&5
5379 if test x
${glibcpp_cv_func___builtin_sin_use+set} != xset
; then
5380 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5381 echo $ac_n "(cached) $ac_c" 1>&6
5386 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5387 ac_cpp
='$CXXCPP $CPPFLAGS'
5388 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5389 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5390 cross_compiling
=$ac_cv_prog_cxx_cross
5392 cat > conftest.
$ac_ext <<EOF
5393 #line 5394 "configure"
5394 #include "confdefs.h"
5400 if { (eval echo configure
:5401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5402 glibcpp_cv_func___builtin_sin_use
=yes
5404 echo "configure: failed program was:" >&5
5405 cat conftest.
$ac_ext >&5
5407 glibcpp_cv_func___builtin_sin_use
=no
5411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5412 ac_cpp
='$CPP $CPPFLAGS'
5413 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5414 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5415 cross_compiling
=$ac_cv_prog_cc_cross
5421 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
5422 if test x
$glibcpp_cv_func___builtin_sin_use = x
"yes"; then
5423 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
5424 echo "configure:5425: checking for __builtin_sin linkage" >&5
5425 if test x
${glibcpp_cv_func___builtin_sin_link+set} != xset
; then
5426 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
5427 echo $ac_n "(cached) $ac_c" 1>&6
5430 cat > conftest.
$ac_ext <<EOF
5431 #line 5432 "configure"
5432 #include "confdefs.h"
5438 if { (eval echo configure
:5439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5440 glibcpp_cv_func___builtin_sin_link
=yes
5442 echo "configure: failed program was:" >&5
5443 cat conftest.
$ac_ext >&5
5445 glibcpp_cv_func___builtin_sin_link
=no
5452 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
5453 if test x
$glibcpp_cv_func___builtin_sin_link = x
"yes"; then
5454 ac_tr_func
=HAVE_
`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5455 cat >> confdefs.h
<<EOF
5456 #define ${ac_tr_func} 1
5463 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
5464 echo "configure:5465: checking for __builtin_sinl declaration" >&5
5465 if test x
${glibcpp_cv_func___builtin_sinl_use+set} != xset
; then
5466 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
5467 echo $ac_n "(cached) $ac_c" 1>&6
5472 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5473 ac_cpp
='$CXXCPP $CPPFLAGS'
5474 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5475 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5476 cross_compiling
=$ac_cv_prog_cxx_cross
5478 cat > conftest.
$ac_ext <<EOF
5479 #line 5480 "configure"
5480 #include "confdefs.h"
5486 if { (eval echo configure
:5487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5488 glibcpp_cv_func___builtin_sinl_use
=yes
5490 echo "configure: failed program was:" >&5
5491 cat conftest.
$ac_ext >&5
5493 glibcpp_cv_func___builtin_sinl_use
=no
5497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5498 ac_cpp
='$CPP $CPPFLAGS'
5499 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5500 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5501 cross_compiling
=$ac_cv_prog_cc_cross
5507 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
5508 if test x
$glibcpp_cv_func___builtin_sinl_use = x
"yes"; then
5509 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
5510 echo "configure:5511: checking for __builtin_sinl linkage" >&5
5511 if test x
${glibcpp_cv_func___builtin_sinl_link+set} != xset
; then
5512 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
5513 echo $ac_n "(cached) $ac_c" 1>&6
5516 cat > conftest.
$ac_ext <<EOF
5517 #line 5518 "configure"
5518 #include "confdefs.h"
5524 if { (eval echo configure
:5525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5526 glibcpp_cv_func___builtin_sinl_link
=yes
5528 echo "configure: failed program was:" >&5
5529 cat conftest.
$ac_ext >&5
5531 glibcpp_cv_func___builtin_sinl_link
=no
5538 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
5539 if test x
$glibcpp_cv_func___builtin_sinl_link = x
"yes"; then
5540 ac_tr_func
=HAVE_
`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5541 cat >> confdefs.h
<<EOF
5542 #define ${ac_tr_func} 1
5550 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
5551 echo "configure:5552: checking for __builtin_cosf declaration" >&5
5552 if test x
${glibcpp_cv_func___builtin_cosf_use+set} != xset
; then
5553 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
5554 echo $ac_n "(cached) $ac_c" 1>&6
5559 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5560 ac_cpp
='$CXXCPP $CPPFLAGS'
5561 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5562 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5563 cross_compiling
=$ac_cv_prog_cxx_cross
5565 cat > conftest.
$ac_ext <<EOF
5566 #line 5567 "configure"
5567 #include "confdefs.h"
5573 if { (eval echo configure
:5574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5575 glibcpp_cv_func___builtin_cosf_use
=yes
5577 echo "configure: failed program was:" >&5
5578 cat conftest.
$ac_ext >&5
5580 glibcpp_cv_func___builtin_cosf_use
=no
5584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5585 ac_cpp
='$CPP $CPPFLAGS'
5586 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5587 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5588 cross_compiling
=$ac_cv_prog_cc_cross
5594 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
5595 if test x
$glibcpp_cv_func___builtin_cosf_use = x
"yes"; then
5596 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
5597 echo "configure:5598: checking for __builtin_cosf linkage" >&5
5598 if test x
${glibcpp_cv_func___builtin_cosf_link+set} != xset
; then
5599 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
5600 echo $ac_n "(cached) $ac_c" 1>&6
5603 cat > conftest.
$ac_ext <<EOF
5604 #line 5605 "configure"
5605 #include "confdefs.h"
5611 if { (eval echo configure
:5612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5613 glibcpp_cv_func___builtin_cosf_link
=yes
5615 echo "configure: failed program was:" >&5
5616 cat conftest.
$ac_ext >&5
5618 glibcpp_cv_func___builtin_cosf_link
=no
5625 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
5626 if test x
$glibcpp_cv_func___builtin_cosf_link = x
"yes"; then
5627 ac_tr_func
=HAVE_
`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5628 cat >> confdefs.h
<<EOF
5629 #define ${ac_tr_func} 1
5636 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
5637 echo "configure:5638: checking for __builtin_cos declaration" >&5
5638 if test x
${glibcpp_cv_func___builtin_cos_use+set} != xset
; then
5639 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
5640 echo $ac_n "(cached) $ac_c" 1>&6
5645 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5646 ac_cpp
='$CXXCPP $CPPFLAGS'
5647 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5648 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5649 cross_compiling
=$ac_cv_prog_cxx_cross
5651 cat > conftest.
$ac_ext <<EOF
5652 #line 5653 "configure"
5653 #include "confdefs.h"
5659 if { (eval echo configure
:5660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5661 glibcpp_cv_func___builtin_cos_use
=yes
5663 echo "configure: failed program was:" >&5
5664 cat conftest.
$ac_ext >&5
5666 glibcpp_cv_func___builtin_cos_use
=no
5670 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5671 ac_cpp
='$CPP $CPPFLAGS'
5672 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5673 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5674 cross_compiling
=$ac_cv_prog_cc_cross
5680 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
5681 if test x
$glibcpp_cv_func___builtin_cos_use = x
"yes"; then
5682 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
5683 echo "configure:5684: checking for __builtin_cos linkage" >&5
5684 if test x
${glibcpp_cv_func___builtin_cos_link+set} != xset
; then
5685 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
5686 echo $ac_n "(cached) $ac_c" 1>&6
5689 cat > conftest.
$ac_ext <<EOF
5690 #line 5691 "configure"
5691 #include "confdefs.h"
5697 if { (eval echo configure
:5698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5699 glibcpp_cv_func___builtin_cos_link
=yes
5701 echo "configure: failed program was:" >&5
5702 cat conftest.
$ac_ext >&5
5704 glibcpp_cv_func___builtin_cos_link
=no
5711 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
5712 if test x
$glibcpp_cv_func___builtin_cos_link = x
"yes"; then
5713 ac_tr_func
=HAVE_
`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5714 cat >> confdefs.h
<<EOF
5715 #define ${ac_tr_func} 1
5722 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
5723 echo "configure:5724: checking for __builtin_cosl declaration" >&5
5724 if test x
${glibcpp_cv_func___builtin_cosl_use+set} != xset
; then
5725 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
5726 echo $ac_n "(cached) $ac_c" 1>&6
5731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5732 ac_cpp
='$CXXCPP $CPPFLAGS'
5733 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5734 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5735 cross_compiling
=$ac_cv_prog_cxx_cross
5737 cat > conftest.
$ac_ext <<EOF
5738 #line 5739 "configure"
5739 #include "confdefs.h"
5745 if { (eval echo configure
:5746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5747 glibcpp_cv_func___builtin_cosl_use
=yes
5749 echo "configure: failed program was:" >&5
5750 cat conftest.
$ac_ext >&5
5752 glibcpp_cv_func___builtin_cosl_use
=no
5756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5757 ac_cpp
='$CPP $CPPFLAGS'
5758 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5759 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5760 cross_compiling
=$ac_cv_prog_cc_cross
5766 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
5767 if test x
$glibcpp_cv_func___builtin_cosl_use = x
"yes"; then
5768 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
5769 echo "configure:5770: checking for __builtin_cosl linkage" >&5
5770 if test x
${glibcpp_cv_func___builtin_cosl_link+set} != xset
; then
5771 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
5772 echo $ac_n "(cached) $ac_c" 1>&6
5775 cat > conftest.
$ac_ext <<EOF
5776 #line 5777 "configure"
5777 #include "confdefs.h"
5783 if { (eval echo configure
:5784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5785 glibcpp_cv_func___builtin_cosl_link
=yes
5787 echo "configure: failed program was:" >&5
5788 cat conftest.
$ac_ext >&5
5790 glibcpp_cv_func___builtin_cosl_link
=no
5797 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
5798 if test x
$glibcpp_cv_func___builtin_cosl_link = x
"yes"; then
5799 ac_tr_func
=HAVE_
`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5800 cat >> confdefs.h
<<EOF
5801 #define ${ac_tr_func} 1
5809 if test x
$dummyvar = x
"yes"; then
5810 cat >> confdefs.h
<<\EOF
5811 #define HAVE___BUILTIN_ABS 1
5814 cat >> confdefs.h
<<\EOF
5815 #define HAVE___BUILTIN_LABS 1
5818 cat >> confdefs.h
<<\EOF
5819 #define HAVE___BUILTIN_COS 1
5822 cat >> confdefs.h
<<\EOF
5823 #define HAVE___BUILTIN_COSF 1
5826 cat >> confdefs.h
<<\EOF
5827 #define HAVE___BUILTIN_COSL 1
5830 cat >> confdefs.h
<<\EOF
5831 #define HAVE___BUILTIN_FABS 1
5834 cat >> confdefs.h
<<\EOF
5835 #define HAVE___BUILTIN_FABSF 1
5838 cat >> confdefs.h
<<\EOF
5839 #define HAVE___BUILTIN_FABSL 1
5842 cat >> confdefs.h
<<\EOF
5843 #define HAVE___BUILTIN_SIN 1
5846 cat >> confdefs.h
<<\EOF
5847 #define HAVE___BUILTIN_SINF 1
5850 cat >> confdefs.h
<<\EOF
5851 #define HAVE___BUILTIN_SINL 1
5854 cat >> confdefs.h
<<\EOF
5855 #define HAVE___BUILTIN_FSQRT 1
5858 cat >> confdefs.h
<<\EOF
5859 #define HAVE___BUILTIN_SQRTF 1
5862 cat >> confdefs.h
<<\EOF
5863 #define HAVE___BUILTIN_SQRTL 1
5869 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
5870 ac_save_CXXFLAGS
="$CXXFLAGS"
5871 CXXFLAGS
='-fno-builtins -D_GNU_SOURCE'
5873 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
5874 echo "configure:5875: checking for sin in -lm" >&5
5875 ac_lib_var
=`echo m'_'sin | sed 'y%./+-%__p_%'`
5876 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5877 echo $ac_n "(cached) $ac_c" 1>&6
5879 ac_save_LIBS
="$LIBS"
5881 cat > conftest.
$ac_ext <<EOF
5882 #line 5883 "configure"
5883 #include "confdefs.h"
5884 /* Override any gcc2 internal prototype to avoid an error. */
5885 /* We use char because int might match the return type of a gcc2
5886 builtin and then its argument prototype would still apply. */
5893 if { (eval echo configure
:5894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5895 eval "ac_cv_lib_$ac_lib_var=yes"
5897 echo "configure: failed program was:" >&5
5898 cat conftest.
$ac_ext >&5
5900 eval "ac_cv_lib_$ac_lib_var=no"
5903 LIBS
="$ac_save_LIBS"
5906 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5907 echo "$ac_t""yes" 1>&6
5910 echo "$ac_t""no" 1>&6
5913 ac_save_LIBS
="$LIBS"
5918 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
5919 echo "configure:5920: checking for isinf declaration" >&5
5920 if test x
${glibcpp_cv_func_isinf_use+set} != xset
; then
5921 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
5922 echo $ac_n "(cached) $ac_c" 1>&6
5927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5928 ac_cpp
='$CXXCPP $CPPFLAGS'
5929 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5930 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5931 cross_compiling
=$ac_cv_prog_cxx_cross
5933 cat > conftest.
$ac_ext <<EOF
5934 #line 5935 "configure"
5935 #include "confdefs.h"
5937 #ifdef HAVE_IEEEFP_H
5945 if { (eval echo configure
:5946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5947 glibcpp_cv_func_isinf_use
=yes
5949 echo "configure: failed program was:" >&5
5950 cat conftest.
$ac_ext >&5
5952 glibcpp_cv_func_isinf_use
=no
5956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5957 ac_cpp
='$CPP $CPPFLAGS'
5958 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5959 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5960 cross_compiling
=$ac_cv_prog_cc_cross
5966 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
5968 if test x
$glibcpp_cv_func_isinf_use = x
"yes"; then
5969 for ac_func
in isinf
5971 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5972 echo "configure:5973: checking for $ac_func" >&5
5973 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5974 echo $ac_n "(cached) $ac_c" 1>&6
5976 cat > conftest.
$ac_ext <<EOF
5977 #line 5978 "configure"
5978 #include "confdefs.h"
5979 /* System header to define __stub macros and hopefully few prototypes,
5980 which can conflict with char $ac_func(); below. */
5982 /* Override any gcc2 internal prototype to avoid an error. */
5983 /* We use char because int might match the return type of a gcc2
5984 builtin and then its argument prototype would still apply. */
5989 /* The GNU C library defines this for functions which it implements
5990 to always fail with ENOSYS. Some functions are actually named
5991 something starting with __ and the normal name is an alias. */
5992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6000 if { (eval echo configure
:6001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6002 eval "ac_cv_func_$ac_func=yes"
6004 echo "configure: failed program was:" >&5
6005 cat conftest.
$ac_ext >&5
6007 eval "ac_cv_func_$ac_func=no"
6012 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6013 echo "$ac_t""yes" 1>&6
6014 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6015 cat >> confdefs.h
<<EOF
6016 #define $ac_tr_func 1
6020 echo "$ac_t""no" 1>&6
6026 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6027 echo "configure:6028: checking for _isinf declaration" >&5
6028 if test x
${glibcpp_cv_func__isinf_use+set} != xset
; then
6029 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6030 echo $ac_n "(cached) $ac_c" 1>&6
6035 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6036 ac_cpp
='$CXXCPP $CPPFLAGS'
6037 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6038 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6039 cross_compiling
=$ac_cv_prog_cxx_cross
6041 cat > conftest.
$ac_ext <<EOF
6042 #line 6043 "configure"
6043 #include "confdefs.h"
6045 #ifdef HAVE_IEEEFP_H
6053 if { (eval echo configure
:6054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6055 glibcpp_cv_func__isinf_use
=yes
6057 echo "configure: failed program was:" >&5
6058 cat conftest.
$ac_ext >&5
6060 glibcpp_cv_func__isinf_use
=no
6064 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6065 ac_cpp
='$CPP $CPPFLAGS'
6066 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6067 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6068 cross_compiling
=$ac_cv_prog_cc_cross
6074 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6076 if test x
$glibcpp_cv_func__isinf_use = x
"yes"; then
6077 for ac_func
in _isinf
6079 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6080 echo "configure:6081: checking for $ac_func" >&5
6081 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6082 echo $ac_n "(cached) $ac_c" 1>&6
6084 cat > conftest.
$ac_ext <<EOF
6085 #line 6086 "configure"
6086 #include "confdefs.h"
6087 /* System header to define __stub macros and hopefully few prototypes,
6088 which can conflict with char $ac_func(); below. */
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. */
6097 /* The GNU C library defines this for functions which it implements
6098 to always fail with ENOSYS. Some functions are actually named
6099 something starting with __ and the normal name is an alias. */
6100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6108 if { (eval echo configure
:6109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6110 eval "ac_cv_func_$ac_func=yes"
6112 echo "configure: failed program was:" >&5
6113 cat conftest.
$ac_ext >&5
6115 eval "ac_cv_func_$ac_func=no"
6120 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6121 echo "$ac_t""yes" 1>&6
6122 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6123 cat >> confdefs.h
<<EOF
6124 #define $ac_tr_func 1
6128 echo "$ac_t""no" 1>&6
6137 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6138 echo "configure:6139: checking for isnan declaration" >&5
6139 if test x
${glibcpp_cv_func_isnan_use+set} != xset
; then
6140 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6141 echo $ac_n "(cached) $ac_c" 1>&6
6146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6147 ac_cpp
='$CXXCPP $CPPFLAGS'
6148 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6149 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6150 cross_compiling
=$ac_cv_prog_cxx_cross
6152 cat > conftest.
$ac_ext <<EOF
6153 #line 6154 "configure"
6154 #include "confdefs.h"
6156 #ifdef HAVE_IEEEFP_H
6164 if { (eval echo configure
:6165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6166 glibcpp_cv_func_isnan_use
=yes
6168 echo "configure: failed program was:" >&5
6169 cat conftest.
$ac_ext >&5
6171 glibcpp_cv_func_isnan_use
=no
6175 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6176 ac_cpp
='$CPP $CPPFLAGS'
6177 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6178 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6179 cross_compiling
=$ac_cv_prog_cc_cross
6185 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6187 if test x
$glibcpp_cv_func_isnan_use = x
"yes"; then
6188 for ac_func
in isnan
6190 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6191 echo "configure:6192: checking for $ac_func" >&5
6192 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6193 echo $ac_n "(cached) $ac_c" 1>&6
6195 cat > conftest.
$ac_ext <<EOF
6196 #line 6197 "configure"
6197 #include "confdefs.h"
6198 /* System header to define __stub macros and hopefully few prototypes,
6199 which can conflict with char $ac_func(); below. */
6201 /* Override any gcc2 internal prototype to avoid an error. */
6202 /* We use char because int might match the return type of a gcc2
6203 builtin and then its argument prototype would still apply. */
6208 /* The GNU C library defines this for functions which it implements
6209 to always fail with ENOSYS. Some functions are actually named
6210 something starting with __ and the normal name is an alias. */
6211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6219 if { (eval echo configure
:6220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6221 eval "ac_cv_func_$ac_func=yes"
6223 echo "configure: failed program was:" >&5
6224 cat conftest.
$ac_ext >&5
6226 eval "ac_cv_func_$ac_func=no"
6231 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6232 echo "$ac_t""yes" 1>&6
6233 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6234 cat >> confdefs.h
<<EOF
6235 #define $ac_tr_func 1
6239 echo "$ac_t""no" 1>&6
6245 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6246 echo "configure:6247: checking for _isnan declaration" >&5
6247 if test x
${glibcpp_cv_func__isnan_use+set} != xset
; then
6248 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6249 echo $ac_n "(cached) $ac_c" 1>&6
6254 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6255 ac_cpp
='$CXXCPP $CPPFLAGS'
6256 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6257 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6258 cross_compiling
=$ac_cv_prog_cxx_cross
6260 cat > conftest.
$ac_ext <<EOF
6261 #line 6262 "configure"
6262 #include "confdefs.h"
6264 #ifdef HAVE_IEEEFP_H
6272 if { (eval echo configure
:6273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6274 glibcpp_cv_func__isnan_use
=yes
6276 echo "configure: failed program was:" >&5
6277 cat conftest.
$ac_ext >&5
6279 glibcpp_cv_func__isnan_use
=no
6283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6284 ac_cpp
='$CPP $CPPFLAGS'
6285 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6286 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6287 cross_compiling
=$ac_cv_prog_cc_cross
6293 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6295 if test x
$glibcpp_cv_func__isnan_use = x
"yes"; then
6296 for ac_func
in _isnan
6298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6299 echo "configure:6300: checking for $ac_func" >&5
6300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6301 echo $ac_n "(cached) $ac_c" 1>&6
6303 cat > conftest.
$ac_ext <<EOF
6304 #line 6305 "configure"
6305 #include "confdefs.h"
6306 /* System header to define __stub macros and hopefully few prototypes,
6307 which can conflict with char $ac_func(); below. */
6309 /* Override any gcc2 internal prototype to avoid an error. */
6310 /* We use char because int might match the return type of a gcc2
6311 builtin and then its argument prototype would still apply. */
6316 /* The GNU C library defines this for functions which it implements
6317 to always fail with ENOSYS. Some functions are actually named
6318 something starting with __ and the normal name is an alias. */
6319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6327 if { (eval echo configure
:6328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6329 eval "ac_cv_func_$ac_func=yes"
6331 echo "configure: failed program was:" >&5
6332 cat conftest.
$ac_ext >&5
6334 eval "ac_cv_func_$ac_func=no"
6339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6340 echo "$ac_t""yes" 1>&6
6341 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6342 cat >> confdefs.h
<<EOF
6343 #define $ac_tr_func 1
6347 echo "$ac_t""no" 1>&6
6356 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
6357 echo "configure:6358: checking for finite declaration" >&5
6358 if test x
${glibcpp_cv_func_finite_use+set} != xset
; then
6359 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6360 echo $ac_n "(cached) $ac_c" 1>&6
6365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6366 ac_cpp
='$CXXCPP $CPPFLAGS'
6367 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6368 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6369 cross_compiling
=$ac_cv_prog_cxx_cross
6371 cat > conftest.
$ac_ext <<EOF
6372 #line 6373 "configure"
6373 #include "confdefs.h"
6375 #ifdef HAVE_IEEEFP_H
6383 if { (eval echo configure
:6384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6385 glibcpp_cv_func_finite_use
=yes
6387 echo "configure: failed program was:" >&5
6388 cat conftest.
$ac_ext >&5
6390 glibcpp_cv_func_finite_use
=no
6394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6395 ac_cpp
='$CPP $CPPFLAGS'
6396 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6397 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6398 cross_compiling
=$ac_cv_prog_cc_cross
6404 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
6406 if test x
$glibcpp_cv_func_finite_use = x
"yes"; then
6407 for ac_func
in finite
6409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6410 echo "configure:6411: checking for $ac_func" >&5
6411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6412 echo $ac_n "(cached) $ac_c" 1>&6
6414 cat > conftest.
$ac_ext <<EOF
6415 #line 6416 "configure"
6416 #include "confdefs.h"
6417 /* System header to define __stub macros and hopefully few prototypes,
6418 which can conflict with char $ac_func(); below. */
6420 /* Override any gcc2 internal prototype to avoid an error. */
6421 /* We use char because int might match the return type of a gcc2
6422 builtin and then its argument prototype would still apply. */
6427 /* The GNU C library defines this for functions which it implements
6428 to always fail with ENOSYS. Some functions are actually named
6429 something starting with __ and the normal name is an alias. */
6430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6438 if { (eval echo configure
:6439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6440 eval "ac_cv_func_$ac_func=yes"
6442 echo "configure: failed program was:" >&5
6443 cat conftest.
$ac_ext >&5
6445 eval "ac_cv_func_$ac_func=no"
6450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6451 echo "$ac_t""yes" 1>&6
6452 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6453 cat >> confdefs.h
<<EOF
6454 #define $ac_tr_func 1
6458 echo "$ac_t""no" 1>&6
6464 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
6465 echo "configure:6466: checking for _finite declaration" >&5
6466 if test x
${glibcpp_cv_func__finite_use+set} != xset
; then
6467 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
6468 echo $ac_n "(cached) $ac_c" 1>&6
6473 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6474 ac_cpp
='$CXXCPP $CPPFLAGS'
6475 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6476 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6477 cross_compiling
=$ac_cv_prog_cxx_cross
6479 cat > conftest.
$ac_ext <<EOF
6480 #line 6481 "configure"
6481 #include "confdefs.h"
6483 #ifdef HAVE_IEEEFP_H
6491 if { (eval echo configure
:6492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6493 glibcpp_cv_func__finite_use
=yes
6495 echo "configure: failed program was:" >&5
6496 cat conftest.
$ac_ext >&5
6498 glibcpp_cv_func__finite_use
=no
6502 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6503 ac_cpp
='$CPP $CPPFLAGS'
6504 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6505 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6506 cross_compiling
=$ac_cv_prog_cc_cross
6512 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
6514 if test x
$glibcpp_cv_func__finite_use = x
"yes"; then
6515 for ac_func
in _finite
6517 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6518 echo "configure:6519: checking for $ac_func" >&5
6519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6520 echo $ac_n "(cached) $ac_c" 1>&6
6522 cat > conftest.
$ac_ext <<EOF
6523 #line 6524 "configure"
6524 #include "confdefs.h"
6525 /* System header to define __stub macros and hopefully few prototypes,
6526 which can conflict with char $ac_func(); below. */
6528 /* Override any gcc2 internal prototype to avoid an error. */
6529 /* We use char because int might match the return type of a gcc2
6530 builtin and then its argument prototype would still apply. */
6535 /* The GNU C library defines this for functions which it implements
6536 to always fail with ENOSYS. Some functions are actually named
6537 something starting with __ and the normal name is an alias. */
6538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6546 if { (eval echo configure
:6547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6548 eval "ac_cv_func_$ac_func=yes"
6550 echo "configure: failed program was:" >&5
6551 cat conftest.
$ac_ext >&5
6553 eval "ac_cv_func_$ac_func=no"
6558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6559 echo "$ac_t""yes" 1>&6
6560 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6561 cat >> confdefs.h
<<EOF
6562 #define $ac_tr_func 1
6566 echo "$ac_t""no" 1>&6
6575 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
6576 echo "configure:6577: checking for copysign declaration" >&5
6577 if test x
${glibcpp_cv_func_copysign_use+set} != xset
; then
6578 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
6579 echo $ac_n "(cached) $ac_c" 1>&6
6584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6585 ac_cpp
='$CXXCPP $CPPFLAGS'
6586 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6587 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6588 cross_compiling
=$ac_cv_prog_cxx_cross
6590 cat > conftest.
$ac_ext <<EOF
6591 #line 6592 "configure"
6592 #include "confdefs.h"
6598 if { (eval echo configure
:6599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6600 glibcpp_cv_func_copysign_use
=yes
6602 echo "configure: failed program was:" >&5
6603 cat conftest.
$ac_ext >&5
6605 glibcpp_cv_func_copysign_use
=no
6609 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6610 ac_cpp
='$CPP $CPPFLAGS'
6611 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6612 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6613 cross_compiling
=$ac_cv_prog_cc_cross
6619 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
6621 if test x
$glibcpp_cv_func_copysign_use = x
"yes"; then
6622 for ac_func
in copysign
6624 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6625 echo "configure:6626: checking for $ac_func" >&5
6626 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6627 echo $ac_n "(cached) $ac_c" 1>&6
6629 cat > conftest.
$ac_ext <<EOF
6630 #line 6631 "configure"
6631 #include "confdefs.h"
6632 /* System header to define __stub macros and hopefully few prototypes,
6633 which can conflict with char $ac_func(); below. */
6635 /* Override any gcc2 internal prototype to avoid an error. */
6636 /* We use char because int might match the return type of a gcc2
6637 builtin and then its argument prototype would still apply. */
6642 /* The GNU C library defines this for functions which it implements
6643 to always fail with ENOSYS. Some functions are actually named
6644 something starting with __ and the normal name is an alias. */
6645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6653 if { (eval echo configure
:6654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6655 eval "ac_cv_func_$ac_func=yes"
6657 echo "configure: failed program was:" >&5
6658 cat conftest.
$ac_ext >&5
6660 eval "ac_cv_func_$ac_func=no"
6665 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6666 echo "$ac_t""yes" 1>&6
6667 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6668 cat >> confdefs.h
<<EOF
6669 #define $ac_tr_func 1
6673 echo "$ac_t""no" 1>&6
6679 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
6680 echo "configure:6681: checking for _copysign declaration" >&5
6681 if test x
${glibcpp_cv_func__copysign_use+set} != xset
; then
6682 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
6683 echo $ac_n "(cached) $ac_c" 1>&6
6688 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6689 ac_cpp
='$CXXCPP $CPPFLAGS'
6690 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6691 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6692 cross_compiling
=$ac_cv_prog_cxx_cross
6694 cat > conftest.
$ac_ext <<EOF
6695 #line 6696 "configure"
6696 #include "confdefs.h"
6702 if { (eval echo configure
:6703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6704 glibcpp_cv_func__copysign_use
=yes
6706 echo "configure: failed program was:" >&5
6707 cat conftest.
$ac_ext >&5
6709 glibcpp_cv_func__copysign_use
=no
6713 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6714 ac_cpp
='$CPP $CPPFLAGS'
6715 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6716 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6717 cross_compiling
=$ac_cv_prog_cc_cross
6723 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
6725 if test x
$glibcpp_cv_func__copysign_use = x
"yes"; then
6726 for ac_func
in _copysign
6728 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6729 echo "configure:6730: checking for $ac_func" >&5
6730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6731 echo $ac_n "(cached) $ac_c" 1>&6
6733 cat > conftest.
$ac_ext <<EOF
6734 #line 6735 "configure"
6735 #include "confdefs.h"
6736 /* System header to define __stub macros and hopefully few prototypes,
6737 which can conflict with char $ac_func(); below. */
6739 /* Override any gcc2 internal prototype to avoid an error. */
6740 /* We use char because int might match the return type of a gcc2
6741 builtin and then its argument prototype would still apply. */
6746 /* The GNU C library defines this for functions which it implements
6747 to always fail with ENOSYS. Some functions are actually named
6748 something starting with __ and the normal name is an alias. */
6749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6757 if { (eval echo configure
:6758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6759 eval "ac_cv_func_$ac_func=yes"
6761 echo "configure: failed program was:" >&5
6762 cat conftest.
$ac_ext >&5
6764 eval "ac_cv_func_$ac_func=no"
6769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6770 echo "$ac_t""yes" 1>&6
6771 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6772 cat >> confdefs.h
<<EOF
6773 #define $ac_tr_func 1
6777 echo "$ac_t""no" 1>&6
6786 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
6787 echo "configure:6788: checking for sincos declaration" >&5
6788 if test x
${glibcpp_cv_func_sincos_use+set} != xset
; then
6789 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
6790 echo $ac_n "(cached) $ac_c" 1>&6
6795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6796 ac_cpp
='$CXXCPP $CPPFLAGS'
6797 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6798 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6799 cross_compiling
=$ac_cv_prog_cxx_cross
6801 cat > conftest.
$ac_ext <<EOF
6802 #line 6803 "configure"
6803 #include "confdefs.h"
6809 if { (eval echo configure
:6810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6811 glibcpp_cv_func_sincos_use
=yes
6813 echo "configure: failed program was:" >&5
6814 cat conftest.
$ac_ext >&5
6816 glibcpp_cv_func_sincos_use
=no
6820 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6821 ac_cpp
='$CPP $CPPFLAGS'
6822 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6823 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6824 cross_compiling
=$ac_cv_prog_cc_cross
6830 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
6832 if test x
$glibcpp_cv_func_sincos_use = x
"yes"; then
6833 for ac_func
in sincos
6835 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6836 echo "configure:6837: checking for $ac_func" >&5
6837 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6838 echo $ac_n "(cached) $ac_c" 1>&6
6840 cat > conftest.
$ac_ext <<EOF
6841 #line 6842 "configure"
6842 #include "confdefs.h"
6843 /* System header to define __stub macros and hopefully few prototypes,
6844 which can conflict with char $ac_func(); below. */
6846 /* Override any gcc2 internal prototype to avoid an error. */
6847 /* We use char because int might match the return type of a gcc2
6848 builtin and then its argument prototype would still apply. */
6853 /* The GNU C library defines this for functions which it implements
6854 to always fail with ENOSYS. Some functions are actually named
6855 something starting with __ and the normal name is an alias. */
6856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6864 if { (eval echo configure
:6865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6866 eval "ac_cv_func_$ac_func=yes"
6868 echo "configure: failed program was:" >&5
6869 cat conftest.
$ac_ext >&5
6871 eval "ac_cv_func_$ac_func=no"
6876 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6877 echo "$ac_t""yes" 1>&6
6878 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6879 cat >> confdefs.h
<<EOF
6880 #define $ac_tr_func 1
6884 echo "$ac_t""no" 1>&6
6890 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
6891 echo "configure:6892: checking for _sincos declaration" >&5
6892 if test x
${glibcpp_cv_func__sincos_use+set} != xset
; then
6893 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
6894 echo $ac_n "(cached) $ac_c" 1>&6
6899 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6900 ac_cpp
='$CXXCPP $CPPFLAGS'
6901 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6902 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6903 cross_compiling
=$ac_cv_prog_cxx_cross
6905 cat > conftest.
$ac_ext <<EOF
6906 #line 6907 "configure"
6907 #include "confdefs.h"
6913 if { (eval echo configure
:6914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6915 glibcpp_cv_func__sincos_use
=yes
6917 echo "configure: failed program was:" >&5
6918 cat conftest.
$ac_ext >&5
6920 glibcpp_cv_func__sincos_use
=no
6924 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6925 ac_cpp
='$CPP $CPPFLAGS'
6926 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6927 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6928 cross_compiling
=$ac_cv_prog_cc_cross
6934 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
6936 if test x
$glibcpp_cv_func__sincos_use = x
"yes"; then
6937 for ac_func
in _sincos
6939 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6940 echo "configure:6941: checking for $ac_func" >&5
6941 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6942 echo $ac_n "(cached) $ac_c" 1>&6
6944 cat > conftest.
$ac_ext <<EOF
6945 #line 6946 "configure"
6946 #include "confdefs.h"
6947 /* System header to define __stub macros and hopefully few prototypes,
6948 which can conflict with char $ac_func(); below. */
6950 /* Override any gcc2 internal prototype to avoid an error. */
6951 /* We use char because int might match the return type of a gcc2
6952 builtin and then its argument prototype would still apply. */
6957 /* The GNU C library defines this for functions which it implements
6958 to always fail with ENOSYS. Some functions are actually named
6959 something starting with __ and the normal name is an alias. */
6960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6968 if { (eval echo configure
:6969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6970 eval "ac_cv_func_$ac_func=yes"
6972 echo "configure: failed program was:" >&5
6973 cat conftest.
$ac_ext >&5
6975 eval "ac_cv_func_$ac_func=no"
6980 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6981 echo "$ac_t""yes" 1>&6
6982 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6983 cat >> confdefs.h
<<EOF
6984 #define $ac_tr_func 1
6988 echo "$ac_t""no" 1>&6
6997 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
6998 echo "configure:6999: checking for fpclass declaration" >&5
6999 if test x
${glibcpp_cv_func_fpclass_use+set} != xset
; then
7000 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7001 echo $ac_n "(cached) $ac_c" 1>&6
7006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7007 ac_cpp
='$CXXCPP $CPPFLAGS'
7008 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7009 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7010 cross_compiling
=$ac_cv_prog_cxx_cross
7012 cat > conftest.
$ac_ext <<EOF
7013 #line 7014 "configure"
7014 #include "confdefs.h"
7016 #ifdef HAVE_IEEEFP_H
7024 if { (eval echo configure
:7025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7026 glibcpp_cv_func_fpclass_use
=yes
7028 echo "configure: failed program was:" >&5
7029 cat conftest.
$ac_ext >&5
7031 glibcpp_cv_func_fpclass_use
=no
7035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7036 ac_cpp
='$CPP $CPPFLAGS'
7037 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7038 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7039 cross_compiling
=$ac_cv_prog_cc_cross
7045 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7047 if test x
$glibcpp_cv_func_fpclass_use = x
"yes"; then
7048 for ac_func
in fpclass
7050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7051 echo "configure:7052: checking for $ac_func" >&5
7052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7053 echo $ac_n "(cached) $ac_c" 1>&6
7055 cat > conftest.
$ac_ext <<EOF
7056 #line 7057 "configure"
7057 #include "confdefs.h"
7058 /* System header to define __stub macros and hopefully few prototypes,
7059 which can conflict with char $ac_func(); below. */
7061 /* Override any gcc2 internal prototype to avoid an error. */
7062 /* We use char because int might match the return type of a gcc2
7063 builtin and then its argument prototype would still apply. */
7068 /* The GNU C library defines this for functions which it implements
7069 to always fail with ENOSYS. Some functions are actually named
7070 something starting with __ and the normal name is an alias. */
7071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7079 if { (eval echo configure
:7080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7081 eval "ac_cv_func_$ac_func=yes"
7083 echo "configure: failed program was:" >&5
7084 cat conftest.
$ac_ext >&5
7086 eval "ac_cv_func_$ac_func=no"
7091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7092 echo "$ac_t""yes" 1>&6
7093 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7094 cat >> confdefs.h
<<EOF
7095 #define $ac_tr_func 1
7099 echo "$ac_t""no" 1>&6
7105 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7106 echo "configure:7107: checking for _fpclass declaration" >&5
7107 if test x
${glibcpp_cv_func__fpclass_use+set} != xset
; then
7108 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7109 echo $ac_n "(cached) $ac_c" 1>&6
7114 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7115 ac_cpp
='$CXXCPP $CPPFLAGS'
7116 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7117 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7118 cross_compiling
=$ac_cv_prog_cxx_cross
7120 cat > conftest.
$ac_ext <<EOF
7121 #line 7122 "configure"
7122 #include "confdefs.h"
7124 #ifdef HAVE_IEEEFP_H
7132 if { (eval echo configure
:7133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7134 glibcpp_cv_func__fpclass_use
=yes
7136 echo "configure: failed program was:" >&5
7137 cat conftest.
$ac_ext >&5
7139 glibcpp_cv_func__fpclass_use
=no
7143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7144 ac_cpp
='$CPP $CPPFLAGS'
7145 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7146 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7147 cross_compiling
=$ac_cv_prog_cc_cross
7153 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7155 if test x
$glibcpp_cv_func__fpclass_use = x
"yes"; then
7156 for ac_func
in _fpclass
7158 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7159 echo "configure:7160: checking for $ac_func" >&5
7160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7161 echo $ac_n "(cached) $ac_c" 1>&6
7163 cat > conftest.
$ac_ext <<EOF
7164 #line 7165 "configure"
7165 #include "confdefs.h"
7166 /* System header to define __stub macros and hopefully few prototypes,
7167 which can conflict with char $ac_func(); below. */
7169 /* Override any gcc2 internal prototype to avoid an error. */
7170 /* We use char because int might match the return type of a gcc2
7171 builtin and then its argument prototype would still apply. */
7176 /* The GNU C library defines this for functions which it implements
7177 to always fail with ENOSYS. Some functions are actually named
7178 something starting with __ and the normal name is an alias. */
7179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7187 if { (eval echo configure
:7188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7189 eval "ac_cv_func_$ac_func=yes"
7191 echo "configure: failed program was:" >&5
7192 cat conftest.
$ac_ext >&5
7194 eval "ac_cv_func_$ac_func=no"
7199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7200 echo "$ac_t""yes" 1>&6
7201 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7202 cat >> confdefs.h
<<EOF
7203 #define $ac_tr_func 1
7207 echo "$ac_t""no" 1>&6
7216 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7217 echo "configure:7218: checking for qfpclass declaration" >&5
7218 if test x
${glibcpp_cv_func_qfpclass_use+set} != xset
; then
7219 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7220 echo $ac_n "(cached) $ac_c" 1>&6
7225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7226 ac_cpp
='$CXXCPP $CPPFLAGS'
7227 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7228 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7229 cross_compiling
=$ac_cv_prog_cxx_cross
7231 cat > conftest.
$ac_ext <<EOF
7232 #line 7233 "configure"
7233 #include "confdefs.h"
7235 #ifdef HAVE_IEEEFP_H
7243 if { (eval echo configure
:7244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7245 glibcpp_cv_func_qfpclass_use
=yes
7247 echo "configure: failed program was:" >&5
7248 cat conftest.
$ac_ext >&5
7250 glibcpp_cv_func_qfpclass_use
=no
7254 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7255 ac_cpp
='$CPP $CPPFLAGS'
7256 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7257 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7258 cross_compiling
=$ac_cv_prog_cc_cross
7264 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7266 if test x
$glibcpp_cv_func_qfpclass_use = x
"yes"; then
7267 for ac_func
in qfpclass
7269 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7270 echo "configure:7271: checking for $ac_func" >&5
7271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7272 echo $ac_n "(cached) $ac_c" 1>&6
7274 cat > conftest.
$ac_ext <<EOF
7275 #line 7276 "configure"
7276 #include "confdefs.h"
7277 /* System header to define __stub macros and hopefully few prototypes,
7278 which can conflict with char $ac_func(); below. */
7280 /* Override any gcc2 internal prototype to avoid an error. */
7281 /* We use char because int might match the return type of a gcc2
7282 builtin and then its argument prototype would still apply. */
7287 /* The GNU C library defines this for functions which it implements
7288 to always fail with ENOSYS. Some functions are actually named
7289 something starting with __ and the normal name is an alias. */
7290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7298 if { (eval echo configure
:7299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7300 eval "ac_cv_func_$ac_func=yes"
7302 echo "configure: failed program was:" >&5
7303 cat conftest.
$ac_ext >&5
7305 eval "ac_cv_func_$ac_func=no"
7310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7311 echo "$ac_t""yes" 1>&6
7312 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7313 cat >> confdefs.h
<<EOF
7314 #define $ac_tr_func 1
7318 echo "$ac_t""no" 1>&6
7324 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
7325 echo "configure:7326: checking for _qfpclass declaration" >&5
7326 if test x
${glibcpp_cv_func__qfpclass_use+set} != xset
; then
7327 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7328 echo $ac_n "(cached) $ac_c" 1>&6
7333 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7334 ac_cpp
='$CXXCPP $CPPFLAGS'
7335 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7336 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7337 cross_compiling
=$ac_cv_prog_cxx_cross
7339 cat > conftest.
$ac_ext <<EOF
7340 #line 7341 "configure"
7341 #include "confdefs.h"
7343 #ifdef HAVE_IEEEFP_H
7351 if { (eval echo configure
:7352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7353 glibcpp_cv_func__qfpclass_use
=yes
7355 echo "configure: failed program was:" >&5
7356 cat conftest.
$ac_ext >&5
7358 glibcpp_cv_func__qfpclass_use
=no
7362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7363 ac_cpp
='$CPP $CPPFLAGS'
7364 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7365 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7366 cross_compiling
=$ac_cv_prog_cc_cross
7372 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7374 if test x
$glibcpp_cv_func__qfpclass_use = x
"yes"; then
7375 for ac_func
in _qfpclass
7377 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7378 echo "configure:7379: checking for $ac_func" >&5
7379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7380 echo $ac_n "(cached) $ac_c" 1>&6
7382 cat > conftest.
$ac_ext <<EOF
7383 #line 7384 "configure"
7384 #include "confdefs.h"
7385 /* System header to define __stub macros and hopefully few prototypes,
7386 which can conflict with char $ac_func(); below. */
7388 /* Override any gcc2 internal prototype to avoid an error. */
7389 /* We use char because int might match the return type of a gcc2
7390 builtin and then its argument prototype would still apply. */
7395 /* The GNU C library defines this for functions which it implements
7396 to always fail with ENOSYS. Some functions are actually named
7397 something starting with __ and the normal name is an alias. */
7398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7406 if { (eval echo configure
:7407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7408 eval "ac_cv_func_$ac_func=yes"
7410 echo "configure: failed program was:" >&5
7411 cat conftest.
$ac_ext >&5
7413 eval "ac_cv_func_$ac_func=no"
7418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7419 echo "$ac_t""yes" 1>&6
7420 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7421 cat >> confdefs.h
<<EOF
7422 #define $ac_tr_func 1
7426 echo "$ac_t""no" 1>&6
7435 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
7436 echo "configure:7437: checking for float trig functions" >&5
7437 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
7438 echo $ac_n "(cached) $ac_c" 1>&6
7443 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7444 ac_cpp
='$CXXCPP $CPPFLAGS'
7445 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7446 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7447 cross_compiling
=$ac_cv_prog_cxx_cross
7449 cat > conftest.
$ac_ext <<EOF
7450 #line 7451 "configure"
7451 #include "confdefs.h"
7454 `for x in acosf asinf atanf \
7456 coshf sinhf tanhf; do echo "$x (0);"; done`
7459 if { (eval echo configure
:7460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7461 glibcpp_cv_func_float_trig_use
=yes
7463 echo "configure: failed program was:" >&5
7464 cat conftest.
$ac_ext >&5
7466 glibcpp_cv_func_float_trig_use
=no
7470 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7471 ac_cpp
='$CPP $CPPFLAGS'
7472 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7473 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7474 cross_compiling
=$ac_cv_prog_cc_cross
7478 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
7479 if test x
$glibcpp_cv_func_float_trig_use = x
"yes"; then
7480 for ac_func
in acosf asinf atanf \
7484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7485 echo "configure:7486: checking for $ac_func" >&5
7486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7487 echo $ac_n "(cached) $ac_c" 1>&6
7489 cat > conftest.
$ac_ext <<EOF
7490 #line 7491 "configure"
7491 #include "confdefs.h"
7492 /* System header to define __stub macros and hopefully few prototypes,
7493 which can conflict with char $ac_func(); below. */
7495 /* Override any gcc2 internal prototype to avoid an error. */
7496 /* We use char because int might match the return type of a gcc2
7497 builtin and then its argument prototype would still apply. */
7502 /* The GNU C library defines this for functions which it implements
7503 to always fail with ENOSYS. Some functions are actually named
7504 something starting with __ and the normal name is an alias. */
7505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7513 if { (eval echo configure
:7514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7515 eval "ac_cv_func_$ac_func=yes"
7517 echo "configure: failed program was:" >&5
7518 cat conftest.
$ac_ext >&5
7520 eval "ac_cv_func_$ac_func=no"
7525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7526 echo "$ac_t""yes" 1>&6
7527 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7528 cat >> confdefs.h
<<EOF
7529 #define $ac_tr_func 1
7533 echo "$ac_t""no" 1>&6
7540 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
7541 echo "configure:7542: checking for float round functions" >&5
7542 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
7543 echo $ac_n "(cached) $ac_c" 1>&6
7548 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7549 ac_cpp
='$CXXCPP $CPPFLAGS'
7550 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7551 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7552 cross_compiling
=$ac_cv_prog_cxx_cross
7554 cat > conftest.
$ac_ext <<EOF
7555 #line 7556 "configure"
7556 #include "confdefs.h"
7559 `for x in ceilf floorf; do echo "$x (0);"; done`
7562 if { (eval echo configure
:7563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7564 glibcpp_cv_func_float_round_use
=yes
7566 echo "configure: failed program was:" >&5
7567 cat conftest.
$ac_ext >&5
7569 glibcpp_cv_func_float_round_use
=no
7573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7574 ac_cpp
='$CPP $CPPFLAGS'
7575 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7576 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7577 cross_compiling
=$ac_cv_prog_cc_cross
7581 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
7582 if test x
$glibcpp_cv_func_float_round_use = x
"yes"; then
7583 for ac_func
in ceilf floorf
7585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7586 echo "configure:7587: checking for $ac_func" >&5
7587 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7588 echo $ac_n "(cached) $ac_c" 1>&6
7590 cat > conftest.
$ac_ext <<EOF
7591 #line 7592 "configure"
7592 #include "confdefs.h"
7593 /* System header to define __stub macros and hopefully few prototypes,
7594 which can conflict with char $ac_func(); below. */
7596 /* Override any gcc2 internal prototype to avoid an error. */
7597 /* We use char because int might match the return type of a gcc2
7598 builtin and then its argument prototype would still apply. */
7603 /* The GNU C library defines this for functions which it implements
7604 to always fail with ENOSYS. Some functions are actually named
7605 something starting with __ and the normal name is an alias. */
7606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7614 if { (eval echo configure
:7615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7616 eval "ac_cv_func_$ac_func=yes"
7618 echo "configure: failed program was:" >&5
7619 cat conftest.
$ac_ext >&5
7621 eval "ac_cv_func_$ac_func=no"
7626 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7627 echo "$ac_t""yes" 1>&6
7628 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7629 cat >> confdefs.h
<<EOF
7630 #define $ac_tr_func 1
7634 echo "$ac_t""no" 1>&6
7642 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
7643 echo "configure:7644: checking for isnanf declaration" >&5
7644 if test x
${glibcpp_cv_func_isnanf_use+set} != xset
; then
7645 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
7646 echo $ac_n "(cached) $ac_c" 1>&6
7651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7652 ac_cpp
='$CXXCPP $CPPFLAGS'
7653 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7654 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7655 cross_compiling
=$ac_cv_prog_cxx_cross
7657 cat > conftest.
$ac_ext <<EOF
7658 #line 7659 "configure"
7659 #include "confdefs.h"
7661 #ifdef HAVE_IEEEFP_H
7669 if { (eval echo configure
:7670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7671 glibcpp_cv_func_isnanf_use
=yes
7673 echo "configure: failed program was:" >&5
7674 cat conftest.
$ac_ext >&5
7676 glibcpp_cv_func_isnanf_use
=no
7680 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7681 ac_cpp
='$CPP $CPPFLAGS'
7682 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7683 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7684 cross_compiling
=$ac_cv_prog_cc_cross
7690 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
7692 if test x
$glibcpp_cv_func_isnanf_use = x
"yes"; then
7693 for ac_func
in isnanf
7695 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7696 echo "configure:7697: checking for $ac_func" >&5
7697 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7698 echo $ac_n "(cached) $ac_c" 1>&6
7700 cat > conftest.
$ac_ext <<EOF
7701 #line 7702 "configure"
7702 #include "confdefs.h"
7703 /* System header to define __stub macros and hopefully few prototypes,
7704 which can conflict with char $ac_func(); below. */
7706 /* Override any gcc2 internal prototype to avoid an error. */
7707 /* We use char because int might match the return type of a gcc2
7708 builtin and then its argument prototype would still apply. */
7713 /* The GNU C library defines this for functions which it implements
7714 to always fail with ENOSYS. Some functions are actually named
7715 something starting with __ and the normal name is an alias. */
7716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7724 if { (eval echo configure
:7725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7726 eval "ac_cv_func_$ac_func=yes"
7728 echo "configure: failed program was:" >&5
7729 cat conftest.
$ac_ext >&5
7731 eval "ac_cv_func_$ac_func=no"
7736 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7737 echo "$ac_t""yes" 1>&6
7738 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7739 cat >> confdefs.h
<<EOF
7740 #define $ac_tr_func 1
7744 echo "$ac_t""no" 1>&6
7750 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
7751 echo "configure:7752: checking for _isnanf declaration" >&5
7752 if test x
${glibcpp_cv_func__isnanf_use+set} != xset
; then
7753 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
7754 echo $ac_n "(cached) $ac_c" 1>&6
7759 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7760 ac_cpp
='$CXXCPP $CPPFLAGS'
7761 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7762 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7763 cross_compiling
=$ac_cv_prog_cxx_cross
7765 cat > conftest.
$ac_ext <<EOF
7766 #line 7767 "configure"
7767 #include "confdefs.h"
7769 #ifdef HAVE_IEEEFP_H
7777 if { (eval echo configure
:7778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7779 glibcpp_cv_func__isnanf_use
=yes
7781 echo "configure: failed program was:" >&5
7782 cat conftest.
$ac_ext >&5
7784 glibcpp_cv_func__isnanf_use
=no
7788 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7789 ac_cpp
='$CPP $CPPFLAGS'
7790 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7791 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7792 cross_compiling
=$ac_cv_prog_cc_cross
7798 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
7800 if test x
$glibcpp_cv_func__isnanf_use = x
"yes"; then
7801 for ac_func
in _isnanf
7803 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7804 echo "configure:7805: checking for $ac_func" >&5
7805 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7806 echo $ac_n "(cached) $ac_c" 1>&6
7808 cat > conftest.
$ac_ext <<EOF
7809 #line 7810 "configure"
7810 #include "confdefs.h"
7811 /* System header to define __stub macros and hopefully few prototypes,
7812 which can conflict with char $ac_func(); below. */
7814 /* Override any gcc2 internal prototype to avoid an error. */
7815 /* We use char because int might match the return type of a gcc2
7816 builtin and then its argument prototype would still apply. */
7821 /* The GNU C library defines this for functions which it implements
7822 to always fail with ENOSYS. Some functions are actually named
7823 something starting with __ and the normal name is an alias. */
7824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7832 if { (eval echo configure
:7833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7834 eval "ac_cv_func_$ac_func=yes"
7836 echo "configure: failed program was:" >&5
7837 cat conftest.
$ac_ext >&5
7839 eval "ac_cv_func_$ac_func=no"
7844 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7845 echo "$ac_t""yes" 1>&6
7846 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7847 cat >> confdefs.h
<<EOF
7848 #define $ac_tr_func 1
7852 echo "$ac_t""no" 1>&6
7861 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
7862 echo "configure:7863: checking for isinff declaration" >&5
7863 if test x
${glibcpp_cv_func_isinff_use+set} != xset
; then
7864 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
7865 echo $ac_n "(cached) $ac_c" 1>&6
7870 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7871 ac_cpp
='$CXXCPP $CPPFLAGS'
7872 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7873 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7874 cross_compiling
=$ac_cv_prog_cxx_cross
7876 cat > conftest.
$ac_ext <<EOF
7877 #line 7878 "configure"
7878 #include "confdefs.h"
7880 #ifdef HAVE_IEEEFP_H
7888 if { (eval echo configure
:7889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7890 glibcpp_cv_func_isinff_use
=yes
7892 echo "configure: failed program was:" >&5
7893 cat conftest.
$ac_ext >&5
7895 glibcpp_cv_func_isinff_use
=no
7899 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7900 ac_cpp
='$CPP $CPPFLAGS'
7901 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7902 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7903 cross_compiling
=$ac_cv_prog_cc_cross
7909 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
7911 if test x
$glibcpp_cv_func_isinff_use = x
"yes"; then
7912 for ac_func
in isinff
7914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7915 echo "configure:7916: checking for $ac_func" >&5
7916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7917 echo $ac_n "(cached) $ac_c" 1>&6
7919 cat > conftest.
$ac_ext <<EOF
7920 #line 7921 "configure"
7921 #include "confdefs.h"
7922 /* System header to define __stub macros and hopefully few prototypes,
7923 which can conflict with char $ac_func(); below. */
7925 /* Override any gcc2 internal prototype to avoid an error. */
7926 /* We use char because int might match the return type of a gcc2
7927 builtin and then its argument prototype would still apply. */
7932 /* The GNU C library defines this for functions which it implements
7933 to always fail with ENOSYS. Some functions are actually named
7934 something starting with __ and the normal name is an alias. */
7935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7943 if { (eval echo configure
:7944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7945 eval "ac_cv_func_$ac_func=yes"
7947 echo "configure: failed program was:" >&5
7948 cat conftest.
$ac_ext >&5
7950 eval "ac_cv_func_$ac_func=no"
7955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7956 echo "$ac_t""yes" 1>&6
7957 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7958 cat >> confdefs.h
<<EOF
7959 #define $ac_tr_func 1
7963 echo "$ac_t""no" 1>&6
7969 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
7970 echo "configure:7971: checking for _isinff declaration" >&5
7971 if test x
${glibcpp_cv_func__isinff_use+set} != xset
; then
7972 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
7973 echo $ac_n "(cached) $ac_c" 1>&6
7978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7979 ac_cpp
='$CXXCPP $CPPFLAGS'
7980 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7981 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7982 cross_compiling
=$ac_cv_prog_cxx_cross
7984 cat > conftest.
$ac_ext <<EOF
7985 #line 7986 "configure"
7986 #include "confdefs.h"
7988 #ifdef HAVE_IEEEFP_H
7996 if { (eval echo configure
:7997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7998 glibcpp_cv_func__isinff_use
=yes
8000 echo "configure: failed program was:" >&5
8001 cat conftest.
$ac_ext >&5
8003 glibcpp_cv_func__isinff_use
=no
8007 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8008 ac_cpp
='$CPP $CPPFLAGS'
8009 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8010 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8011 cross_compiling
=$ac_cv_prog_cc_cross
8017 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8019 if test x
$glibcpp_cv_func__isinff_use = x
"yes"; then
8020 for ac_func
in _isinff
8022 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8023 echo "configure:8024: checking for $ac_func" >&5
8024 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8025 echo $ac_n "(cached) $ac_c" 1>&6
8027 cat > conftest.
$ac_ext <<EOF
8028 #line 8029 "configure"
8029 #include "confdefs.h"
8030 /* System header to define __stub macros and hopefully few prototypes,
8031 which can conflict with char $ac_func(); below. */
8033 /* Override any gcc2 internal prototype to avoid an error. */
8034 /* We use char because int might match the return type of a gcc2
8035 builtin and then its argument prototype would still apply. */
8040 /* The GNU C library defines this for functions which it implements
8041 to always fail with ENOSYS. Some functions are actually named
8042 something starting with __ and the normal name is an alias. */
8043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8051 if { (eval echo configure
:8052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8053 eval "ac_cv_func_$ac_func=yes"
8055 echo "configure: failed program was:" >&5
8056 cat conftest.
$ac_ext >&5
8058 eval "ac_cv_func_$ac_func=no"
8063 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8064 echo "$ac_t""yes" 1>&6
8065 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8066 cat >> confdefs.h
<<EOF
8067 #define $ac_tr_func 1
8071 echo "$ac_t""no" 1>&6
8080 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
8081 echo "configure:8082: checking for fabsf declaration" >&5
8082 if test x
${glibcpp_cv_func_fabsf_use+set} != xset
; then
8083 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8084 echo $ac_n "(cached) $ac_c" 1>&6
8089 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8090 ac_cpp
='$CXXCPP $CPPFLAGS'
8091 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8092 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8093 cross_compiling
=$ac_cv_prog_cxx_cross
8095 cat > conftest.
$ac_ext <<EOF
8096 #line 8097 "configure"
8097 #include "confdefs.h"
8099 #ifdef HAVE_IEEEFP_H
8107 if { (eval echo configure
:8108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8109 glibcpp_cv_func_fabsf_use
=yes
8111 echo "configure: failed program was:" >&5
8112 cat conftest.
$ac_ext >&5
8114 glibcpp_cv_func_fabsf_use
=no
8118 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8119 ac_cpp
='$CPP $CPPFLAGS'
8120 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8121 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8122 cross_compiling
=$ac_cv_prog_cc_cross
8128 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8130 if test x
$glibcpp_cv_func_fabsf_use = x
"yes"; then
8131 for ac_func
in fabsf
8133 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8134 echo "configure:8135: checking for $ac_func" >&5
8135 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8136 echo $ac_n "(cached) $ac_c" 1>&6
8138 cat > conftest.
$ac_ext <<EOF
8139 #line 8140 "configure"
8140 #include "confdefs.h"
8141 /* System header to define __stub macros and hopefully few prototypes,
8142 which can conflict with char $ac_func(); below. */
8144 /* Override any gcc2 internal prototype to avoid an error. */
8145 /* We use char because int might match the return type of a gcc2
8146 builtin and then its argument prototype would still apply. */
8151 /* The GNU C library defines this for functions which it implements
8152 to always fail with ENOSYS. Some functions are actually named
8153 something starting with __ and the normal name is an alias. */
8154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8162 if { (eval echo configure
:8163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8164 eval "ac_cv_func_$ac_func=yes"
8166 echo "configure: failed program was:" >&5
8167 cat conftest.
$ac_ext >&5
8169 eval "ac_cv_func_$ac_func=no"
8174 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8175 echo "$ac_t""yes" 1>&6
8176 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8177 cat >> confdefs.h
<<EOF
8178 #define $ac_tr_func 1
8182 echo "$ac_t""no" 1>&6
8188 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
8189 echo "configure:8190: checking for _fabsf declaration" >&5
8190 if test x
${glibcpp_cv_func__fabsf_use+set} != xset
; then
8191 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
8192 echo $ac_n "(cached) $ac_c" 1>&6
8197 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8198 ac_cpp
='$CXXCPP $CPPFLAGS'
8199 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8200 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8201 cross_compiling
=$ac_cv_prog_cxx_cross
8203 cat > conftest.
$ac_ext <<EOF
8204 #line 8205 "configure"
8205 #include "confdefs.h"
8207 #ifdef HAVE_IEEEFP_H
8215 if { (eval echo configure
:8216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8217 glibcpp_cv_func__fabsf_use
=yes
8219 echo "configure: failed program was:" >&5
8220 cat conftest.
$ac_ext >&5
8222 glibcpp_cv_func__fabsf_use
=no
8226 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8227 ac_cpp
='$CPP $CPPFLAGS'
8228 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8229 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8230 cross_compiling
=$ac_cv_prog_cc_cross
8236 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
8238 if test x
$glibcpp_cv_func__fabsf_use = x
"yes"; then
8239 for ac_func
in _fabsf
8241 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8242 echo "configure:8243: checking for $ac_func" >&5
8243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8244 echo $ac_n "(cached) $ac_c" 1>&6
8246 cat > conftest.
$ac_ext <<EOF
8247 #line 8248 "configure"
8248 #include "confdefs.h"
8249 /* System header to define __stub macros and hopefully few prototypes,
8250 which can conflict with char $ac_func(); below. */
8252 /* Override any gcc2 internal prototype to avoid an error. */
8253 /* We use char because int might match the return type of a gcc2
8254 builtin and then its argument prototype would still apply. */
8259 /* The GNU C library defines this for functions which it implements
8260 to always fail with ENOSYS. Some functions are actually named
8261 something starting with __ and the normal name is an alias. */
8262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8270 if { (eval echo configure
:8271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8272 eval "ac_cv_func_$ac_func=yes"
8274 echo "configure: failed program was:" >&5
8275 cat conftest.
$ac_ext >&5
8277 eval "ac_cv_func_$ac_func=no"
8282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8283 echo "$ac_t""yes" 1>&6
8284 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8285 cat >> confdefs.h
<<EOF
8286 #define $ac_tr_func 1
8290 echo "$ac_t""no" 1>&6
8299 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
8300 echo "configure:8301: checking for fmodf declaration" >&5
8301 if test x
${glibcpp_cv_func_fmodf_use+set} != xset
; then
8302 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
8303 echo $ac_n "(cached) $ac_c" 1>&6
8308 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8309 ac_cpp
='$CXXCPP $CPPFLAGS'
8310 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8311 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8312 cross_compiling
=$ac_cv_prog_cxx_cross
8314 cat > conftest.
$ac_ext <<EOF
8315 #line 8316 "configure"
8316 #include "confdefs.h"
8322 if { (eval echo configure
:8323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8324 glibcpp_cv_func_fmodf_use
=yes
8326 echo "configure: failed program was:" >&5
8327 cat conftest.
$ac_ext >&5
8329 glibcpp_cv_func_fmodf_use
=no
8333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8334 ac_cpp
='$CPP $CPPFLAGS'
8335 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8336 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8337 cross_compiling
=$ac_cv_prog_cc_cross
8343 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
8345 if test x
$glibcpp_cv_func_fmodf_use = x
"yes"; then
8346 for ac_func
in fmodf
8348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8349 echo "configure:8350: checking for $ac_func" >&5
8350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8351 echo $ac_n "(cached) $ac_c" 1>&6
8353 cat > conftest.
$ac_ext <<EOF
8354 #line 8355 "configure"
8355 #include "confdefs.h"
8356 /* System header to define __stub macros and hopefully few prototypes,
8357 which can conflict with char $ac_func(); below. */
8359 /* Override any gcc2 internal prototype to avoid an error. */
8360 /* We use char because int might match the return type of a gcc2
8361 builtin and then its argument prototype would still apply. */
8366 /* The GNU C library defines this for functions which it implements
8367 to always fail with ENOSYS. Some functions are actually named
8368 something starting with __ and the normal name is an alias. */
8369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8377 if { (eval echo configure
:8378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8379 eval "ac_cv_func_$ac_func=yes"
8381 echo "configure: failed program was:" >&5
8382 cat conftest.
$ac_ext >&5
8384 eval "ac_cv_func_$ac_func=no"
8389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8390 echo "$ac_t""yes" 1>&6
8391 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8392 cat >> confdefs.h
<<EOF
8393 #define $ac_tr_func 1
8397 echo "$ac_t""no" 1>&6
8403 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
8404 echo "configure:8405: checking for _fmodf declaration" >&5
8405 if test x
${glibcpp_cv_func__fmodf_use+set} != xset
; then
8406 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
8407 echo $ac_n "(cached) $ac_c" 1>&6
8412 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8413 ac_cpp
='$CXXCPP $CPPFLAGS'
8414 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8415 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8416 cross_compiling
=$ac_cv_prog_cxx_cross
8418 cat > conftest.
$ac_ext <<EOF
8419 #line 8420 "configure"
8420 #include "confdefs.h"
8426 if { (eval echo configure
:8427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8428 glibcpp_cv_func__fmodf_use
=yes
8430 echo "configure: failed program was:" >&5
8431 cat conftest.
$ac_ext >&5
8433 glibcpp_cv_func__fmodf_use
=no
8437 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8438 ac_cpp
='$CPP $CPPFLAGS'
8439 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8440 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8441 cross_compiling
=$ac_cv_prog_cc_cross
8447 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
8449 if test x
$glibcpp_cv_func__fmodf_use = x
"yes"; then
8450 for ac_func
in _fmodf
8452 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8453 echo "configure:8454: checking for $ac_func" >&5
8454 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8455 echo $ac_n "(cached) $ac_c" 1>&6
8457 cat > conftest.
$ac_ext <<EOF
8458 #line 8459 "configure"
8459 #include "confdefs.h"
8460 /* System header to define __stub macros and hopefully few prototypes,
8461 which can conflict with char $ac_func(); below. */
8463 /* Override any gcc2 internal prototype to avoid an error. */
8464 /* We use char because int might match the return type of a gcc2
8465 builtin and then its argument prototype would still apply. */
8470 /* The GNU C library defines this for functions which it implements
8471 to always fail with ENOSYS. Some functions are actually named
8472 something starting with __ and the normal name is an alias. */
8473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8481 if { (eval echo configure
:8482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8483 eval "ac_cv_func_$ac_func=yes"
8485 echo "configure: failed program was:" >&5
8486 cat conftest.
$ac_ext >&5
8488 eval "ac_cv_func_$ac_func=no"
8493 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8494 echo "$ac_t""yes" 1>&6
8495 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8496 cat >> confdefs.h
<<EOF
8497 #define $ac_tr_func 1
8501 echo "$ac_t""no" 1>&6
8510 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
8511 echo "configure:8512: checking for frexpf declaration" >&5
8512 if test x
${glibcpp_cv_func_frexpf_use+set} != xset
; then
8513 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
8514 echo $ac_n "(cached) $ac_c" 1>&6
8519 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8520 ac_cpp
='$CXXCPP $CPPFLAGS'
8521 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8522 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8523 cross_compiling
=$ac_cv_prog_cxx_cross
8525 cat > conftest.
$ac_ext <<EOF
8526 #line 8527 "configure"
8527 #include "confdefs.h"
8533 if { (eval echo configure
:8534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8535 glibcpp_cv_func_frexpf_use
=yes
8537 echo "configure: failed program was:" >&5
8538 cat conftest.
$ac_ext >&5
8540 glibcpp_cv_func_frexpf_use
=no
8544 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8545 ac_cpp
='$CPP $CPPFLAGS'
8546 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8547 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8548 cross_compiling
=$ac_cv_prog_cc_cross
8554 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
8556 if test x
$glibcpp_cv_func_frexpf_use = x
"yes"; then
8557 for ac_func
in frexpf
8559 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8560 echo "configure:8561: checking for $ac_func" >&5
8561 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8562 echo $ac_n "(cached) $ac_c" 1>&6
8564 cat > conftest.
$ac_ext <<EOF
8565 #line 8566 "configure"
8566 #include "confdefs.h"
8567 /* System header to define __stub macros and hopefully few prototypes,
8568 which can conflict with char $ac_func(); below. */
8570 /* Override any gcc2 internal prototype to avoid an error. */
8571 /* We use char because int might match the return type of a gcc2
8572 builtin and then its argument prototype would still apply. */
8577 /* The GNU C library defines this for functions which it implements
8578 to always fail with ENOSYS. Some functions are actually named
8579 something starting with __ and the normal name is an alias. */
8580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8588 if { (eval echo configure
:8589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8590 eval "ac_cv_func_$ac_func=yes"
8592 echo "configure: failed program was:" >&5
8593 cat conftest.
$ac_ext >&5
8595 eval "ac_cv_func_$ac_func=no"
8600 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8601 echo "$ac_t""yes" 1>&6
8602 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8603 cat >> confdefs.h
<<EOF
8604 #define $ac_tr_func 1
8608 echo "$ac_t""no" 1>&6
8614 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
8615 echo "configure:8616: checking for _frexpf declaration" >&5
8616 if test x
${glibcpp_cv_func__frexpf_use+set} != xset
; then
8617 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
8618 echo $ac_n "(cached) $ac_c" 1>&6
8623 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8624 ac_cpp
='$CXXCPP $CPPFLAGS'
8625 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8626 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8627 cross_compiling
=$ac_cv_prog_cxx_cross
8629 cat > conftest.
$ac_ext <<EOF
8630 #line 8631 "configure"
8631 #include "confdefs.h"
8637 if { (eval echo configure
:8638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8639 glibcpp_cv_func__frexpf_use
=yes
8641 echo "configure: failed program was:" >&5
8642 cat conftest.
$ac_ext >&5
8644 glibcpp_cv_func__frexpf_use
=no
8648 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8649 ac_cpp
='$CPP $CPPFLAGS'
8650 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8651 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8652 cross_compiling
=$ac_cv_prog_cc_cross
8658 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
8660 if test x
$glibcpp_cv_func__frexpf_use = x
"yes"; then
8661 for ac_func
in _frexpf
8663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8664 echo "configure:8665: checking for $ac_func" >&5
8665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8666 echo $ac_n "(cached) $ac_c" 1>&6
8668 cat > conftest.
$ac_ext <<EOF
8669 #line 8670 "configure"
8670 #include "confdefs.h"
8671 /* System header to define __stub macros and hopefully few prototypes,
8672 which can conflict with char $ac_func(); below. */
8674 /* Override any gcc2 internal prototype to avoid an error. */
8675 /* We use char because int might match the return type of a gcc2
8676 builtin and then its argument prototype would still apply. */
8681 /* The GNU C library defines this for functions which it implements
8682 to always fail with ENOSYS. Some functions are actually named
8683 something starting with __ and the normal name is an alias. */
8684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8692 if { (eval echo configure
:8693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8694 eval "ac_cv_func_$ac_func=yes"
8696 echo "configure: failed program was:" >&5
8697 cat conftest.
$ac_ext >&5
8699 eval "ac_cv_func_$ac_func=no"
8704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8705 echo "$ac_t""yes" 1>&6
8706 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8707 cat >> confdefs.h
<<EOF
8708 #define $ac_tr_func 1
8712 echo "$ac_t""no" 1>&6
8721 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
8722 echo "configure:8723: checking for ldexpf declaration" >&5
8723 if test x
${glibcpp_cv_func_ldexpf_use+set} != xset
; then
8724 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
8725 echo $ac_n "(cached) $ac_c" 1>&6
8730 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8731 ac_cpp
='$CXXCPP $CPPFLAGS'
8732 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8733 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8734 cross_compiling
=$ac_cv_prog_cxx_cross
8736 cat > conftest.
$ac_ext <<EOF
8737 #line 8738 "configure"
8738 #include "confdefs.h"
8744 if { (eval echo configure
:8745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8746 glibcpp_cv_func_ldexpf_use
=yes
8748 echo "configure: failed program was:" >&5
8749 cat conftest.
$ac_ext >&5
8751 glibcpp_cv_func_ldexpf_use
=no
8755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8756 ac_cpp
='$CPP $CPPFLAGS'
8757 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8758 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8759 cross_compiling
=$ac_cv_prog_cc_cross
8765 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
8767 if test x
$glibcpp_cv_func_ldexpf_use = x
"yes"; then
8768 for ac_func
in ldexpf
8770 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8771 echo "configure:8772: checking for $ac_func" >&5
8772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8773 echo $ac_n "(cached) $ac_c" 1>&6
8775 cat > conftest.
$ac_ext <<EOF
8776 #line 8777 "configure"
8777 #include "confdefs.h"
8778 /* System header to define __stub macros and hopefully few prototypes,
8779 which can conflict with char $ac_func(); below. */
8781 /* Override any gcc2 internal prototype to avoid an error. */
8782 /* We use char because int might match the return type of a gcc2
8783 builtin and then its argument prototype would still apply. */
8788 /* The GNU C library defines this for functions which it implements
8789 to always fail with ENOSYS. Some functions are actually named
8790 something starting with __ and the normal name is an alias. */
8791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8799 if { (eval echo configure
:8800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8801 eval "ac_cv_func_$ac_func=yes"
8803 echo "configure: failed program was:" >&5
8804 cat conftest.
$ac_ext >&5
8806 eval "ac_cv_func_$ac_func=no"
8811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8812 echo "$ac_t""yes" 1>&6
8813 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8814 cat >> confdefs.h
<<EOF
8815 #define $ac_tr_func 1
8819 echo "$ac_t""no" 1>&6
8825 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
8826 echo "configure:8827: checking for _ldexpf declaration" >&5
8827 if test x
${glibcpp_cv_func__ldexpf_use+set} != xset
; then
8828 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
8829 echo $ac_n "(cached) $ac_c" 1>&6
8834 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8835 ac_cpp
='$CXXCPP $CPPFLAGS'
8836 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8837 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8838 cross_compiling
=$ac_cv_prog_cxx_cross
8840 cat > conftest.
$ac_ext <<EOF
8841 #line 8842 "configure"
8842 #include "confdefs.h"
8848 if { (eval echo configure
:8849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8850 glibcpp_cv_func__ldexpf_use
=yes
8852 echo "configure: failed program was:" >&5
8853 cat conftest.
$ac_ext >&5
8855 glibcpp_cv_func__ldexpf_use
=no
8859 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8860 ac_cpp
='$CPP $CPPFLAGS'
8861 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8862 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8863 cross_compiling
=$ac_cv_prog_cc_cross
8869 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
8871 if test x
$glibcpp_cv_func__ldexpf_use = x
"yes"; then
8872 for ac_func
in _ldexpf
8874 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8875 echo "configure:8876: checking for $ac_func" >&5
8876 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8877 echo $ac_n "(cached) $ac_c" 1>&6
8879 cat > conftest.
$ac_ext <<EOF
8880 #line 8881 "configure"
8881 #include "confdefs.h"
8882 /* System header to define __stub macros and hopefully few prototypes,
8883 which can conflict with char $ac_func(); below. */
8885 /* Override any gcc2 internal prototype to avoid an error. */
8886 /* We use char because int might match the return type of a gcc2
8887 builtin and then its argument prototype would still apply. */
8892 /* The GNU C library defines this for functions which it implements
8893 to always fail with ENOSYS. Some functions are actually named
8894 something starting with __ and the normal name is an alias. */
8895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8903 if { (eval echo configure
:8904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8905 eval "ac_cv_func_$ac_func=yes"
8907 echo "configure: failed program was:" >&5
8908 cat conftest.
$ac_ext >&5
8910 eval "ac_cv_func_$ac_func=no"
8915 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8916 echo "$ac_t""yes" 1>&6
8917 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8918 cat >> confdefs.h
<<EOF
8919 #define $ac_tr_func 1
8923 echo "$ac_t""no" 1>&6
8932 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
8933 echo "configure:8934: checking for logf declaration" >&5
8934 if test x
${glibcpp_cv_func_logf_use+set} != xset
; then
8935 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
8936 echo $ac_n "(cached) $ac_c" 1>&6
8941 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8942 ac_cpp
='$CXXCPP $CPPFLAGS'
8943 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8944 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8945 cross_compiling
=$ac_cv_prog_cxx_cross
8947 cat > conftest.
$ac_ext <<EOF
8948 #line 8949 "configure"
8949 #include "confdefs.h"
8951 #ifdef HAVE_IEEEFP_H
8959 if { (eval echo configure
:8960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8961 glibcpp_cv_func_logf_use
=yes
8963 echo "configure: failed program was:" >&5
8964 cat conftest.
$ac_ext >&5
8966 glibcpp_cv_func_logf_use
=no
8970 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8971 ac_cpp
='$CPP $CPPFLAGS'
8972 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8973 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8974 cross_compiling
=$ac_cv_prog_cc_cross
8980 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
8982 if test x
$glibcpp_cv_func_logf_use = x
"yes"; then
8985 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8986 echo "configure:8987: checking for $ac_func" >&5
8987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8988 echo $ac_n "(cached) $ac_c" 1>&6
8990 cat > conftest.
$ac_ext <<EOF
8991 #line 8992 "configure"
8992 #include "confdefs.h"
8993 /* System header to define __stub macros and hopefully few prototypes,
8994 which can conflict with char $ac_func(); below. */
8996 /* Override any gcc2 internal prototype to avoid an error. */
8997 /* We use char because int might match the return type of a gcc2
8998 builtin and then its argument prototype would still apply. */
9003 /* The GNU C library defines this for functions which it implements
9004 to always fail with ENOSYS. Some functions are actually named
9005 something starting with __ and the normal name is an alias. */
9006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9014 if { (eval echo configure
:9015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9016 eval "ac_cv_func_$ac_func=yes"
9018 echo "configure: failed program was:" >&5
9019 cat conftest.
$ac_ext >&5
9021 eval "ac_cv_func_$ac_func=no"
9026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9027 echo "$ac_t""yes" 1>&6
9028 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9029 cat >> confdefs.h
<<EOF
9030 #define $ac_tr_func 1
9034 echo "$ac_t""no" 1>&6
9040 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
9041 echo "configure:9042: checking for _logf declaration" >&5
9042 if test x
${glibcpp_cv_func__logf_use+set} != xset
; then
9043 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
9044 echo $ac_n "(cached) $ac_c" 1>&6
9049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9050 ac_cpp
='$CXXCPP $CPPFLAGS'
9051 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9052 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9053 cross_compiling
=$ac_cv_prog_cxx_cross
9055 cat > conftest.
$ac_ext <<EOF
9056 #line 9057 "configure"
9057 #include "confdefs.h"
9059 #ifdef HAVE_IEEEFP_H
9067 if { (eval echo configure
:9068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9069 glibcpp_cv_func__logf_use
=yes
9071 echo "configure: failed program was:" >&5
9072 cat conftest.
$ac_ext >&5
9074 glibcpp_cv_func__logf_use
=no
9078 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9079 ac_cpp
='$CPP $CPPFLAGS'
9080 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9081 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9082 cross_compiling
=$ac_cv_prog_cc_cross
9088 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
9090 if test x
$glibcpp_cv_func__logf_use = x
"yes"; then
9091 for ac_func
in _logf
9093 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9094 echo "configure:9095: checking for $ac_func" >&5
9095 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9096 echo $ac_n "(cached) $ac_c" 1>&6
9098 cat > conftest.
$ac_ext <<EOF
9099 #line 9100 "configure"
9100 #include "confdefs.h"
9101 /* System header to define __stub macros and hopefully few prototypes,
9102 which can conflict with char $ac_func(); below. */
9104 /* Override any gcc2 internal prototype to avoid an error. */
9105 /* We use char because int might match the return type of a gcc2
9106 builtin and then its argument prototype would still apply. */
9111 /* The GNU C library defines this for functions which it implements
9112 to always fail with ENOSYS. Some functions are actually named
9113 something starting with __ and the normal name is an alias. */
9114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9122 if { (eval echo configure
:9123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9124 eval "ac_cv_func_$ac_func=yes"
9126 echo "configure: failed program was:" >&5
9127 cat conftest.
$ac_ext >&5
9129 eval "ac_cv_func_$ac_func=no"
9134 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9135 echo "$ac_t""yes" 1>&6
9136 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9137 cat >> confdefs.h
<<EOF
9138 #define $ac_tr_func 1
9142 echo "$ac_t""no" 1>&6
9151 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
9152 echo "configure:9153: checking for log10f declaration" >&5
9153 if test x
${glibcpp_cv_func_log10f_use+set} != xset
; then
9154 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
9155 echo $ac_n "(cached) $ac_c" 1>&6
9160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9161 ac_cpp
='$CXXCPP $CPPFLAGS'
9162 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9163 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9164 cross_compiling
=$ac_cv_prog_cxx_cross
9166 cat > conftest.
$ac_ext <<EOF
9167 #line 9168 "configure"
9168 #include "confdefs.h"
9170 #ifdef HAVE_IEEEFP_H
9178 if { (eval echo configure
:9179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9180 glibcpp_cv_func_log10f_use
=yes
9182 echo "configure: failed program was:" >&5
9183 cat conftest.
$ac_ext >&5
9185 glibcpp_cv_func_log10f_use
=no
9189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9190 ac_cpp
='$CPP $CPPFLAGS'
9191 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9192 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9193 cross_compiling
=$ac_cv_prog_cc_cross
9199 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
9201 if test x
$glibcpp_cv_func_log10f_use = x
"yes"; then
9202 for ac_func
in log10f
9204 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9205 echo "configure:9206: checking for $ac_func" >&5
9206 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9207 echo $ac_n "(cached) $ac_c" 1>&6
9209 cat > conftest.
$ac_ext <<EOF
9210 #line 9211 "configure"
9211 #include "confdefs.h"
9212 /* System header to define __stub macros and hopefully few prototypes,
9213 which can conflict with char $ac_func(); below. */
9215 /* Override any gcc2 internal prototype to avoid an error. */
9216 /* We use char because int might match the return type of a gcc2
9217 builtin and then its argument prototype would still apply. */
9222 /* The GNU C library defines this for functions which it implements
9223 to always fail with ENOSYS. Some functions are actually named
9224 something starting with __ and the normal name is an alias. */
9225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9233 if { (eval echo configure
:9234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9235 eval "ac_cv_func_$ac_func=yes"
9237 echo "configure: failed program was:" >&5
9238 cat conftest.
$ac_ext >&5
9240 eval "ac_cv_func_$ac_func=no"
9245 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9246 echo "$ac_t""yes" 1>&6
9247 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9248 cat >> confdefs.h
<<EOF
9249 #define $ac_tr_func 1
9253 echo "$ac_t""no" 1>&6
9259 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
9260 echo "configure:9261: checking for _log10f declaration" >&5
9261 if test x
${glibcpp_cv_func__log10f_use+set} != xset
; then
9262 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
9263 echo $ac_n "(cached) $ac_c" 1>&6
9268 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9269 ac_cpp
='$CXXCPP $CPPFLAGS'
9270 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9271 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9272 cross_compiling
=$ac_cv_prog_cxx_cross
9274 cat > conftest.
$ac_ext <<EOF
9275 #line 9276 "configure"
9276 #include "confdefs.h"
9278 #ifdef HAVE_IEEEFP_H
9286 if { (eval echo configure
:9287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9288 glibcpp_cv_func__log10f_use
=yes
9290 echo "configure: failed program was:" >&5
9291 cat conftest.
$ac_ext >&5
9293 glibcpp_cv_func__log10f_use
=no
9297 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9298 ac_cpp
='$CPP $CPPFLAGS'
9299 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9300 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9301 cross_compiling
=$ac_cv_prog_cc_cross
9307 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
9309 if test x
$glibcpp_cv_func__log10f_use = x
"yes"; then
9310 for ac_func
in _log10f
9312 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9313 echo "configure:9314: checking for $ac_func" >&5
9314 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9315 echo $ac_n "(cached) $ac_c" 1>&6
9317 cat > conftest.
$ac_ext <<EOF
9318 #line 9319 "configure"
9319 #include "confdefs.h"
9320 /* System header to define __stub macros and hopefully few prototypes,
9321 which can conflict with char $ac_func(); below. */
9323 /* Override any gcc2 internal prototype to avoid an error. */
9324 /* We use char because int might match the return type of a gcc2
9325 builtin and then its argument prototype would still apply. */
9330 /* The GNU C library defines this for functions which it implements
9331 to always fail with ENOSYS. Some functions are actually named
9332 something starting with __ and the normal name is an alias. */
9333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9341 if { (eval echo configure
:9342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9343 eval "ac_cv_func_$ac_func=yes"
9345 echo "configure: failed program was:" >&5
9346 cat conftest.
$ac_ext >&5
9348 eval "ac_cv_func_$ac_func=no"
9353 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9354 echo "$ac_t""yes" 1>&6
9355 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9356 cat >> confdefs.h
<<EOF
9357 #define $ac_tr_func 1
9361 echo "$ac_t""no" 1>&6
9370 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
9371 echo "configure:9372: checking for modff declaration" >&5
9372 if test x
${glibcpp_cv_func_modff_use+set} != xset
; then
9373 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
9374 echo $ac_n "(cached) $ac_c" 1>&6
9379 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9380 ac_cpp
='$CXXCPP $CPPFLAGS'
9381 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9382 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9383 cross_compiling
=$ac_cv_prog_cxx_cross
9385 cat > conftest.
$ac_ext <<EOF
9386 #line 9387 "configure"
9387 #include "confdefs.h"
9393 if { (eval echo configure
:9394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9395 glibcpp_cv_func_modff_use
=yes
9397 echo "configure: failed program was:" >&5
9398 cat conftest.
$ac_ext >&5
9400 glibcpp_cv_func_modff_use
=no
9404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9405 ac_cpp
='$CPP $CPPFLAGS'
9406 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9407 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9408 cross_compiling
=$ac_cv_prog_cc_cross
9414 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
9416 if test x
$glibcpp_cv_func_modff_use = x
"yes"; then
9417 for ac_func
in modff
9419 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9420 echo "configure:9421: checking for $ac_func" >&5
9421 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9422 echo $ac_n "(cached) $ac_c" 1>&6
9424 cat > conftest.
$ac_ext <<EOF
9425 #line 9426 "configure"
9426 #include "confdefs.h"
9427 /* System header to define __stub macros and hopefully few prototypes,
9428 which can conflict with char $ac_func(); below. */
9430 /* Override any gcc2 internal prototype to avoid an error. */
9431 /* We use char because int might match the return type of a gcc2
9432 builtin and then its argument prototype would still apply. */
9437 /* The GNU C library defines this for functions which it implements
9438 to always fail with ENOSYS. Some functions are actually named
9439 something starting with __ and the normal name is an alias. */
9440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9448 if { (eval echo configure
:9449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9450 eval "ac_cv_func_$ac_func=yes"
9452 echo "configure: failed program was:" >&5
9453 cat conftest.
$ac_ext >&5
9455 eval "ac_cv_func_$ac_func=no"
9460 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9461 echo "$ac_t""yes" 1>&6
9462 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9463 cat >> confdefs.h
<<EOF
9464 #define $ac_tr_func 1
9468 echo "$ac_t""no" 1>&6
9474 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
9475 echo "configure:9476: checking for _modff declaration" >&5
9476 if test x
${glibcpp_cv_func__modff_use+set} != xset
; then
9477 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
9478 echo $ac_n "(cached) $ac_c" 1>&6
9483 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9484 ac_cpp
='$CXXCPP $CPPFLAGS'
9485 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9486 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9487 cross_compiling
=$ac_cv_prog_cxx_cross
9489 cat > conftest.
$ac_ext <<EOF
9490 #line 9491 "configure"
9491 #include "confdefs.h"
9497 if { (eval echo configure
:9498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9499 glibcpp_cv_func__modff_use
=yes
9501 echo "configure: failed program was:" >&5
9502 cat conftest.
$ac_ext >&5
9504 glibcpp_cv_func__modff_use
=no
9508 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9509 ac_cpp
='$CPP $CPPFLAGS'
9510 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9511 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9512 cross_compiling
=$ac_cv_prog_cc_cross
9518 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
9520 if test x
$glibcpp_cv_func__modff_use = x
"yes"; then
9521 for ac_func
in _modff
9523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9524 echo "configure:9525: checking for $ac_func" >&5
9525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9526 echo $ac_n "(cached) $ac_c" 1>&6
9528 cat > conftest.
$ac_ext <<EOF
9529 #line 9530 "configure"
9530 #include "confdefs.h"
9531 /* System header to define __stub macros and hopefully few prototypes,
9532 which can conflict with char $ac_func(); below. */
9534 /* Override any gcc2 internal prototype to avoid an error. */
9535 /* We use char because int might match the return type of a gcc2
9536 builtin and then its argument prototype would still apply. */
9541 /* The GNU C library defines this for functions which it implements
9542 to always fail with ENOSYS. Some functions are actually named
9543 something starting with __ and the normal name is an alias. */
9544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9552 if { (eval echo configure
:9553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9554 eval "ac_cv_func_$ac_func=yes"
9556 echo "configure: failed program was:" >&5
9557 cat conftest.
$ac_ext >&5
9559 eval "ac_cv_func_$ac_func=no"
9564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9565 echo "$ac_t""yes" 1>&6
9566 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9567 cat >> confdefs.h
<<EOF
9568 #define $ac_tr_func 1
9572 echo "$ac_t""no" 1>&6
9581 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
9582 echo "configure:9583: checking for powf declaration" >&5
9583 if test x
${glibcpp_cv_func_powf_use+set} != xset
; then
9584 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
9585 echo $ac_n "(cached) $ac_c" 1>&6
9590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9591 ac_cpp
='$CXXCPP $CPPFLAGS'
9592 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9593 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9594 cross_compiling
=$ac_cv_prog_cxx_cross
9596 cat > conftest.
$ac_ext <<EOF
9597 #line 9598 "configure"
9598 #include "confdefs.h"
9604 if { (eval echo configure
:9605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9606 glibcpp_cv_func_powf_use
=yes
9608 echo "configure: failed program was:" >&5
9609 cat conftest.
$ac_ext >&5
9611 glibcpp_cv_func_powf_use
=no
9615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9616 ac_cpp
='$CPP $CPPFLAGS'
9617 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9618 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9619 cross_compiling
=$ac_cv_prog_cc_cross
9625 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
9627 if test x
$glibcpp_cv_func_powf_use = x
"yes"; then
9630 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9631 echo "configure:9632: checking for $ac_func" >&5
9632 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9633 echo $ac_n "(cached) $ac_c" 1>&6
9635 cat > conftest.
$ac_ext <<EOF
9636 #line 9637 "configure"
9637 #include "confdefs.h"
9638 /* System header to define __stub macros and hopefully few prototypes,
9639 which can conflict with char $ac_func(); below. */
9641 /* Override any gcc2 internal prototype to avoid an error. */
9642 /* We use char because int might match the return type of a gcc2
9643 builtin and then its argument prototype would still apply. */
9648 /* The GNU C library defines this for functions which it implements
9649 to always fail with ENOSYS. Some functions are actually named
9650 something starting with __ and the normal name is an alias. */
9651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9659 if { (eval echo configure
:9660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9661 eval "ac_cv_func_$ac_func=yes"
9663 echo "configure: failed program was:" >&5
9664 cat conftest.
$ac_ext >&5
9666 eval "ac_cv_func_$ac_func=no"
9671 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9672 echo "$ac_t""yes" 1>&6
9673 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9674 cat >> confdefs.h
<<EOF
9675 #define $ac_tr_func 1
9679 echo "$ac_t""no" 1>&6
9685 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
9686 echo "configure:9687: checking for _powf declaration" >&5
9687 if test x
${glibcpp_cv_func__powf_use+set} != xset
; then
9688 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
9689 echo $ac_n "(cached) $ac_c" 1>&6
9694 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9695 ac_cpp
='$CXXCPP $CPPFLAGS'
9696 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9697 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9698 cross_compiling
=$ac_cv_prog_cxx_cross
9700 cat > conftest.
$ac_ext <<EOF
9701 #line 9702 "configure"
9702 #include "confdefs.h"
9708 if { (eval echo configure
:9709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9710 glibcpp_cv_func__powf_use
=yes
9712 echo "configure: failed program was:" >&5
9713 cat conftest.
$ac_ext >&5
9715 glibcpp_cv_func__powf_use
=no
9719 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9720 ac_cpp
='$CPP $CPPFLAGS'
9721 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9722 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9723 cross_compiling
=$ac_cv_prog_cc_cross
9729 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
9731 if test x
$glibcpp_cv_func__powf_use = x
"yes"; then
9732 for ac_func
in _powf
9734 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9735 echo "configure:9736: checking for $ac_func" >&5
9736 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9737 echo $ac_n "(cached) $ac_c" 1>&6
9739 cat > conftest.
$ac_ext <<EOF
9740 #line 9741 "configure"
9741 #include "confdefs.h"
9742 /* System header to define __stub macros and hopefully few prototypes,
9743 which can conflict with char $ac_func(); below. */
9745 /* Override any gcc2 internal prototype to avoid an error. */
9746 /* We use char because int might match the return type of a gcc2
9747 builtin and then its argument prototype would still apply. */
9752 /* The GNU C library defines this for functions which it implements
9753 to always fail with ENOSYS. Some functions are actually named
9754 something starting with __ and the normal name is an alias. */
9755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9763 if { (eval echo configure
:9764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9765 eval "ac_cv_func_$ac_func=yes"
9767 echo "configure: failed program was:" >&5
9768 cat conftest.
$ac_ext >&5
9770 eval "ac_cv_func_$ac_func=no"
9775 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9776 echo "$ac_t""yes" 1>&6
9777 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9778 cat >> confdefs.h
<<EOF
9779 #define $ac_tr_func 1
9783 echo "$ac_t""no" 1>&6
9792 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
9793 echo "configure:9794: checking for sqrtf declaration" >&5
9794 if test x
${glibcpp_cv_func_sqrtf_use+set} != xset
; then
9795 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
9796 echo $ac_n "(cached) $ac_c" 1>&6
9801 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9802 ac_cpp
='$CXXCPP $CPPFLAGS'
9803 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9804 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9805 cross_compiling
=$ac_cv_prog_cxx_cross
9807 cat > conftest.
$ac_ext <<EOF
9808 #line 9809 "configure"
9809 #include "confdefs.h"
9811 #ifdef HAVE_IEEEFP_H
9819 if { (eval echo configure
:9820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9821 glibcpp_cv_func_sqrtf_use
=yes
9823 echo "configure: failed program was:" >&5
9824 cat conftest.
$ac_ext >&5
9826 glibcpp_cv_func_sqrtf_use
=no
9830 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9831 ac_cpp
='$CPP $CPPFLAGS'
9832 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9833 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9834 cross_compiling
=$ac_cv_prog_cc_cross
9840 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
9842 if test x
$glibcpp_cv_func_sqrtf_use = x
"yes"; then
9843 for ac_func
in sqrtf
9845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9846 echo "configure:9847: checking for $ac_func" >&5
9847 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9848 echo $ac_n "(cached) $ac_c" 1>&6
9850 cat > conftest.
$ac_ext <<EOF
9851 #line 9852 "configure"
9852 #include "confdefs.h"
9853 /* System header to define __stub macros and hopefully few prototypes,
9854 which can conflict with char $ac_func(); below. */
9856 /* Override any gcc2 internal prototype to avoid an error. */
9857 /* We use char because int might match the return type of a gcc2
9858 builtin and then its argument prototype would still apply. */
9863 /* The GNU C library defines this for functions which it implements
9864 to always fail with ENOSYS. Some functions are actually named
9865 something starting with __ and the normal name is an alias. */
9866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9874 if { (eval echo configure
:9875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9876 eval "ac_cv_func_$ac_func=yes"
9878 echo "configure: failed program was:" >&5
9879 cat conftest.
$ac_ext >&5
9881 eval "ac_cv_func_$ac_func=no"
9886 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9887 echo "$ac_t""yes" 1>&6
9888 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9889 cat >> confdefs.h
<<EOF
9890 #define $ac_tr_func 1
9894 echo "$ac_t""no" 1>&6
9900 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
9901 echo "configure:9902: checking for _sqrtf declaration" >&5
9902 if test x
${glibcpp_cv_func__sqrtf_use+set} != xset
; then
9903 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
9904 echo $ac_n "(cached) $ac_c" 1>&6
9909 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9910 ac_cpp
='$CXXCPP $CPPFLAGS'
9911 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9912 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9913 cross_compiling
=$ac_cv_prog_cxx_cross
9915 cat > conftest.
$ac_ext <<EOF
9916 #line 9917 "configure"
9917 #include "confdefs.h"
9919 #ifdef HAVE_IEEEFP_H
9927 if { (eval echo configure
:9928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9929 glibcpp_cv_func__sqrtf_use
=yes
9931 echo "configure: failed program was:" >&5
9932 cat conftest.
$ac_ext >&5
9934 glibcpp_cv_func__sqrtf_use
=no
9938 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9939 ac_cpp
='$CPP $CPPFLAGS'
9940 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9941 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9942 cross_compiling
=$ac_cv_prog_cc_cross
9948 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
9950 if test x
$glibcpp_cv_func__sqrtf_use = x
"yes"; then
9951 for ac_func
in _sqrtf
9953 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9954 echo "configure:9955: checking for $ac_func" >&5
9955 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9956 echo $ac_n "(cached) $ac_c" 1>&6
9958 cat > conftest.
$ac_ext <<EOF
9959 #line 9960 "configure"
9960 #include "confdefs.h"
9961 /* System header to define __stub macros and hopefully few prototypes,
9962 which can conflict with char $ac_func(); below. */
9964 /* Override any gcc2 internal prototype to avoid an error. */
9965 /* We use char because int might match the return type of a gcc2
9966 builtin and then its argument prototype would still apply. */
9971 /* The GNU C library defines this for functions which it implements
9972 to always fail with ENOSYS. Some functions are actually named
9973 something starting with __ and the normal name is an alias. */
9974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9982 if { (eval echo configure
:9983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9984 eval "ac_cv_func_$ac_func=yes"
9986 echo "configure: failed program was:" >&5
9987 cat conftest.
$ac_ext >&5
9989 eval "ac_cv_func_$ac_func=no"
9994 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9995 echo "$ac_t""yes" 1>&6
9996 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9997 cat >> confdefs.h
<<EOF
9998 #define $ac_tr_func 1
10002 echo "$ac_t""no" 1>&6
10011 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
10012 echo "configure:10013: checking for sincosf declaration" >&5
10013 if test x
${glibcpp_cv_func_sincosf_use+set} != xset
; then
10014 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
10015 echo $ac_n "(cached) $ac_c" 1>&6
10020 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10021 ac_cpp
='$CXXCPP $CPPFLAGS'
10022 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10023 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10024 cross_compiling
=$ac_cv_prog_cxx_cross
10026 cat > conftest.
$ac_ext <<EOF
10027 #line 10028 "configure"
10028 #include "confdefs.h"
10034 if { (eval echo configure
:10035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10036 glibcpp_cv_func_sincosf_use
=yes
10038 echo "configure: failed program was:" >&5
10039 cat conftest.
$ac_ext >&5
10041 glibcpp_cv_func_sincosf_use
=no
10045 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10046 ac_cpp
='$CPP $CPPFLAGS'
10047 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10048 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10049 cross_compiling
=$ac_cv_prog_cc_cross
10055 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
10057 if test x
$glibcpp_cv_func_sincosf_use = x
"yes"; then
10058 for ac_func
in sincosf
10060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10061 echo "configure:10062: checking for $ac_func" >&5
10062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10063 echo $ac_n "(cached) $ac_c" 1>&6
10065 cat > conftest.
$ac_ext <<EOF
10066 #line 10067 "configure"
10067 #include "confdefs.h"
10068 /* System header to define __stub macros and hopefully few prototypes,
10069 which can conflict with char $ac_func(); below. */
10070 #include <assert.h>
10071 /* Override any gcc2 internal prototype to avoid an error. */
10072 /* We use char because int might match the return type of a gcc2
10073 builtin and then its argument prototype would still apply. */
10078 /* The GNU C library defines this for functions which it implements
10079 to always fail with ENOSYS. Some functions are actually named
10080 something starting with __ and the normal name is an alias. */
10081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10089 if { (eval echo configure
:10090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10091 eval "ac_cv_func_$ac_func=yes"
10093 echo "configure: failed program was:" >&5
10094 cat conftest.
$ac_ext >&5
10096 eval "ac_cv_func_$ac_func=no"
10101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10102 echo "$ac_t""yes" 1>&6
10103 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10104 cat >> confdefs.h
<<EOF
10105 #define $ac_tr_func 1
10109 echo "$ac_t""no" 1>&6
10115 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
10116 echo "configure:10117: checking for _sincosf declaration" >&5
10117 if test x
${glibcpp_cv_func__sincosf_use+set} != xset
; then
10118 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
10119 echo $ac_n "(cached) $ac_c" 1>&6
10124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10125 ac_cpp
='$CXXCPP $CPPFLAGS'
10126 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10127 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10128 cross_compiling
=$ac_cv_prog_cxx_cross
10130 cat > conftest.
$ac_ext <<EOF
10131 #line 10132 "configure"
10132 #include "confdefs.h"
10138 if { (eval echo configure
:10139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10140 glibcpp_cv_func__sincosf_use
=yes
10142 echo "configure: failed program was:" >&5
10143 cat conftest.
$ac_ext >&5
10145 glibcpp_cv_func__sincosf_use
=no
10149 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10150 ac_cpp
='$CPP $CPPFLAGS'
10151 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10152 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10153 cross_compiling
=$ac_cv_prog_cc_cross
10159 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
10161 if test x
$glibcpp_cv_func__sincosf_use = x
"yes"; then
10162 for ac_func
in _sincosf
10164 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10165 echo "configure:10166: checking for $ac_func" >&5
10166 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10167 echo $ac_n "(cached) $ac_c" 1>&6
10169 cat > conftest.
$ac_ext <<EOF
10170 #line 10171 "configure"
10171 #include "confdefs.h"
10172 /* System header to define __stub macros and hopefully few prototypes,
10173 which can conflict with char $ac_func(); below. */
10174 #include <assert.h>
10175 /* Override any gcc2 internal prototype to avoid an error. */
10176 /* We use char because int might match the return type of a gcc2
10177 builtin and then its argument prototype would still apply. */
10182 /* The GNU C library defines this for functions which it implements
10183 to always fail with ENOSYS. Some functions are actually named
10184 something starting with __ and the normal name is an alias. */
10185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10193 if { (eval echo configure
:10194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10195 eval "ac_cv_func_$ac_func=yes"
10197 echo "configure: failed program was:" >&5
10198 cat conftest.
$ac_ext >&5
10200 eval "ac_cv_func_$ac_func=no"
10205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10206 echo "$ac_t""yes" 1>&6
10207 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10208 cat >> confdefs.h
<<EOF
10209 #define $ac_tr_func 1
10213 echo "$ac_t""no" 1>&6
10222 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
10223 echo "configure:10224: checking for finitef declaration" >&5
10224 if test x
${glibcpp_cv_func_finitef_use+set} != xset
; then
10225 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
10226 echo $ac_n "(cached) $ac_c" 1>&6
10231 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10232 ac_cpp
='$CXXCPP $CPPFLAGS'
10233 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10234 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10235 cross_compiling
=$ac_cv_prog_cxx_cross
10237 cat > conftest.
$ac_ext <<EOF
10238 #line 10239 "configure"
10239 #include "confdefs.h"
10241 #ifdef HAVE_IEEEFP_H
10242 #include <ieeefp.h>
10249 if { (eval echo configure
:10250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10251 glibcpp_cv_func_finitef_use
=yes
10253 echo "configure: failed program was:" >&5
10254 cat conftest.
$ac_ext >&5
10256 glibcpp_cv_func_finitef_use
=no
10260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10261 ac_cpp
='$CPP $CPPFLAGS'
10262 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10263 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10264 cross_compiling
=$ac_cv_prog_cc_cross
10270 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
10272 if test x
$glibcpp_cv_func_finitef_use = x
"yes"; then
10273 for ac_func
in finitef
10275 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10276 echo "configure:10277: checking for $ac_func" >&5
10277 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10278 echo $ac_n "(cached) $ac_c" 1>&6
10280 cat > conftest.
$ac_ext <<EOF
10281 #line 10282 "configure"
10282 #include "confdefs.h"
10283 /* System header to define __stub macros and hopefully few prototypes,
10284 which can conflict with char $ac_func(); below. */
10285 #include <assert.h>
10286 /* Override any gcc2 internal prototype to avoid an error. */
10287 /* We use char because int might match the return type of a gcc2
10288 builtin and then its argument prototype would still apply. */
10293 /* The GNU C library defines this for functions which it implements
10294 to always fail with ENOSYS. Some functions are actually named
10295 something starting with __ and the normal name is an alias. */
10296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10304 if { (eval echo configure
:10305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10306 eval "ac_cv_func_$ac_func=yes"
10308 echo "configure: failed program was:" >&5
10309 cat conftest.
$ac_ext >&5
10311 eval "ac_cv_func_$ac_func=no"
10316 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10317 echo "$ac_t""yes" 1>&6
10318 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10319 cat >> confdefs.h
<<EOF
10320 #define $ac_tr_func 1
10324 echo "$ac_t""no" 1>&6
10330 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
10331 echo "configure:10332: checking for _finitef declaration" >&5
10332 if test x
${glibcpp_cv_func__finitef_use+set} != xset
; then
10333 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
10334 echo $ac_n "(cached) $ac_c" 1>&6
10339 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10340 ac_cpp
='$CXXCPP $CPPFLAGS'
10341 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10342 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10343 cross_compiling
=$ac_cv_prog_cxx_cross
10345 cat > conftest.
$ac_ext <<EOF
10346 #line 10347 "configure"
10347 #include "confdefs.h"
10349 #ifdef HAVE_IEEEFP_H
10350 #include <ieeefp.h>
10357 if { (eval echo configure
:10358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10359 glibcpp_cv_func__finitef_use
=yes
10361 echo "configure: failed program was:" >&5
10362 cat conftest.
$ac_ext >&5
10364 glibcpp_cv_func__finitef_use
=no
10368 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10369 ac_cpp
='$CPP $CPPFLAGS'
10370 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10371 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10372 cross_compiling
=$ac_cv_prog_cc_cross
10378 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
10380 if test x
$glibcpp_cv_func__finitef_use = x
"yes"; then
10381 for ac_func
in _finitef
10383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10384 echo "configure:10385: checking for $ac_func" >&5
10385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10386 echo $ac_n "(cached) $ac_c" 1>&6
10388 cat > conftest.
$ac_ext <<EOF
10389 #line 10390 "configure"
10390 #include "confdefs.h"
10391 /* System header to define __stub macros and hopefully few prototypes,
10392 which can conflict with char $ac_func(); below. */
10393 #include <assert.h>
10394 /* Override any gcc2 internal prototype to avoid an error. */
10395 /* We use char because int might match the return type of a gcc2
10396 builtin and then its argument prototype would still apply. */
10401 /* The GNU C library defines this for functions which it implements
10402 to always fail with ENOSYS. Some functions are actually named
10403 something starting with __ and the normal name is an alias. */
10404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10412 if { (eval echo configure
:10413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10414 eval "ac_cv_func_$ac_func=yes"
10416 echo "configure: failed program was:" >&5
10417 cat conftest.
$ac_ext >&5
10419 eval "ac_cv_func_$ac_func=no"
10424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10425 echo "$ac_t""yes" 1>&6
10426 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10427 cat >> confdefs.h
<<EOF
10428 #define $ac_tr_func 1
10432 echo "$ac_t""no" 1>&6
10441 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
10442 echo "configure:10443: checking for long double trig functions" >&5
10443 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
10444 echo $ac_n "(cached) $ac_c" 1>&6
10449 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10450 ac_cpp
='$CXXCPP $CPPFLAGS'
10451 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10452 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10453 cross_compiling
=$ac_cv_prog_cxx_cross
10455 cat > conftest.
$ac_ext <<EOF
10456 #line 10457 "configure"
10457 #include "confdefs.h"
10460 `for x in acosl asinl atanl \
10462 coshl sinhl tanhl; do echo "$x (0);"; done`
10465 if { (eval echo configure
:10466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10467 glibcpp_cv_func_long_double_trig_use
=yes
10469 echo "configure: failed program was:" >&5
10470 cat conftest.
$ac_ext >&5
10472 glibcpp_cv_func_long_double_trig_use
=no
10476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10477 ac_cpp
='$CPP $CPPFLAGS'
10478 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10479 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10480 cross_compiling
=$ac_cv_prog_cc_cross
10484 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
10485 if test x
$glibcpp_cv_func_long_double_trig_use = x
"yes"; then
10486 for ac_func
in acosl asinl atanl \
10490 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10491 echo "configure:10492: checking for $ac_func" >&5
10492 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10493 echo $ac_n "(cached) $ac_c" 1>&6
10495 cat > conftest.
$ac_ext <<EOF
10496 #line 10497 "configure"
10497 #include "confdefs.h"
10498 /* System header to define __stub macros and hopefully few prototypes,
10499 which can conflict with char $ac_func(); below. */
10500 #include <assert.h>
10501 /* Override any gcc2 internal prototype to avoid an error. */
10502 /* We use char because int might match the return type of a gcc2
10503 builtin and then its argument prototype would still apply. */
10508 /* The GNU C library defines this for functions which it implements
10509 to always fail with ENOSYS. Some functions are actually named
10510 something starting with __ and the normal name is an alias. */
10511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10519 if { (eval echo configure
:10520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10521 eval "ac_cv_func_$ac_func=yes"
10523 echo "configure: failed program was:" >&5
10524 cat conftest.
$ac_ext >&5
10526 eval "ac_cv_func_$ac_func=no"
10531 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10532 echo "$ac_t""yes" 1>&6
10533 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10534 cat >> confdefs.h
<<EOF
10535 #define $ac_tr_func 1
10539 echo "$ac_t""no" 1>&6
10546 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
10547 echo "configure:10548: checking for long double round functions" >&5
10548 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
10549 echo $ac_n "(cached) $ac_c" 1>&6
10554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10555 ac_cpp
='$CXXCPP $CPPFLAGS'
10556 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10557 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10558 cross_compiling
=$ac_cv_prog_cxx_cross
10560 cat > conftest.
$ac_ext <<EOF
10561 #line 10562 "configure"
10562 #include "confdefs.h"
10565 `for x in ceill floorl; do echo "$x (0);"; done`
10568 if { (eval echo configure
:10569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10570 glibcpp_cv_func_long_double_round_use
=yes
10572 echo "configure: failed program was:" >&5
10573 cat conftest.
$ac_ext >&5
10575 glibcpp_cv_func_long_double_round_use
=no
10579 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10580 ac_cpp
='$CPP $CPPFLAGS'
10581 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10582 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10583 cross_compiling
=$ac_cv_prog_cc_cross
10587 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
10588 if test x
$glibcpp_cv_func_long_double_round_use = x
"yes"; then
10589 for ac_func
in ceill floorl
10591 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10592 echo "configure:10593: checking for $ac_func" >&5
10593 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10594 echo $ac_n "(cached) $ac_c" 1>&6
10596 cat > conftest.
$ac_ext <<EOF
10597 #line 10598 "configure"
10598 #include "confdefs.h"
10599 /* System header to define __stub macros and hopefully few prototypes,
10600 which can conflict with char $ac_func(); below. */
10601 #include <assert.h>
10602 /* Override any gcc2 internal prototype to avoid an error. */
10603 /* We use char because int might match the return type of a gcc2
10604 builtin and then its argument prototype would still apply. */
10609 /* The GNU C library defines this for functions which it implements
10610 to always fail with ENOSYS. Some functions are actually named
10611 something starting with __ and the normal name is an alias. */
10612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10620 if { (eval echo configure
:10621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10622 eval "ac_cv_func_$ac_func=yes"
10624 echo "configure: failed program was:" >&5
10625 cat conftest.
$ac_ext >&5
10627 eval "ac_cv_func_$ac_func=no"
10632 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10633 echo "$ac_t""yes" 1>&6
10634 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10635 cat >> confdefs.h
<<EOF
10636 #define $ac_tr_func 1
10640 echo "$ac_t""no" 1>&6
10648 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
10649 echo "configure:10650: checking for isnanl declaration" >&5
10650 if test x
${glibcpp_cv_func_isnanl_use+set} != xset
; then
10651 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
10652 echo $ac_n "(cached) $ac_c" 1>&6
10657 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10658 ac_cpp
='$CXXCPP $CPPFLAGS'
10659 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10660 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10661 cross_compiling
=$ac_cv_prog_cxx_cross
10663 cat > conftest.
$ac_ext <<EOF
10664 #line 10665 "configure"
10665 #include "confdefs.h"
10667 #ifdef HAVE_IEEEFP_H
10668 #include <ieeefp.h>
10675 if { (eval echo configure
:10676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10677 glibcpp_cv_func_isnanl_use
=yes
10679 echo "configure: failed program was:" >&5
10680 cat conftest.
$ac_ext >&5
10682 glibcpp_cv_func_isnanl_use
=no
10686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10687 ac_cpp
='$CPP $CPPFLAGS'
10688 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10689 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10690 cross_compiling
=$ac_cv_prog_cc_cross
10696 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
10698 if test x
$glibcpp_cv_func_isnanl_use = x
"yes"; then
10699 for ac_func
in isnanl
10701 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10702 echo "configure:10703: checking for $ac_func" >&5
10703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10704 echo $ac_n "(cached) $ac_c" 1>&6
10706 cat > conftest.
$ac_ext <<EOF
10707 #line 10708 "configure"
10708 #include "confdefs.h"
10709 /* System header to define __stub macros and hopefully few prototypes,
10710 which can conflict with char $ac_func(); below. */
10711 #include <assert.h>
10712 /* Override any gcc2 internal prototype to avoid an error. */
10713 /* We use char because int might match the return type of a gcc2
10714 builtin and then its argument prototype would still apply. */
10719 /* The GNU C library defines this for functions which it implements
10720 to always fail with ENOSYS. Some functions are actually named
10721 something starting with __ and the normal name is an alias. */
10722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10730 if { (eval echo configure
:10731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10732 eval "ac_cv_func_$ac_func=yes"
10734 echo "configure: failed program was:" >&5
10735 cat conftest.
$ac_ext >&5
10737 eval "ac_cv_func_$ac_func=no"
10742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10743 echo "$ac_t""yes" 1>&6
10744 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10745 cat >> confdefs.h
<<EOF
10746 #define $ac_tr_func 1
10750 echo "$ac_t""no" 1>&6
10756 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
10757 echo "configure:10758: checking for _isnanl declaration" >&5
10758 if test x
${glibcpp_cv_func__isnanl_use+set} != xset
; then
10759 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
10760 echo $ac_n "(cached) $ac_c" 1>&6
10765 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10766 ac_cpp
='$CXXCPP $CPPFLAGS'
10767 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10768 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10769 cross_compiling
=$ac_cv_prog_cxx_cross
10771 cat > conftest.
$ac_ext <<EOF
10772 #line 10773 "configure"
10773 #include "confdefs.h"
10775 #ifdef HAVE_IEEEFP_H
10776 #include <ieeefp.h>
10783 if { (eval echo configure
:10784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10785 glibcpp_cv_func__isnanl_use
=yes
10787 echo "configure: failed program was:" >&5
10788 cat conftest.
$ac_ext >&5
10790 glibcpp_cv_func__isnanl_use
=no
10794 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10795 ac_cpp
='$CPP $CPPFLAGS'
10796 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10797 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10798 cross_compiling
=$ac_cv_prog_cc_cross
10804 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
10806 if test x
$glibcpp_cv_func__isnanl_use = x
"yes"; then
10807 for ac_func
in _isnanl
10809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10810 echo "configure:10811: checking for $ac_func" >&5
10811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10812 echo $ac_n "(cached) $ac_c" 1>&6
10814 cat > conftest.
$ac_ext <<EOF
10815 #line 10816 "configure"
10816 #include "confdefs.h"
10817 /* System header to define __stub macros and hopefully few prototypes,
10818 which can conflict with char $ac_func(); below. */
10819 #include <assert.h>
10820 /* Override any gcc2 internal prototype to avoid an error. */
10821 /* We use char because int might match the return type of a gcc2
10822 builtin and then its argument prototype would still apply. */
10827 /* The GNU C library defines this for functions which it implements
10828 to always fail with ENOSYS. Some functions are actually named
10829 something starting with __ and the normal name is an alias. */
10830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10838 if { (eval echo configure
:10839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10840 eval "ac_cv_func_$ac_func=yes"
10842 echo "configure: failed program was:" >&5
10843 cat conftest.
$ac_ext >&5
10845 eval "ac_cv_func_$ac_func=no"
10850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10851 echo "$ac_t""yes" 1>&6
10852 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10853 cat >> confdefs.h
<<EOF
10854 #define $ac_tr_func 1
10858 echo "$ac_t""no" 1>&6
10867 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
10868 echo "configure:10869: checking for isinfl declaration" >&5
10869 if test x
${glibcpp_cv_func_isinfl_use+set} != xset
; then
10870 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
10871 echo $ac_n "(cached) $ac_c" 1>&6
10876 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10877 ac_cpp
='$CXXCPP $CPPFLAGS'
10878 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10879 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10880 cross_compiling
=$ac_cv_prog_cxx_cross
10882 cat > conftest.
$ac_ext <<EOF
10883 #line 10884 "configure"
10884 #include "confdefs.h"
10886 #ifdef HAVE_IEEEFP_H
10887 #include <ieeefp.h>
10894 if { (eval echo configure
:10895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10896 glibcpp_cv_func_isinfl_use
=yes
10898 echo "configure: failed program was:" >&5
10899 cat conftest.
$ac_ext >&5
10901 glibcpp_cv_func_isinfl_use
=no
10905 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10906 ac_cpp
='$CPP $CPPFLAGS'
10907 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10908 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10909 cross_compiling
=$ac_cv_prog_cc_cross
10915 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
10917 if test x
$glibcpp_cv_func_isinfl_use = x
"yes"; then
10918 for ac_func
in isinfl
10920 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10921 echo "configure:10922: checking for $ac_func" >&5
10922 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10923 echo $ac_n "(cached) $ac_c" 1>&6
10925 cat > conftest.
$ac_ext <<EOF
10926 #line 10927 "configure"
10927 #include "confdefs.h"
10928 /* System header to define __stub macros and hopefully few prototypes,
10929 which can conflict with char $ac_func(); below. */
10930 #include <assert.h>
10931 /* Override any gcc2 internal prototype to avoid an error. */
10932 /* We use char because int might match the return type of a gcc2
10933 builtin and then its argument prototype would still apply. */
10938 /* The GNU C library defines this for functions which it implements
10939 to always fail with ENOSYS. Some functions are actually named
10940 something starting with __ and the normal name is an alias. */
10941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10949 if { (eval echo configure
:10950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10951 eval "ac_cv_func_$ac_func=yes"
10953 echo "configure: failed program was:" >&5
10954 cat conftest.
$ac_ext >&5
10956 eval "ac_cv_func_$ac_func=no"
10961 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10962 echo "$ac_t""yes" 1>&6
10963 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10964 cat >> confdefs.h
<<EOF
10965 #define $ac_tr_func 1
10969 echo "$ac_t""no" 1>&6
10975 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
10976 echo "configure:10977: checking for _isinfl declaration" >&5
10977 if test x
${glibcpp_cv_func__isinfl_use+set} != xset
; then
10978 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
10979 echo $ac_n "(cached) $ac_c" 1>&6
10984 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10985 ac_cpp
='$CXXCPP $CPPFLAGS'
10986 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10987 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10988 cross_compiling
=$ac_cv_prog_cxx_cross
10990 cat > conftest.
$ac_ext <<EOF
10991 #line 10992 "configure"
10992 #include "confdefs.h"
10994 #ifdef HAVE_IEEEFP_H
10995 #include <ieeefp.h>
11002 if { (eval echo configure
:11003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11004 glibcpp_cv_func__isinfl_use
=yes
11006 echo "configure: failed program was:" >&5
11007 cat conftest.
$ac_ext >&5
11009 glibcpp_cv_func__isinfl_use
=no
11013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11014 ac_cpp
='$CPP $CPPFLAGS'
11015 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11016 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11017 cross_compiling
=$ac_cv_prog_cc_cross
11023 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
11025 if test x
$glibcpp_cv_func__isinfl_use = x
"yes"; then
11026 for ac_func
in _isinfl
11028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11029 echo "configure:11030: checking for $ac_func" >&5
11030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11031 echo $ac_n "(cached) $ac_c" 1>&6
11033 cat > conftest.
$ac_ext <<EOF
11034 #line 11035 "configure"
11035 #include "confdefs.h"
11036 /* System header to define __stub macros and hopefully few prototypes,
11037 which can conflict with char $ac_func(); below. */
11038 #include <assert.h>
11039 /* Override any gcc2 internal prototype to avoid an error. */
11040 /* We use char because int might match the return type of a gcc2
11041 builtin and then its argument prototype would still apply. */
11046 /* The GNU C library defines this for functions which it implements
11047 to always fail with ENOSYS. Some functions are actually named
11048 something starting with __ and the normal name is an alias. */
11049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11057 if { (eval echo configure
:11058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11059 eval "ac_cv_func_$ac_func=yes"
11061 echo "configure: failed program was:" >&5
11062 cat conftest.
$ac_ext >&5
11064 eval "ac_cv_func_$ac_func=no"
11069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11070 echo "$ac_t""yes" 1>&6
11071 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11072 cat >> confdefs.h
<<EOF
11073 #define $ac_tr_func 1
11077 echo "$ac_t""no" 1>&6
11086 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
11087 echo "configure:11088: checking for copysignl declaration" >&5
11088 if test x
${glibcpp_cv_func_copysignl_use+set} != xset
; then
11089 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
11090 echo $ac_n "(cached) $ac_c" 1>&6
11095 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11096 ac_cpp
='$CXXCPP $CPPFLAGS'
11097 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11098 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11099 cross_compiling
=$ac_cv_prog_cxx_cross
11101 cat > conftest.
$ac_ext <<EOF
11102 #line 11103 "configure"
11103 #include "confdefs.h"
11109 if { (eval echo configure
:11110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11111 glibcpp_cv_func_copysignl_use
=yes
11113 echo "configure: failed program was:" >&5
11114 cat conftest.
$ac_ext >&5
11116 glibcpp_cv_func_copysignl_use
=no
11120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11121 ac_cpp
='$CPP $CPPFLAGS'
11122 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11123 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11124 cross_compiling
=$ac_cv_prog_cc_cross
11130 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
11132 if test x
$glibcpp_cv_func_copysignl_use = x
"yes"; then
11133 for ac_func
in copysignl
11135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11136 echo "configure:11137: checking for $ac_func" >&5
11137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11138 echo $ac_n "(cached) $ac_c" 1>&6
11140 cat > conftest.
$ac_ext <<EOF
11141 #line 11142 "configure"
11142 #include "confdefs.h"
11143 /* System header to define __stub macros and hopefully few prototypes,
11144 which can conflict with char $ac_func(); below. */
11145 #include <assert.h>
11146 /* Override any gcc2 internal prototype to avoid an error. */
11147 /* We use char because int might match the return type of a gcc2
11148 builtin and then its argument prototype would still apply. */
11153 /* The GNU C library defines this for functions which it implements
11154 to always fail with ENOSYS. Some functions are actually named
11155 something starting with __ and the normal name is an alias. */
11156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11164 if { (eval echo configure
:11165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11166 eval "ac_cv_func_$ac_func=yes"
11168 echo "configure: failed program was:" >&5
11169 cat conftest.
$ac_ext >&5
11171 eval "ac_cv_func_$ac_func=no"
11176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11177 echo "$ac_t""yes" 1>&6
11178 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11179 cat >> confdefs.h
<<EOF
11180 #define $ac_tr_func 1
11184 echo "$ac_t""no" 1>&6
11190 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
11191 echo "configure:11192: checking for _copysignl declaration" >&5
11192 if test x
${glibcpp_cv_func__copysignl_use+set} != xset
; then
11193 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
11194 echo $ac_n "(cached) $ac_c" 1>&6
11199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11200 ac_cpp
='$CXXCPP $CPPFLAGS'
11201 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11202 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11203 cross_compiling
=$ac_cv_prog_cxx_cross
11205 cat > conftest.
$ac_ext <<EOF
11206 #line 11207 "configure"
11207 #include "confdefs.h"
11213 if { (eval echo configure
:11214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11215 glibcpp_cv_func__copysignl_use
=yes
11217 echo "configure: failed program was:" >&5
11218 cat conftest.
$ac_ext >&5
11220 glibcpp_cv_func__copysignl_use
=no
11224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11225 ac_cpp
='$CPP $CPPFLAGS'
11226 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11227 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11228 cross_compiling
=$ac_cv_prog_cc_cross
11234 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
11236 if test x
$glibcpp_cv_func__copysignl_use = x
"yes"; then
11237 for ac_func
in _copysignl
11239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11240 echo "configure:11241: checking for $ac_func" >&5
11241 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11242 echo $ac_n "(cached) $ac_c" 1>&6
11244 cat > conftest.
$ac_ext <<EOF
11245 #line 11246 "configure"
11246 #include "confdefs.h"
11247 /* System header to define __stub macros and hopefully few prototypes,
11248 which can conflict with char $ac_func(); below. */
11249 #include <assert.h>
11250 /* Override any gcc2 internal prototype to avoid an error. */
11251 /* We use char because int might match the return type of a gcc2
11252 builtin and then its argument prototype would still apply. */
11257 /* The GNU C library defines this for functions which it implements
11258 to always fail with ENOSYS. Some functions are actually named
11259 something starting with __ and the normal name is an alias. */
11260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11268 if { (eval echo configure
:11269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11270 eval "ac_cv_func_$ac_func=yes"
11272 echo "configure: failed program was:" >&5
11273 cat conftest.
$ac_ext >&5
11275 eval "ac_cv_func_$ac_func=no"
11280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11281 echo "$ac_t""yes" 1>&6
11282 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11283 cat >> confdefs.h
<<EOF
11284 #define $ac_tr_func 1
11288 echo "$ac_t""no" 1>&6
11297 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
11298 echo "configure:11299: checking for atan2l declaration" >&5
11299 if test x
${glibcpp_cv_func_atan2l_use+set} != xset
; then
11300 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
11301 echo $ac_n "(cached) $ac_c" 1>&6
11306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11307 ac_cpp
='$CXXCPP $CPPFLAGS'
11308 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11309 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11310 cross_compiling
=$ac_cv_prog_cxx_cross
11312 cat > conftest.
$ac_ext <<EOF
11313 #line 11314 "configure"
11314 #include "confdefs.h"
11320 if { (eval echo configure
:11321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11322 glibcpp_cv_func_atan2l_use
=yes
11324 echo "configure: failed program was:" >&5
11325 cat conftest.
$ac_ext >&5
11327 glibcpp_cv_func_atan2l_use
=no
11331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11332 ac_cpp
='$CPP $CPPFLAGS'
11333 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11334 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11335 cross_compiling
=$ac_cv_prog_cc_cross
11341 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
11343 if test x
$glibcpp_cv_func_atan2l_use = x
"yes"; then
11344 for ac_func
in atan2l
11346 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11347 echo "configure:11348: checking for $ac_func" >&5
11348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11349 echo $ac_n "(cached) $ac_c" 1>&6
11351 cat > conftest.
$ac_ext <<EOF
11352 #line 11353 "configure"
11353 #include "confdefs.h"
11354 /* System header to define __stub macros and hopefully few prototypes,
11355 which can conflict with char $ac_func(); below. */
11356 #include <assert.h>
11357 /* Override any gcc2 internal prototype to avoid an error. */
11358 /* We use char because int might match the return type of a gcc2
11359 builtin and then its argument prototype would still apply. */
11364 /* The GNU C library defines this for functions which it implements
11365 to always fail with ENOSYS. Some functions are actually named
11366 something starting with __ and the normal name is an alias. */
11367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11375 if { (eval echo configure
:11376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11377 eval "ac_cv_func_$ac_func=yes"
11379 echo "configure: failed program was:" >&5
11380 cat conftest.
$ac_ext >&5
11382 eval "ac_cv_func_$ac_func=no"
11387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11388 echo "$ac_t""yes" 1>&6
11389 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11390 cat >> confdefs.h
<<EOF
11391 #define $ac_tr_func 1
11395 echo "$ac_t""no" 1>&6
11401 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
11402 echo "configure:11403: checking for _atan2l declaration" >&5
11403 if test x
${glibcpp_cv_func__atan2l_use+set} != xset
; then
11404 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
11405 echo $ac_n "(cached) $ac_c" 1>&6
11410 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11411 ac_cpp
='$CXXCPP $CPPFLAGS'
11412 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11413 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11414 cross_compiling
=$ac_cv_prog_cxx_cross
11416 cat > conftest.
$ac_ext <<EOF
11417 #line 11418 "configure"
11418 #include "confdefs.h"
11424 if { (eval echo configure
:11425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11426 glibcpp_cv_func__atan2l_use
=yes
11428 echo "configure: failed program was:" >&5
11429 cat conftest.
$ac_ext >&5
11431 glibcpp_cv_func__atan2l_use
=no
11435 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11436 ac_cpp
='$CPP $CPPFLAGS'
11437 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11438 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11439 cross_compiling
=$ac_cv_prog_cc_cross
11445 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
11447 if test x
$glibcpp_cv_func__atan2l_use = x
"yes"; then
11448 for ac_func
in _atan2l
11450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11451 echo "configure:11452: checking for $ac_func" >&5
11452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11453 echo $ac_n "(cached) $ac_c" 1>&6
11455 cat > conftest.
$ac_ext <<EOF
11456 #line 11457 "configure"
11457 #include "confdefs.h"
11458 /* System header to define __stub macros and hopefully few prototypes,
11459 which can conflict with char $ac_func(); below. */
11460 #include <assert.h>
11461 /* Override any gcc2 internal prototype to avoid an error. */
11462 /* We use char because int might match the return type of a gcc2
11463 builtin and then its argument prototype would still apply. */
11468 /* The GNU C library defines this for functions which it implements
11469 to always fail with ENOSYS. Some functions are actually named
11470 something starting with __ and the normal name is an alias. */
11471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11479 if { (eval echo configure
:11480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11481 eval "ac_cv_func_$ac_func=yes"
11483 echo "configure: failed program was:" >&5
11484 cat conftest.
$ac_ext >&5
11486 eval "ac_cv_func_$ac_func=no"
11491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11492 echo "$ac_t""yes" 1>&6
11493 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11494 cat >> confdefs.h
<<EOF
11495 #define $ac_tr_func 1
11499 echo "$ac_t""no" 1>&6
11508 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
11509 echo "configure:11510: checking for expl declaration" >&5
11510 if test x
${glibcpp_cv_func_expl_use+set} != xset
; then
11511 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
11512 echo $ac_n "(cached) $ac_c" 1>&6
11517 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11518 ac_cpp
='$CXXCPP $CPPFLAGS'
11519 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11520 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11521 cross_compiling
=$ac_cv_prog_cxx_cross
11523 cat > conftest.
$ac_ext <<EOF
11524 #line 11525 "configure"
11525 #include "confdefs.h"
11527 #ifdef HAVE_IEEEFP_H
11528 #include <ieeefp.h>
11535 if { (eval echo configure
:11536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11537 glibcpp_cv_func_expl_use
=yes
11539 echo "configure: failed program was:" >&5
11540 cat conftest.
$ac_ext >&5
11542 glibcpp_cv_func_expl_use
=no
11546 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11547 ac_cpp
='$CPP $CPPFLAGS'
11548 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11549 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11550 cross_compiling
=$ac_cv_prog_cc_cross
11556 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
11558 if test x
$glibcpp_cv_func_expl_use = x
"yes"; then
11559 for ac_func
in expl
11561 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11562 echo "configure:11563: checking for $ac_func" >&5
11563 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11564 echo $ac_n "(cached) $ac_c" 1>&6
11566 cat > conftest.
$ac_ext <<EOF
11567 #line 11568 "configure"
11568 #include "confdefs.h"
11569 /* System header to define __stub macros and hopefully few prototypes,
11570 which can conflict with char $ac_func(); below. */
11571 #include <assert.h>
11572 /* Override any gcc2 internal prototype to avoid an error. */
11573 /* We use char because int might match the return type of a gcc2
11574 builtin and then its argument prototype would still apply. */
11579 /* The GNU C library defines this for functions which it implements
11580 to always fail with ENOSYS. Some functions are actually named
11581 something starting with __ and the normal name is an alias. */
11582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11590 if { (eval echo configure
:11591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11592 eval "ac_cv_func_$ac_func=yes"
11594 echo "configure: failed program was:" >&5
11595 cat conftest.
$ac_ext >&5
11597 eval "ac_cv_func_$ac_func=no"
11602 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11603 echo "$ac_t""yes" 1>&6
11604 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11605 cat >> confdefs.h
<<EOF
11606 #define $ac_tr_func 1
11610 echo "$ac_t""no" 1>&6
11616 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
11617 echo "configure:11618: checking for _expl declaration" >&5
11618 if test x
${glibcpp_cv_func__expl_use+set} != xset
; then
11619 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
11620 echo $ac_n "(cached) $ac_c" 1>&6
11625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11626 ac_cpp
='$CXXCPP $CPPFLAGS'
11627 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11628 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11629 cross_compiling
=$ac_cv_prog_cxx_cross
11631 cat > conftest.
$ac_ext <<EOF
11632 #line 11633 "configure"
11633 #include "confdefs.h"
11635 #ifdef HAVE_IEEEFP_H
11636 #include <ieeefp.h>
11643 if { (eval echo configure
:11644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11645 glibcpp_cv_func__expl_use
=yes
11647 echo "configure: failed program was:" >&5
11648 cat conftest.
$ac_ext >&5
11650 glibcpp_cv_func__expl_use
=no
11654 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11655 ac_cpp
='$CPP $CPPFLAGS'
11656 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11657 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11658 cross_compiling
=$ac_cv_prog_cc_cross
11664 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
11666 if test x
$glibcpp_cv_func__expl_use = x
"yes"; then
11667 for ac_func
in _expl
11669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11670 echo "configure:11671: checking for $ac_func" >&5
11671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11672 echo $ac_n "(cached) $ac_c" 1>&6
11674 cat > conftest.
$ac_ext <<EOF
11675 #line 11676 "configure"
11676 #include "confdefs.h"
11677 /* System header to define __stub macros and hopefully few prototypes,
11678 which can conflict with char $ac_func(); below. */
11679 #include <assert.h>
11680 /* Override any gcc2 internal prototype to avoid an error. */
11681 /* We use char because int might match the return type of a gcc2
11682 builtin and then its argument prototype would still apply. */
11687 /* The GNU C library defines this for functions which it implements
11688 to always fail with ENOSYS. Some functions are actually named
11689 something starting with __ and the normal name is an alias. */
11690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11698 if { (eval echo configure
:11699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11700 eval "ac_cv_func_$ac_func=yes"
11702 echo "configure: failed program was:" >&5
11703 cat conftest.
$ac_ext >&5
11705 eval "ac_cv_func_$ac_func=no"
11710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11711 echo "$ac_t""yes" 1>&6
11712 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11713 cat >> confdefs.h
<<EOF
11714 #define $ac_tr_func 1
11718 echo "$ac_t""no" 1>&6
11727 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
11728 echo "configure:11729: checking for fabsl declaration" >&5
11729 if test x
${glibcpp_cv_func_fabsl_use+set} != xset
; then
11730 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
11731 echo $ac_n "(cached) $ac_c" 1>&6
11736 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11737 ac_cpp
='$CXXCPP $CPPFLAGS'
11738 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11739 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11740 cross_compiling
=$ac_cv_prog_cxx_cross
11742 cat > conftest.
$ac_ext <<EOF
11743 #line 11744 "configure"
11744 #include "confdefs.h"
11746 #ifdef HAVE_IEEEFP_H
11747 #include <ieeefp.h>
11754 if { (eval echo configure
:11755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11756 glibcpp_cv_func_fabsl_use
=yes
11758 echo "configure: failed program was:" >&5
11759 cat conftest.
$ac_ext >&5
11761 glibcpp_cv_func_fabsl_use
=no
11765 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11766 ac_cpp
='$CPP $CPPFLAGS'
11767 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11768 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11769 cross_compiling
=$ac_cv_prog_cc_cross
11775 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
11777 if test x
$glibcpp_cv_func_fabsl_use = x
"yes"; then
11778 for ac_func
in fabsl
11780 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11781 echo "configure:11782: checking for $ac_func" >&5
11782 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11783 echo $ac_n "(cached) $ac_c" 1>&6
11785 cat > conftest.
$ac_ext <<EOF
11786 #line 11787 "configure"
11787 #include "confdefs.h"
11788 /* System header to define __stub macros and hopefully few prototypes,
11789 which can conflict with char $ac_func(); below. */
11790 #include <assert.h>
11791 /* Override any gcc2 internal prototype to avoid an error. */
11792 /* We use char because int might match the return type of a gcc2
11793 builtin and then its argument prototype would still apply. */
11798 /* The GNU C library defines this for functions which it implements
11799 to always fail with ENOSYS. Some functions are actually named
11800 something starting with __ and the normal name is an alias. */
11801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11809 if { (eval echo configure
:11810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11811 eval "ac_cv_func_$ac_func=yes"
11813 echo "configure: failed program was:" >&5
11814 cat conftest.
$ac_ext >&5
11816 eval "ac_cv_func_$ac_func=no"
11821 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11822 echo "$ac_t""yes" 1>&6
11823 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11824 cat >> confdefs.h
<<EOF
11825 #define $ac_tr_func 1
11829 echo "$ac_t""no" 1>&6
11835 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
11836 echo "configure:11837: checking for _fabsl declaration" >&5
11837 if test x
${glibcpp_cv_func__fabsl_use+set} != xset
; then
11838 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
11839 echo $ac_n "(cached) $ac_c" 1>&6
11844 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11845 ac_cpp
='$CXXCPP $CPPFLAGS'
11846 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11847 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11848 cross_compiling
=$ac_cv_prog_cxx_cross
11850 cat > conftest.
$ac_ext <<EOF
11851 #line 11852 "configure"
11852 #include "confdefs.h"
11854 #ifdef HAVE_IEEEFP_H
11855 #include <ieeefp.h>
11862 if { (eval echo configure
:11863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11864 glibcpp_cv_func__fabsl_use
=yes
11866 echo "configure: failed program was:" >&5
11867 cat conftest.
$ac_ext >&5
11869 glibcpp_cv_func__fabsl_use
=no
11873 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11874 ac_cpp
='$CPP $CPPFLAGS'
11875 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11876 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11877 cross_compiling
=$ac_cv_prog_cc_cross
11883 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
11885 if test x
$glibcpp_cv_func__fabsl_use = x
"yes"; then
11886 for ac_func
in _fabsl
11888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11889 echo "configure:11890: checking for $ac_func" >&5
11890 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11891 echo $ac_n "(cached) $ac_c" 1>&6
11893 cat > conftest.
$ac_ext <<EOF
11894 #line 11895 "configure"
11895 #include "confdefs.h"
11896 /* System header to define __stub macros and hopefully few prototypes,
11897 which can conflict with char $ac_func(); below. */
11898 #include <assert.h>
11899 /* Override any gcc2 internal prototype to avoid an error. */
11900 /* We use char because int might match the return type of a gcc2
11901 builtin and then its argument prototype would still apply. */
11906 /* The GNU C library defines this for functions which it implements
11907 to always fail with ENOSYS. Some functions are actually named
11908 something starting with __ and the normal name is an alias. */
11909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11917 if { (eval echo configure
:11918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11919 eval "ac_cv_func_$ac_func=yes"
11921 echo "configure: failed program was:" >&5
11922 cat conftest.
$ac_ext >&5
11924 eval "ac_cv_func_$ac_func=no"
11929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11930 echo "$ac_t""yes" 1>&6
11931 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11932 cat >> confdefs.h
<<EOF
11933 #define $ac_tr_func 1
11937 echo "$ac_t""no" 1>&6
11946 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
11947 echo "configure:11948: checking for fmodl declaration" >&5
11948 if test x
${glibcpp_cv_func_fmodl_use+set} != xset
; then
11949 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
11950 echo $ac_n "(cached) $ac_c" 1>&6
11955 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11956 ac_cpp
='$CXXCPP $CPPFLAGS'
11957 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11958 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11959 cross_compiling
=$ac_cv_prog_cxx_cross
11961 cat > conftest.
$ac_ext <<EOF
11962 #line 11963 "configure"
11963 #include "confdefs.h"
11969 if { (eval echo configure
:11970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11971 glibcpp_cv_func_fmodl_use
=yes
11973 echo "configure: failed program was:" >&5
11974 cat conftest.
$ac_ext >&5
11976 glibcpp_cv_func_fmodl_use
=no
11980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11981 ac_cpp
='$CPP $CPPFLAGS'
11982 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11983 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11984 cross_compiling
=$ac_cv_prog_cc_cross
11990 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
11992 if test x
$glibcpp_cv_func_fmodl_use = x
"yes"; then
11993 for ac_func
in fmodl
11995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11996 echo "configure:11997: checking for $ac_func" >&5
11997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11998 echo $ac_n "(cached) $ac_c" 1>&6
12000 cat > conftest.
$ac_ext <<EOF
12001 #line 12002 "configure"
12002 #include "confdefs.h"
12003 /* System header to define __stub macros and hopefully few prototypes,
12004 which can conflict with char $ac_func(); below. */
12005 #include <assert.h>
12006 /* Override any gcc2 internal prototype to avoid an error. */
12007 /* We use char because int might match the return type of a gcc2
12008 builtin and then its argument prototype would still apply. */
12013 /* The GNU C library defines this for functions which it implements
12014 to always fail with ENOSYS. Some functions are actually named
12015 something starting with __ and the normal name is an alias. */
12016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12024 if { (eval echo configure
:12025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12026 eval "ac_cv_func_$ac_func=yes"
12028 echo "configure: failed program was:" >&5
12029 cat conftest.
$ac_ext >&5
12031 eval "ac_cv_func_$ac_func=no"
12036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12037 echo "$ac_t""yes" 1>&6
12038 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12039 cat >> confdefs.h
<<EOF
12040 #define $ac_tr_func 1
12044 echo "$ac_t""no" 1>&6
12050 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
12051 echo "configure:12052: checking for _fmodl declaration" >&5
12052 if test x
${glibcpp_cv_func__fmodl_use+set} != xset
; then
12053 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
12054 echo $ac_n "(cached) $ac_c" 1>&6
12059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12060 ac_cpp
='$CXXCPP $CPPFLAGS'
12061 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12062 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12063 cross_compiling
=$ac_cv_prog_cxx_cross
12065 cat > conftest.
$ac_ext <<EOF
12066 #line 12067 "configure"
12067 #include "confdefs.h"
12073 if { (eval echo configure
:12074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12075 glibcpp_cv_func__fmodl_use
=yes
12077 echo "configure: failed program was:" >&5
12078 cat conftest.
$ac_ext >&5
12080 glibcpp_cv_func__fmodl_use
=no
12084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12085 ac_cpp
='$CPP $CPPFLAGS'
12086 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12087 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12088 cross_compiling
=$ac_cv_prog_cc_cross
12094 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
12096 if test x
$glibcpp_cv_func__fmodl_use = x
"yes"; then
12097 for ac_func
in _fmodl
12099 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12100 echo "configure:12101: checking for $ac_func" >&5
12101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12102 echo $ac_n "(cached) $ac_c" 1>&6
12104 cat > conftest.
$ac_ext <<EOF
12105 #line 12106 "configure"
12106 #include "confdefs.h"
12107 /* System header to define __stub macros and hopefully few prototypes,
12108 which can conflict with char $ac_func(); below. */
12109 #include <assert.h>
12110 /* Override any gcc2 internal prototype to avoid an error. */
12111 /* We use char because int might match the return type of a gcc2
12112 builtin and then its argument prototype would still apply. */
12117 /* The GNU C library defines this for functions which it implements
12118 to always fail with ENOSYS. Some functions are actually named
12119 something starting with __ and the normal name is an alias. */
12120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12128 if { (eval echo configure
:12129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12130 eval "ac_cv_func_$ac_func=yes"
12132 echo "configure: failed program was:" >&5
12133 cat conftest.
$ac_ext >&5
12135 eval "ac_cv_func_$ac_func=no"
12140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12141 echo "$ac_t""yes" 1>&6
12142 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12143 cat >> confdefs.h
<<EOF
12144 #define $ac_tr_func 1
12148 echo "$ac_t""no" 1>&6
12157 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
12158 echo "configure:12159: checking for frexpl declaration" >&5
12159 if test x
${glibcpp_cv_func_frexpl_use+set} != xset
; then
12160 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
12161 echo $ac_n "(cached) $ac_c" 1>&6
12166 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12167 ac_cpp
='$CXXCPP $CPPFLAGS'
12168 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12169 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12170 cross_compiling
=$ac_cv_prog_cxx_cross
12172 cat > conftest.
$ac_ext <<EOF
12173 #line 12174 "configure"
12174 #include "confdefs.h"
12180 if { (eval echo configure
:12181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12182 glibcpp_cv_func_frexpl_use
=yes
12184 echo "configure: failed program was:" >&5
12185 cat conftest.
$ac_ext >&5
12187 glibcpp_cv_func_frexpl_use
=no
12191 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12192 ac_cpp
='$CPP $CPPFLAGS'
12193 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12194 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12195 cross_compiling
=$ac_cv_prog_cc_cross
12201 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
12203 if test x
$glibcpp_cv_func_frexpl_use = x
"yes"; then
12204 for ac_func
in frexpl
12206 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12207 echo "configure:12208: checking for $ac_func" >&5
12208 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12209 echo $ac_n "(cached) $ac_c" 1>&6
12211 cat > conftest.
$ac_ext <<EOF
12212 #line 12213 "configure"
12213 #include "confdefs.h"
12214 /* System header to define __stub macros and hopefully few prototypes,
12215 which can conflict with char $ac_func(); below. */
12216 #include <assert.h>
12217 /* Override any gcc2 internal prototype to avoid an error. */
12218 /* We use char because int might match the return type of a gcc2
12219 builtin and then its argument prototype would still apply. */
12224 /* The GNU C library defines this for functions which it implements
12225 to always fail with ENOSYS. Some functions are actually named
12226 something starting with __ and the normal name is an alias. */
12227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12235 if { (eval echo configure
:12236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12237 eval "ac_cv_func_$ac_func=yes"
12239 echo "configure: failed program was:" >&5
12240 cat conftest.
$ac_ext >&5
12242 eval "ac_cv_func_$ac_func=no"
12247 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12248 echo "$ac_t""yes" 1>&6
12249 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12250 cat >> confdefs.h
<<EOF
12251 #define $ac_tr_func 1
12255 echo "$ac_t""no" 1>&6
12261 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
12262 echo "configure:12263: checking for _frexpl declaration" >&5
12263 if test x
${glibcpp_cv_func__frexpl_use+set} != xset
; then
12264 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
12265 echo $ac_n "(cached) $ac_c" 1>&6
12270 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12271 ac_cpp
='$CXXCPP $CPPFLAGS'
12272 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12273 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12274 cross_compiling
=$ac_cv_prog_cxx_cross
12276 cat > conftest.
$ac_ext <<EOF
12277 #line 12278 "configure"
12278 #include "confdefs.h"
12284 if { (eval echo configure
:12285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12286 glibcpp_cv_func__frexpl_use
=yes
12288 echo "configure: failed program was:" >&5
12289 cat conftest.
$ac_ext >&5
12291 glibcpp_cv_func__frexpl_use
=no
12295 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12296 ac_cpp
='$CPP $CPPFLAGS'
12297 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12298 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12299 cross_compiling
=$ac_cv_prog_cc_cross
12305 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
12307 if test x
$glibcpp_cv_func__frexpl_use = x
"yes"; then
12308 for ac_func
in _frexpl
12310 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12311 echo "configure:12312: checking for $ac_func" >&5
12312 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12313 echo $ac_n "(cached) $ac_c" 1>&6
12315 cat > conftest.
$ac_ext <<EOF
12316 #line 12317 "configure"
12317 #include "confdefs.h"
12318 /* System header to define __stub macros and hopefully few prototypes,
12319 which can conflict with char $ac_func(); below. */
12320 #include <assert.h>
12321 /* Override any gcc2 internal prototype to avoid an error. */
12322 /* We use char because int might match the return type of a gcc2
12323 builtin and then its argument prototype would still apply. */
12328 /* The GNU C library defines this for functions which it implements
12329 to always fail with ENOSYS. Some functions are actually named
12330 something starting with __ and the normal name is an alias. */
12331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12339 if { (eval echo configure
:12340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12341 eval "ac_cv_func_$ac_func=yes"
12343 echo "configure: failed program was:" >&5
12344 cat conftest.
$ac_ext >&5
12346 eval "ac_cv_func_$ac_func=no"
12351 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12352 echo "$ac_t""yes" 1>&6
12353 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12354 cat >> confdefs.h
<<EOF
12355 #define $ac_tr_func 1
12359 echo "$ac_t""no" 1>&6
12368 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
12369 echo "configure:12370: checking for ldexpl declaration" >&5
12370 if test x
${glibcpp_cv_func_ldexpl_use+set} != xset
; then
12371 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
12372 echo $ac_n "(cached) $ac_c" 1>&6
12377 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12378 ac_cpp
='$CXXCPP $CPPFLAGS'
12379 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12380 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12381 cross_compiling
=$ac_cv_prog_cxx_cross
12383 cat > conftest.
$ac_ext <<EOF
12384 #line 12385 "configure"
12385 #include "confdefs.h"
12391 if { (eval echo configure
:12392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12393 glibcpp_cv_func_ldexpl_use
=yes
12395 echo "configure: failed program was:" >&5
12396 cat conftest.
$ac_ext >&5
12398 glibcpp_cv_func_ldexpl_use
=no
12402 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12403 ac_cpp
='$CPP $CPPFLAGS'
12404 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12405 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12406 cross_compiling
=$ac_cv_prog_cc_cross
12412 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
12414 if test x
$glibcpp_cv_func_ldexpl_use = x
"yes"; then
12415 for ac_func
in ldexpl
12417 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12418 echo "configure:12419: checking for $ac_func" >&5
12419 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12420 echo $ac_n "(cached) $ac_c" 1>&6
12422 cat > conftest.
$ac_ext <<EOF
12423 #line 12424 "configure"
12424 #include "confdefs.h"
12425 /* System header to define __stub macros and hopefully few prototypes,
12426 which can conflict with char $ac_func(); below. */
12427 #include <assert.h>
12428 /* Override any gcc2 internal prototype to avoid an error. */
12429 /* We use char because int might match the return type of a gcc2
12430 builtin and then its argument prototype would still apply. */
12435 /* The GNU C library defines this for functions which it implements
12436 to always fail with ENOSYS. Some functions are actually named
12437 something starting with __ and the normal name is an alias. */
12438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12446 if { (eval echo configure
:12447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12448 eval "ac_cv_func_$ac_func=yes"
12450 echo "configure: failed program was:" >&5
12451 cat conftest.
$ac_ext >&5
12453 eval "ac_cv_func_$ac_func=no"
12458 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12459 echo "$ac_t""yes" 1>&6
12460 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12461 cat >> confdefs.h
<<EOF
12462 #define $ac_tr_func 1
12466 echo "$ac_t""no" 1>&6
12472 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
12473 echo "configure:12474: checking for _ldexpl declaration" >&5
12474 if test x
${glibcpp_cv_func__ldexpl_use+set} != xset
; then
12475 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
12476 echo $ac_n "(cached) $ac_c" 1>&6
12481 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12482 ac_cpp
='$CXXCPP $CPPFLAGS'
12483 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12484 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12485 cross_compiling
=$ac_cv_prog_cxx_cross
12487 cat > conftest.
$ac_ext <<EOF
12488 #line 12489 "configure"
12489 #include "confdefs.h"
12495 if { (eval echo configure
:12496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12497 glibcpp_cv_func__ldexpl_use
=yes
12499 echo "configure: failed program was:" >&5
12500 cat conftest.
$ac_ext >&5
12502 glibcpp_cv_func__ldexpl_use
=no
12506 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12507 ac_cpp
='$CPP $CPPFLAGS'
12508 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12509 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12510 cross_compiling
=$ac_cv_prog_cc_cross
12516 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
12518 if test x
$glibcpp_cv_func__ldexpl_use = x
"yes"; then
12519 for ac_func
in _ldexpl
12521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12522 echo "configure:12523: checking for $ac_func" >&5
12523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12524 echo $ac_n "(cached) $ac_c" 1>&6
12526 cat > conftest.
$ac_ext <<EOF
12527 #line 12528 "configure"
12528 #include "confdefs.h"
12529 /* System header to define __stub macros and hopefully few prototypes,
12530 which can conflict with char $ac_func(); below. */
12531 #include <assert.h>
12532 /* Override any gcc2 internal prototype to avoid an error. */
12533 /* We use char because int might match the return type of a gcc2
12534 builtin and then its argument prototype would still apply. */
12539 /* The GNU C library defines this for functions which it implements
12540 to always fail with ENOSYS. Some functions are actually named
12541 something starting with __ and the normal name is an alias. */
12542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12550 if { (eval echo configure
:12551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12552 eval "ac_cv_func_$ac_func=yes"
12554 echo "configure: failed program was:" >&5
12555 cat conftest.
$ac_ext >&5
12557 eval "ac_cv_func_$ac_func=no"
12562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12563 echo "$ac_t""yes" 1>&6
12564 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12565 cat >> confdefs.h
<<EOF
12566 #define $ac_tr_func 1
12570 echo "$ac_t""no" 1>&6
12579 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
12580 echo "configure:12581: checking for logl declaration" >&5
12581 if test x
${glibcpp_cv_func_logl_use+set} != xset
; then
12582 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
12583 echo $ac_n "(cached) $ac_c" 1>&6
12588 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12589 ac_cpp
='$CXXCPP $CPPFLAGS'
12590 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12591 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12592 cross_compiling
=$ac_cv_prog_cxx_cross
12594 cat > conftest.
$ac_ext <<EOF
12595 #line 12596 "configure"
12596 #include "confdefs.h"
12598 #ifdef HAVE_IEEEFP_H
12599 #include <ieeefp.h>
12606 if { (eval echo configure
:12607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12608 glibcpp_cv_func_logl_use
=yes
12610 echo "configure: failed program was:" >&5
12611 cat conftest.
$ac_ext >&5
12613 glibcpp_cv_func_logl_use
=no
12617 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12618 ac_cpp
='$CPP $CPPFLAGS'
12619 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12620 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12621 cross_compiling
=$ac_cv_prog_cc_cross
12627 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
12629 if test x
$glibcpp_cv_func_logl_use = x
"yes"; then
12630 for ac_func
in logl
12632 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12633 echo "configure:12634: checking for $ac_func" >&5
12634 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12635 echo $ac_n "(cached) $ac_c" 1>&6
12637 cat > conftest.
$ac_ext <<EOF
12638 #line 12639 "configure"
12639 #include "confdefs.h"
12640 /* System header to define __stub macros and hopefully few prototypes,
12641 which can conflict with char $ac_func(); below. */
12642 #include <assert.h>
12643 /* Override any gcc2 internal prototype to avoid an error. */
12644 /* We use char because int might match the return type of a gcc2
12645 builtin and then its argument prototype would still apply. */
12650 /* The GNU C library defines this for functions which it implements
12651 to always fail with ENOSYS. Some functions are actually named
12652 something starting with __ and the normal name is an alias. */
12653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12661 if { (eval echo configure
:12662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12663 eval "ac_cv_func_$ac_func=yes"
12665 echo "configure: failed program was:" >&5
12666 cat conftest.
$ac_ext >&5
12668 eval "ac_cv_func_$ac_func=no"
12673 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12674 echo "$ac_t""yes" 1>&6
12675 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12676 cat >> confdefs.h
<<EOF
12677 #define $ac_tr_func 1
12681 echo "$ac_t""no" 1>&6
12687 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
12688 echo "configure:12689: checking for _logl declaration" >&5
12689 if test x
${glibcpp_cv_func__logl_use+set} != xset
; then
12690 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
12691 echo $ac_n "(cached) $ac_c" 1>&6
12696 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12697 ac_cpp
='$CXXCPP $CPPFLAGS'
12698 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12699 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12700 cross_compiling
=$ac_cv_prog_cxx_cross
12702 cat > conftest.
$ac_ext <<EOF
12703 #line 12704 "configure"
12704 #include "confdefs.h"
12706 #ifdef HAVE_IEEEFP_H
12707 #include <ieeefp.h>
12714 if { (eval echo configure
:12715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12716 glibcpp_cv_func__logl_use
=yes
12718 echo "configure: failed program was:" >&5
12719 cat conftest.
$ac_ext >&5
12721 glibcpp_cv_func__logl_use
=no
12725 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12726 ac_cpp
='$CPP $CPPFLAGS'
12727 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12728 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12729 cross_compiling
=$ac_cv_prog_cc_cross
12735 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
12737 if test x
$glibcpp_cv_func__logl_use = x
"yes"; then
12738 for ac_func
in _logl
12740 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12741 echo "configure:12742: checking for $ac_func" >&5
12742 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12743 echo $ac_n "(cached) $ac_c" 1>&6
12745 cat > conftest.
$ac_ext <<EOF
12746 #line 12747 "configure"
12747 #include "confdefs.h"
12748 /* System header to define __stub macros and hopefully few prototypes,
12749 which can conflict with char $ac_func(); below. */
12750 #include <assert.h>
12751 /* Override any gcc2 internal prototype to avoid an error. */
12752 /* We use char because int might match the return type of a gcc2
12753 builtin and then its argument prototype would still apply. */
12758 /* The GNU C library defines this for functions which it implements
12759 to always fail with ENOSYS. Some functions are actually named
12760 something starting with __ and the normal name is an alias. */
12761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12769 if { (eval echo configure
:12770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12771 eval "ac_cv_func_$ac_func=yes"
12773 echo "configure: failed program was:" >&5
12774 cat conftest.
$ac_ext >&5
12776 eval "ac_cv_func_$ac_func=no"
12781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12782 echo "$ac_t""yes" 1>&6
12783 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12784 cat >> confdefs.h
<<EOF
12785 #define $ac_tr_func 1
12789 echo "$ac_t""no" 1>&6
12798 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
12799 echo "configure:12800: checking for log10l declaration" >&5
12800 if test x
${glibcpp_cv_func_log10l_use+set} != xset
; then
12801 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
12802 echo $ac_n "(cached) $ac_c" 1>&6
12807 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12808 ac_cpp
='$CXXCPP $CPPFLAGS'
12809 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12810 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12811 cross_compiling
=$ac_cv_prog_cxx_cross
12813 cat > conftest.
$ac_ext <<EOF
12814 #line 12815 "configure"
12815 #include "confdefs.h"
12817 #ifdef HAVE_IEEEFP_H
12818 #include <ieeefp.h>
12825 if { (eval echo configure
:12826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12827 glibcpp_cv_func_log10l_use
=yes
12829 echo "configure: failed program was:" >&5
12830 cat conftest.
$ac_ext >&5
12832 glibcpp_cv_func_log10l_use
=no
12836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12837 ac_cpp
='$CPP $CPPFLAGS'
12838 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12839 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12840 cross_compiling
=$ac_cv_prog_cc_cross
12846 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
12848 if test x
$glibcpp_cv_func_log10l_use = x
"yes"; then
12849 for ac_func
in log10l
12851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12852 echo "configure:12853: checking for $ac_func" >&5
12853 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12854 echo $ac_n "(cached) $ac_c" 1>&6
12856 cat > conftest.
$ac_ext <<EOF
12857 #line 12858 "configure"
12858 #include "confdefs.h"
12859 /* System header to define __stub macros and hopefully few prototypes,
12860 which can conflict with char $ac_func(); below. */
12861 #include <assert.h>
12862 /* Override any gcc2 internal prototype to avoid an error. */
12863 /* We use char because int might match the return type of a gcc2
12864 builtin and then its argument prototype would still apply. */
12869 /* The GNU C library defines this for functions which it implements
12870 to always fail with ENOSYS. Some functions are actually named
12871 something starting with __ and the normal name is an alias. */
12872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12880 if { (eval echo configure
:12881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12882 eval "ac_cv_func_$ac_func=yes"
12884 echo "configure: failed program was:" >&5
12885 cat conftest.
$ac_ext >&5
12887 eval "ac_cv_func_$ac_func=no"
12892 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12893 echo "$ac_t""yes" 1>&6
12894 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12895 cat >> confdefs.h
<<EOF
12896 #define $ac_tr_func 1
12900 echo "$ac_t""no" 1>&6
12906 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
12907 echo "configure:12908: checking for _log10l declaration" >&5
12908 if test x
${glibcpp_cv_func__log10l_use+set} != xset
; then
12909 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
12910 echo $ac_n "(cached) $ac_c" 1>&6
12915 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12916 ac_cpp
='$CXXCPP $CPPFLAGS'
12917 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12918 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12919 cross_compiling
=$ac_cv_prog_cxx_cross
12921 cat > conftest.
$ac_ext <<EOF
12922 #line 12923 "configure"
12923 #include "confdefs.h"
12925 #ifdef HAVE_IEEEFP_H
12926 #include <ieeefp.h>
12933 if { (eval echo configure
:12934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12935 glibcpp_cv_func__log10l_use
=yes
12937 echo "configure: failed program was:" >&5
12938 cat conftest.
$ac_ext >&5
12940 glibcpp_cv_func__log10l_use
=no
12944 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12945 ac_cpp
='$CPP $CPPFLAGS'
12946 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12947 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12948 cross_compiling
=$ac_cv_prog_cc_cross
12954 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
12956 if test x
$glibcpp_cv_func__log10l_use = x
"yes"; then
12957 for ac_func
in _log10l
12959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12960 echo "configure:12961: checking for $ac_func" >&5
12961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12962 echo $ac_n "(cached) $ac_c" 1>&6
12964 cat > conftest.
$ac_ext <<EOF
12965 #line 12966 "configure"
12966 #include "confdefs.h"
12967 /* System header to define __stub macros and hopefully few prototypes,
12968 which can conflict with char $ac_func(); below. */
12969 #include <assert.h>
12970 /* Override any gcc2 internal prototype to avoid an error. */
12971 /* We use char because int might match the return type of a gcc2
12972 builtin and then its argument prototype would still apply. */
12977 /* The GNU C library defines this for functions which it implements
12978 to always fail with ENOSYS. Some functions are actually named
12979 something starting with __ and the normal name is an alias. */
12980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12988 if { (eval echo configure
:12989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12990 eval "ac_cv_func_$ac_func=yes"
12992 echo "configure: failed program was:" >&5
12993 cat conftest.
$ac_ext >&5
12995 eval "ac_cv_func_$ac_func=no"
13000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13001 echo "$ac_t""yes" 1>&6
13002 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13003 cat >> confdefs.h
<<EOF
13004 #define $ac_tr_func 1
13008 echo "$ac_t""no" 1>&6
13017 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
13018 echo "configure:13019: checking for modfl declaration" >&5
13019 if test x
${glibcpp_cv_func_modfl_use+set} != xset
; then
13020 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
13021 echo $ac_n "(cached) $ac_c" 1>&6
13026 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13027 ac_cpp
='$CXXCPP $CPPFLAGS'
13028 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13029 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13030 cross_compiling
=$ac_cv_prog_cxx_cross
13032 cat > conftest.
$ac_ext <<EOF
13033 #line 13034 "configure"
13034 #include "confdefs.h"
13040 if { (eval echo configure
:13041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13042 glibcpp_cv_func_modfl_use
=yes
13044 echo "configure: failed program was:" >&5
13045 cat conftest.
$ac_ext >&5
13047 glibcpp_cv_func_modfl_use
=no
13051 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13052 ac_cpp
='$CPP $CPPFLAGS'
13053 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13054 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13055 cross_compiling
=$ac_cv_prog_cc_cross
13061 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
13063 if test x
$glibcpp_cv_func_modfl_use = x
"yes"; then
13064 for ac_func
in modfl
13066 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13067 echo "configure:13068: checking for $ac_func" >&5
13068 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13069 echo $ac_n "(cached) $ac_c" 1>&6
13071 cat > conftest.
$ac_ext <<EOF
13072 #line 13073 "configure"
13073 #include "confdefs.h"
13074 /* System header to define __stub macros and hopefully few prototypes,
13075 which can conflict with char $ac_func(); below. */
13076 #include <assert.h>
13077 /* Override any gcc2 internal prototype to avoid an error. */
13078 /* We use char because int might match the return type of a gcc2
13079 builtin and then its argument prototype would still apply. */
13084 /* The GNU C library defines this for functions which it implements
13085 to always fail with ENOSYS. Some functions are actually named
13086 something starting with __ and the normal name is an alias. */
13087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13095 if { (eval echo configure
:13096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13097 eval "ac_cv_func_$ac_func=yes"
13099 echo "configure: failed program was:" >&5
13100 cat conftest.
$ac_ext >&5
13102 eval "ac_cv_func_$ac_func=no"
13107 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13108 echo "$ac_t""yes" 1>&6
13109 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13110 cat >> confdefs.h
<<EOF
13111 #define $ac_tr_func 1
13115 echo "$ac_t""no" 1>&6
13121 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
13122 echo "configure:13123: checking for _modfl declaration" >&5
13123 if test x
${glibcpp_cv_func__modfl_use+set} != xset
; then
13124 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13125 echo $ac_n "(cached) $ac_c" 1>&6
13130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13131 ac_cpp
='$CXXCPP $CPPFLAGS'
13132 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13133 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13134 cross_compiling
=$ac_cv_prog_cxx_cross
13136 cat > conftest.
$ac_ext <<EOF
13137 #line 13138 "configure"
13138 #include "confdefs.h"
13144 if { (eval echo configure
:13145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13146 glibcpp_cv_func__modfl_use
=yes
13148 echo "configure: failed program was:" >&5
13149 cat conftest.
$ac_ext >&5
13151 glibcpp_cv_func__modfl_use
=no
13155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13156 ac_cpp
='$CPP $CPPFLAGS'
13157 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13158 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13159 cross_compiling
=$ac_cv_prog_cc_cross
13165 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13167 if test x
$glibcpp_cv_func__modfl_use = x
"yes"; then
13168 for ac_func
in _modfl
13170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13171 echo "configure:13172: checking for $ac_func" >&5
13172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13173 echo $ac_n "(cached) $ac_c" 1>&6
13175 cat > conftest.
$ac_ext <<EOF
13176 #line 13177 "configure"
13177 #include "confdefs.h"
13178 /* System header to define __stub macros and hopefully few prototypes,
13179 which can conflict with char $ac_func(); below. */
13180 #include <assert.h>
13181 /* Override any gcc2 internal prototype to avoid an error. */
13182 /* We use char because int might match the return type of a gcc2
13183 builtin and then its argument prototype would still apply. */
13188 /* The GNU C library defines this for functions which it implements
13189 to always fail with ENOSYS. Some functions are actually named
13190 something starting with __ and the normal name is an alias. */
13191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13199 if { (eval echo configure
:13200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13201 eval "ac_cv_func_$ac_func=yes"
13203 echo "configure: failed program was:" >&5
13204 cat conftest.
$ac_ext >&5
13206 eval "ac_cv_func_$ac_func=no"
13211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13212 echo "$ac_t""yes" 1>&6
13213 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13214 cat >> confdefs.h
<<EOF
13215 #define $ac_tr_func 1
13219 echo "$ac_t""no" 1>&6
13228 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
13229 echo "configure:13230: checking for powl declaration" >&5
13230 if test x
${glibcpp_cv_func_powl_use+set} != xset
; then
13231 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
13232 echo $ac_n "(cached) $ac_c" 1>&6
13237 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13238 ac_cpp
='$CXXCPP $CPPFLAGS'
13239 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13240 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13241 cross_compiling
=$ac_cv_prog_cxx_cross
13243 cat > conftest.
$ac_ext <<EOF
13244 #line 13245 "configure"
13245 #include "confdefs.h"
13251 if { (eval echo configure
:13252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13253 glibcpp_cv_func_powl_use
=yes
13255 echo "configure: failed program was:" >&5
13256 cat conftest.
$ac_ext >&5
13258 glibcpp_cv_func_powl_use
=no
13262 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13263 ac_cpp
='$CPP $CPPFLAGS'
13264 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13265 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13266 cross_compiling
=$ac_cv_prog_cc_cross
13272 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
13274 if test x
$glibcpp_cv_func_powl_use = x
"yes"; then
13275 for ac_func
in powl
13277 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13278 echo "configure:13279: checking for $ac_func" >&5
13279 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13280 echo $ac_n "(cached) $ac_c" 1>&6
13282 cat > conftest.
$ac_ext <<EOF
13283 #line 13284 "configure"
13284 #include "confdefs.h"
13285 /* System header to define __stub macros and hopefully few prototypes,
13286 which can conflict with char $ac_func(); below. */
13287 #include <assert.h>
13288 /* Override any gcc2 internal prototype to avoid an error. */
13289 /* We use char because int might match the return type of a gcc2
13290 builtin and then its argument prototype would still apply. */
13295 /* The GNU C library defines this for functions which it implements
13296 to always fail with ENOSYS. Some functions are actually named
13297 something starting with __ and the normal name is an alias. */
13298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13306 if { (eval echo configure
:13307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13308 eval "ac_cv_func_$ac_func=yes"
13310 echo "configure: failed program was:" >&5
13311 cat conftest.
$ac_ext >&5
13313 eval "ac_cv_func_$ac_func=no"
13318 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13319 echo "$ac_t""yes" 1>&6
13320 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13321 cat >> confdefs.h
<<EOF
13322 #define $ac_tr_func 1
13326 echo "$ac_t""no" 1>&6
13332 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
13333 echo "configure:13334: checking for _powl declaration" >&5
13334 if test x
${glibcpp_cv_func__powl_use+set} != xset
; then
13335 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
13336 echo $ac_n "(cached) $ac_c" 1>&6
13341 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13342 ac_cpp
='$CXXCPP $CPPFLAGS'
13343 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13344 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13345 cross_compiling
=$ac_cv_prog_cxx_cross
13347 cat > conftest.
$ac_ext <<EOF
13348 #line 13349 "configure"
13349 #include "confdefs.h"
13355 if { (eval echo configure
:13356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13357 glibcpp_cv_func__powl_use
=yes
13359 echo "configure: failed program was:" >&5
13360 cat conftest.
$ac_ext >&5
13362 glibcpp_cv_func__powl_use
=no
13366 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13367 ac_cpp
='$CPP $CPPFLAGS'
13368 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13369 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13370 cross_compiling
=$ac_cv_prog_cc_cross
13376 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
13378 if test x
$glibcpp_cv_func__powl_use = x
"yes"; then
13379 for ac_func
in _powl
13381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13382 echo "configure:13383: checking for $ac_func" >&5
13383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13384 echo $ac_n "(cached) $ac_c" 1>&6
13386 cat > conftest.
$ac_ext <<EOF
13387 #line 13388 "configure"
13388 #include "confdefs.h"
13389 /* System header to define __stub macros and hopefully few prototypes,
13390 which can conflict with char $ac_func(); below. */
13391 #include <assert.h>
13392 /* Override any gcc2 internal prototype to avoid an error. */
13393 /* We use char because int might match the return type of a gcc2
13394 builtin and then its argument prototype would still apply. */
13399 /* The GNU C library defines this for functions which it implements
13400 to always fail with ENOSYS. Some functions are actually named
13401 something starting with __ and the normal name is an alias. */
13402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13410 if { (eval echo configure
:13411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13412 eval "ac_cv_func_$ac_func=yes"
13414 echo "configure: failed program was:" >&5
13415 cat conftest.
$ac_ext >&5
13417 eval "ac_cv_func_$ac_func=no"
13422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13423 echo "$ac_t""yes" 1>&6
13424 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13425 cat >> confdefs.h
<<EOF
13426 #define $ac_tr_func 1
13430 echo "$ac_t""no" 1>&6
13439 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
13440 echo "configure:13441: checking for sqrtl declaration" >&5
13441 if test x
${glibcpp_cv_func_sqrtl_use+set} != xset
; then
13442 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
13443 echo $ac_n "(cached) $ac_c" 1>&6
13448 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13449 ac_cpp
='$CXXCPP $CPPFLAGS'
13450 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13451 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13452 cross_compiling
=$ac_cv_prog_cxx_cross
13454 cat > conftest.
$ac_ext <<EOF
13455 #line 13456 "configure"
13456 #include "confdefs.h"
13458 #ifdef HAVE_IEEEFP_H
13459 #include <ieeefp.h>
13466 if { (eval echo configure
:13467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13468 glibcpp_cv_func_sqrtl_use
=yes
13470 echo "configure: failed program was:" >&5
13471 cat conftest.
$ac_ext >&5
13473 glibcpp_cv_func_sqrtl_use
=no
13477 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13478 ac_cpp
='$CPP $CPPFLAGS'
13479 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13480 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13481 cross_compiling
=$ac_cv_prog_cc_cross
13487 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
13489 if test x
$glibcpp_cv_func_sqrtl_use = x
"yes"; then
13490 for ac_func
in sqrtl
13492 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13493 echo "configure:13494: checking for $ac_func" >&5
13494 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13495 echo $ac_n "(cached) $ac_c" 1>&6
13497 cat > conftest.
$ac_ext <<EOF
13498 #line 13499 "configure"
13499 #include "confdefs.h"
13500 /* System header to define __stub macros and hopefully few prototypes,
13501 which can conflict with char $ac_func(); below. */
13502 #include <assert.h>
13503 /* Override any gcc2 internal prototype to avoid an error. */
13504 /* We use char because int might match the return type of a gcc2
13505 builtin and then its argument prototype would still apply. */
13510 /* The GNU C library defines this for functions which it implements
13511 to always fail with ENOSYS. Some functions are actually named
13512 something starting with __ and the normal name is an alias. */
13513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13521 if { (eval echo configure
:13522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13523 eval "ac_cv_func_$ac_func=yes"
13525 echo "configure: failed program was:" >&5
13526 cat conftest.
$ac_ext >&5
13528 eval "ac_cv_func_$ac_func=no"
13533 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13534 echo "$ac_t""yes" 1>&6
13535 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13536 cat >> confdefs.h
<<EOF
13537 #define $ac_tr_func 1
13541 echo "$ac_t""no" 1>&6
13547 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
13548 echo "configure:13549: checking for _sqrtl declaration" >&5
13549 if test x
${glibcpp_cv_func__sqrtl_use+set} != xset
; then
13550 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
13551 echo $ac_n "(cached) $ac_c" 1>&6
13556 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13557 ac_cpp
='$CXXCPP $CPPFLAGS'
13558 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13559 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13560 cross_compiling
=$ac_cv_prog_cxx_cross
13562 cat > conftest.
$ac_ext <<EOF
13563 #line 13564 "configure"
13564 #include "confdefs.h"
13566 #ifdef HAVE_IEEEFP_H
13567 #include <ieeefp.h>
13574 if { (eval echo configure
:13575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13576 glibcpp_cv_func__sqrtl_use
=yes
13578 echo "configure: failed program was:" >&5
13579 cat conftest.
$ac_ext >&5
13581 glibcpp_cv_func__sqrtl_use
=no
13585 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13586 ac_cpp
='$CPP $CPPFLAGS'
13587 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13588 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13589 cross_compiling
=$ac_cv_prog_cc_cross
13595 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
13597 if test x
$glibcpp_cv_func__sqrtl_use = x
"yes"; then
13598 for ac_func
in _sqrtl
13600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13601 echo "configure:13602: checking for $ac_func" >&5
13602 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13603 echo $ac_n "(cached) $ac_c" 1>&6
13605 cat > conftest.
$ac_ext <<EOF
13606 #line 13607 "configure"
13607 #include "confdefs.h"
13608 /* System header to define __stub macros and hopefully few prototypes,
13609 which can conflict with char $ac_func(); below. */
13610 #include <assert.h>
13611 /* Override any gcc2 internal prototype to avoid an error. */
13612 /* We use char because int might match the return type of a gcc2
13613 builtin and then its argument prototype would still apply. */
13618 /* The GNU C library defines this for functions which it implements
13619 to always fail with ENOSYS. Some functions are actually named
13620 something starting with __ and the normal name is an alias. */
13621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13629 if { (eval echo configure
:13630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13631 eval "ac_cv_func_$ac_func=yes"
13633 echo "configure: failed program was:" >&5
13634 cat conftest.
$ac_ext >&5
13636 eval "ac_cv_func_$ac_func=no"
13641 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13642 echo "$ac_t""yes" 1>&6
13643 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13644 cat >> confdefs.h
<<EOF
13645 #define $ac_tr_func 1
13649 echo "$ac_t""no" 1>&6
13658 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
13659 echo "configure:13660: checking for sincosl declaration" >&5
13660 if test x
${glibcpp_cv_func_sincosl_use+set} != xset
; then
13661 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
13662 echo $ac_n "(cached) $ac_c" 1>&6
13667 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13668 ac_cpp
='$CXXCPP $CPPFLAGS'
13669 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13670 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13671 cross_compiling
=$ac_cv_prog_cxx_cross
13673 cat > conftest.
$ac_ext <<EOF
13674 #line 13675 "configure"
13675 #include "confdefs.h"
13681 if { (eval echo configure
:13682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13683 glibcpp_cv_func_sincosl_use
=yes
13685 echo "configure: failed program was:" >&5
13686 cat conftest.
$ac_ext >&5
13688 glibcpp_cv_func_sincosl_use
=no
13692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13693 ac_cpp
='$CPP $CPPFLAGS'
13694 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13695 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13696 cross_compiling
=$ac_cv_prog_cc_cross
13702 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
13704 if test x
$glibcpp_cv_func_sincosl_use = x
"yes"; then
13705 for ac_func
in sincosl
13707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13708 echo "configure:13709: checking for $ac_func" >&5
13709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13710 echo $ac_n "(cached) $ac_c" 1>&6
13712 cat > conftest.
$ac_ext <<EOF
13713 #line 13714 "configure"
13714 #include "confdefs.h"
13715 /* System header to define __stub macros and hopefully few prototypes,
13716 which can conflict with char $ac_func(); below. */
13717 #include <assert.h>
13718 /* Override any gcc2 internal prototype to avoid an error. */
13719 /* We use char because int might match the return type of a gcc2
13720 builtin and then its argument prototype would still apply. */
13725 /* The GNU C library defines this for functions which it implements
13726 to always fail with ENOSYS. Some functions are actually named
13727 something starting with __ and the normal name is an alias. */
13728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13736 if { (eval echo configure
:13737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13738 eval "ac_cv_func_$ac_func=yes"
13740 echo "configure: failed program was:" >&5
13741 cat conftest.
$ac_ext >&5
13743 eval "ac_cv_func_$ac_func=no"
13748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13749 echo "$ac_t""yes" 1>&6
13750 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13751 cat >> confdefs.h
<<EOF
13752 #define $ac_tr_func 1
13756 echo "$ac_t""no" 1>&6
13762 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
13763 echo "configure:13764: checking for _sincosl declaration" >&5
13764 if test x
${glibcpp_cv_func__sincosl_use+set} != xset
; then
13765 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
13766 echo $ac_n "(cached) $ac_c" 1>&6
13771 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13772 ac_cpp
='$CXXCPP $CPPFLAGS'
13773 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13774 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13775 cross_compiling
=$ac_cv_prog_cxx_cross
13777 cat > conftest.
$ac_ext <<EOF
13778 #line 13779 "configure"
13779 #include "confdefs.h"
13785 if { (eval echo configure
:13786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13787 glibcpp_cv_func__sincosl_use
=yes
13789 echo "configure: failed program was:" >&5
13790 cat conftest.
$ac_ext >&5
13792 glibcpp_cv_func__sincosl_use
=no
13796 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13797 ac_cpp
='$CPP $CPPFLAGS'
13798 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13799 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13800 cross_compiling
=$ac_cv_prog_cc_cross
13806 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
13808 if test x
$glibcpp_cv_func__sincosl_use = x
"yes"; then
13809 for ac_func
in _sincosl
13811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13812 echo "configure:13813: checking for $ac_func" >&5
13813 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13814 echo $ac_n "(cached) $ac_c" 1>&6
13816 cat > conftest.
$ac_ext <<EOF
13817 #line 13818 "configure"
13818 #include "confdefs.h"
13819 /* System header to define __stub macros and hopefully few prototypes,
13820 which can conflict with char $ac_func(); below. */
13821 #include <assert.h>
13822 /* Override any gcc2 internal prototype to avoid an error. */
13823 /* We use char because int might match the return type of a gcc2
13824 builtin and then its argument prototype would still apply. */
13829 /* The GNU C library defines this for functions which it implements
13830 to always fail with ENOSYS. Some functions are actually named
13831 something starting with __ and the normal name is an alias. */
13832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13840 if { (eval echo configure
:13841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13842 eval "ac_cv_func_$ac_func=yes"
13844 echo "configure: failed program was:" >&5
13845 cat conftest.
$ac_ext >&5
13847 eval "ac_cv_func_$ac_func=no"
13852 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13853 echo "$ac_t""yes" 1>&6
13854 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13855 cat >> confdefs.h
<<EOF
13856 #define $ac_tr_func 1
13860 echo "$ac_t""no" 1>&6
13869 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
13870 echo "configure:13871: checking for finitel declaration" >&5
13871 if test x
${glibcpp_cv_func_finitel_use+set} != xset
; then
13872 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
13873 echo $ac_n "(cached) $ac_c" 1>&6
13878 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13879 ac_cpp
='$CXXCPP $CPPFLAGS'
13880 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13881 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13882 cross_compiling
=$ac_cv_prog_cxx_cross
13884 cat > conftest.
$ac_ext <<EOF
13885 #line 13886 "configure"
13886 #include "confdefs.h"
13888 #ifdef HAVE_IEEEFP_H
13889 #include <ieeefp.h>
13896 if { (eval echo configure
:13897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13898 glibcpp_cv_func_finitel_use
=yes
13900 echo "configure: failed program was:" >&5
13901 cat conftest.
$ac_ext >&5
13903 glibcpp_cv_func_finitel_use
=no
13907 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13908 ac_cpp
='$CPP $CPPFLAGS'
13909 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13910 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13911 cross_compiling
=$ac_cv_prog_cc_cross
13917 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
13919 if test x
$glibcpp_cv_func_finitel_use = x
"yes"; then
13920 for ac_func
in finitel
13922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13923 echo "configure:13924: checking for $ac_func" >&5
13924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13925 echo $ac_n "(cached) $ac_c" 1>&6
13927 cat > conftest.
$ac_ext <<EOF
13928 #line 13929 "configure"
13929 #include "confdefs.h"
13930 /* System header to define __stub macros and hopefully few prototypes,
13931 which can conflict with char $ac_func(); below. */
13932 #include <assert.h>
13933 /* Override any gcc2 internal prototype to avoid an error. */
13934 /* We use char because int might match the return type of a gcc2
13935 builtin and then its argument prototype would still apply. */
13940 /* The GNU C library defines this for functions which it implements
13941 to always fail with ENOSYS. Some functions are actually named
13942 something starting with __ and the normal name is an alias. */
13943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13951 if { (eval echo configure
:13952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13953 eval "ac_cv_func_$ac_func=yes"
13955 echo "configure: failed program was:" >&5
13956 cat conftest.
$ac_ext >&5
13958 eval "ac_cv_func_$ac_func=no"
13963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13964 echo "$ac_t""yes" 1>&6
13965 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13966 cat >> confdefs.h
<<EOF
13967 #define $ac_tr_func 1
13971 echo "$ac_t""no" 1>&6
13977 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
13978 echo "configure:13979: checking for _finitel declaration" >&5
13979 if test x
${glibcpp_cv_func__finitel_use+set} != xset
; then
13980 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
13981 echo $ac_n "(cached) $ac_c" 1>&6
13986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13987 ac_cpp
='$CXXCPP $CPPFLAGS'
13988 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13989 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13990 cross_compiling
=$ac_cv_prog_cxx_cross
13992 cat > conftest.
$ac_ext <<EOF
13993 #line 13994 "configure"
13994 #include "confdefs.h"
13996 #ifdef HAVE_IEEEFP_H
13997 #include <ieeefp.h>
14004 if { (eval echo configure
:14005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14006 glibcpp_cv_func__finitel_use
=yes
14008 echo "configure: failed program was:" >&5
14009 cat conftest.
$ac_ext >&5
14011 glibcpp_cv_func__finitel_use
=no
14015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14016 ac_cpp
='$CPP $CPPFLAGS'
14017 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14018 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14019 cross_compiling
=$ac_cv_prog_cc_cross
14025 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14027 if test x
$glibcpp_cv_func__finitel_use = x
"yes"; then
14028 for ac_func
in _finitel
14030 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14031 echo "configure:14032: checking for $ac_func" >&5
14032 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14033 echo $ac_n "(cached) $ac_c" 1>&6
14035 cat > conftest.
$ac_ext <<EOF
14036 #line 14037 "configure"
14037 #include "confdefs.h"
14038 /* System header to define __stub macros and hopefully few prototypes,
14039 which can conflict with char $ac_func(); below. */
14040 #include <assert.h>
14041 /* Override any gcc2 internal prototype to avoid an error. */
14042 /* We use char because int might match the return type of a gcc2
14043 builtin and then its argument prototype would still apply. */
14048 /* The GNU C library defines this for functions which it implements
14049 to always fail with ENOSYS. Some functions are actually named
14050 something starting with __ and the normal name is an alias. */
14051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14059 if { (eval echo configure
:14060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14061 eval "ac_cv_func_$ac_func=yes"
14063 echo "configure: failed program was:" >&5
14064 cat conftest.
$ac_ext >&5
14066 eval "ac_cv_func_$ac_func=no"
14071 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14072 echo "$ac_t""yes" 1>&6
14073 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14074 cat >> confdefs.h
<<EOF
14075 #define $ac_tr_func 1
14079 echo "$ac_t""no" 1>&6
14089 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
14090 echo "configure:14091: checking for _float trig functions" >&5
14091 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
14092 echo $ac_n "(cached) $ac_c" 1>&6
14097 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14098 ac_cpp
='$CXXCPP $CPPFLAGS'
14099 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14100 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14101 cross_compiling
=$ac_cv_prog_cxx_cross
14103 cat > conftest.
$ac_ext <<EOF
14104 #line 14105 "configure"
14105 #include "confdefs.h"
14108 `for x in _acosf _asinf _atanf \
14109 _cosf _sinf _tanf \
14110 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
14113 if { (eval echo configure
:14114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14115 glibcpp_cv_func__float_trig_use
=yes
14117 echo "configure: failed program was:" >&5
14118 cat conftest.
$ac_ext >&5
14120 glibcpp_cv_func__float_trig_use
=no
14124 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14125 ac_cpp
='$CPP $CPPFLAGS'
14126 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14127 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14128 cross_compiling
=$ac_cv_prog_cc_cross
14132 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
14133 if test x
$glibcpp_cv_func__float_trig_use = x
"yes"; then
14134 for ac_func
in _acosf _asinf _atanf \
14135 _cosf _sinf _tanf \
14136 _coshf _sinhf _tanhf
14138 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14139 echo "configure:14140: checking for $ac_func" >&5
14140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14141 echo $ac_n "(cached) $ac_c" 1>&6
14143 cat > conftest.
$ac_ext <<EOF
14144 #line 14145 "configure"
14145 #include "confdefs.h"
14146 /* System header to define __stub macros and hopefully few prototypes,
14147 which can conflict with char $ac_func(); below. */
14148 #include <assert.h>
14149 /* Override any gcc2 internal prototype to avoid an error. */
14150 /* We use char because int might match the return type of a gcc2
14151 builtin and then its argument prototype would still apply. */
14156 /* The GNU C library defines this for functions which it implements
14157 to always fail with ENOSYS. Some functions are actually named
14158 something starting with __ and the normal name is an alias. */
14159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14167 if { (eval echo configure
:14168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14169 eval "ac_cv_func_$ac_func=yes"
14171 echo "configure: failed program was:" >&5
14172 cat conftest.
$ac_ext >&5
14174 eval "ac_cv_func_$ac_func=no"
14179 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14180 echo "$ac_t""yes" 1>&6
14181 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14182 cat >> confdefs.h
<<EOF
14183 #define $ac_tr_func 1
14187 echo "$ac_t""no" 1>&6
14194 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
14195 echo "configure:14196: checking for _float round functions" >&5
14196 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
14197 echo $ac_n "(cached) $ac_c" 1>&6
14202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14203 ac_cpp
='$CXXCPP $CPPFLAGS'
14204 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14205 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14206 cross_compiling
=$ac_cv_prog_cxx_cross
14208 cat > conftest.
$ac_ext <<EOF
14209 #line 14210 "configure"
14210 #include "confdefs.h"
14213 `for x in _ceilf _floorf; do echo "$x (0);"; done`
14216 if { (eval echo configure
:14217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14218 glibcpp_cv_func__float_round_use
=yes
14220 echo "configure: failed program was:" >&5
14221 cat conftest.
$ac_ext >&5
14223 glibcpp_cv_func__float_round_use
=no
14227 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14228 ac_cpp
='$CPP $CPPFLAGS'
14229 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14230 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14231 cross_compiling
=$ac_cv_prog_cc_cross
14235 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
14236 if test x
$glibcpp_cv_func__float_round_use = x
"yes"; then
14237 for ac_func
in _ceilf _floorf
14239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14240 echo "configure:14241: checking for $ac_func" >&5
14241 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14242 echo $ac_n "(cached) $ac_c" 1>&6
14244 cat > conftest.
$ac_ext <<EOF
14245 #line 14246 "configure"
14246 #include "confdefs.h"
14247 /* System header to define __stub macros and hopefully few prototypes,
14248 which can conflict with char $ac_func(); below. */
14249 #include <assert.h>
14250 /* Override any gcc2 internal prototype to avoid an error. */
14251 /* We use char because int might match the return type of a gcc2
14252 builtin and then its argument prototype would still apply. */
14257 /* The GNU C library defines this for functions which it implements
14258 to always fail with ENOSYS. Some functions are actually named
14259 something starting with __ and the normal name is an alias. */
14260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14268 if { (eval echo configure
:14269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14270 eval "ac_cv_func_$ac_func=yes"
14272 echo "configure: failed program was:" >&5
14273 cat conftest.
$ac_ext >&5
14275 eval "ac_cv_func_$ac_func=no"
14280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14281 echo "$ac_t""yes" 1>&6
14282 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14283 cat >> confdefs.h
<<EOF
14284 #define $ac_tr_func 1
14288 echo "$ac_t""no" 1>&6
14296 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
14297 echo "configure:14298: checking for _long double trig functions" >&5
14298 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
14299 echo $ac_n "(cached) $ac_c" 1>&6
14304 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14305 ac_cpp
='$CXXCPP $CPPFLAGS'
14306 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14307 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14308 cross_compiling
=$ac_cv_prog_cxx_cross
14310 cat > conftest.
$ac_ext <<EOF
14311 #line 14312 "configure"
14312 #include "confdefs.h"
14315 `for x in _acosl _asinl _atanl \
14316 _cosl _sinl _tanl \
14317 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
14320 if { (eval echo configure
:14321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14322 glibcpp_cv_func__long_double_trig_use
=yes
14324 echo "configure: failed program was:" >&5
14325 cat conftest.
$ac_ext >&5
14327 glibcpp_cv_func__long_double_trig_use
=no
14331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14332 ac_cpp
='$CPP $CPPFLAGS'
14333 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14334 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14335 cross_compiling
=$ac_cv_prog_cc_cross
14339 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
14340 if test x
$glibcpp_cv_func__long_double_trig_use = x
"yes"; then
14341 for ac_func
in _acosl _asinl _atanl \
14342 _cosl _sinl _tanl \
14343 _coshl _sinhl _tanhl
14345 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14346 echo "configure:14347: checking for $ac_func" >&5
14347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14348 echo $ac_n "(cached) $ac_c" 1>&6
14350 cat > conftest.
$ac_ext <<EOF
14351 #line 14352 "configure"
14352 #include "confdefs.h"
14353 /* System header to define __stub macros and hopefully few prototypes,
14354 which can conflict with char $ac_func(); below. */
14355 #include <assert.h>
14356 /* Override any gcc2 internal prototype to avoid an error. */
14357 /* We use char because int might match the return type of a gcc2
14358 builtin and then its argument prototype would still apply. */
14363 /* The GNU C library defines this for functions which it implements
14364 to always fail with ENOSYS. Some functions are actually named
14365 something starting with __ and the normal name is an alias. */
14366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14374 if { (eval echo configure
:14375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14376 eval "ac_cv_func_$ac_func=yes"
14378 echo "configure: failed program was:" >&5
14379 cat conftest.
$ac_ext >&5
14381 eval "ac_cv_func_$ac_func=no"
14386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14387 echo "$ac_t""yes" 1>&6
14388 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14389 cat >> confdefs.h
<<EOF
14390 #define $ac_tr_func 1
14394 echo "$ac_t""no" 1>&6
14401 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
14402 echo "configure:14403: checking for _long double round functions" >&5
14403 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
14404 echo $ac_n "(cached) $ac_c" 1>&6
14409 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14410 ac_cpp
='$CXXCPP $CPPFLAGS'
14411 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14412 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14413 cross_compiling
=$ac_cv_prog_cxx_cross
14415 cat > conftest.
$ac_ext <<EOF
14416 #line 14417 "configure"
14417 #include "confdefs.h"
14420 `for x in _ceill _floorl; do echo "$x (0);"; done`
14423 if { (eval echo configure
:14424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14425 glibcpp_cv_func__long_double_round_use
=yes
14427 echo "configure: failed program was:" >&5
14428 cat conftest.
$ac_ext >&5
14430 glibcpp_cv_func__long_double_round_use
=no
14434 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14435 ac_cpp
='$CPP $CPPFLAGS'
14436 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14437 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14438 cross_compiling
=$ac_cv_prog_cc_cross
14442 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
14443 if test x
$glibcpp_cv_func__long_double_round_use = x
"yes"; then
14444 for ac_func
in _ceill _floorl
14446 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14447 echo "configure:14448: checking for $ac_func" >&5
14448 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14449 echo $ac_n "(cached) $ac_c" 1>&6
14451 cat > conftest.
$ac_ext <<EOF
14452 #line 14453 "configure"
14453 #include "confdefs.h"
14454 /* System header to define __stub macros and hopefully few prototypes,
14455 which can conflict with char $ac_func(); below. */
14456 #include <assert.h>
14457 /* Override any gcc2 internal prototype to avoid an error. */
14458 /* We use char because int might match the return type of a gcc2
14459 builtin and then its argument prototype would still apply. */
14464 /* The GNU C library defines this for functions which it implements
14465 to always fail with ENOSYS. Some functions are actually named
14466 something starting with __ and the normal name is an alias. */
14467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14475 if { (eval echo configure
:14476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14477 eval "ac_cv_func_$ac_func=yes"
14479 echo "configure: failed program was:" >&5
14480 cat conftest.
$ac_ext >&5
14482 eval "ac_cv_func_$ac_func=no"
14487 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14488 echo "$ac_t""yes" 1>&6
14489 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14490 cat >> confdefs.h
<<EOF
14491 #define $ac_tr_func 1
14495 echo "$ac_t""no" 1>&6
14502 LIBS
="$ac_save_LIBS"
14503 CXXFLAGS
="$ac_save_CXXFLAGS"
14506 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
14507 echo "configure:14508: checking for main in -lm" >&5
14508 ac_lib_var
=`echo m'_'main | sed 'y%./+-%__p_%'`
14509 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14510 echo $ac_n "(cached) $ac_c" 1>&6
14512 ac_save_LIBS
="$LIBS"
14514 cat > conftest.
$ac_ext <<EOF
14515 #line 14516 "configure"
14516 #include "confdefs.h"
14522 if { (eval echo configure
:14523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14524 eval "ac_cv_lib_$ac_lib_var=yes"
14526 echo "configure: failed program was:" >&5
14527 cat conftest.
$ac_ext >&5
14529 eval "ac_cv_lib_$ac_lib_var=no"
14532 LIBS
="$ac_save_LIBS"
14535 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14536 echo "$ac_t""yes" 1>&6
14537 ac_tr_lib
=HAVE_LIB
`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
14538 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
14539 cat >> confdefs.h
<<EOF
14540 #define $ac_tr_lib 1
14546 echo "$ac_t""no" 1>&6
14549 for ac_func
in nan hypot hypotf atan2f expf copysignf
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
14601 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
14607 USE_COMPLEX_LONG_DOUBLE
=no
14608 if test x
$ac_cv_func_atan2l = x
"yes" \
14609 && test x
$ac_cv_func_copysignl = x
"yes"; then
14610 USE_COMPLEX_LONG_DOUBLE
=yes
14611 for ac_func
in hypotl signbitl
14613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14614 echo "configure:14615: checking for $ac_func" >&5
14615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14616 echo $ac_n "(cached) $ac_c" 1>&6
14618 cat > conftest.
$ac_ext <<EOF
14619 #line 14620 "configure"
14620 #include "confdefs.h"
14621 /* System header to define __stub macros and hopefully few prototypes,
14622 which can conflict with char $ac_func(); below. */
14623 #include <assert.h>
14624 /* Override any gcc2 internal prototype to avoid an error. */
14625 /* We use char because int might match the return type of a gcc2
14626 builtin and then its argument prototype would still apply. */
14631 /* The GNU C library defines this for functions which it implements
14632 to always fail with ENOSYS. Some functions are actually named
14633 something starting with __ and the normal name is an alias. */
14634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14642 if { (eval echo configure
:14643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14644 eval "ac_cv_func_$ac_func=yes"
14646 echo "configure: failed program was:" >&5
14647 cat conftest.
$ac_ext >&5
14649 eval "ac_cv_func_$ac_func=no"
14654 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14655 echo "$ac_t""yes" 1>&6
14656 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14657 cat >> confdefs.h
<<EOF
14658 #define $ac_tr_func 1
14662 echo "$ac_t""no" 1>&6
14663 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
14675 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
14676 echo "configure:14677: checking for GNU C++ __complex__ support" >&5
14677 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
14678 echo $ac_n "(cached) $ac_c" 1>&6
14683 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14684 ac_cpp
='$CXXCPP $CPPFLAGS'
14685 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14686 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14687 cross_compiling
=$ac_cv_prog_cxx_cross
14689 cat > conftest.
$ac_ext <<EOF
14690 #line 14691 "configure"
14691 #include "confdefs.h"
14692 struct dcomplex { __complex__ double x; }; \
14693 dcomplex f(const dcomplex& x) { return dcomplex(x); }
14699 if { (eval echo configure
:14700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14701 glibcpp_cv_complex
=ok
14703 echo "configure: failed program was:" >&5
14704 cat conftest.
$ac_ext >&5
14706 glibcpp_cv_complex
=buggy
14711 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14712 ac_cpp
='$CPP $CPPFLAGS'
14713 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14714 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14715 cross_compiling
=$ac_cv_prog_cc_cross
14720 echo "$ac_t""$glibcpp_cv_complex" 1>&6
14721 if test $glibcpp_cv_complex = buggy
; then
14722 cat >> confdefs.h
<<\EOF
14723 #define _GLIBCPP_BUGGY_COMPLEX 1
14728 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
14729 echo "configure:14730: checking for GNU C++ __complex__ float support" >&5
14730 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
14731 echo $ac_n "(cached) $ac_c" 1>&6
14736 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14737 ac_cpp
='$CXXCPP $CPPFLAGS'
14738 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14739 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14740 cross_compiling
=$ac_cv_prog_cxx_cross
14743 cat > conftest.h
<<EOB
14745 // Check for buggy __complex__ that causes ICE in most versions of egcs
14746 // and gcc-2.95.x on certain platforms (eg., x86-win32).
14748 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
14749 // more info on the bug itself.
14754 __complex__ float m_value;
14755 float_complex (float = 0.0f, float = 0.0f);
14756 float_complex (__complex__ float val) : m_value (val) {}
14757 float_complex foo (const float_complex &val)
14758 { return float_complex (~val.m_value); }
14761 cat > conftest.
$ac_ext <<EOF
14762 #line 14763 "configure"
14763 #include "confdefs.h"
14764 #include "conftest.h"
14769 if { (eval echo configure
:14770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14771 glibcpp_cv_float_complex
=ok
14773 echo "configure: failed program was:" >&5
14774 cat conftest.
$ac_ext >&5
14776 glibcpp_cv_float_complex
=buggy
14781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14782 ac_cpp
='$CPP $CPPFLAGS'
14783 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14784 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14785 cross_compiling
=$ac_cv_prog_cc_cross
14790 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
14791 if test $glibcpp_cv_float_complex = buggy
; then
14792 cat >> confdefs.h
<<\EOF
14793 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
14800 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
14801 echo "configure:14802: checking for mbstate_t" >&5
14802 cat > conftest.
$ac_ext <<EOF
14803 #line 14804 "configure"
14804 #include "confdefs.h"
14807 mbstate_t teststate;
14810 if { (eval echo configure
:14811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14814 echo "configure: failed program was:" >&5
14815 cat conftest.
$ac_ext >&5
14820 echo "$ac_t""$have_mbstate_t" 1>&6
14821 if test x
"$have_mbstate_t" = xyes
; then
14822 cat >> confdefs.h
<<\EOF
14823 #define HAVE_MBSTATE_T 1
14828 for ac_hdr
in wchar.h
14830 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14831 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14832 echo "configure:14833: checking for $ac_hdr" >&5
14833 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14834 echo $ac_n "(cached) $ac_c" 1>&6
14836 cat > conftest.
$ac_ext <<EOF
14837 #line 14838 "configure"
14838 #include "confdefs.h"
14841 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14842 { (eval echo configure
:14843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14843 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14844 if test -z "$ac_err"; then
14846 eval "ac_cv_header_$ac_safe=yes"
14849 echo "configure: failed program was:" >&5
14850 cat conftest.
$ac_ext >&5
14852 eval "ac_cv_header_$ac_safe=no"
14856 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14857 echo "$ac_t""yes" 1>&6
14858 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14859 cat >> confdefs.h
<<EOF
14860 #define $ac_tr_hdr 1
14864 echo "$ac_t""no" 1>&6
14869 ac_safe
=`echo "wctype.h" | sed 'y%./+-%__p_%'`
14870 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
14871 echo "configure:14872: checking for wctype.h" >&5
14872 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14873 echo $ac_n "(cached) $ac_c" 1>&6
14875 cat > conftest.
$ac_ext <<EOF
14876 #line 14877 "configure"
14877 #include "confdefs.h"
14878 #include <wctype.h>
14880 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14881 { (eval echo configure
:14882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14882 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14883 if test -z "$ac_err"; then
14885 eval "ac_cv_header_$ac_safe=yes"
14888 echo "configure: failed program was:" >&5
14889 cat conftest.
$ac_ext >&5
14891 eval "ac_cv_header_$ac_safe=no"
14895 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14896 echo "$ac_t""yes" 1>&6
14897 ac_has_wctype_h
=yes
14899 echo "$ac_t""no" 1>&6
14904 if test x
"$ac_has_wchar_h" = xyes
&& test x
"$ac_has_wctype_h" = xyes \
14905 && test x
"$enable_c_mbchar" != xno
; then
14907 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
14908 echo "configure:14909: checking for WCHAR_MIN and WCHAR_MAX" >&5
14909 cat > conftest.
$ac_ext <<EOF
14910 #line 14911 "configure"
14911 #include "confdefs.h"
14914 int i = WCHAR_MIN; int j = WCHAR_MAX;
14917 if { (eval echo configure
:14918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14919 has_wchar_minmax
=yes
14921 echo "configure: failed program was:" >&5
14922 cat conftest.
$ac_ext >&5
14924 has_wchar_minmax
=no
14927 echo "$ac_t""$has_wchar_minmax" 1>&6
14929 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
14930 echo "configure:14931: checking for WEOF" >&5
14931 cat > conftest.
$ac_ext <<EOF
14932 #line 14933 "configure"
14933 #include "confdefs.h"
14936 #include <stddef.h>
14941 if { (eval echo configure
:14942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14945 echo "configure: failed program was:" >&5
14946 cat conftest.
$ac_ext >&5
14951 echo "$ac_t""$has_weof" 1>&6
14953 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
14954 wcsrtombs mbsrtowcs
14956 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14957 echo "configure:14958: checking for $ac_func" >&5
14958 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14959 echo $ac_n "(cached) $ac_c" 1>&6
14961 cat > conftest.
$ac_ext <<EOF
14962 #line 14963 "configure"
14963 #include "confdefs.h"
14964 /* System header to define __stub macros and hopefully few prototypes,
14965 which can conflict with char $ac_func(); below. */
14966 #include <assert.h>
14967 /* Override any gcc2 internal prototype to avoid an error. */
14968 /* We use char because int might match the return type of a gcc2
14969 builtin and then its argument prototype would still apply. */
14974 /* The GNU C library defines this for functions which it implements
14975 to always fail with ENOSYS. Some functions are actually named
14976 something starting with __ and the normal name is an alias. */
14977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14985 if { (eval echo configure
:14986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14987 eval "ac_cv_func_$ac_func=yes"
14989 echo "configure: failed program was:" >&5
14990 cat conftest.
$ac_ext >&5
14992 eval "ac_cv_func_$ac_func=no"
14997 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14998 echo "$ac_t""yes" 1>&6
14999 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15000 cat >> confdefs.h
<<EOF
15001 #define $ac_tr_func 1
15005 echo "$ac_t""no" 1>&6
15011 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
15012 echo "configure:15013: checking for ISO C99 wchar_t support" >&5
15013 if test x
"$has_weof" = xyes
&& test x
"$has_wchar_minmax" = xyes \
15014 && test x
"$ac_wfuncs" = xyes
; then
15015 ac_isoC99_wchar_t
=yes
15017 ac_isoC99_wchar_t
=no
15019 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
15021 ac_safe
=`echo "iconv.h" | sed 'y%./+-%__p_%'`
15022 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
15023 echo "configure:15024: checking for iconv.h" >&5
15024 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15025 echo $ac_n "(cached) $ac_c" 1>&6
15027 cat > conftest.
$ac_ext <<EOF
15028 #line 15029 "configure"
15029 #include "confdefs.h"
15032 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15033 { (eval echo configure
:15034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15034 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15035 if test -z "$ac_err"; then
15037 eval "ac_cv_header_$ac_safe=yes"
15040 echo "configure: failed program was:" >&5
15041 cat conftest.
$ac_ext >&5
15043 eval "ac_cv_header_$ac_safe=no"
15047 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15048 echo "$ac_t""yes" 1>&6
15051 echo "$ac_t""no" 1>&6
15055 ac_safe
=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
15056 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
15057 echo "configure:15058: checking for langinfo.h" >&5
15058 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15059 echo $ac_n "(cached) $ac_c" 1>&6
15061 cat > conftest.
$ac_ext <<EOF
15062 #line 15063 "configure"
15063 #include "confdefs.h"
15064 #include <langinfo.h>
15066 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15067 { (eval echo configure
:15068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15068 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15069 if test -z "$ac_err"; then
15071 eval "ac_cv_header_$ac_safe=yes"
15074 echo "configure: failed program was:" >&5
15075 cat conftest.
$ac_ext >&5
15077 eval "ac_cv_header_$ac_safe=no"
15081 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15082 echo "$ac_t""yes" 1>&6
15083 ac_has_langinfo_h
=yes
15085 echo "$ac_t""no" 1>&6
15086 ac_has_langinfo_h
=no
15090 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
15091 echo "configure:15092: checking for iconv in -liconv" >&5
15092 ac_lib_var
=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
15093 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15094 echo $ac_n "(cached) $ac_c" 1>&6
15096 ac_save_LIBS
="$LIBS"
15097 LIBS
="-liconv $LIBS"
15098 cat > conftest.
$ac_ext <<EOF
15099 #line 15100 "configure"
15100 #include "confdefs.h"
15101 /* Override any gcc2 internal prototype to avoid an error. */
15102 /* We use char because int might match the return type of a gcc2
15103 builtin and then its argument prototype would still apply. */
15110 if { (eval echo configure
:15111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15112 eval "ac_cv_lib_$ac_lib_var=yes"
15114 echo "configure: failed program was:" >&5
15115 cat conftest.
$ac_ext >&5
15117 eval "ac_cv_lib_$ac_lib_var=no"
15120 LIBS
="$ac_save_LIBS"
15123 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15124 echo "$ac_t""yes" 1>&6
15127 echo "$ac_t""no" 1>&6
15130 ac_save_LIBS
="$LIBS"
15131 LIBS
="$LIBS $libiconv"
15133 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
15135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15136 echo "configure:15137: checking for $ac_func" >&5
15137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15138 echo $ac_n "(cached) $ac_c" 1>&6
15140 cat > conftest.
$ac_ext <<EOF
15141 #line 15142 "configure"
15142 #include "confdefs.h"
15143 /* System header to define __stub macros and hopefully few prototypes,
15144 which can conflict with char $ac_func(); below. */
15145 #include <assert.h>
15146 /* Override any gcc2 internal prototype to avoid an error. */
15147 /* We use char because int might match the return type of a gcc2
15148 builtin and then its argument prototype would still apply. */
15153 /* The GNU C library defines this for functions which it implements
15154 to always fail with ENOSYS. Some functions are actually named
15155 something starting with __ and the normal name is an alias. */
15156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15164 if { (eval echo configure
:15165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15166 eval "ac_cv_func_$ac_func=yes"
15168 echo "configure: failed program was:" >&5
15169 cat conftest.
$ac_ext >&5
15171 eval "ac_cv_func_$ac_func=no"
15176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15177 echo "$ac_t""yes" 1>&6
15178 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15179 cat >> confdefs.h
<<EOF
15180 #define $ac_tr_func 1
15185 echo "$ac_t""no" 1>&6
15191 LIBS
="$ac_save_LIBS"
15193 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
15194 echo "configure:15195: checking for XPG2 wchar_t support" >&5
15195 if test x
"$ac_has_iconv_h" = xyes
&& test x
"$ac_has_langinfo_h" = xyes \
15196 && test x
"$ac_XPG2funcs" = xyes
; then
15197 ac_XPG2_wchar_t
=yes
15201 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
15203 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
15204 echo "configure:15205: checking for enabled wchar_t specializations" >&5
15205 if test x
"$ac_isoC99_wchar_t" = xyes \
15206 && test x
"$ac_XPG2_wchar_t" = xyes
; then
15207 libinst_wstring_la
="libinst-wstring.la"
15208 cat >> confdefs.h
<<\EOF
15209 #define _GLIBCPP_USE_WCHAR_T 1
15212 echo "$ac_t"""yes"" 1>&6
15214 libinst_wstring_la
=""
15215 echo "$ac_t"""no
"" 1>&6
15220 echo "configure: warning: wchar_t support disabled." 1>&2
15224 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
15225 ac_save_CXXFLAGS
="$CXXFLAGS"
15226 CXXFLAGS
='-fno-builtins -D_GNU_SOURCE'
15228 for ac_func
in strtof
15230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15231 echo "configure:15232: checking for $ac_func" >&5
15232 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15233 echo $ac_n "(cached) $ac_c" 1>&6
15235 cat > conftest.
$ac_ext <<EOF
15236 #line 15237 "configure"
15237 #include "confdefs.h"
15238 /* System header to define __stub macros and hopefully few prototypes,
15239 which can conflict with char $ac_func(); below. */
15240 #include <assert.h>
15241 /* Override any gcc2 internal prototype to avoid an error. */
15242 /* We use char because int might match the return type of a gcc2
15243 builtin and then its argument prototype would still apply. */
15248 /* The GNU C library defines this for functions which it implements
15249 to always fail with ENOSYS. Some functions are actually named
15250 something starting with __ and the normal name is an alias. */
15251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15259 if { (eval echo configure
:15260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15261 eval "ac_cv_func_$ac_func=yes"
15263 echo "configure: failed program was:" >&5
15264 cat conftest.
$ac_ext >&5
15266 eval "ac_cv_func_$ac_func=no"
15271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15272 echo "$ac_t""yes" 1>&6
15273 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15274 cat >> confdefs.h
<<EOF
15275 #define $ac_tr_func 1
15279 echo "$ac_t""no" 1>&6
15284 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
15285 echo "configure:15286: checking for strtold declaration" >&5
15286 if test x
${glibcpp_cv_func_strtold_use+set} != xset
; then
15287 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
15288 echo $ac_n "(cached) $ac_c" 1>&6
15293 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15294 ac_cpp
='$CXXCPP $CPPFLAGS'
15295 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15296 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15297 cross_compiling
=$ac_cv_prog_cxx_cross
15299 cat > conftest.
$ac_ext <<EOF
15300 #line 15301 "configure"
15301 #include "confdefs.h"
15302 #include <stdlib.h>
15307 if { (eval echo configure
:15308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15309 glibcpp_cv_func_strtold_use
=yes
15311 echo "configure: failed program was:" >&5
15312 cat conftest.
$ac_ext >&5
15314 glibcpp_cv_func_strtold_use
=no
15318 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15319 ac_cpp
='$CPP $CPPFLAGS'
15320 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15321 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15322 cross_compiling
=$ac_cv_prog_cc_cross
15328 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
15329 if test x
$glibcpp_cv_func_strtold_use = x
"yes"; then
15330 for ac_func
in strtold
15332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15333 echo "configure:15334: checking for $ac_func" >&5
15334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15335 echo $ac_n "(cached) $ac_c" 1>&6
15337 cat > conftest.
$ac_ext <<EOF
15338 #line 15339 "configure"
15339 #include "confdefs.h"
15340 /* System header to define __stub macros and hopefully few prototypes,
15341 which can conflict with char $ac_func(); below. */
15342 #include <assert.h>
15343 /* Override any gcc2 internal prototype to avoid an error. */
15344 /* We use char because int might match the return type of a gcc2
15345 builtin and then its argument prototype would still apply. */
15350 /* The GNU C library defines this for functions which it implements
15351 to always fail with ENOSYS. Some functions are actually named
15352 something starting with __ and the normal name is an alias. */
15353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15361 if { (eval echo configure
:15362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15363 eval "ac_cv_func_$ac_func=yes"
15365 echo "configure: failed program was:" >&5
15366 cat conftest.
$ac_ext >&5
15368 eval "ac_cv_func_$ac_func=no"
15373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15374 echo "$ac_t""yes" 1>&6
15375 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15376 cat >> confdefs.h
<<EOF
15377 #define $ac_tr_func 1
15381 echo "$ac_t""no" 1>&6
15388 CXXFLAGS
="$ac_save_CXXFLAGS"
15391 cat > conftest.
$ac_ext <<EOF
15392 #line 15393 "configure"
15393 #include "confdefs.h"
15395 #include <setjmp.h>
15398 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
15401 if { (eval echo configure
:15402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15403 cat >> confdefs.h
<<\EOF
15404 #define HAVE_SIGSETJMP 1
15408 echo "configure: failed program was:" >&5
15409 cat conftest.
$ac_ext >&5
15413 for ac_hdr
in unistd.h
15415 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15416 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15417 echo "configure:15418: checking for $ac_hdr" >&5
15418 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15419 echo $ac_n "(cached) $ac_c" 1>&6
15421 cat > conftest.
$ac_ext <<EOF
15422 #line 15423 "configure"
15423 #include "confdefs.h"
15426 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15427 { (eval echo configure
:15428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15428 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15429 if test -z "$ac_err"; then
15431 eval "ac_cv_header_$ac_safe=yes"
15434 echo "configure: failed program was:" >&5
15435 cat conftest.
$ac_ext >&5
15437 eval "ac_cv_header_$ac_safe=no"
15441 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15442 echo "$ac_t""yes" 1>&6
15443 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15444 cat >> confdefs.h
<<EOF
15445 #define $ac_tr_hdr 1
15449 echo "$ac_t""no" 1>&6
15453 for ac_func
in getpagesize
15455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15456 echo "configure:15457: checking for $ac_func" >&5
15457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15458 echo $ac_n "(cached) $ac_c" 1>&6
15460 cat > conftest.
$ac_ext <<EOF
15461 #line 15462 "configure"
15462 #include "confdefs.h"
15463 /* System header to define __stub macros and hopefully few prototypes,
15464 which can conflict with char $ac_func(); below. */
15465 #include <assert.h>
15466 /* Override any gcc2 internal prototype to avoid an error. */
15467 /* We use char because int might match the return type of a gcc2
15468 builtin and then its argument prototype would still apply. */
15473 /* The GNU C library defines this for functions which it implements
15474 to always fail with ENOSYS. Some functions are actually named
15475 something starting with __ and the normal name is an alias. */
15476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15484 if { (eval echo configure
:15485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15486 eval "ac_cv_func_$ac_func=yes"
15488 echo "configure: failed program was:" >&5
15489 cat conftest.
$ac_ext >&5
15491 eval "ac_cv_func_$ac_func=no"
15496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15497 echo "$ac_t""yes" 1>&6
15498 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15499 cat >> confdefs.h
<<EOF
15500 #define $ac_tr_func 1
15504 echo "$ac_t""no" 1>&6
15508 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
15509 echo "configure:15510: checking for working mmap" >&5
15510 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
15511 echo $ac_n "(cached) $ac_c" 1>&6
15513 if test "$cross_compiling" = yes; then
15514 ac_cv_func_mmap_fixed_mapped
=no
15516 cat > conftest.
$ac_ext <<EOF
15517 #line 15518 "configure"
15518 #include "confdefs.h"
15520 /* Thanks to Mike Haertel and Jim Avera for this test.
15521 Here is a matrix of mmap possibilities:
15522 mmap private not fixed
15523 mmap private fixed at somewhere currently unmapped
15524 mmap private fixed at somewhere already mapped
15525 mmap shared not fixed
15526 mmap shared fixed at somewhere currently unmapped
15527 mmap shared fixed at somewhere already mapped
15528 For private mappings, we should verify that changes cannot be read()
15529 back from the file, nor mmap's back from the file at a different
15530 address. (There have been systems where private was not correctly
15531 implemented like the infamous i386 svr4.0, and systems where the
15532 VM page cache was not coherent with the filesystem buffer cache
15533 like early versions of FreeBSD and possibly contemporary NetBSD.)
15534 For shared mappings, we should conversely verify that changes get
15535 propogated back to all the places they're supposed to be.
15537 Grep wants private fixed already mapped.
15538 The main things grep needs to know about mmap are:
15539 * does it exist and is it safe to write into the mmap'd area
15540 * how to use it (BSD variants) */
15541 #include <sys/types.h>
15543 #include <sys/mman.h>
15545 /* This mess was copied from the GNU getpagesize.h. */
15546 #ifndef HAVE_GETPAGESIZE
15547 # ifdef HAVE_UNISTD_H
15548 # include <unistd.h>
15551 /* Assume that all systems that can run configure have sys/param.h. */
15552 # ifndef HAVE_SYS_PARAM_H
15553 # define HAVE_SYS_PARAM_H 1
15556 # ifdef _SC_PAGESIZE
15557 # define getpagesize() sysconf(_SC_PAGESIZE)
15558 # else /* no _SC_PAGESIZE */
15559 # ifdef HAVE_SYS_PARAM_H
15560 # include <sys/param.h>
15561 # ifdef EXEC_PAGESIZE
15562 # define getpagesize() EXEC_PAGESIZE
15563 # else /* no EXEC_PAGESIZE */
15565 # define getpagesize() NBPG * CLSIZE
15568 # endif /* no CLSIZE */
15569 # else /* no NBPG */
15571 # define getpagesize() NBPC
15572 # else /* no NBPC */
15574 # define getpagesize() PAGESIZE
15575 # endif /* PAGESIZE */
15576 # endif /* no NBPC */
15577 # endif /* no NBPG */
15578 # endif /* no EXEC_PAGESIZE */
15579 # else /* no HAVE_SYS_PARAM_H */
15580 # define getpagesize() 8192 /* punt totally */
15581 # endif /* no HAVE_SYS_PARAM_H */
15582 # endif /* no _SC_PAGESIZE */
15584 #endif /* no HAVE_GETPAGESIZE */
15587 extern "C" { void *malloc(unsigned); }
15595 char *data, *data2, *data3;
15599 pagesize = getpagesize();
15602 * First, make a file with some known garbage in it.
15604 data = malloc(pagesize);
15607 for (i = 0; i < pagesize; ++i)
15608 *(data + i) = rand();
15610 fd = creat("conftestmmap", 0600);
15613 if (write(fd, data, pagesize) != pagesize)
15618 * Next, try to mmap the file at a fixed address which
15619 * already has something else allocated at it. If we can,
15620 * also make sure that we see the same garbage.
15622 fd = open("conftestmmap", O_RDWR);
15625 data2 = malloc(2 * pagesize);
15628 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
15629 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
15630 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15632 for (i = 0; i < pagesize; ++i)
15633 if (*(data + i) != *(data2 + i))
15637 * Finally, make sure that changes to the mapped area
15638 * do not percolate back to the file as seen by read().
15639 * (This is a bug on some variants of i386 svr4.0.)
15641 for (i = 0; i < pagesize; ++i)
15642 *(data2 + i) = *(data2 + i) + 1;
15643 data3 = malloc(pagesize);
15646 if (read(fd, data3, pagesize) != pagesize)
15648 for (i = 0; i < pagesize; ++i)
15649 if (*(data + i) != *(data3 + i))
15652 unlink("conftestmmap");
15657 if { (eval echo configure
:15658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15659 ac_cv_func_mmap_fixed_mapped
=yes
15661 echo "configure: failed program was:" >&5
15662 cat conftest.
$ac_ext >&5
15664 ac_cv_func_mmap_fixed_mapped
=no
15671 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
15672 if test $ac_cv_func_mmap_fixed_mapped = yes; then
15673 cat >> confdefs.h
<<\EOF
15674 #define HAVE_MMAP 1
15681 # Now that ctype is determined for all possible targets, we can do this...
15689 if test "$NULL_TARGET" = yes; then
15691 NULL_TARGET_FALSE
='#'
15693 NULL_TARGET_TRUE
='#'
15698 if test "$NATIVE" = yes ||
test "$NULL_TARGET" = yes; then
15707 if test "$CANADIAN" = yes; then
15715 cat > confcache
<<\EOF
15716 # This file is a shell script that caches the results of configure
15717 # tests run on this system so they can be shared between configure
15718 # scripts and configure runs. It is not useful on other systems.
15719 # If it contains results you don't want to keep, you may remove or edit it.
15721 # By default, configure uses ./config.cache as the cache file,
15722 # creating it if it does not exist already. You can give configure
15723 # the --cache-file=FILE option to use a different cache file; that is
15724 # what configure does when it calls configure scripts in
15725 # subdirectories, so they share the cache.
15726 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15727 # config.status only pays attention to the cache file if you give it the
15728 # --recheck option to rerun configure.
15731 # The following way of writing the cache mishandles newlines in values,
15732 # but we know of no workaround that is simple, portable, and efficient.
15733 # So, don't put newlines in cache variables' values.
15734 # Ultrix sh set writes to stderr and can't be redirected directly,
15735 # and sets the high bit in the cache file unless we assign to the vars.
15737 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15739 # `set' does not quote correctly, so add quotes (double-quote substitution
15740 # turns \\\\ into \\, and sed turns \\ into \).
15742 -e "s/'/'\\\\''/g" \
15743 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15746 # `set' quotes correctly as required by POSIX, so do not add quotes.
15747 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15750 if cmp -s $cache_file confcache
; then
15753 if test -w $cache_file; then
15754 echo "updating cache $cache_file"
15755 cat confcache
> $cache_file
15757 echo "not updating unwritable cache $cache_file"
15763 ac_safe
=`echo "locale.h" | sed 'y%./+-%__p_%'`
15764 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
15765 echo "configure:15766: checking for locale.h" >&5
15766 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15767 echo $ac_n "(cached) $ac_c" 1>&6
15769 cat > conftest.
$ac_ext <<EOF
15770 #line 15771 "configure"
15771 #include "confdefs.h"
15772 #include <locale.h>
15774 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15775 { (eval echo configure
:15776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15776 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15777 if test -z "$ac_err"; then
15779 eval "ac_cv_header_$ac_safe=yes"
15782 echo "configure: failed program was:" >&5
15783 cat conftest.
$ac_ext >&5
15785 eval "ac_cv_header_$ac_safe=no"
15789 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15790 echo "$ac_t""yes" 1>&6
15792 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
15793 echo "configure:15794: checking for LC_MESSAGES" >&5
15794 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
15795 echo $ac_n "(cached) $ac_c" 1>&6
15797 cat > conftest.
$ac_ext <<EOF
15798 #line 15799 "configure"
15799 #include "confdefs.h"
15800 #include <locale.h>
15805 if { (eval echo configure
:15806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15807 ac_cv_val_LC_MESSAGES
=yes
15809 echo "configure: failed program was:" >&5
15810 cat conftest.
$ac_ext >&5
15812 ac_cv_val_LC_MESSAGES
=no
15817 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
15818 if test $ac_cv_val_LC_MESSAGES = yes; then
15819 cat >> confdefs.h
<<\EOF
15820 #define HAVE_LC_MESSAGES 1
15826 echo "$ac_t""no" 1>&6
15831 if test "${multilib}" = "yes"; then
15832 multilib_arg
="--enable-multilib"
15838 # Generate the various Makefiles, include files, and scripts.
15840 # Needed so that g++ can find the correct include subdir automatically.
15843 # Export all the install information
15846 glibcpp_toolexecdir
=no
15847 glibcpp_toolexeclibdir
=no
15849 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
15850 echo "configure:15851: checking for interface version number" >&5
15851 libstdcxx_interface
=$INTERFACE
15852 echo "$ac_t""$libstdcxx_interface" 1>&6
15854 # Process the option --with-gxx-include-dir=<path to include-files directory>
15855 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
15856 echo "configure:15857: checking for --with-gxx-include-dir" >&5
15857 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
15858 if test "${with_gxx_include_dir+set}" = set; then
15859 withval
="$with_gxx_include_dir"
15860 case "${withval}" in
15862 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
15869 gxx_include_dir
=${withval}
15876 echo "$ac_t""$gxx_include_dir" 1>&6
15878 # Process the option "--enable-version-specific-runtime-libs"
15879 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
15880 echo "configure:15881: checking for --enable-version-specific-runtime-libs" >&5
15881 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
15882 if test "${enable_version_specific_runtime_libs+set}" = set; then
15883 enableval
="$enable_version_specific_runtime_libs"
15884 version_specific_libs
=yes
15885 # Need the gcc compiler version to know where to install libraries
15886 # and header files if --enable-version-specific-runtime-libs option
15888 gcc_version_trigger
=${srcdir}/..
/gcc
/version.c
15889 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
15890 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
15891 gxx_include_dir
='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include
/g
++
15892 glibcpp_toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
15893 glibcpp_toolexeclibdir
='$(toolexecdir)/'${gcc_version}
15896 version_specific_libs
=no
15899 echo "$ac_t""$version_specific_libs" 1>&6
15901 # Default case for install directory for include files.
15902 if test x
"$version_specific_libs" = x
"no" \
15903 && test x
"$gxx_include_dir"=x
"no"; then
15904 gxx_include_dir
='$(prefix)'/include
/g
++-${libstdcxx_interface}
15907 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
15908 # Install a library built with a cross compiler in tooldir, not libdir.
15909 if test x
"$glibcpp_toolexecdir" = x
"no"; then
15910 if test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
15911 glibcpp_toolexecdir
='$(exec_prefix)/$(target_alias)'
15912 glibcpp_toolexeclibdir
='$(toolexecdir)/lib$(MULTISUBDIR)'
15914 glibcpp_toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
15915 glibcpp_toolexeclibdir
='$(libdir)$(MULTISUBDIR)'
15919 echo $ac_n "checking for install location""... $ac_c" 1>&6
15920 echo "configure:15921: checking for install location" >&5
15921 echo "$ac_t""$gxx_include_dir" 1>&6
15928 # Export all the include and flag information to makefiles.
15930 # Root level of the include sources.
15931 GLIBCPP_INCLUDE_DIR
='$(top_srcdir)/include'
15933 # Can either use include/c or include/c_std to grab "C" headers. This
15934 # variable is set to the include directory currently in use.
15935 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_CHEADERS
15937 # Passed down for canadian crosses.
15938 if test x
"$CANADIAN" = xyes
; then
15939 TOPLEVEL_INCLUDES
='-I$(includedir)'
15942 LIBMATH_INCLUDES
='-I$(top_srcdir)/libmath'
15944 LIBSUPCXX_INCLUDES
='-I$(top_srcdir)/libsupc++'
15946 #if GLIBCPP_NEED_LIBIO
15947 LIBIO_INCLUDES
='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
15949 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
15952 #if GLIBCPP_USE_CSHADOW
15953 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
15954 # -I$(top_blddir)/cshadow'
15956 CSTD_INCLUDES
='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
15959 # Now, export this to all the little Makefiles....
15968 # Optimization flags that are probably a good idea for thrill-seekers. Just
15969 # uncomment the lines below and make, everything else is ready to go...
15970 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
15974 WARN_FLAGS
='-Wall -Wno-format -W -Wwrite-strings -Winline'
15978 # This should be done by mkincludedir, but hack around it now.
15980 echo "checking for $blddir/include"
15982 if test ! -d "$blddir/include"; then
15983 mkdir
"$blddir/include"
15986 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
15987 # and libsupc++/Makefile.am so that multilib installs will end up
15988 # installed in the correct place. To work around this not being passed
15989 # down from config-ml.in -> top_srcdir/Makefile.am ->
15990 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
15992 cat > confcache
<<\EOF
15993 # This file is a shell script that caches the results of configure
15994 # tests run on this system so they can be shared between configure
15995 # scripts and configure runs. It is not useful on other systems.
15996 # If it contains results you don't want to keep, you may remove or edit it.
15998 # By default, configure uses ./config.cache as the cache file,
15999 # creating it if it does not exist already. You can give configure
16000 # the --cache-file=FILE option to use a different cache file; that is
16001 # what configure does when it calls configure scripts in
16002 # subdirectories, so they share the cache.
16003 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16004 # config.status only pays attention to the cache file if you give it the
16005 # --recheck option to rerun configure.
16008 # The following way of writing the cache mishandles newlines in values,
16009 # but we know of no workaround that is simple, portable, and efficient.
16010 # So, don't put newlines in cache variables' values.
16011 # Ultrix sh set writes to stderr and can't be redirected directly,
16012 # and sets the high bit in the cache file unless we assign to the vars.
16014 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16016 # `set' does not quote correctly, so add quotes (double-quote substitution
16017 # turns \\\\ into \\, and sed turns \\ into \).
16019 -e "s/'/'\\\\''/g" \
16020 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16023 # `set' quotes correctly as required by POSIX, so do not add quotes.
16024 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16027 if cmp -s $cache_file confcache
; then
16030 if test -w $cache_file; then
16031 echo "updating cache $cache_file"
16032 cat confcache
> $cache_file
16034 echo "not updating unwritable cache $cache_file"
16039 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16041 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16042 # Let make expand exec_prefix.
16043 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16045 # Any assignment to VPATH causes Sun make to only execute
16046 # the first set of double-colon rules, so remove it if not needed.
16047 # If there is a colon in the path, we need to keep it.
16048 if test "x$srcdir" = x.
; then
16049 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
16052 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16054 DEFS
=-DHAVE_CONFIG_H
16056 # Without the "./", some shells look in PATH for config.status.
16057 : ${CONFIG_STATUS=./config.status}
16059 echo creating
$CONFIG_STATUS
16060 rm -f $CONFIG_STATUS
16061 cat > $CONFIG_STATUS <<EOF
16063 # Generated automatically by configure.
16064 # Run this file to recreate the current configuration.
16065 # This directory was configured as follows,
16066 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16068 # $0 $ac_configure_args
16070 # Compiler output produced by configure, useful for debugging
16071 # configure, is in ./config.log if it exists.
16073 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
16076 case "\$ac_option" in
16077 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16078 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16079 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16080 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16081 echo "$CONFIG_STATUS generated by autoconf version 2.13"
16083 -help | --help | --hel | --he | --h)
16084 echo "\$ac_cs_usage"; exit 0 ;;
16085 *) echo "\$ac_cs_usage"; exit 1 ;;
16089 ac_given_srcdir=$srcdir
16090 ac_given_INSTALL="$INSTALL"
16092 trap 'rm -fr `echo "tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
16094 cat >> $CONFIG_STATUS <<EOF
16096 # Protect against being on the right side of a sed subst in config.status.
16097 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16098 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16102 s%@CFLAGS@%$CFLAGS%g
16103 s%@CPPFLAGS@%$CPPFLAGS%g
16104 s%@CXXFLAGS@%$CXXFLAGS%g
16105 s%@FFLAGS@%$FFLAGS%g
16107 s%@LDFLAGS@%$LDFLAGS%g
16109 s%@exec_prefix@%$exec_prefix%g
16110 s%@prefix@%$prefix%g
16111 s%@program_transform_name@%$program_transform_name%g
16112 s%@bindir@%$bindir%g
16113 s%@sbindir@%$sbindir%g
16114 s%@libexecdir@%$libexecdir%g
16115 s%@datadir@%$datadir%g
16116 s%@sysconfdir@%$sysconfdir%g
16117 s%@sharedstatedir@%$sharedstatedir%g
16118 s%@localstatedir@%$localstatedir%g
16119 s%@libdir@%$libdir%g
16120 s%@includedir@%$includedir%g
16121 s%@oldincludedir@%$oldincludedir%g
16122 s%@infodir@%$infodir%g
16123 s%@mandir@%$mandir%g
16124 s%@toplevel_srcdir@%$toplevel_srcdir%g
16126 s%@host_alias@%$host_alias%g
16127 s%@host_cpu@%$host_cpu%g
16128 s%@host_vendor@%$host_vendor%g
16129 s%@host_os@%$host_os%g
16130 s%@target@%$target%g
16131 s%@target_alias@%$target_alias%g
16132 s%@target_cpu@%$target_cpu%g
16133 s%@target_vendor@%$target_vendor%g
16134 s%@target_os@%$target_os%g
16136 s%@build_alias@%$build_alias%g
16137 s%@build_cpu@%$build_cpu%g
16138 s%@build_vendor@%$build_vendor%g
16139 s%@build_os@%$build_os%g
16140 s%@glibcpp_basedir@%$glibcpp_basedir%g
16141 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16142 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16143 s%@INSTALL_DATA@%$INSTALL_DATA%g
16144 s%@PACKAGE@%$PACKAGE%g
16145 s%@VERSION@%$VERSION%g
16146 s%@ACLOCAL@%$ACLOCAL%g
16147 s%@AUTOCONF@%$AUTOCONF%g
16148 s%@AUTOMAKE@%$AUTOMAKE%g
16149 s%@AUTOHEADER@%$AUTOHEADER%g
16150 s%@MAKEINFO@%$MAKEINFO%g
16151 s%@SET_MAKE@%$SET_MAKE%g
16153 s%@CXX_libstdcxx@%$CXX_libstdcxx%g
16157 s%@RANLIB@%$RANLIB%g
16158 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
16159 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
16161 s%@EXEEXT@%$EXEEXT%g
16163 s%@OBJEXT@%$OBJEXT%g
16165 s%@LIBTOOL@%$LIBTOOL%g
16166 s%@CXXCPP@%$CXXCPP%g
16167 s%@enable_shared@%$enable_shared%g
16168 s%@enable_static@%$enable_static%g
16169 s%@ifGNUmake@%$ifGNUmake%g
16170 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
16172 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
16173 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
16174 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
16175 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
16176 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
16177 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
16178 s%@libio_la@%$libio_la%g
16179 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
16180 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
16181 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
16182 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
16183 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
16184 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
16185 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
16186 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
16187 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
16188 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
16189 s%@libinst_wstring_la@%$libinst_wstring_la%g
16190 s%@WERROR@%$WERROR%g
16191 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
16192 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
16193 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
16194 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
16195 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
16196 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
16197 s%@gxx_include_dir@%$gxx_include_dir%g
16198 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
16199 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
16200 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
16201 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
16202 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
16203 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
16204 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
16205 s%@CSTD_INCLUDES@%$CSTD_INCLUDES%g
16206 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
16207 s%@WARN_FLAGS@%$WARN_FLAGS%g
16212 cat >> $CONFIG_STATUS <<\EOF
16214 # Split the substitutions into bite-sized pieces for seds with
16215 # small command number limits, like on Digital OSF/1 and HP-UX.
16216 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
16217 ac_file
=1 # Number of current file.
16218 ac_beg
=1 # First line for current file.
16219 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
16222 while $ac_more_lines; do
16223 if test $ac_beg -gt 1; then
16224 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
16226 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
16228 if test ! -s conftest.s
$ac_file; then
16229 ac_more_lines
=false
16230 rm -f conftest.s
$ac_file
16232 if test -z "$ac_sed_cmds"; then
16233 ac_sed_cmds
="sed -f conftest.s$ac_file"
16235 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
16237 ac_file
=`expr $ac_file + 1`
16239 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
16242 if test -z "$ac_sed_cmds"; then
16247 cat >> $CONFIG_STATUS <<EOF
16249 CONFIG_FILES=\${CONFIG_FILES-"tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile"}
16251 cat >> $CONFIG_STATUS <<\EOF
16252 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
16253 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16255 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
16256 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16257 *) ac_file_in
="${ac_file}.in" ;;
16260 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
16262 # Remove last slash and all that follows it. Not all systems have dirname.
16263 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16264 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
16265 # The file is in a subdirectory.
16266 test ! -d "$ac_dir" && mkdir
"$ac_dir"
16267 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
16268 # A "../" for each directory in $ac_dir_suffix.
16269 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
16271 ac_dir_suffix
= ac_dots
=
16274 case "$ac_given_srcdir" in
16276 if test -z "$ac_dots"; then top_srcdir
=.
16277 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
16278 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
16279 *) # Relative path.
16280 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16281 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16284 case "$ac_given_INSTALL" in
16285 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
16286 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
16289 echo creating
"$ac_file"
16291 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
16293 *Makefile
*) ac_comsub
="1i\\
16294 # $configure_input" ;;
16298 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16300 s%@configure_input@%$configure_input%g
16301 s%@srcdir@%$srcdir%g
16302 s%@top_srcdir@%$top_srcdir%g
16303 s%@INSTALL@%$INSTALL%g
16304 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
16308 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16309 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16311 # ac_d sets the value in "#define NAME VALUE" lines.
16312 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16313 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
16316 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
16317 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16318 ac_uB
='\([ ]\)%\1#\2define\3'
16321 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16322 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16323 ac_eB
='$%\1#\2define\3'
16327 if test "${CONFIG_HEADERS+set}" != set; then
16329 cat >> $CONFIG_STATUS <<EOF
16330 CONFIG_HEADERS="config.h"
16332 cat >> $CONFIG_STATUS <<\EOF
16334 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
16335 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16337 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
16338 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16339 *) ac_file_in
="${ac_file}.in" ;;
16342 echo creating
$ac_file
16344 rm -f conftest.frag conftest.
in conftest.out
16345 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16346 cat $ac_file_inputs > conftest.
in
16350 # Transform confdefs.h into a sed script conftest.vals that substitutes
16351 # the proper values into config.h.in to produce config.h. And first:
16352 # Protect against being on the right side of a sed subst in config.status.
16353 # Protect against being in an unquoted here document in config.status.
16354 rm -f conftest.vals
16355 cat > conftest.hdr
<<\EOF
16358 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
16362 sed -n -f conftest.hdr confdefs.h > conftest.vals
16365 # This sed command replaces #undef with comments. This is necessary, for
16366 # example, in the case of _POSIX_SOURCE, which is predefined and required
16367 # on some systems where configure will not decide to define it.
16368 cat >> conftest.vals <<\EOF
16369 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
16372 # Break up conftest.vals because some shells have a limit on
16373 # the size of here documents, and old seds have small limits too.
16375 rm -f conftest.tail
16378 ac_lines=`grep -c . conftest.vals
`
16379 # grep -c gives empty output for an empty file on some AIX systems.
16380 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
16381 # Write a limited-size here document to conftest.frag.
16382 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
16383 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
16385 sed -f conftest.frag conftest.in > conftest.out
16387 mv conftest.out conftest.in
16388 ' >> $CONFIG_STATUS
16389 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
16390 rm -f conftest.vals
16391 mv conftest.tail conftest.vals
16393 rm -f conftest.vals
16395 cat >> $CONFIG_STATUS <<\EOF
16396 rm -f conftest.frag conftest.h
16397 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
16398 cat conftest.in >> conftest.h
16400 if cmp -s $ac_file conftest.h 2>/dev/null; then
16401 echo "$ac_file is unchanged"
16404 # Remove last slash and all that follows it. Not all systems have dirname.
16405 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
16406 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16407 # The file is in a subdirectory.
16408 test ! -d "$ac_dir" && mkdir "$ac_dir"
16411 mv conftest.h $ac_file
16417 cat >> $CONFIG_STATUS <<EOF
16418 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"
16419 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 \
16420 include/bits/ctype_base.h \
16421 include/bits/ctype_inline.h \
16422 include/bits/ctype_noninline.h include/bits/atomicity.h"
16425 cat >> $CONFIG_STATUS <<\EOF
16426 srcdir=$ac_given_srcdir
16427 while test -n "$ac_sources"; do
16428 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
16429 set $ac_sources; ac_source=$1; shift; ac_sources=$*
16431 echo "linking $srcdir/$ac_source to $ac_dest"
16433 if test ! -r $srcdir/$ac_source; then
16434 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
16438 # Make relative symlinks.
16439 # Remove last slash and all that follows it. Not all systems have dirname.
16440 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
16441 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
16442 # The dest file is in a subdirectory.
16443 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
16444 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
16445 # A "../" for each directory in $ac_dest_dir_suffix.
16446 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
16448 ac_dest_dir_suffix= ac_dots=
16452 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
16453 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
16456 # Make a symlink if possible; otherwise try a hard link.
16457 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
16458 ln $srcdir/$ac_source $ac_dest; then :
16460 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
16464 cat >> $CONFIG_STATUS <<EOF
16469 with_multisubdir=${with_multisubdir}
16470 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16471 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16472 glibcpp_basedir=${glibcpp_basedir}
16477 cat >> $CONFIG_STATUS <<\EOF
16478 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
16479 if test -n "$CONFIG_FILES"; then
16480 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
16481 grep '^MULTISUBDIR =' Makefile >> src/Makefile
16482 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
16484 chmod +x tests_flags
16489 chmod +x $CONFIG_STATUS
16490 rm -fr confdefs* $ac_clean_files
16491 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
16495 # Generate bits/c++config.h
16496 # NB: This must be the first generated file as others include it. . .
16497 $srcdir/mkc++config $blddir $srcdir
16499 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
16500 if test ! -f stamp-limits; then
16501 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
16502 if test ! -f include/bits/std_limits.h; then
16503 echo "mknumeric_limits failed to execute properly: exiting"
16511 # Sanity checking & User-visible messages.
16512 # Checks down here, otherwise they get scrolled off before
16513 # the user will notice.
16515 # Trying to get more people to read documentation. Possibly remove
16516 # check and warn all the time. There is no "informational" AC_MSG_
16517 # macro, so these are going to be printed even when --quiet/--silent
16519 if test ! -f stamp-sanity-warned; then
16520 touch stamp-sanity-warned
16522 echo "Please make certain that you read the installation information here:"
16523 echo " faster => ${srcdir}/docs/install.html"
16524 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
16526 echo "and the configuration information here:"
16527 echo " faster => ${srcdir}/docs/configopts.html"
16528 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
16530 echo "before proceeding with ${_cv_gnu_make_command}."