3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --with-target-subdir=SUBDIR
16 configuring in a subdirectory"
18 --with-cross-host=HOST configuring with a cross compiler"
20 --enable-multilib build hella library versions (default)"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-debug extra debugging, turn off optimization [default=no]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
49 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
51 --enable-long-long turns on 'long long' [default=yes]"
53 --enable-cheaders construct "C
" header files for
56 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
59 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
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 glibcpp_CXX 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_glibcpp_CXX'+set}'`\" = set"; then
1216 echo $ac_n "(cached) $ac_c" 1>&6
1218 if test -n "$glibcpp_CXX"; then
1219 ac_cv_prog_glibcpp_CXX
="$glibcpp_CXX" # 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_glibcpp_CXX
="$ac_prog"
1233 glibcpp_CXX
="$ac_cv_prog_glibcpp_CXX"
1234 if test -n "$glibcpp_CXX"; then
1235 echo "$ac_t""$glibcpp_CXX" 1>&6
1237 echo "$ac_t""no" 1>&6
1240 test -n "$glibcpp_CXX" && break
1242 test -n "$glibcpp_CXX" || glibcpp_CXX
="gcc"
1246 test -z "$glibcpp_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
="ranlib-not-found-in-path-error"
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
1428 RANLIB
="ranlib-not-found-in-path-error"
1432 # Find a good install program. We prefer a C program (faster),
1433 # so one script is as good as another. But avoid the broken or
1434 # incompatible versions:
1435 # SysV /etc/install, /usr/sbin/install
1436 # SunOS /usr/etc/install
1437 # IRIX /sbin/install
1439 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1440 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1441 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1442 # ./install, which can be erroneously created by make from ./install.sh.
1443 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1444 echo "configure:1445: checking for a BSD compatible install" >&5
1445 if test -z "$INSTALL"; then
1446 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1447 echo $ac_n "(cached) $ac_c" 1>&6
1449 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1450 for ac_dir
in $PATH; do
1451 # Account for people who put trailing slashes in PATH elements.
1453 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1455 # OSF1 and SCO ODT 3.0 have their own names for install.
1456 # Don't use installbsd from OSF since it installs stuff as root
1458 for ac_prog
in ginstall scoinst
install; do
1459 if test -f $ac_dir/$ac_prog; then
1460 if test $ac_prog = install &&
1461 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1462 # AIX install. It has an incompatible calling convention.
1465 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1476 if test "${ac_cv_path_install+set}" = set; then
1477 INSTALL
="$ac_cv_path_install"
1479 # As a last resort, use the slow shell script. We don't cache a
1480 # path for INSTALL within a source directory, because that will
1481 # break other packages using the cache if that directory is
1482 # removed, or if the path is relative.
1483 INSTALL
="$ac_install_sh"
1486 echo "$ac_t""$INSTALL" 1>&6
1488 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1489 # It thinks the first close brace ends the variable substitution.
1490 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1492 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1494 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1497 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1498 echo "configure:1499: checking whether to enable maintainer-specific portions of Makefiles" >&5
1499 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1500 if test "${enable_maintainer_mode+set}" = set; then
1501 enableval
="$enable_maintainer_mode"
1502 USE_MAINTAINER_MODE
=$enableval
1504 USE_MAINTAINER_MODE
=no
1507 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1510 if test $USE_MAINTAINER_MODE = yes; then
1511 MAINTAINER_MODE_TRUE
=
1512 MAINTAINER_MODE_FALSE
='#'
1514 MAINTAINER_MODE_TRUE
='#'
1515 MAINTAINER_MODE_FALSE
=
1517 MAINT
=$MAINTAINER_MODE_TRUE
1521 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1522 # at least currently, we never actually build a program, so we never
1523 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1524 # fails, because we are probably configuring with a cross compiler
1525 # which cant create executables. So we include AC_EXEEXT to keep
1526 # automake happy, but we dont execute it, since we dont care about
1531 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1532 echo "configure:1533: checking for executable suffix" >&5
1533 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1534 echo $ac_n "(cached) $ac_c" 1>&6
1536 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
1540 echo 'int main () { return 0; }' > conftest.
$ac_ext
1542 if { (eval echo configure
:1543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1543 for file in conftest.
*; do
1545 *.c |
*.o |
*.obj
) ;;
1546 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
1550 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1553 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
1558 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
1559 echo "$ac_t""${ac_cv_exeext}" 1>&6
1564 .
${glibcpp_basedir}/configure.
host
1566 case ${glibcpp_basedir} in
1567 /* | A-Za-z
:\\/*) libgcj_flagbasedir
=${glibcpp_basedir} ;;
1568 *) glibcpp_flagbasedir
='$(top_builddir)/'${glibcpp_basedir} ;;
1571 # This does for the target what configure.host does for the host. In
1572 # addition to possibly modifying the same flags, it also sets up symlinks.
1574 .
${glibcpp_basedir}/configure.target
1575 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1576 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1582 # Check whether --enable-shared or --disable-shared was given.
1583 if test "${enable_shared+set}" = set; then
1584 enableval
="$enable_shared"
1585 p
=${PACKAGE-default}
1587 yes) enable_shared
=yes ;;
1588 no
) enable_shared
=no
;;
1591 # Look at the argument we got. We use all the common list separators.
1592 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1593 for pkg
in $enableval; do
1594 if test "X$pkg" = "X$p"; then
1605 # Check whether --enable-static or --disable-static was given.
1606 if test "${enable_static+set}" = set; then
1607 enableval
="$enable_static"
1608 p
=${PACKAGE-default}
1610 yes) enable_static
=yes ;;
1611 no
) enable_static
=no
;;
1614 # Look at the argument we got. We use all the common list separators.
1615 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1616 for pkg
in $enableval; do
1617 if test "X$pkg" = "X$p"; then
1628 # Check whether --enable-fast-install or --disable-fast-install was given.
1629 if test "${enable_fast_install+set}" = set; then
1630 enableval
="$enable_fast_install"
1631 p
=${PACKAGE-default}
1633 yes) enable_fast_install
=yes ;;
1634 no
) enable_fast_install
=no
;;
1636 enable_fast_install
=no
1637 # Look at the argument we got. We use all the common list separators.
1638 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1639 for pkg
in $enableval; do
1640 if test "X$pkg" = "X$p"; then
1641 enable_fast_install
=yes
1648 enable_fast_install
=yes
1651 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1652 if test "${with_gnu_ld+set}" = set; then
1653 withval
="$with_gnu_ld"
1654 test "$withval" = no || with_gnu_ld
=yes
1660 if test "$GCC" = yes; then
1661 # Check if gcc -print-prog-name=ld gives a path.
1662 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1663 echo "configure:1664: checking for ld used by GCC" >&5
1666 # gcc leaves a trailing carriage return which upsets mingw
1667 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1669 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
1672 # Accept absolute paths.
1673 [\\/]* |
[A-Za-z
]:[\\/]*)
1674 re_direlt
='/[^/][^/]*/\.\./'
1675 # Canonicalize the path of ld
1676 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
1677 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
1678 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
1680 test -z "$LD" && LD
="$ac_prog"
1683 # If it fails, then pretend we aren't using GCC.
1687 # If it is relative, then search for the first ld in PATH.
1691 elif test "$with_gnu_ld" = yes; then
1692 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1693 echo "configure:1694: checking for GNU ld" >&5
1695 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1696 echo "configure:1697: checking for non-GNU ld" >&5
1698 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1699 echo $ac_n "(cached) $ac_c" 1>&6
1701 if test -z "$LD"; then
1702 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1703 for ac_dir
in $PATH; do
1704 test -z "$ac_dir" && ac_dir
=.
1705 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
1706 lt_cv_path_LD
="$ac_dir/$ac_prog"
1707 # Check to see if the program is GNU ld. I'd rather use --version,
1708 # but apparently some GNU ld's only accept -v.
1709 # Break only if it was the GNU/non-GNU ld that we prefer.
1710 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
1711 test "$with_gnu_ld" != no
&& break
1713 test "$with_gnu_ld" != yes && break
1719 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
1724 if test -n "$LD"; then
1725 echo "$ac_t""$LD" 1>&6
1727 echo "$ac_t""no" 1>&6
1729 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1730 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1731 echo "configure:1732: checking if the linker ($LD) is GNU ld" >&5
1732 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1733 echo $ac_n "(cached) $ac_c" 1>&6
1735 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1736 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
1737 lt_cv_prog_gnu_ld
=yes
1739 lt_cv_prog_gnu_ld
=no
1743 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1744 with_gnu_ld
=$lt_cv_prog_gnu_ld
1747 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1748 echo "configure:1749: checking for $LD option to reload object files" >&5
1749 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1750 echo $ac_n "(cached) $ac_c" 1>&6
1752 lt_cv_ld_reload_flag
='-r'
1755 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1756 reload_flag
=$lt_cv_ld_reload_flag
1757 test -n "$reload_flag" && reload_flag
=" $reload_flag"
1759 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1760 echo "configure:1761: checking for BSD-compatible nm" >&5
1761 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1762 echo $ac_n "(cached) $ac_c" 1>&6
1764 if test -n "$NM"; then
1765 # Let the user override the test.
1768 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1769 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
1770 test -z "$ac_dir" && ac_dir
=.
1771 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
1772 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
1773 # Check to see if the nm accepts a BSD-compat flag.
1774 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1775 # nm: unknown option "B" ignored
1776 # Tru64's nm complains that /dev/null is an invalid object file
1777 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
1778 lt_cv_path_NM
="$tmp_nm -B"
1780 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1781 lt_cv_path_NM
="$tmp_nm -p"
1784 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1785 continue # so that we can try to find one that supports BSD flags
1790 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
1795 echo "$ac_t""$NM" 1>&6
1797 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1798 echo "configure:1799: checking whether ln -s works" >&5
1799 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1800 echo $ac_n "(cached) $ac_c" 1>&6
1803 if ln -s X conftestdata
2>/dev
/null
1806 ac_cv_prog_LN_S
="ln -s"
1811 LN_S
="$ac_cv_prog_LN_S"
1812 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1813 echo "$ac_t""yes" 1>&6
1815 echo "$ac_t""no" 1>&6
1818 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1819 echo "configure:1820: checking how to recognise dependant libraries" >&5
1820 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1821 echo $ac_n "(cached) $ac_c" 1>&6
1823 lt_cv_file_magic_cmd
='$MAGIC_CMD'
1824 lt_cv_file_magic_test_file
=
1825 lt_cv_deplibs_check_method
='unknown'
1826 # Need to set the preceding variable on all platforms that support
1827 # interlibrary dependencies.
1828 # 'none' -- dependencies not supported.
1829 # `unknown' -- same as none, but documents that we really don't know.
1830 # 'pass_all' -- all dependencies passed with no checks.
1831 # 'test_compile' -- check by making test program.
1832 # 'file_magic [regex]' -- check by looking for files in library path
1833 # which responds to the $file_magic_cmd with a given egrep regex.
1834 # If you have `file' or equivalent on your system and you're not sure
1835 # whether `pass_all' will *always* work, you probably want this one.
1839 lt_cv_deplibs_check_method
=pass_all
1843 lt_cv_deplibs_check_method
=pass_all
1847 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1848 lt_cv_file_magic_cmd
='/usr/bin/file -L'
1849 lt_cv_file_magic_test_file
=/shlib
/libc.so
1852 cygwin
* | mingw
* |pw32
*)
1853 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
1854 lt_cv_file_magic_cmd
='$OBJDUMP -f'
1857 darwin
* | rhapsody
*)
1858 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
1859 lt_cv_file_magic_cmd
='/usr/bin/file -L'
1861 rhapsody
* | darwin1.012
)
1862 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
1865 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
1871 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
1874 # Not sure whether the presence of OpenBSD here was a mistake.
1875 # Let's accept both of them until this is cleared up.
1876 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1877 lt_cv_file_magic_cmd
=/usr
/bin
/file
1878 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
1882 lt_cv_deplibs_check_method
=pass_all
1887 lt_cv_deplibs_check_method
=pass_all
1891 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1892 lt_cv_file_magic_cmd
=/usr
/bin
/file
1893 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
1899 # this will be overridden with pass_all, but let us keep it just in case
1900 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1904 *-32|
*"-32 ") libmagic
=32-bit;;
1905 *-n32|
*"-n32 ") libmagic
=N32
;;
1906 *-64|
*"-64 ") libmagic
=64-bit;;
1907 *) libmagic
=never-match
;;
1909 # this will be overridden with pass_all, but let us keep it just in case
1910 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1913 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
1914 lt_cv_deplibs_check_method
=pass_all
1917 # This must be Linux ELF.
1920 alpha
* | i
*86 | powerpc
* | sparc
* | ia64
* )
1921 lt_cv_deplibs_check_method
=pass_all
;;
1923 # glibc up to 2.1.1 does not perform some relocations on ARM
1924 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1926 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
1930 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
1931 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1933 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
1938 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1939 lt_cv_file_magic_cmd
=/usr
/bin
/file
1940 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
1943 osf3
* | osf4
* | osf5
*)
1944 # this will be overridden with pass_all, but let us keep it just in case
1945 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
1946 lt_cv_file_magic_test_file
=/shlib
/libc.so
1947 lt_cv_deplibs_check_method
=pass_all
1951 lt_cv_deplibs_check_method
=pass_all
1955 lt_cv_deplibs_check_method
=pass_all
1956 lt_cv_file_magic_test_file
=/lib
/libc.so
1959 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
1960 case $host_vendor in
1962 lt_cv_deplibs_check_method
=pass_all
1965 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]'
1966 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
1974 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1975 file_magic_cmd
=$lt_cv_file_magic_cmd
1976 deplibs_check_method
=$lt_cv_deplibs_check_method
1978 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1979 echo "configure:1980: checking for object suffix" >&5
1980 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1981 echo $ac_n "(cached) $ac_c" 1>&6
1984 echo 'int i = 1;' > conftest.
$ac_ext
1985 if { (eval echo configure
:1986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1986 for ac_file
in conftest.
*; do
1989 *) ac_cv_objext
=`echo $ac_file | sed -e s/conftest.//` ;;
1993 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1998 echo "$ac_t""$ac_cv_objext" 1>&6
1999 OBJEXT
=$ac_cv_objext
2000 ac_objext
=$ac_cv_objext
2002 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2004 # Only perform the check for file, if the check method requires it
2005 case $deplibs_check_method in
2007 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2008 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2009 echo "configure:2010: checking for ${ac_tool_prefix}file" >&5
2010 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2011 echo $ac_n "(cached) $ac_c" 1>&6
2015 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
2018 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
2021 ac_save_MAGIC_CMD
="$MAGIC_CMD"
2022 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2023 ac_dummy
="/usr/bin:$PATH"
2024 for ac_dir
in $ac_dummy; do
2025 test -z "$ac_dir" && ac_dir
=.
2026 if test -f $ac_dir/${ac_tool_prefix}file; then
2027 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
2028 if test -n "$file_magic_test_file"; then
2029 case $deplibs_check_method in
2031 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2032 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2033 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
2034 egrep "$file_magic_regex" > /dev
/null
; then
2039 *** Warning: the command libtool uses to detect shared libraries,
2040 *** $file_magic_cmd, produces output that libtool cannot recognize.
2041 *** The result is that libtool may fail to recognize shared libraries
2042 *** as such. This will affect the creation of libtool libraries that
2043 *** depend on shared libraries, but programs linked with such libtool
2044 *** libraries will work regardless of this problem. Nevertheless, you
2045 *** may want to report the problem to your system manager and/or to
2046 *** bug-libtool@gnu.org
2056 MAGIC_CMD
="$ac_save_MAGIC_CMD"
2061 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2062 if test -n "$MAGIC_CMD"; then
2063 echo "$ac_t""$MAGIC_CMD" 1>&6
2065 echo "$ac_t""no" 1>&6
2068 if test -z "$lt_cv_path_MAGIC_CMD"; then
2069 if test -n "$ac_tool_prefix"; then
2070 echo $ac_n "checking for file""... $ac_c" 1>&6
2071 echo "configure:2072: checking for file" >&5
2072 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2073 echo $ac_n "(cached) $ac_c" 1>&6
2077 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
2080 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
2083 ac_save_MAGIC_CMD
="$MAGIC_CMD"
2084 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2085 ac_dummy
="/usr/bin:$PATH"
2086 for ac_dir
in $ac_dummy; do
2087 test -z "$ac_dir" && ac_dir
=.
2088 if test -f $ac_dir/file; then
2089 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
2090 if test -n "$file_magic_test_file"; then
2091 case $deplibs_check_method in
2093 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2094 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2095 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
2096 egrep "$file_magic_regex" > /dev
/null
; then
2101 *** Warning: the command libtool uses to detect shared libraries,
2102 *** $file_magic_cmd, produces output that libtool cannot recognize.
2103 *** The result is that libtool may fail to recognize shared libraries
2104 *** as such. This will affect the creation of libtool libraries that
2105 *** depend on shared libraries, but programs linked with such libtool
2106 *** libraries will work regardless of this problem. Nevertheless, you
2107 *** may want to report the problem to your system manager and/or to
2108 *** bug-libtool@gnu.org
2118 MAGIC_CMD
="$ac_save_MAGIC_CMD"
2123 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2124 if test -n "$MAGIC_CMD"; then
2125 echo "$ac_t""$MAGIC_CMD" 1>&6
2127 echo "$ac_t""no" 1>&6
2139 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2140 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2141 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2142 echo "configure:2143: checking for $ac_word" >&5
2143 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2144 echo $ac_n "(cached) $ac_c" 1>&6
2146 if test -n "$RANLIB"; then
2147 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2149 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2151 for ac_dir
in $ac_dummy; do
2152 test -z "$ac_dir" && ac_dir
=.
2153 if test -f $ac_dir/$ac_word; then
2154 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2161 RANLIB
="$ac_cv_prog_RANLIB"
2162 if test -n "$RANLIB"; then
2163 echo "$ac_t""$RANLIB" 1>&6
2165 echo "$ac_t""no" 1>&6
2169 if test -z "$ac_cv_prog_RANLIB"; then
2170 if test -n "$ac_tool_prefix"; then
2171 # Extract the first word of "ranlib", so it can be a program name with args.
2172 set dummy ranlib
; ac_word
=$2
2173 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2174 echo "configure:2175: checking for $ac_word" >&5
2175 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2176 echo $ac_n "(cached) $ac_c" 1>&6
2178 if test -n "$RANLIB"; then
2179 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2181 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2183 for ac_dir
in $ac_dummy; do
2184 test -z "$ac_dir" && ac_dir
=.
2185 if test -f $ac_dir/$ac_word; then
2186 ac_cv_prog_RANLIB
="ranlib"
2191 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
2194 RANLIB
="$ac_cv_prog_RANLIB"
2195 if test -n "$RANLIB"; then
2196 echo "$ac_t""$RANLIB" 1>&6
2198 echo "$ac_t""no" 1>&6
2206 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2207 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2208 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2209 echo "configure:2210: checking for $ac_word" >&5
2210 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2211 echo $ac_n "(cached) $ac_c" 1>&6
2213 if test -n "$STRIP"; then
2214 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2216 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2218 for ac_dir
in $ac_dummy; do
2219 test -z "$ac_dir" && ac_dir
=.
2220 if test -f $ac_dir/$ac_word; then
2221 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2228 STRIP
="$ac_cv_prog_STRIP"
2229 if test -n "$STRIP"; then
2230 echo "$ac_t""$STRIP" 1>&6
2232 echo "$ac_t""no" 1>&6
2236 if test -z "$ac_cv_prog_STRIP"; then
2237 if test -n "$ac_tool_prefix"; then
2238 # Extract the first word of "strip", so it can be a program name with args.
2239 set dummy strip
; ac_word
=$2
2240 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2241 echo "configure:2242: checking for $ac_word" >&5
2242 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2243 echo $ac_n "(cached) $ac_c" 1>&6
2245 if test -n "$STRIP"; then
2246 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2248 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2250 for ac_dir
in $ac_dummy; do
2251 test -z "$ac_dir" && ac_dir
=.
2252 if test -f $ac_dir/$ac_word; then
2253 ac_cv_prog_STRIP
="strip"
2258 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
=":"
2261 STRIP
="$ac_cv_prog_STRIP"
2262 if test -n "$STRIP"; then
2263 echo "$ac_t""$STRIP" 1>&6
2265 echo "$ac_t""no" 1>&6
2274 # Check for any special flags to pass to ltconfig.
2275 libtool_flags
="--cache-file=$cache_file"
2276 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
2277 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
2278 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
2279 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
2280 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
2281 libtool_flags
="$libtool_flags --enable-dlopen"
2283 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2284 if test "${enable_libtool_lock+set}" = set; then
2285 enableval
="$enable_libtool_lock"
2289 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
2290 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
2292 # Check whether --with-pic or --without-pic was given.
2293 if test "${with_pic+set}" = set; then
2300 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
2301 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
2303 # Some flags need to be propagated to the compiler or linker for good
2307 # Find out which ABI we are using.
2308 echo '#line 2309 "configure"' > conftest.
$ac_ext
2309 if { (eval echo configure
:2310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2310 case `/usr/bin/file conftest.$ac_objext` in
2326 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2327 SAVE_CFLAGS
="$CFLAGS"
2328 CFLAGS
="$CFLAGS -belf"
2329 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2330 echo "configure:2331: checking whether the C compiler needs -belf" >&5
2331 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2332 echo $ac_n "(cached) $ac_c" 1>&6
2336 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2337 ac_cpp
='$CPP $CPPFLAGS'
2338 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2339 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2340 cross_compiling
=$ac_cv_prog_cc_cross
2342 cat > conftest.
$ac_ext <<EOF
2343 #line 2344 "configure"
2344 #include "confdefs.h"
2350 if { (eval echo configure
:2351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2352 lt_cv_cc_needs_belf
=yes
2354 echo "configure: failed program was:" >&5
2355 cat conftest.
$ac_ext >&5
2357 lt_cv_cc_needs_belf
=no
2361 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2362 ac_cpp
='$CPP $CPPFLAGS'
2363 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2364 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2365 cross_compiling
=$ac_cv_prog_cc_cross
2369 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2370 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
2371 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2372 CFLAGS
="$SAVE_CFLAGS"
2379 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2380 echo "configure:2381: checking how to run the C++ preprocessor" >&5
2381 if test -z "$CXXCPP"; then
2382 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2383 echo $ac_n "(cached) $ac_c" 1>&6
2386 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2387 ac_cpp
='$CXXCPP $CPPFLAGS'
2388 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2389 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2390 cross_compiling
=$ac_cv_prog_cxx_cross
2391 CXXCPP
="${CXX-g++} -E"
2392 cat > conftest.
$ac_ext <<EOF
2393 #line 2394 "configure"
2394 #include "confdefs.h"
2397 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2398 { (eval echo configure
:2399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2399 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2400 if test -z "$ac_err"; then
2404 echo "configure: failed program was:" >&5
2405 cat conftest.
$ac_ext >&5
2410 ac_cv_prog_CXXCPP
="$CXXCPP"
2412 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2413 ac_cpp
='$CPP $CPPFLAGS'
2414 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2415 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2416 cross_compiling
=$ac_cv_prog_cc_cross
2419 CXXCPP
="$ac_cv_prog_CXXCPP"
2420 echo "$ac_t""$CXXCPP" 1>&6
2423 # Save cache, so that ltconfig can load it
2424 cat > confcache
<<\EOF
2425 # This file is a shell script that caches the results of configure
2426 # tests run on this system so they can be shared between configure
2427 # scripts and configure runs. It is not useful on other systems.
2428 # If it contains results you don't want to keep, you may remove or edit it.
2430 # By default, configure uses ./config.cache as the cache file,
2431 # creating it if it does not exist already. You can give configure
2432 # the --cache-file=FILE option to use a different cache file; that is
2433 # what configure does when it calls configure scripts in
2434 # subdirectories, so they share the cache.
2435 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2436 # config.status only pays attention to the cache file if you give it the
2437 # --recheck option to rerun configure.
2440 # The following way of writing the cache mishandles newlines in values,
2441 # but we know of no workaround that is simple, portable, and efficient.
2442 # So, don't put newlines in cache variables' values.
2443 # Ultrix sh set writes to stderr and can't be redirected directly,
2444 # and sets the high bit in the cache file unless we assign to the vars.
2446 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2448 # `set' does not quote correctly, so add quotes (double-quote substitution
2449 # turns \\\\ into \\, and sed turns \\ into \).
2451 -e "s/'/'\\\\''/g" \
2452 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2455 # `set' quotes correctly as required by POSIX, so do not add quotes.
2456 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2459 if cmp -s $cache_file confcache
; then
2462 if test -w $cache_file; then
2463 echo "updating cache $cache_file"
2464 cat confcache
> $cache_file
2466 echo "not updating unwritable cache $cache_file"
2472 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2473 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
2474 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2475 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
2476 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
2477 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
2478 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
2479 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
2480 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
2481 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2483 # Reload cache, that may have been modified by ltconfig
2484 if test -r "$cache_file"; then
2485 echo "loading cache $cache_file"
2488 echo "creating cache $cache_file"
2493 # This can be used to rebuild libtool when needed
2494 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2496 # Always use our own libtool.
2497 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
2499 # Redirect the config.log output again, so that the ltconfig log is not
2500 # clobbered by the next message.
2501 exec 5>>.
/config.log
2505 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2507 lt_save_CFLAGS
="$CFLAGS"
2508 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
2509 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2510 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
2511 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
2512 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
2513 deplibs_check_method
="$deplibs_check_method" \
2514 file_magic_cmd
="$file_magic_cmd" \
2515 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
2516 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
2517 ||
{ echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2519 CFLAGS
="$lt_save_CFLAGS"
2521 # Redirect the config.log output again, so that the ltconfig log is not
2522 # clobbered by the next message.
2523 exec 5>>.
/config.log
2532 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2533 echo "configure:2534: checking for GNU make" >&5
2534 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2535 echo $ac_n "(cached) $ac_c" 1>&6
2537 _cv_gnu_make_command
='' ;
2538 for a
in "${MAKE-make}" make gmake gnumake
; do
2539 if ( $a --version 2> /dev
/null |
grep -c GNU
> /dev
/null
)
2541 _cv_gnu_make_command
=$a ;
2548 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2549 if test "x$_cv_gnu_make_command" != "x" ; then
2556 if test "x$_cv_gnu_make_command" = "x"; then
2557 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2563 # Check for c++ or library specific bits that don't require linking.
2565 if test ! -f stamp-sanity-compiler
; then
2566 echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2567 echo "configure:2568: checking for g++ that will successfully compile libstdc++-v3" >&5
2570 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2571 ac_cpp
='$CXXCPP $CPPFLAGS'
2572 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2573 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2574 cross_compiling
=$ac_cv_prog_cxx_cross
2576 cat > conftest.
$ac_ext <<EOF
2577 #line 2578 "configure"
2578 #include "confdefs.h"
2585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2586 egrep "ok" >/dev
/null
2>&1; then
2588 gpp_satisfactory
=yes
2591 { echo "configure: error: please upgrade to GCC 3.0 or above" 1>&2; exit 1; }
2596 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2597 ac_cpp
='$CPP $CPPFLAGS'
2598 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2599 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2600 cross_compiling
=$ac_cv_prog_cc_cross
2602 echo "$ac_t""$gpp_satisfactory" 1>&6
2603 touch stamp-sanity-compiler
2607 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2608 # Check whether --enable-debug or --disable-debug was given.
2609 if test "${enable_debug+set}" = set; then
2610 enableval
="$enable_debug"
2611 case "${enableval}" in
2612 yes) enable_debug
=yes ;;
2613 no
) enable_debug
=no
;;
2614 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2620 case "${enable_debug}" in
2622 DEBUG_FLAGS
='-O0 -ggdb3'
2630 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2631 echo "configure:2632: checking how to run the C preprocessor" >&5
2632 # On Suns, sometimes $CPP names a directory.
2633 if test -n "$CPP" && test -d "$CPP"; then
2636 if test -z "$CPP"; then
2637 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2638 echo $ac_n "(cached) $ac_c" 1>&6
2640 # This must be in double quotes, not single quotes, because CPP may get
2641 # substituted into the Makefile and "${CC-cc}" will confuse make.
2643 # On the NeXT, cc -E runs the code through the compiler's parser,
2644 # not just through cpp.
2645 cat > conftest.
$ac_ext <<EOF
2646 #line 2647 "configure"
2647 #include "confdefs.h"
2651 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2652 { (eval echo configure
:2653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2653 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2654 if test -z "$ac_err"; then
2658 echo "configure: failed program was:" >&5
2659 cat conftest.
$ac_ext >&5
2661 CPP
="${CC-cc} -E -traditional-cpp"
2662 cat > conftest.
$ac_ext <<EOF
2663 #line 2664 "configure"
2664 #include "confdefs.h"
2668 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2669 { (eval echo configure
:2670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2670 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2671 if test -z "$ac_err"; then
2675 echo "configure: failed program was:" >&5
2676 cat conftest.
$ac_ext >&5
2678 CPP
="${CC-cc} -nologo -E"
2679 cat > conftest.
$ac_ext <<EOF
2680 #line 2681 "configure"
2681 #include "confdefs.h"
2685 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2686 { (eval echo configure
:2687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2687 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2688 if test -z "$ac_err"; then
2692 echo "configure: failed program was:" >&5
2693 cat conftest.
$ac_ext >&5
2702 ac_cv_prog_CPP
="$CPP"
2704 CPP
="$ac_cv_prog_CPP"
2706 ac_cv_prog_CPP
="$CPP"
2708 echo "$ac_t""$CPP" 1>&6
2711 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2712 echo "configure:2713: checking for cstdio to use" >&5
2713 # Check whether --enable-cstdio or --disable-cstdio was given.
2714 if test "${enable_cstdio+set}" = set; then
2715 enableval
="$enable_cstdio"
2716 if test x
$enable_cstdio = xno
; then
2724 enable_cstdio_flag
=$enable_cstdio
2726 case x
${enable_cstdio_flag} in
2728 CSTDIO_H
=config
/c_io_libio.h
2729 BASIC_FILE_H
=config
/basic_file_libio.h
2730 BASIC_FILE_CC
=config
/basic_file_libio.cc
2731 echo "$ac_t""libio" 1>&6
2733 # see if we are on a system with libio native (ie, linux)
2734 ac_safe
=`echo "libio.h" | sed 'y%./+-%__p_%'`
2735 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2736 echo "configure:2737: checking for libio.h" >&5
2737 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2738 echo $ac_n "(cached) $ac_c" 1>&6
2740 cat > conftest.
$ac_ext <<EOF
2741 #line 2742 "configure"
2742 #include "confdefs.h"
2745 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2746 { (eval echo configure
:2747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2747 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2748 if test -z "$ac_err"; then
2750 eval "ac_cv_header_$ac_safe=yes"
2753 echo "configure: failed program was:" >&5
2754 cat conftest.
$ac_ext >&5
2756 eval "ac_cv_header_$ac_safe=no"
2760 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2761 echo "$ac_t""yes" 1>&6
2764 echo "$ac_t""no" 1>&6
2769 # Need to check and see what version of glibc is being used. If
2770 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2771 # compile most of libio for linux systems.
2772 if test x
$has_libio = x
"yes"; then
2775 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2776 echo "configure:2777: checking for glibc version >= 2.2" >&5
2777 cat > conftest.
$ac_ext <<EOF
2778 #line 2779 "configure"
2779 #include "confdefs.h"
2781 #include <features.h>
2782 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2788 egrep "ok" >/dev
/null
2>&1; then
2790 glibc_satisfactory
=yes
2793 glibc_satisfactory
=no
2797 echo "$ac_t""$glibc_satisfactory" 1>&6
2801 # XXX at the moment, admit defeat and force the recompilation
2802 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2803 glibc_satisfactory
=no
2805 if test x
$glibc_satisfactory = x
"yes"; then
2810 # bkoz XXX need to add checks to enable this
2811 # pme XXX here's a first pass at such a check
2812 if test x
$enable_c_mbchar != xno
; then
2820 # Using libio, but <libio.h> doesn't exist on the target system. . .
2822 # bkoz XXX need to add checks to enable this
2823 # pme XXX here's a first pass at such a check
2824 if test x
$enable_c_mbchar != xno
; then
2831 xstdio | x | xno | xnone | xyes
)
2833 CSTDIO_H
=config
/c_io_stdio.h
2834 BASIC_FILE_H
=config
/basic_file_stdio.h
2835 BASIC_FILE_CC
=config
/basic_file_stdio.cc
2836 echo "$ac_t""stdio" 1>&6
2838 # We're not using stdio.
2843 echo "$enable_cstdio is an unknown io package" 1>&2
2851 # 2000-08-04 bkoz hack
2852 CCODECVT_C
=config
/c_io_libio_codecvt.c
2854 # 2000-08-04 bkoz hack
2858 if test "$need_libio" = yes ||
test "$need_wlibio" = yes; then
2859 GLIBCPP_BUILD_LIBIO_TRUE
=
2860 GLIBCPP_BUILD_LIBIO_FALSE
='#'
2862 GLIBCPP_BUILD_LIBIO_TRUE
='#'
2863 GLIBCPP_BUILD_LIBIO_FALSE
=
2867 if test "$need_libio" = yes; then
2868 GLIBCPP_NEED_LIBIO_TRUE
=
2869 GLIBCPP_NEED_LIBIO_FALSE
='#'
2871 GLIBCPP_NEED_LIBIO_TRUE
='#'
2872 GLIBCPP_NEED_LIBIO_FALSE
=
2876 if test "$need_wlibio" = yes; then
2877 GLIBCPP_NEED_WLIBIO_TRUE
=
2878 GLIBCPP_NEED_WLIBIO_FALSE
='#'
2880 GLIBCPP_NEED_WLIBIO_TRUE
='#'
2881 GLIBCPP_NEED_WLIBIO_FALSE
=
2883 if test "$need_libio" = yes ||
test "$need_wlibio" = yes; then
2884 libio_la
=..
/libio
/libio.la
2891 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2892 echo "configure:2893: checking for clocale to use" >&5
2893 # Check whether --enable-clocale or --disable-clocale was given.
2894 if test "${enable_clocale+set}" = set; then
2895 enableval
="$enable_clocale"
2896 if test x
$enable_clocale = xno
; then
2897 enable_clocale
=generic
2900 enable_clocale
=generic
2904 enable_clocale_flag
=$enable_clocale
2906 case x
${enable_clocale_flag} in
2908 CLOCALE_H
=config
/c_locale_gnu.h
2909 CLOCALE_CC
=config
/c_locale_gnu.cc
2910 echo "$ac_t""gnu" 1>&6
2913 CLOCALE_H
=config
/c_locale_generic.h
2914 CLOCALE_CC
=config
/c_locale_generic.cc
2915 echo "$ac_t""generic" 1>&6
2918 echo "$enable_clocale is an unknown locale package" 1>&2
2926 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2927 if test "${enable_c_mbchar+set}" = set; then
2928 enableval
="$enable_c_mbchar"
2929 case "$enableval" in
2930 yes) enable_c_mbchar
=yes ;;
2931 no
) enable_c_mbchar
=no
;;
2932 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2939 # Check whether --enable-c99 or --disable-c99 was given.
2940 if test "${enable_c99+set}" = set; then
2941 enableval
="$enable_c99"
2942 case "$enableval" in
2943 yes) enable_c99
=yes ;;
2944 no
) enable_c99
=no
;;
2945 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
2953 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2954 ac_cpp
='$CXXCPP $CPPFLAGS'
2955 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2956 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2957 cross_compiling
=$ac_cv_prog_cxx_cross
2960 # Check for the existence of <math.h> functions used if C99 is enabled.
2961 cat > conftest.
$ac_ext <<EOF
2962 #line 2963 "configure"
2963 #include "confdefs.h"
2969 if { (eval echo configure
:2970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2972 echo "configure: failed program was:" >&5
2973 cat conftest.
$ac_ext >&5
2978 cat > conftest.
$ac_ext <<EOF
2979 #line 2980 "configure"
2980 #include "confdefs.h"
2986 if { (eval echo configure
:2987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2989 echo "configure: failed program was:" >&5
2990 cat conftest.
$ac_ext >&5
2995 cat > conftest.
$ac_ext <<EOF
2996 #line 2997 "configure"
2997 #include "confdefs.h"
3003 if { (eval echo configure
:3004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3006 echo "configure: failed program was:" >&5
3007 cat conftest.
$ac_ext >&5
3012 cat > conftest.
$ac_ext <<EOF
3013 #line 3014 "configure"
3014 #include "confdefs.h"
3020 if { (eval echo configure
:3021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3023 echo "configure: failed program was:" >&5
3024 cat conftest.
$ac_ext >&5
3029 cat > conftest.
$ac_ext <<EOF
3030 #line 3031 "configure"
3031 #include "confdefs.h"
3037 if { (eval echo configure
:3038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3040 echo "configure: failed program was:" >&5
3041 cat conftest.
$ac_ext >&5
3046 cat > conftest.
$ac_ext <<EOF
3047 #line 3048 "configure"
3048 #include "confdefs.h"
3054 if { (eval echo configure
:3055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3057 echo "configure: failed program was:" >&5
3058 cat conftest.
$ac_ext >&5
3063 cat > conftest.
$ac_ext <<EOF
3064 #line 3065 "configure"
3065 #include "confdefs.h"
3071 if { (eval echo configure
:3072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3074 echo "configure: failed program was:" >&5
3075 cat conftest.
$ac_ext >&5
3080 cat > conftest.
$ac_ext <<EOF
3081 #line 3082 "configure"
3082 #include "confdefs.h"
3085 isgreaterequal(0.0,0.0);
3088 if { (eval echo configure
:3089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3091 echo "configure: failed program was:" >&5
3092 cat conftest.
$ac_ext >&5
3097 cat > conftest.
$ac_ext <<EOF
3098 #line 3099 "configure"
3099 #include "confdefs.h"
3105 if { (eval echo configure
:3106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3108 echo "configure: failed program was:" >&5
3109 cat conftest.
$ac_ext >&5
3114 cat > conftest.
$ac_ext <<EOF
3115 #line 3116 "configure"
3116 #include "confdefs.h"
3119 islessequal(0.0,0.0);
3122 if { (eval echo configure
:3123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3125 echo "configure: failed program was:" >&5
3126 cat conftest.
$ac_ext >&5
3131 cat > conftest.
$ac_ext <<EOF
3132 #line 3133 "configure"
3133 #include "confdefs.h"
3136 islessgreater(0.0,0.0);
3139 if { (eval echo configure
:3140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3142 echo "configure: failed program was:" >&5
3143 cat conftest.
$ac_ext >&5
3148 cat > conftest.
$ac_ext <<EOF
3149 #line 3150 "configure"
3150 #include "confdefs.h"
3153 isunordered(0.0,0.0);
3156 if { (eval echo configure
:3157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3159 echo "configure: failed program was:" >&5
3160 cat conftest.
$ac_ext >&5
3166 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3167 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
3168 echo "configure:3169: checking for strtoll" >&5
3169 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
3170 echo $ac_n "(cached) $ac_c" 1>&6
3172 cat > conftest.
$ac_ext <<EOF
3173 #line 3174 "configure"
3174 #include "confdefs.h"
3175 /* System header to define __stub macros and hopefully few prototypes,
3176 which can conflict with char strtoll(); below. */
3178 /* Override any gcc2 internal prototype to avoid an error. */
3182 /* We use char because int might match the return type of a gcc2
3183 builtin and then its argument prototype would still apply. */
3188 /* The GNU C library defines this for functions which it implements
3189 to always fail with ENOSYS. Some functions are actually named
3190 something starting with __ and the normal name is an alias. */
3191 #if defined (__stub_strtoll) || defined (__stub___strtoll)
3199 if { (eval echo configure
:3200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3201 eval "ac_cv_func_strtoll=yes"
3203 echo "configure: failed program was:" >&5
3204 cat conftest.
$ac_ext >&5
3206 eval "ac_cv_func_strtoll=no"
3211 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
3212 echo "$ac_t""yes" 1>&6
3215 echo "$ac_t""no" 1>&6
3219 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
3220 echo "configure:3221: checking for strtoull" >&5
3221 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
3222 echo $ac_n "(cached) $ac_c" 1>&6
3224 cat > conftest.
$ac_ext <<EOF
3225 #line 3226 "configure"
3226 #include "confdefs.h"
3227 /* System header to define __stub macros and hopefully few prototypes,
3228 which can conflict with char strtoull(); below. */
3230 /* Override any gcc2 internal prototype to avoid an error. */
3234 /* We use char because int might match the return type of a gcc2
3235 builtin and then its argument prototype would still apply. */
3240 /* The GNU C library defines this for functions which it implements
3241 to always fail with ENOSYS. Some functions are actually named
3242 something starting with __ and the normal name is an alias. */
3243 #if defined (__stub_strtoull) || defined (__stub___strtoull)
3251 if { (eval echo configure
:3252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3253 eval "ac_cv_func_strtoull=yes"
3255 echo "configure: failed program was:" >&5
3256 cat conftest.
$ac_ext >&5
3258 eval "ac_cv_func_strtoull=no"
3263 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
3264 echo "$ac_t""yes" 1>&6
3267 echo "$ac_t""no" 1>&6
3271 echo $ac_n "checking for llabs""... $ac_c" 1>&6
3272 echo "configure:3273: checking for llabs" >&5
3273 if eval "test \"`echo '$''{'ac_cv_func_llabs'+set}'`\" = set"; then
3274 echo $ac_n "(cached) $ac_c" 1>&6
3276 cat > conftest.
$ac_ext <<EOF
3277 #line 3278 "configure"
3278 #include "confdefs.h"
3279 /* System header to define __stub macros and hopefully few prototypes,
3280 which can conflict with char llabs(); below. */
3282 /* Override any gcc2 internal prototype to avoid an error. */
3286 /* We use char because int might match the return type of a gcc2
3287 builtin and then its argument prototype would still apply. */
3292 /* The GNU C library defines this for functions which it implements
3293 to always fail with ENOSYS. Some functions are actually named
3294 something starting with __ and the normal name is an alias. */
3295 #if defined (__stub_llabs) || defined (__stub___llabs)
3303 if { (eval echo configure
:3304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3305 eval "ac_cv_func_llabs=yes"
3307 echo "configure: failed program was:" >&5
3308 cat conftest.
$ac_ext >&5
3310 eval "ac_cv_func_llabs=no"
3315 if eval "test \"`echo '$ac_cv_func_'llabs`\" = yes"; then
3316 echo "$ac_t""yes" 1>&6
3319 echo "$ac_t""no" 1>&6
3323 echo $ac_n "checking for lldiv""... $ac_c" 1>&6
3324 echo "configure:3325: checking for lldiv" >&5
3325 if eval "test \"`echo '$''{'ac_cv_func_lldiv'+set}'`\" = set"; then
3326 echo $ac_n "(cached) $ac_c" 1>&6
3328 cat > conftest.
$ac_ext <<EOF
3329 #line 3330 "configure"
3330 #include "confdefs.h"
3331 /* System header to define __stub macros and hopefully few prototypes,
3332 which can conflict with char lldiv(); below. */
3334 /* Override any gcc2 internal prototype to avoid an error. */
3338 /* We use char because int might match the return type of a gcc2
3339 builtin and then its argument prototype would still apply. */
3344 /* The GNU C library defines this for functions which it implements
3345 to always fail with ENOSYS. Some functions are actually named
3346 something starting with __ and the normal name is an alias. */
3347 #if defined (__stub_lldiv) || defined (__stub___lldiv)
3355 if { (eval echo configure
:3356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3357 eval "ac_cv_func_lldiv=yes"
3359 echo "configure: failed program was:" >&5
3360 cat conftest.
$ac_ext >&5
3362 eval "ac_cv_func_lldiv=no"
3367 if eval "test \"`echo '$ac_cv_func_'lldiv`\" = yes"; then
3368 echo "$ac_t""yes" 1>&6
3371 echo "$ac_t""no" 1>&6
3375 echo $ac_n "checking for atoll""... $ac_c" 1>&6
3376 echo "configure:3377: checking for atoll" >&5
3377 if eval "test \"`echo '$''{'ac_cv_func_atoll'+set}'`\" = set"; then
3378 echo $ac_n "(cached) $ac_c" 1>&6
3380 cat > conftest.
$ac_ext <<EOF
3381 #line 3382 "configure"
3382 #include "confdefs.h"
3383 /* System header to define __stub macros and hopefully few prototypes,
3384 which can conflict with char atoll(); below. */
3386 /* Override any gcc2 internal prototype to avoid an error. */
3390 /* We use char because int might match the return type of a gcc2
3391 builtin and then its argument prototype would still apply. */
3396 /* The GNU C library defines this for functions which it implements
3397 to always fail with ENOSYS. Some functions are actually named
3398 something starting with __ and the normal name is an alias. */
3399 #if defined (__stub_atoll) || defined (__stub___atoll)
3407 if { (eval echo configure
:3408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3409 eval "ac_cv_func_atoll=yes"
3411 echo "configure: failed program was:" >&5
3412 cat conftest.
$ac_ext >&5
3414 eval "ac_cv_func_atoll=no"
3419 if eval "test \"`echo '$ac_cv_func_'atoll`\" = yes"; then
3420 echo "$ac_t""yes" 1>&6
3423 echo "$ac_t""no" 1>&6
3428 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3429 echo "configure:3430: checking for lldiv_t declaration" >&5
3430 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3431 echo $ac_n "(cached) $ac_c" 1>&6
3434 cat > conftest.
$ac_ext <<EOF
3435 #line 3436 "configure"
3436 #include "confdefs.h"
3442 if { (eval echo configure
:3443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3446 echo "configure: failed program was:" >&5
3447 cat conftest.
$ac_ext >&5
3455 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3456 if test x
"$ac_c99_lldiv_t" = x
"no"; then
3460 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3461 echo $ac_n "checking for wcstold""... $ac_c" 1>&6
3462 echo "configure:3463: checking for wcstold" >&5
3463 if eval "test \"`echo '$''{'ac_cv_func_wcstold'+set}'`\" = set"; then
3464 echo $ac_n "(cached) $ac_c" 1>&6
3466 cat > conftest.
$ac_ext <<EOF
3467 #line 3468 "configure"
3468 #include "confdefs.h"
3469 /* System header to define __stub macros and hopefully few prototypes,
3470 which can conflict with char wcstold(); below. */
3472 /* Override any gcc2 internal prototype to avoid an error. */
3476 /* We use char because int might match the return type of a gcc2
3477 builtin and then its argument prototype would still apply. */
3482 /* The GNU C library defines this for functions which it implements
3483 to always fail with ENOSYS. Some functions are actually named
3484 something starting with __ and the normal name is an alias. */
3485 #if defined (__stub_wcstold) || defined (__stub___wcstold)
3493 if { (eval echo configure
:3494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3495 eval "ac_cv_func_wcstold=yes"
3497 echo "configure: failed program was:" >&5
3498 cat conftest.
$ac_ext >&5
3500 eval "ac_cv_func_wcstold=no"
3505 if eval "test \"`echo '$ac_cv_func_'wcstold`\" = yes"; then
3506 echo "$ac_t""yes" 1>&6
3509 echo "$ac_t""no" 1>&6
3513 echo $ac_n "checking for wcstoll""... $ac_c" 1>&6
3514 echo "configure:3515: checking for wcstoll" >&5
3515 if eval "test \"`echo '$''{'ac_cv_func_wcstoll'+set}'`\" = set"; then
3516 echo $ac_n "(cached) $ac_c" 1>&6
3518 cat > conftest.
$ac_ext <<EOF
3519 #line 3520 "configure"
3520 #include "confdefs.h"
3521 /* System header to define __stub macros and hopefully few prototypes,
3522 which can conflict with char wcstoll(); below. */
3524 /* Override any gcc2 internal prototype to avoid an error. */
3528 /* We use char because int might match the return type of a gcc2
3529 builtin and then its argument prototype would still apply. */
3534 /* The GNU C library defines this for functions which it implements
3535 to always fail with ENOSYS. Some functions are actually named
3536 something starting with __ and the normal name is an alias. */
3537 #if defined (__stub_wcstoll) || defined (__stub___wcstoll)
3545 if { (eval echo configure
:3546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3547 eval "ac_cv_func_wcstoll=yes"
3549 echo "configure: failed program was:" >&5
3550 cat conftest.
$ac_ext >&5
3552 eval "ac_cv_func_wcstoll=no"
3557 if eval "test \"`echo '$ac_cv_func_'wcstoll`\" = yes"; then
3558 echo "$ac_t""yes" 1>&6
3561 echo "$ac_t""no" 1>&6
3565 echo $ac_n "checking for wcstoull""... $ac_c" 1>&6
3566 echo "configure:3567: checking for wcstoull" >&5
3567 if eval "test \"`echo '$''{'ac_cv_func_wcstoull'+set}'`\" = set"; then
3568 echo $ac_n "(cached) $ac_c" 1>&6
3570 cat > conftest.
$ac_ext <<EOF
3571 #line 3572 "configure"
3572 #include "confdefs.h"
3573 /* System header to define __stub macros and hopefully few prototypes,
3574 which can conflict with char wcstoull(); below. */
3576 /* Override any gcc2 internal prototype to avoid an error. */
3580 /* We use char because int might match the return type of a gcc2
3581 builtin and then its argument prototype would still apply. */
3586 /* The GNU C library defines this for functions which it implements
3587 to always fail with ENOSYS. Some functions are actually named
3588 something starting with __ and the normal name is an alias. */
3589 #if defined (__stub_wcstoull) || defined (__stub___wcstoull)
3597 if { (eval echo configure
:3598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3599 eval "ac_cv_func_wcstoull=yes"
3601 echo "configure: failed program was:" >&5
3602 cat conftest.
$ac_ext >&5
3604 eval "ac_cv_func_wcstoull=no"
3609 if eval "test \"`echo '$ac_cv_func_'wcstoull`\" = yes"; then
3610 echo "$ac_t""yes" 1>&6
3613 echo "$ac_t""no" 1>&6
3618 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3619 echo "configure:3620: checking for enabled ISO C99 support" >&5
3620 if test x
"$ac_c99_math" = x
"no" ||
test x
"$ac_c99_wchar" = x
"no" \
3621 ||
test x
"$ac_c99_stdlib" = x
"no"; then
3624 echo "$ac_t""$enable_c99" 1>&6
3626 # Option parsed, now set things appropriately
3627 if test x
"$enable_c99" = x
"yes"; then
3628 cat >> confdefs.h
<<\EOF
3629 #define _GLIBCPP_USE_C99 1
3635 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3636 ac_cpp
='$CPP $CPPFLAGS'
3637 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3638 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3639 cross_compiling
=$ac_cv_prog_cc_cross
3643 # Check whether --enable-long-long or --disable-long-long was given.
3644 if test "${enable_long_long+set}" = set; then
3645 enableval
="$enable_long_long"
3646 case "$enableval" in
3647 yes) enable_long_long
=yes ;;
3648 no
) enable_long_long
=no
;;
3649 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3652 enable_long_long
=yes
3655 # iostreams require strtoll, strtoull to compile. If the
3656 # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
3657 # go ahead and allow long long to be used.
3658 if test x
"$enable_c99" = x
"no"; then
3659 enable_long_long
=no
;
3662 # Option parsed, now set things appropriately
3663 echo $ac_n "checking for enabled long long support""... $ac_c" 1>&6
3664 echo "configure:3665: checking for enabled long long support" >&5
3665 if test x
"$enable_long_long" = xyes
; then
3666 cat >> confdefs.h
<<\EOF
3667 #define _GLIBCPP_USE_LONG_LONG 1
3671 echo "$ac_t""$enable_long_long" 1>&6
3673 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3674 echo "configure:3675: checking for c header strategy to use" >&5
3675 # Check whether --enable-cheaders or --disable-cheaders was given.
3676 if test "${enable_cheaders+set}" = set; then
3677 enableval
="$enable_cheaders"
3679 case "$enableval" in
3684 enable_cheaders
=c_std
3687 enable_cheaders
=c_shadow
3689 *) { echo "configure: error: Unknown argument to enable/disable "C
" headers" 1>&2; exit 1; }
3693 enable_cheaders
=c_std
3696 echo "$ac_t""$enable_cheaders" 1>&6
3698 case "$enable_cheaders" in
3700 CSHADOW_FLAGS
="-fno-builtin"
3701 C_INCLUDE_DIR
='${top_srcdir}/include/c_shadow'
3702 cat >> confdefs.h
<<\EOF
3703 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3709 C_INCLUDE_DIR
='${top_srcdir}/include/c_std'
3713 C_INCLUDE_DIR
='${top_srcdir}/include/c'
3721 if test "$enable_cheaders" = c_shadow
; then
3722 GLIBCPP_USE_CSHADOW_TRUE
=
3723 GLIBCPP_USE_CSHADOW_FALSE
='#'
3725 GLIBCPP_USE_CSHADOW_TRUE
='#'
3726 GLIBCPP_USE_CSHADOW_FALSE
=
3730 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3731 echo "configure:3732: checking for thread model used by GCC" >&5
3732 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3733 echo "$ac_t""$target_thread_file" 1>&6
3736 case "$target_thread_file" in
3738 THREADH
=threads-no.h
3741 THREADH
=threads-posix.h
3743 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks
)
3744 echo "configure: warning: disabling unsupported thread package $target_thread_file" 1>&2
3745 THREADH
=threads-no.h
3748 { echo "configure: error: $target_thread_file: unsupported/unknown thread package" 1>&2; exit 1; }
3753 if test $THREADH != threads-no.h
; then
3754 cat >> confdefs.h
<<\EOF
3755 #define _GLIBCPP_USE_THREADS 1
3760 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3761 if test "${enable_cxx_flags+set}" = set; then
3762 enableval
="$enable_cxx_flags"
3763 case "x$enableval" in
3765 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3767 enable_cxx_flags
='' ;;
3769 enable_cxx_flags
="$enableval" ;;
3772 enable_cxx_flags
='none'
3776 if test "$enable_cxx_flags" = "none"; then
3777 enable_cxx_flags
='';
3780 if test -n "$enable_cxx_flags"; then
3781 for f
in $enable_cxx_flags; do
3785 *) # and we're trying to pass /what/ exactly?
3786 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3790 EXTRA_CXX_FLAGS
="$enable_cxx_flags"
3794 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3795 echo "configure:3796: checking for exception model to use" >&5
3798 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3799 ac_cpp
='$CXXCPP $CPPFLAGS'
3800 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3801 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3802 cross_compiling
=$ac_cv_prog_cxx_cross
3804 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3805 if test "${enable_sjlj_exceptions+set}" = set; then
3806 enableval
="$enable_sjlj_exceptions"
3809 cat > conftest.
$ac_ext << EOF
3810 #line 3811 "configure"
3819 old_CXXFLAGS
="$CXXFLAGS"
3821 if { (eval echo configure
:3822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3822 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
3823 enable_sjlj_exceptions
=yes
3824 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
3825 enable_sjlj_exceptions
=no
3828 CXXFLAGS
="$old_CXXFLAGS"
3832 if test x
$enable_sjlj_exceptions = xyes
; then
3833 cat >> confdefs.h
<<\EOF
3834 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3837 ac_exception_model_name
=sjlj
3838 elif test x
$enable_sjlj_exceptions = xno
; then
3839 ac_exception_model_name
="call frame"
3841 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3844 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3845 ac_cpp
='$CPP $CPPFLAGS'
3846 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3847 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3848 cross_compiling
=$ac_cv_prog_cc_cross
3850 echo "$ac_t""$ac_exception_model_name" 1>&6
3853 if test -n "$with_cross_host"; then
3855 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3856 # may not work correctly, because the compiler may not be able to
3861 # If Canadian cross, then don't pick up tools from the build
3863 if test x
"$build" != x
"$with_cross_host" && x
"$build" != x
"$target"; then
3871 case "$target_alias" in
3873 # Construct linux crosses by hand, eliminating bits that need ld...
3874 # Check for available headers.
3875 for ac_hdr
in nan.h ieeefp.h endian.h sys
/isa_defs.h \
3876 machine
/endian.h machine
/param.h sys
/machine.h fp.h locale.h \
3879 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3880 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3881 echo "configure:3882: checking for $ac_hdr" >&5
3882 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3883 echo $ac_n "(cached) $ac_c" 1>&6
3885 cat > conftest.
$ac_ext <<EOF
3886 #line 3887 "configure"
3887 #include "confdefs.h"
3890 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3891 { (eval echo configure
:3892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3892 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3893 if test -z "$ac_err"; then
3895 eval "ac_cv_header_$ac_safe=yes"
3898 echo "configure: failed program was:" >&5
3899 cat conftest.
$ac_ext >&5
3901 eval "ac_cv_header_$ac_safe=no"
3905 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3906 echo "$ac_t""yes" 1>&6
3907 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3908 cat >> confdefs.h
<<EOF
3909 #define $ac_tr_hdr 1
3913 echo "$ac_t""no" 1>&6
3918 # GLIBCPP_CHECK_COMPILER_FEATURES
3919 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
3922 # If we're not using GNU ld, then there's no point in even trying these
3923 # tests. Check for that first. We should have already tested for gld
3924 # by now (in libtool), but require it now just to be safe...
3929 # Set --gc-sections.
3930 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3931 # GNU ld it is! Joy and bunny rabbits!
3933 # All these tests are for C++; save the language and the compiler flags.
3934 # Need to do this so that g++ won't try to link in libstdc++
3935 ac_test_CFLAGS
="${CFLAGS+set}"
3936 ac_save_CFLAGS
="$CFLAGS"
3937 CFLAGS
='-x c++ -Wl,--gc-sections'
3939 # Check for -Wl,--gc-sections
3940 # XXX This test is broken at the moment, as symbols required for
3941 # linking are now in libsupc++ (not built yet.....). In addition,
3942 # this test has cored on solaris in the past. In addition,
3943 # --gc-sections doesn't really work at the moment (keeps on discarding
3944 # used sections, first .eh_frame and now some of the glibc sections for
3945 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3946 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3947 echo "configure:3948: checking for ld that supports -Wl,--gc-sections" >&5
3948 if test "$cross_compiling" = yes; then
3949 ac_sectionLDflags
=yes
3951 cat > conftest.
$ac_ext <<EOF
3952 #line 3953 "configure"
3953 #include "confdefs.h"
3963 if { (eval echo configure
:3964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
3965 ac_sectionLDflags
=yes
3967 echo "configure: failed program was:" >&5
3968 cat conftest.
$ac_ext >&5
3970 ac_sectionLFflags
=no
3975 if test "$ac_test_CFLAGS" = set; then
3976 CFLAGS
="$ac_save_CFLAGS"
3978 # this is the suspicious part
3981 if test "$ac_sectionLDflags" = "yes"; then
3982 SECTION_LDFLAGS
='-Wl,--gc-sections'
3984 echo "$ac_t""$ac_sectionLDflags" 1>&6
3987 # Set linker optimization flags.
3988 if test x
"$ac_cv_prog_gnu_ld" = x
"yes" && test x
"$enable_debug" = x
"no"; then
3989 OPT_LDFLAGS
='-Wl,-O1'
3995 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3996 # GLIBCPP_CHECK_MATH_SUPPORT
3997 cat >> confdefs.h
<<\EOF
3998 #define HAVE_ACOSF 1
4001 cat >> confdefs.h
<<\EOF
4002 #define HAVE_ASINF 1
4005 cat >> confdefs.h
<<\EOF
4006 #define HAVE_ATAN2F 1
4009 cat >> confdefs.h
<<\EOF
4010 #define HAVE_ATANF 1
4013 cat >> confdefs.h
<<\EOF
4014 #define HAVE_CEILF 1
4017 cat >> confdefs.h
<<\EOF
4018 #define HAVE_COPYSIGN 1
4021 cat >> confdefs.h
<<\EOF
4022 #define HAVE_COPYSIGNF 1
4025 cat >> confdefs.h
<<\EOF
4029 cat >> confdefs.h
<<\EOF
4030 #define HAVE_COSHF 1
4033 cat >> confdefs.h
<<\EOF
4037 cat >> confdefs.h
<<\EOF
4038 #define HAVE_FABSF 1
4041 cat >> confdefs.h
<<\EOF
4042 #define HAVE_FINITE 1
4045 cat >> confdefs.h
<<\EOF
4046 #define HAVE_FINITEF 1
4049 cat >> confdefs.h
<<\EOF
4050 #define HAVE_FLOORF 1
4053 cat >> confdefs.h
<<\EOF
4054 #define HAVE_FMODF 1
4057 cat >> confdefs.h
<<\EOF
4058 #define HAVE_FREXPF 1
4061 cat >> confdefs.h
<<\EOF
4062 #define HAVE_ISINF 1
4065 cat >> confdefs.h
<<\EOF
4066 #define HAVE_ISINFF 1
4069 cat >> confdefs.h
<<\EOF
4070 #define HAVE_ISNAN 1
4073 cat >> confdefs.h
<<\EOF
4074 #define HAVE_ISNANF 1
4077 cat >> confdefs.h
<<\EOF
4078 #define HAVE_LDEXPF 1
4081 cat >> confdefs.h
<<\EOF
4082 #define HAVE_LOG10F 1
4085 cat >> confdefs.h
<<\EOF
4089 cat >> confdefs.h
<<\EOF
4090 #define HAVE_MODFF 1
4093 cat >> confdefs.h
<<\EOF
4097 cat >> confdefs.h
<<\EOF
4098 #define HAVE_SINCOS 1
4101 cat >> confdefs.h
<<\EOF
4102 #define HAVE_SINCOSF 1
4105 cat >> confdefs.h
<<\EOF
4109 cat >> confdefs.h
<<\EOF
4110 #define HAVE_SINHF 1
4113 cat >> confdefs.h
<<\EOF
4114 #define HAVE_SQRTF 1
4117 cat >> confdefs.h
<<\EOF
4121 cat >> confdefs.h
<<\EOF
4122 #define HAVE_TANHF 1
4126 # At some point, we should differentiate between architectures
4127 # like x86, which have long double versions, and alpha/powerpc/etc.,
4128 # which don't. For the time being, punt.
4129 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
4130 cat >> confdefs.h
<<\EOF
4131 #define HAVE_ACOSL 1
4134 cat >> confdefs.h
<<\EOF
4135 #define HAVE_ASINL 1
4138 cat >> confdefs.h
<<\EOF
4139 #define HAVE_ATAN2L 1
4142 cat >> confdefs.h
<<\EOF
4143 #define HAVE_ATANL 1
4146 cat >> confdefs.h
<<\EOF
4147 #define HAVE_CEILL 1
4150 cat >> confdefs.h
<<\EOF
4151 #define HAVE_COPYSIGNL 1
4154 cat >> confdefs.h
<<\EOF
4158 cat >> confdefs.h
<<\EOF
4159 #define HAVE_COSHL 1
4162 cat >> confdefs.h
<<\EOF
4166 cat >> confdefs.h
<<\EOF
4167 #define HAVE_FABSL 1
4170 cat >> confdefs.h
<<\EOF
4171 #define HAVE_FINITEL 1
4174 cat >> confdefs.h
<<\EOF
4175 #define HAVE_FLOORL 1
4178 cat >> confdefs.h
<<\EOF
4179 #define HAVE_FMODL 1
4182 cat >> confdefs.h
<<\EOF
4183 #define HAVE_FREXPL 1
4186 cat >> confdefs.h
<<\EOF
4187 #define HAVE_ISINFL 1
4190 cat >> confdefs.h
<<\EOF
4191 #define HAVE_ISNANL 1
4194 cat >> confdefs.h
<<\EOF
4195 #define HAVE_LDEXPL 1
4198 cat >> confdefs.h
<<\EOF
4199 #define HAVE_LOG10L 1
4202 cat >> confdefs.h
<<\EOF
4206 cat >> confdefs.h
<<\EOF
4207 #define HAVE_MODFL 1
4210 cat >> confdefs.h
<<\EOF
4214 cat >> confdefs.h
<<\EOF
4215 #define HAVE_SINCOSL 1
4218 cat >> confdefs.h
<<\EOF
4222 cat >> confdefs.h
<<\EOF
4223 #define HAVE_SINHL 1
4226 cat >> confdefs.h
<<\EOF
4227 #define HAVE_SQRTL 1
4230 cat >> confdefs.h
<<\EOF
4234 cat >> confdefs.h
<<\EOF
4235 #define HAVE_TANHL 1
4240 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4241 echo "configure:4242: checking for main in -lm" >&5
4242 ac_lib_var
=`echo m'_'main | sed 'y%./+-%__p_%'`
4243 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4244 echo $ac_n "(cached) $ac_c" 1>&6
4246 ac_save_LIBS
="$LIBS"
4248 cat > conftest.
$ac_ext <<EOF
4249 #line 4250 "configure"
4250 #include "confdefs.h"
4256 if { (eval echo configure
:4257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4258 eval "ac_cv_lib_$ac_lib_var=yes"
4260 echo "configure: failed program was:" >&5
4261 cat conftest.
$ac_ext >&5
4263 eval "ac_cv_lib_$ac_lib_var=no"
4266 LIBS
="$ac_save_LIBS"
4269 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4270 echo "$ac_t""yes" 1>&6
4271 ac_tr_lib
=HAVE_LIB
`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4272 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4273 cat >> confdefs.h
<<EOF
4274 #define $ac_tr_lib 1
4280 echo "$ac_t""no" 1>&6
4283 for ac_func
in nan hypot hypotf atan2f expf copysignf
4285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4286 echo "configure:4287: checking for $ac_func" >&5
4287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4288 echo $ac_n "(cached) $ac_c" 1>&6
4290 cat > conftest.
$ac_ext <<EOF
4291 #line 4292 "configure"
4292 #include "confdefs.h"
4293 /* System header to define __stub macros and hopefully few prototypes,
4294 which can conflict with char $ac_func(); below. */
4296 /* Override any gcc2 internal prototype to avoid an error. */
4297 /* We use char because int might match the return type of a gcc2
4298 builtin and then its argument prototype would still apply. */
4303 /* The GNU C library defines this for functions which it implements
4304 to always fail with ENOSYS. Some functions are actually named
4305 something starting with __ and the normal name is an alias. */
4306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4314 if { (eval echo configure
:4315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4316 eval "ac_cv_func_$ac_func=yes"
4318 echo "configure: failed program was:" >&5
4319 cat conftest.
$ac_ext >&5
4321 eval "ac_cv_func_$ac_func=no"
4326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4327 echo "$ac_t""yes" 1>&6
4328 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4329 cat >> confdefs.h
<<EOF
4330 #define $ac_tr_func 1
4334 echo "$ac_t""no" 1>&6
4335 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
4341 USE_COMPLEX_LONG_DOUBLE
=no
4342 if test x
$ac_cv_func_atan2l = x
"yes" \
4343 && test x
$ac_cv_func_copysignl = x
"yes"; then
4344 USE_COMPLEX_LONG_DOUBLE
=yes
4345 for ac_func
in hypotl signbitl
4347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4348 echo "configure:4349: checking for $ac_func" >&5
4349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4350 echo $ac_n "(cached) $ac_c" 1>&6
4352 cat > conftest.
$ac_ext <<EOF
4353 #line 4354 "configure"
4354 #include "confdefs.h"
4355 /* System header to define __stub macros and hopefully few prototypes,
4356 which can conflict with char $ac_func(); below. */
4358 /* Override any gcc2 internal prototype to avoid an error. */
4359 /* We use char because int might match the return type of a gcc2
4360 builtin and then its argument prototype would still apply. */
4365 /* The GNU C library defines this for functions which it implements
4366 to always fail with ENOSYS. Some functions are actually named
4367 something starting with __ and the normal name is an alias. */
4368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4376 if { (eval echo configure
:4377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4378 eval "ac_cv_func_$ac_func=yes"
4380 echo "configure: failed program was:" >&5
4381 cat conftest.
$ac_ext >&5
4383 eval "ac_cv_func_$ac_func=no"
4388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4389 echo "$ac_t""yes" 1>&6
4390 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4391 cat >> confdefs.h
<<EOF
4392 #define $ac_tr_func 1
4396 echo "$ac_t""no" 1>&6
4397 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
4409 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
4410 echo "configure:4411: checking for GNU C++ __complex__ support" >&5
4411 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
4412 echo $ac_n "(cached) $ac_c" 1>&6
4417 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4418 ac_cpp
='$CXXCPP $CPPFLAGS'
4419 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4420 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4421 cross_compiling
=$ac_cv_prog_cxx_cross
4423 cat > conftest.
$ac_ext <<EOF
4424 #line 4425 "configure"
4425 #include "confdefs.h"
4426 struct dcomplex { __complex__ double x; }; \
4427 dcomplex f(const dcomplex& x) { return dcomplex(x); }
4433 if { (eval echo configure
:4434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4435 glibcpp_cv_complex
=ok
4437 echo "configure: failed program was:" >&5
4438 cat conftest.
$ac_ext >&5
4440 glibcpp_cv_complex
=buggy
4445 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4446 ac_cpp
='$CPP $CPPFLAGS'
4447 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4448 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4449 cross_compiling
=$ac_cv_prog_cc_cross
4454 echo "$ac_t""$glibcpp_cv_complex" 1>&6
4455 if test $glibcpp_cv_complex = buggy
; then
4456 cat >> confdefs.h
<<\EOF
4457 #define _GLIBCPP_BUGGY_COMPLEX 1
4462 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
4463 echo "configure:4464: checking for GNU C++ __complex__ float support" >&5
4464 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
4465 echo $ac_n "(cached) $ac_c" 1>&6
4470 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4471 ac_cpp
='$CXXCPP $CPPFLAGS'
4472 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4473 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4474 cross_compiling
=$ac_cv_prog_cxx_cross
4477 cat > conftest.h
<<EOB
4479 // Check for buggy __complex__ that causes ICE in most versions of egcs
4480 // and gcc-2.95.x on certain platforms (eg., x86-win32).
4482 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
4483 // more info on the bug itself.
4488 __complex__ float m_value;
4489 float_complex (float = 0.0f, float = 0.0f);
4490 float_complex (__complex__ float val) : m_value (val) {}
4491 float_complex foo (const float_complex &val)
4492 { return float_complex (~val.m_value); }
4495 cat > conftest.
$ac_ext <<EOF
4496 #line 4497 "configure"
4497 #include "confdefs.h"
4498 #include "conftest.h"
4503 if { (eval echo configure
:4504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4505 glibcpp_cv_float_complex
=ok
4507 echo "configure: failed program was:" >&5
4508 cat conftest.
$ac_ext >&5
4510 glibcpp_cv_float_complex
=buggy
4515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4516 ac_cpp
='$CPP $CPPFLAGS'
4517 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4518 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4519 cross_compiling
=$ac_cv_prog_cc_cross
4524 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
4525 if test $glibcpp_cv_float_complex = buggy
; then
4526 cat >> confdefs.h
<<\EOF
4527 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
4534 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4535 echo "configure:4536: checking for mbstate_t" >&5
4536 cat > conftest.
$ac_ext <<EOF
4537 #line 4538 "configure"
4538 #include "confdefs.h"
4541 mbstate_t teststate;
4544 if { (eval echo configure
:4545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4548 echo "configure: failed program was:" >&5
4549 cat conftest.
$ac_ext >&5
4554 echo "$ac_t""$have_mbstate_t" 1>&6
4555 if test x
"$have_mbstate_t" = xyes
; then
4556 cat >> confdefs.h
<<\EOF
4557 #define HAVE_MBSTATE_T 1
4562 for ac_hdr
in wchar.h
4564 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4565 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4566 echo "configure:4567: checking for $ac_hdr" >&5
4567 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4568 echo $ac_n "(cached) $ac_c" 1>&6
4570 cat > conftest.
$ac_ext <<EOF
4571 #line 4572 "configure"
4572 #include "confdefs.h"
4575 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4576 { (eval echo configure
:4577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4577 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4578 if test -z "$ac_err"; then
4580 eval "ac_cv_header_$ac_safe=yes"
4583 echo "configure: failed program was:" >&5
4584 cat conftest.
$ac_ext >&5
4586 eval "ac_cv_header_$ac_safe=no"
4590 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4591 echo "$ac_t""yes" 1>&6
4592 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4593 cat >> confdefs.h
<<EOF
4594 #define $ac_tr_hdr 1
4598 echo "$ac_t""no" 1>&6
4603 ac_safe
=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4604 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4605 echo "configure:4606: checking for wctype.h" >&5
4606 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4607 echo $ac_n "(cached) $ac_c" 1>&6
4609 cat > conftest.
$ac_ext <<EOF
4610 #line 4611 "configure"
4611 #include "confdefs.h"
4614 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4615 { (eval echo configure
:4616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4616 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4617 if test -z "$ac_err"; then
4619 eval "ac_cv_header_$ac_safe=yes"
4622 echo "configure: failed program was:" >&5
4623 cat conftest.
$ac_ext >&5
4625 eval "ac_cv_header_$ac_safe=no"
4629 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4630 echo "$ac_t""yes" 1>&6
4633 echo "$ac_t""no" 1>&6
4638 if test x
"$ac_has_wchar_h" = xyes
&& test x
"$ac_has_wctype_h" = xyes \
4639 && test x
"$enable_c_mbchar" != xno
; then
4641 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4642 echo "configure:4643: checking for WCHAR_MIN and WCHAR_MAX" >&5
4643 cat > conftest.
$ac_ext <<EOF
4644 #line 4645 "configure"
4645 #include "confdefs.h"
4648 int i = WCHAR_MIN; int j = WCHAR_MAX;
4651 if { (eval echo configure
:4652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4653 has_wchar_minmax
=yes
4655 echo "configure: failed program was:" >&5
4656 cat conftest.
$ac_ext >&5
4661 echo "$ac_t""$has_wchar_minmax" 1>&6
4663 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4664 echo "configure:4665: checking for WEOF" >&5
4665 cat > conftest.
$ac_ext <<EOF
4666 #line 4667 "configure"
4667 #include "confdefs.h"
4675 if { (eval echo configure
:4676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4679 echo "configure: failed program was:" >&5
4680 cat conftest.
$ac_ext >&5
4685 echo "$ac_t""$has_weof" 1>&6
4687 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
4690 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4691 echo "configure:4692: checking for $ac_func" >&5
4692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4693 echo $ac_n "(cached) $ac_c" 1>&6
4695 cat > conftest.
$ac_ext <<EOF
4696 #line 4697 "configure"
4697 #include "confdefs.h"
4698 /* System header to define __stub macros and hopefully few prototypes,
4699 which can conflict with char $ac_func(); below. */
4701 /* Override any gcc2 internal prototype to avoid an error. */
4702 /* We use char because int might match the return type of a gcc2
4703 builtin and then its argument prototype would still apply. */
4708 /* The GNU C library defines this for functions which it implements
4709 to always fail with ENOSYS. Some functions are actually named
4710 something starting with __ and the normal name is an alias. */
4711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4719 if { (eval echo configure
:4720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4721 eval "ac_cv_func_$ac_func=yes"
4723 echo "configure: failed program was:" >&5
4724 cat conftest.
$ac_ext >&5
4726 eval "ac_cv_func_$ac_func=no"
4731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4732 echo "$ac_t""yes" 1>&6
4733 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4734 cat >> confdefs.h
<<EOF
4735 #define $ac_tr_func 1
4739 echo "$ac_t""no" 1>&6
4745 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4746 echo "configure:4747: checking for ISO C99 wchar_t support" >&5
4747 if test x
"$has_weof" = xyes
&& test x
"$has_wchar_minmax" = xyes \
4748 && test x
"$ac_wfuncs" = xyes
; then
4749 ac_isoC99_wchar_t
=yes
4751 ac_isoC99_wchar_t
=no
4753 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4755 ac_safe
=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4756 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4757 echo "configure:4758: checking for iconv.h" >&5
4758 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4759 echo $ac_n "(cached) $ac_c" 1>&6
4761 cat > conftest.
$ac_ext <<EOF
4762 #line 4763 "configure"
4763 #include "confdefs.h"
4766 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4767 { (eval echo configure
:4768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4768 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4769 if test -z "$ac_err"; then
4771 eval "ac_cv_header_$ac_safe=yes"
4774 echo "configure: failed program was:" >&5
4775 cat conftest.
$ac_ext >&5
4777 eval "ac_cv_header_$ac_safe=no"
4781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4782 echo "$ac_t""yes" 1>&6
4785 echo "$ac_t""no" 1>&6
4789 ac_safe
=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4790 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4791 echo "configure:4792: checking for langinfo.h" >&5
4792 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4793 echo $ac_n "(cached) $ac_c" 1>&6
4795 cat > conftest.
$ac_ext <<EOF
4796 #line 4797 "configure"
4797 #include "confdefs.h"
4798 #include <langinfo.h>
4800 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4801 { (eval echo configure
:4802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4802 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4803 if test -z "$ac_err"; then
4805 eval "ac_cv_header_$ac_safe=yes"
4808 echo "configure: failed program was:" >&5
4809 cat conftest.
$ac_ext >&5
4811 eval "ac_cv_header_$ac_safe=no"
4815 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4816 echo "$ac_t""yes" 1>&6
4817 ac_has_langinfo_h
=yes
4819 echo "$ac_t""no" 1>&6
4820 ac_has_langinfo_h
=no
4824 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4825 echo "configure:4826: checking for iconv in -liconv" >&5
4826 ac_lib_var
=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4827 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4828 echo $ac_n "(cached) $ac_c" 1>&6
4830 ac_save_LIBS
="$LIBS"
4831 LIBS
="-liconv $LIBS"
4832 cat > conftest.
$ac_ext <<EOF
4833 #line 4834 "configure"
4834 #include "confdefs.h"
4835 /* Override any gcc2 internal prototype to avoid an error. */
4836 /* We use char because int might match the return type of a gcc2
4837 builtin and then its argument prototype would still apply. */
4844 if { (eval echo configure
:4845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4846 eval "ac_cv_lib_$ac_lib_var=yes"
4848 echo "configure: failed program was:" >&5
4849 cat conftest.
$ac_ext >&5
4851 eval "ac_cv_lib_$ac_lib_var=no"
4854 LIBS
="$ac_save_LIBS"
4857 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4858 echo "$ac_t""yes" 1>&6
4861 echo "$ac_t""no" 1>&6
4864 ac_save_LIBS
="$LIBS"
4865 LIBS
="$LIBS $libiconv"
4867 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
4869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4870 echo "configure:4871: checking for $ac_func" >&5
4871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4872 echo $ac_n "(cached) $ac_c" 1>&6
4874 cat > conftest.
$ac_ext <<EOF
4875 #line 4876 "configure"
4876 #include "confdefs.h"
4877 /* System header to define __stub macros and hopefully few prototypes,
4878 which can conflict with char $ac_func(); below. */
4880 /* Override any gcc2 internal prototype to avoid an error. */
4881 /* We use char because int might match the return type of a gcc2
4882 builtin and then its argument prototype would still apply. */
4887 /* The GNU C library defines this for functions which it implements
4888 to always fail with ENOSYS. Some functions are actually named
4889 something starting with __ and the normal name is an alias. */
4890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4898 if { (eval echo configure
:4899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4900 eval "ac_cv_func_$ac_func=yes"
4902 echo "configure: failed program was:" >&5
4903 cat conftest.
$ac_ext >&5
4905 eval "ac_cv_func_$ac_func=no"
4910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4911 echo "$ac_t""yes" 1>&6
4912 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4913 cat >> confdefs.h
<<EOF
4914 #define $ac_tr_func 1
4919 echo "$ac_t""no" 1>&6
4925 LIBS
="$ac_save_LIBS"
4927 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4928 echo "configure:4929: checking for XPG2 wchar_t support" >&5
4929 if test x
"$ac_has_iconv_h" = xyes
&& test x
"$ac_has_langinfo_h" = xyes \
4930 && test x
"$ac_XPG2funcs" = xyes
; then
4935 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4937 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4938 echo "configure:4939: checking for enabled wchar_t specializations" >&5
4939 if test x
"$ac_isoC99_wchar_t" = xyes \
4940 && test x
"$ac_XPG2_wchar_t" = xyes
; then
4941 cat >> confdefs.h
<<\EOF
4942 #define _GLIBCPP_USE_WCHAR_T 1
4945 echo "$ac_t"""yes"" 1>&6
4947 echo "$ac_t"""no
"" 1>&6
4950 echo "configure: warning: wchar_t support disabled." 1>&2
4953 os_include_dir
="config/os/gnu-linux"
4954 # GLIBCPP_CHECK_STDLIB_SUPPORT
4955 cat >> confdefs.h
<<\EOF
4956 #define HAVE_STRTOF 1
4959 cat >> confdefs.h
<<\EOF
4960 #define HAVE_STRTOLD 1
4964 cat >> confdefs.h
<<\EOF
4970 # We assume newlib. This lets us hard-code the functions we know
4972 cat >> confdefs.h
<<\EOF
4973 #define HAVE_FINITE 1
4976 cat >> confdefs.h
<<\EOF
4977 #define HAVE_ISNAN 1
4980 cat >> confdefs.h
<<\EOF
4981 #define HAVE_ISNANF 1
4984 cat >> confdefs.h
<<\EOF
4985 #define HAVE_ISINF 1
4988 cat >> confdefs.h
<<\EOF
4989 #define HAVE_ISINFF 1
4993 os_include_dir
="config/os/newlib"
4995 cat >> confdefs.h
<<\EOF
4996 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
4999 cat >> confdefs.h
<<\EOF
5000 #define _GLIBCPP_BUGGY_COMPLEX 1
5003 # need to check for faster f versions of math functions, ie sinf?
5008 # We are being configured natively. We can do more elaborate tests
5009 # that include AC_TRY_COMPILE now, as the linker is assumed to be
5016 # Check for available headers.
5017 for ac_hdr
in nan.h ieeefp.h endian.h sys
/isa_defs.h machine
/endian.h \
5018 machine
/param.h sys
/machine.h fp.h locale.h float.h inttypes.h gconv.h
5020 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5021 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5022 echo "configure:5023: checking for $ac_hdr" >&5
5023 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5024 echo $ac_n "(cached) $ac_c" 1>&6
5026 cat > conftest.
$ac_ext <<EOF
5027 #line 5028 "configure"
5028 #include "confdefs.h"
5031 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5032 { (eval echo configure
:5033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5033 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5034 if test -z "$ac_err"; then
5036 eval "ac_cv_header_$ac_safe=yes"
5039 echo "configure: failed program was:" >&5
5040 cat conftest.
$ac_ext >&5
5042 eval "ac_cv_header_$ac_safe=no"
5046 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5047 echo "$ac_t""yes" 1>&6
5048 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5049 cat >> confdefs.h
<<EOF
5050 #define $ac_tr_hdr 1
5054 echo "$ac_t""no" 1>&6
5060 # All these tests are for C++; save the language and the compiler flags.
5061 # The CXXFLAGS thing is suspicious, but based on similar bits
5062 # found in GLIBCPP_CONFIGURE.
5065 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5066 ac_cpp
='$CXXCPP $CPPFLAGS'
5067 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5068 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5069 cross_compiling
=$ac_cv_prog_cxx_cross
5071 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
5072 ac_save_CXXFLAGS
="$CXXFLAGS"
5074 # Check for maintainer-mode bits.
5075 if test x
"$USE_MAINTAINER_MODE" = xno
; then
5081 # Check for -ffunction-sections -fdata-sections
5082 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
5083 echo "configure:5084: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
5084 CXXFLAGS
='-Werror -ffunction-sections -fdata-sections'
5085 cat > conftest.
$ac_ext <<EOF
5086 #line 5087 "configure"
5087 #include "confdefs.h"
5094 if { (eval echo configure
:5095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5098 echo "configure: failed program was:" >&5
5099 cat conftest.
$ac_ext >&5
5104 if test "$ac_test_CXXFLAGS" = set; then
5105 CXXFLAGS
="$ac_save_CXXFLAGS"
5107 # this is the suspicious part
5110 if test x
"$ac_fdsections" = x
"yes" && test x
"$enable_debug" = x
"no"; then
5111 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
5113 echo "$ac_t""$ac_fdsections" 1>&6
5116 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5117 ac_cpp
='$CPP $CPPFLAGS'
5118 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5119 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5120 cross_compiling
=$ac_cv_prog_cc_cross
5126 # If we're not using GNU ld, then there's no point in even trying these
5127 # tests. Check for that first. We should have already tested for gld
5128 # by now (in libtool), but require it now just to be safe...
5133 # Set --gc-sections.
5134 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
5135 # GNU ld it is! Joy and bunny rabbits!
5137 # All these tests are for C++; save the language and the compiler flags.
5138 # Need to do this so that g++ won't try to link in libstdc++
5139 ac_test_CFLAGS
="${CFLAGS+set}"
5140 ac_save_CFLAGS
="$CFLAGS"
5141 CFLAGS
='-x c++ -Wl,--gc-sections'
5143 # Check for -Wl,--gc-sections
5144 # XXX This test is broken at the moment, as symbols required for
5145 # linking are now in libsupc++ (not built yet.....). In addition,
5146 # this test has cored on solaris in the past. In addition,
5147 # --gc-sections doesn't really work at the moment (keeps on discarding
5148 # used sections, first .eh_frame and now some of the glibc sections for
5149 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5150 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5151 echo "configure:5152: checking for ld that supports -Wl,--gc-sections" >&5
5152 if test "$cross_compiling" = yes; then
5153 ac_sectionLDflags
=yes
5155 cat > conftest.
$ac_ext <<EOF
5156 #line 5157 "configure"
5157 #include "confdefs.h"
5167 if { (eval echo configure
:5168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
5169 ac_sectionLDflags
=yes
5171 echo "configure: failed program was:" >&5
5172 cat conftest.
$ac_ext >&5
5174 ac_sectionLFflags
=no
5179 if test "$ac_test_CFLAGS" = set; then
5180 CFLAGS
="$ac_save_CFLAGS"
5182 # this is the suspicious part
5185 if test "$ac_sectionLDflags" = "yes"; then
5186 SECTION_LDFLAGS
='-Wl,--gc-sections'
5188 echo "$ac_t""$ac_sectionLDflags" 1>&6
5191 # Set linker optimization flags.
5192 if test x
"$ac_cv_prog_gnu_ld" = x
"yes" && test x
"$enable_debug" = x
"no"; then
5193 OPT_LDFLAGS
='-Wl,-O1'
5201 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
5202 echo "configure:5203: checking for __builtin_abs declaration" >&5
5203 if test x
${glibcpp_cv_func___builtin_abs_use+set} != xset
; then
5204 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5205 echo $ac_n "(cached) $ac_c" 1>&6
5210 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5211 ac_cpp
='$CXXCPP $CPPFLAGS'
5212 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5213 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5214 cross_compiling
=$ac_cv_prog_cxx_cross
5216 cat > conftest.
$ac_ext <<EOF
5217 #line 5218 "configure"
5218 #include "confdefs.h"
5224 if { (eval echo configure
:5225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5226 glibcpp_cv_func___builtin_abs_use
=yes
5228 echo "configure: failed program was:" >&5
5229 cat conftest.
$ac_ext >&5
5231 glibcpp_cv_func___builtin_abs_use
=no
5235 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5236 ac_cpp
='$CPP $CPPFLAGS'
5237 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5238 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5239 cross_compiling
=$ac_cv_prog_cc_cross
5245 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5246 if test x
$glibcpp_cv_func___builtin_abs_use = x
"yes"; then
5247 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
5248 echo "configure:5249: checking for __builtin_abs linkage" >&5
5249 if test x
${glibcpp_cv_func___builtin_abs_link+set} != xset
; then
5250 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5251 echo $ac_n "(cached) $ac_c" 1>&6
5254 cat > conftest.
$ac_ext <<EOF
5255 #line 5256 "configure"
5256 #include "confdefs.h"
5262 if { (eval echo configure
:5263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5264 glibcpp_cv_func___builtin_abs_link
=yes
5266 echo "configure: failed program was:" >&5
5267 cat conftest.
$ac_ext >&5
5269 glibcpp_cv_func___builtin_abs_link
=no
5276 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5277 if test x
$glibcpp_cv_func___builtin_abs_link = x
"yes"; then
5278 ac_tr_func
=HAVE_
`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5279 cat >> confdefs.h
<<EOF
5280 #define ${ac_tr_func} 1
5287 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
5288 echo "configure:5289: checking for __builtin_fabsf declaration" >&5
5289 if test x
${glibcpp_cv_func___builtin_fabsf_use+set} != xset
; then
5290 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5291 echo $ac_n "(cached) $ac_c" 1>&6
5296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5297 ac_cpp
='$CXXCPP $CPPFLAGS'
5298 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5299 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5300 cross_compiling
=$ac_cv_prog_cxx_cross
5302 cat > conftest.
$ac_ext <<EOF
5303 #line 5304 "configure"
5304 #include "confdefs.h"
5310 if { (eval echo configure
:5311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5312 glibcpp_cv_func___builtin_fabsf_use
=yes
5314 echo "configure: failed program was:" >&5
5315 cat conftest.
$ac_ext >&5
5317 glibcpp_cv_func___builtin_fabsf_use
=no
5321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5322 ac_cpp
='$CPP $CPPFLAGS'
5323 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5324 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5325 cross_compiling
=$ac_cv_prog_cc_cross
5331 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5332 if test x
$glibcpp_cv_func___builtin_fabsf_use = x
"yes"; then
5333 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
5334 echo "configure:5335: checking for __builtin_fabsf linkage" >&5
5335 if test x
${glibcpp_cv_func___builtin_fabsf_link+set} != xset
; then
5336 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5337 echo $ac_n "(cached) $ac_c" 1>&6
5340 cat > conftest.
$ac_ext <<EOF
5341 #line 5342 "configure"
5342 #include "confdefs.h"
5348 if { (eval echo configure
:5349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5350 glibcpp_cv_func___builtin_fabsf_link
=yes
5352 echo "configure: failed program was:" >&5
5353 cat conftest.
$ac_ext >&5
5355 glibcpp_cv_func___builtin_fabsf_link
=no
5362 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5363 if test x
$glibcpp_cv_func___builtin_fabsf_link = x
"yes"; then
5364 ac_tr_func
=HAVE_
`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5365 cat >> confdefs.h
<<EOF
5366 #define ${ac_tr_func} 1
5373 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
5374 echo "configure:5375: checking for __builtin_fabs declaration" >&5
5375 if test x
${glibcpp_cv_func___builtin_fabs_use+set} != xset
; then
5376 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5377 echo $ac_n "(cached) $ac_c" 1>&6
5382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5383 ac_cpp
='$CXXCPP $CPPFLAGS'
5384 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5385 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5386 cross_compiling
=$ac_cv_prog_cxx_cross
5388 cat > conftest.
$ac_ext <<EOF
5389 #line 5390 "configure"
5390 #include "confdefs.h"
5396 if { (eval echo configure
:5397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5398 glibcpp_cv_func___builtin_fabs_use
=yes
5400 echo "configure: failed program was:" >&5
5401 cat conftest.
$ac_ext >&5
5403 glibcpp_cv_func___builtin_fabs_use
=no
5407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5408 ac_cpp
='$CPP $CPPFLAGS'
5409 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5410 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5411 cross_compiling
=$ac_cv_prog_cc_cross
5417 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5418 if test x
$glibcpp_cv_func___builtin_fabs_use = x
"yes"; then
5419 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
5420 echo "configure:5421: checking for __builtin_fabs linkage" >&5
5421 if test x
${glibcpp_cv_func___builtin_fabs_link+set} != xset
; then
5422 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5423 echo $ac_n "(cached) $ac_c" 1>&6
5426 cat > conftest.
$ac_ext <<EOF
5427 #line 5428 "configure"
5428 #include "confdefs.h"
5434 if { (eval echo configure
:5435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5436 glibcpp_cv_func___builtin_fabs_link
=yes
5438 echo "configure: failed program was:" >&5
5439 cat conftest.
$ac_ext >&5
5441 glibcpp_cv_func___builtin_fabs_link
=no
5448 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5449 if test x
$glibcpp_cv_func___builtin_fabs_link = x
"yes"; then
5450 ac_tr_func
=HAVE_
`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5451 cat >> confdefs.h
<<EOF
5452 #define ${ac_tr_func} 1
5459 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
5460 echo "configure:5461: checking for __builtin_fabsl declaration" >&5
5461 if test x
${glibcpp_cv_func___builtin_fabsl_use+set} != xset
; then
5462 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5463 echo $ac_n "(cached) $ac_c" 1>&6
5468 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5469 ac_cpp
='$CXXCPP $CPPFLAGS'
5470 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5471 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5472 cross_compiling
=$ac_cv_prog_cxx_cross
5474 cat > conftest.
$ac_ext <<EOF
5475 #line 5476 "configure"
5476 #include "confdefs.h"
5482 if { (eval echo configure
:5483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5484 glibcpp_cv_func___builtin_fabsl_use
=yes
5486 echo "configure: failed program was:" >&5
5487 cat conftest.
$ac_ext >&5
5489 glibcpp_cv_func___builtin_fabsl_use
=no
5493 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5494 ac_cpp
='$CPP $CPPFLAGS'
5495 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5496 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5497 cross_compiling
=$ac_cv_prog_cc_cross
5503 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5504 if test x
$glibcpp_cv_func___builtin_fabsl_use = x
"yes"; then
5505 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
5506 echo "configure:5507: checking for __builtin_fabsl linkage" >&5
5507 if test x
${glibcpp_cv_func___builtin_fabsl_link+set} != xset
; then
5508 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5509 echo $ac_n "(cached) $ac_c" 1>&6
5512 cat > conftest.
$ac_ext <<EOF
5513 #line 5514 "configure"
5514 #include "confdefs.h"
5520 if { (eval echo configure
:5521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5522 glibcpp_cv_func___builtin_fabsl_link
=yes
5524 echo "configure: failed program was:" >&5
5525 cat conftest.
$ac_ext >&5
5527 glibcpp_cv_func___builtin_fabsl_link
=no
5534 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5535 if test x
$glibcpp_cv_func___builtin_fabsl_link = x
"yes"; then
5536 ac_tr_func
=HAVE_
`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5537 cat >> confdefs.h
<<EOF
5538 #define ${ac_tr_func} 1
5545 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
5546 echo "configure:5547: checking for __builtin_labs declaration" >&5
5547 if test x
${glibcpp_cv_func___builtin_labs_use+set} != xset
; then
5548 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5549 echo $ac_n "(cached) $ac_c" 1>&6
5554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5555 ac_cpp
='$CXXCPP $CPPFLAGS'
5556 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5557 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5558 cross_compiling
=$ac_cv_prog_cxx_cross
5560 cat > conftest.
$ac_ext <<EOF
5561 #line 5562 "configure"
5562 #include "confdefs.h"
5568 if { (eval echo configure
:5569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5570 glibcpp_cv_func___builtin_labs_use
=yes
5572 echo "configure: failed program was:" >&5
5573 cat conftest.
$ac_ext >&5
5575 glibcpp_cv_func___builtin_labs_use
=no
5579 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5580 ac_cpp
='$CPP $CPPFLAGS'
5581 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5582 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5583 cross_compiling
=$ac_cv_prog_cc_cross
5589 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5590 if test x
$glibcpp_cv_func___builtin_labs_use = x
"yes"; then
5591 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5592 echo "configure:5593: checking for __builtin_labs linkage" >&5
5593 if test x
${glibcpp_cv_func___builtin_labs_link+set} != xset
; then
5594 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5595 echo $ac_n "(cached) $ac_c" 1>&6
5598 cat > conftest.
$ac_ext <<EOF
5599 #line 5600 "configure"
5600 #include "confdefs.h"
5606 if { (eval echo configure
:5607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5608 glibcpp_cv_func___builtin_labs_link
=yes
5610 echo "configure: failed program was:" >&5
5611 cat conftest.
$ac_ext >&5
5613 glibcpp_cv_func___builtin_labs_link
=no
5620 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5621 if test x
$glibcpp_cv_func___builtin_labs_link = x
"yes"; then
5622 ac_tr_func
=HAVE_
`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5623 cat >> confdefs.h
<<EOF
5624 #define ${ac_tr_func} 1
5632 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5633 echo "configure:5634: checking for __builtin_sqrtf declaration" >&5
5634 if test x
${glibcpp_cv_func___builtin_sqrtf_use+set} != xset
; then
5635 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5636 echo $ac_n "(cached) $ac_c" 1>&6
5641 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5642 ac_cpp
='$CXXCPP $CPPFLAGS'
5643 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5644 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5645 cross_compiling
=$ac_cv_prog_cxx_cross
5647 cat > conftest.
$ac_ext <<EOF
5648 #line 5649 "configure"
5649 #include "confdefs.h"
5655 if { (eval echo configure
:5656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5657 glibcpp_cv_func___builtin_sqrtf_use
=yes
5659 echo "configure: failed program was:" >&5
5660 cat conftest.
$ac_ext >&5
5662 glibcpp_cv_func___builtin_sqrtf_use
=no
5666 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5667 ac_cpp
='$CPP $CPPFLAGS'
5668 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5669 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5670 cross_compiling
=$ac_cv_prog_cc_cross
5676 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5677 if test x
$glibcpp_cv_func___builtin_sqrtf_use = x
"yes"; then
5678 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5679 echo "configure:5680: checking for __builtin_sqrtf linkage" >&5
5680 if test x
${glibcpp_cv_func___builtin_sqrtf_link+set} != xset
; then
5681 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5682 echo $ac_n "(cached) $ac_c" 1>&6
5685 cat > conftest.
$ac_ext <<EOF
5686 #line 5687 "configure"
5687 #include "confdefs.h"
5693 if { (eval echo configure
:5694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5695 glibcpp_cv_func___builtin_sqrtf_link
=yes
5697 echo "configure: failed program was:" >&5
5698 cat conftest.
$ac_ext >&5
5700 glibcpp_cv_func___builtin_sqrtf_link
=no
5707 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5708 if test x
$glibcpp_cv_func___builtin_sqrtf_link = x
"yes"; then
5709 ac_tr_func
=HAVE_
`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5710 cat >> confdefs.h
<<EOF
5711 #define ${ac_tr_func} 1
5718 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5719 echo "configure:5720: checking for __builtin_fsqrt declaration" >&5
5720 if test x
${glibcpp_cv_func___builtin_fsqrt_use+set} != xset
; then
5721 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5722 echo $ac_n "(cached) $ac_c" 1>&6
5727 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5728 ac_cpp
='$CXXCPP $CPPFLAGS'
5729 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5730 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5731 cross_compiling
=$ac_cv_prog_cxx_cross
5733 cat > conftest.
$ac_ext <<EOF
5734 #line 5735 "configure"
5735 #include "confdefs.h"
5741 if { (eval echo configure
:5742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5743 glibcpp_cv_func___builtin_fsqrt_use
=yes
5745 echo "configure: failed program was:" >&5
5746 cat conftest.
$ac_ext >&5
5748 glibcpp_cv_func___builtin_fsqrt_use
=no
5752 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5753 ac_cpp
='$CPP $CPPFLAGS'
5754 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5755 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5756 cross_compiling
=$ac_cv_prog_cc_cross
5762 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5763 if test x
$glibcpp_cv_func___builtin_fsqrt_use = x
"yes"; then
5764 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5765 echo "configure:5766: checking for __builtin_fsqrt linkage" >&5
5766 if test x
${glibcpp_cv_func___builtin_fsqrt_link+set} != xset
; then
5767 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5768 echo $ac_n "(cached) $ac_c" 1>&6
5771 cat > conftest.
$ac_ext <<EOF
5772 #line 5773 "configure"
5773 #include "confdefs.h"
5779 if { (eval echo configure
:5780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5781 glibcpp_cv_func___builtin_fsqrt_link
=yes
5783 echo "configure: failed program was:" >&5
5784 cat conftest.
$ac_ext >&5
5786 glibcpp_cv_func___builtin_fsqrt_link
=no
5793 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5794 if test x
$glibcpp_cv_func___builtin_fsqrt_link = x
"yes"; then
5795 ac_tr_func
=HAVE_
`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5796 cat >> confdefs.h
<<EOF
5797 #define ${ac_tr_func} 1
5804 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5805 echo "configure:5806: checking for __builtin_sqrtl declaration" >&5
5806 if test x
${glibcpp_cv_func___builtin_sqrtl_use+set} != xset
; then
5807 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5808 echo $ac_n "(cached) $ac_c" 1>&6
5813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5814 ac_cpp
='$CXXCPP $CPPFLAGS'
5815 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5816 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5817 cross_compiling
=$ac_cv_prog_cxx_cross
5819 cat > conftest.
$ac_ext <<EOF
5820 #line 5821 "configure"
5821 #include "confdefs.h"
5827 if { (eval echo configure
:5828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5829 glibcpp_cv_func___builtin_sqrtl_use
=yes
5831 echo "configure: failed program was:" >&5
5832 cat conftest.
$ac_ext >&5
5834 glibcpp_cv_func___builtin_sqrtl_use
=no
5838 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5839 ac_cpp
='$CPP $CPPFLAGS'
5840 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5841 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5842 cross_compiling
=$ac_cv_prog_cc_cross
5848 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5849 if test x
$glibcpp_cv_func___builtin_sqrtl_use = x
"yes"; then
5850 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5851 echo "configure:5852: checking for __builtin_sqrtl linkage" >&5
5852 if test x
${glibcpp_cv_func___builtin_sqrtl_link+set} != xset
; then
5853 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5854 echo $ac_n "(cached) $ac_c" 1>&6
5857 cat > conftest.
$ac_ext <<EOF
5858 #line 5859 "configure"
5859 #include "confdefs.h"
5865 if { (eval echo configure
:5866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5867 glibcpp_cv_func___builtin_sqrtl_link
=yes
5869 echo "configure: failed program was:" >&5
5870 cat conftest.
$ac_ext >&5
5872 glibcpp_cv_func___builtin_sqrtl_link
=no
5879 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5880 if test x
$glibcpp_cv_func___builtin_sqrtl_link = x
"yes"; then
5881 ac_tr_func
=HAVE_
`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5882 cat >> confdefs.h
<<EOF
5883 #define ${ac_tr_func} 1
5891 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5892 echo "configure:5893: checking for __builtin_sinf declaration" >&5
5893 if test x
${glibcpp_cv_func___builtin_sinf_use+set} != xset
; then
5894 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5895 echo $ac_n "(cached) $ac_c" 1>&6
5900 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5901 ac_cpp
='$CXXCPP $CPPFLAGS'
5902 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5903 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5904 cross_compiling
=$ac_cv_prog_cxx_cross
5906 cat > conftest.
$ac_ext <<EOF
5907 #line 5908 "configure"
5908 #include "confdefs.h"
5914 if { (eval echo configure
:5915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5916 glibcpp_cv_func___builtin_sinf_use
=yes
5918 echo "configure: failed program was:" >&5
5919 cat conftest.
$ac_ext >&5
5921 glibcpp_cv_func___builtin_sinf_use
=no
5925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5926 ac_cpp
='$CPP $CPPFLAGS'
5927 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5928 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5929 cross_compiling
=$ac_cv_prog_cc_cross
5935 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5936 if test x
$glibcpp_cv_func___builtin_sinf_use = x
"yes"; then
5937 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5938 echo "configure:5939: checking for __builtin_sinf linkage" >&5
5939 if test x
${glibcpp_cv_func___builtin_sinf_link+set} != xset
; then
5940 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5941 echo $ac_n "(cached) $ac_c" 1>&6
5944 cat > conftest.
$ac_ext <<EOF
5945 #line 5946 "configure"
5946 #include "confdefs.h"
5952 if { (eval echo configure
:5953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5954 glibcpp_cv_func___builtin_sinf_link
=yes
5956 echo "configure: failed program was:" >&5
5957 cat conftest.
$ac_ext >&5
5959 glibcpp_cv_func___builtin_sinf_link
=no
5966 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5967 if test x
$glibcpp_cv_func___builtin_sinf_link = x
"yes"; then
5968 ac_tr_func
=HAVE_
`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5969 cat >> confdefs.h
<<EOF
5970 #define ${ac_tr_func} 1
5977 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
5978 echo "configure:5979: checking for __builtin_sin declaration" >&5
5979 if test x
${glibcpp_cv_func___builtin_sin_use+set} != xset
; then
5980 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5981 echo $ac_n "(cached) $ac_c" 1>&6
5986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5987 ac_cpp
='$CXXCPP $CPPFLAGS'
5988 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5989 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5990 cross_compiling
=$ac_cv_prog_cxx_cross
5992 cat > conftest.
$ac_ext <<EOF
5993 #line 5994 "configure"
5994 #include "confdefs.h"
6000 if { (eval echo configure
:6001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6002 glibcpp_cv_func___builtin_sin_use
=yes
6004 echo "configure: failed program was:" >&5
6005 cat conftest.
$ac_ext >&5
6007 glibcpp_cv_func___builtin_sin_use
=no
6011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6012 ac_cpp
='$CPP $CPPFLAGS'
6013 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6014 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6015 cross_compiling
=$ac_cv_prog_cc_cross
6021 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
6022 if test x
$glibcpp_cv_func___builtin_sin_use = x
"yes"; then
6023 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
6024 echo "configure:6025: checking for __builtin_sin linkage" >&5
6025 if test x
${glibcpp_cv_func___builtin_sin_link+set} != xset
; then
6026 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
6027 echo $ac_n "(cached) $ac_c" 1>&6
6030 cat > conftest.
$ac_ext <<EOF
6031 #line 6032 "configure"
6032 #include "confdefs.h"
6038 if { (eval echo configure
:6039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6040 glibcpp_cv_func___builtin_sin_link
=yes
6042 echo "configure: failed program was:" >&5
6043 cat conftest.
$ac_ext >&5
6045 glibcpp_cv_func___builtin_sin_link
=no
6052 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
6053 if test x
$glibcpp_cv_func___builtin_sin_link = x
"yes"; then
6054 ac_tr_func
=HAVE_
`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6055 cat >> confdefs.h
<<EOF
6056 #define ${ac_tr_func} 1
6063 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
6064 echo "configure:6065: checking for __builtin_sinl declaration" >&5
6065 if test x
${glibcpp_cv_func___builtin_sinl_use+set} != xset
; then
6066 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
6067 echo $ac_n "(cached) $ac_c" 1>&6
6072 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6073 ac_cpp
='$CXXCPP $CPPFLAGS'
6074 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6075 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6076 cross_compiling
=$ac_cv_prog_cxx_cross
6078 cat > conftest.
$ac_ext <<EOF
6079 #line 6080 "configure"
6080 #include "confdefs.h"
6086 if { (eval echo configure
:6087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6088 glibcpp_cv_func___builtin_sinl_use
=yes
6090 echo "configure: failed program was:" >&5
6091 cat conftest.
$ac_ext >&5
6093 glibcpp_cv_func___builtin_sinl_use
=no
6097 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6098 ac_cpp
='$CPP $CPPFLAGS'
6099 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6100 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6101 cross_compiling
=$ac_cv_prog_cc_cross
6107 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
6108 if test x
$glibcpp_cv_func___builtin_sinl_use = x
"yes"; then
6109 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
6110 echo "configure:6111: checking for __builtin_sinl linkage" >&5
6111 if test x
${glibcpp_cv_func___builtin_sinl_link+set} != xset
; then
6112 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
6113 echo $ac_n "(cached) $ac_c" 1>&6
6116 cat > conftest.
$ac_ext <<EOF
6117 #line 6118 "configure"
6118 #include "confdefs.h"
6124 if { (eval echo configure
:6125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6126 glibcpp_cv_func___builtin_sinl_link
=yes
6128 echo "configure: failed program was:" >&5
6129 cat conftest.
$ac_ext >&5
6131 glibcpp_cv_func___builtin_sinl_link
=no
6138 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
6139 if test x
$glibcpp_cv_func___builtin_sinl_link = x
"yes"; then
6140 ac_tr_func
=HAVE_
`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6141 cat >> confdefs.h
<<EOF
6142 #define ${ac_tr_func} 1
6150 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
6151 echo "configure:6152: checking for __builtin_cosf declaration" >&5
6152 if test x
${glibcpp_cv_func___builtin_cosf_use+set} != xset
; then
6153 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
6154 echo $ac_n "(cached) $ac_c" 1>&6
6159 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6160 ac_cpp
='$CXXCPP $CPPFLAGS'
6161 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6162 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6163 cross_compiling
=$ac_cv_prog_cxx_cross
6165 cat > conftest.
$ac_ext <<EOF
6166 #line 6167 "configure"
6167 #include "confdefs.h"
6173 if { (eval echo configure
:6174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6175 glibcpp_cv_func___builtin_cosf_use
=yes
6177 echo "configure: failed program was:" >&5
6178 cat conftest.
$ac_ext >&5
6180 glibcpp_cv_func___builtin_cosf_use
=no
6184 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6185 ac_cpp
='$CPP $CPPFLAGS'
6186 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6187 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6188 cross_compiling
=$ac_cv_prog_cc_cross
6194 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6195 if test x
$glibcpp_cv_func___builtin_cosf_use = x
"yes"; then
6196 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
6197 echo "configure:6198: checking for __builtin_cosf linkage" >&5
6198 if test x
${glibcpp_cv_func___builtin_cosf_link+set} != xset
; then
6199 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6200 echo $ac_n "(cached) $ac_c" 1>&6
6203 cat > conftest.
$ac_ext <<EOF
6204 #line 6205 "configure"
6205 #include "confdefs.h"
6211 if { (eval echo configure
:6212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6213 glibcpp_cv_func___builtin_cosf_link
=yes
6215 echo "configure: failed program was:" >&5
6216 cat conftest.
$ac_ext >&5
6218 glibcpp_cv_func___builtin_cosf_link
=no
6225 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6226 if test x
$glibcpp_cv_func___builtin_cosf_link = x
"yes"; then
6227 ac_tr_func
=HAVE_
`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6228 cat >> confdefs.h
<<EOF
6229 #define ${ac_tr_func} 1
6236 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
6237 echo "configure:6238: checking for __builtin_cos declaration" >&5
6238 if test x
${glibcpp_cv_func___builtin_cos_use+set} != xset
; then
6239 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6240 echo $ac_n "(cached) $ac_c" 1>&6
6245 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6246 ac_cpp
='$CXXCPP $CPPFLAGS'
6247 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6248 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6249 cross_compiling
=$ac_cv_prog_cxx_cross
6251 cat > conftest.
$ac_ext <<EOF
6252 #line 6253 "configure"
6253 #include "confdefs.h"
6259 if { (eval echo configure
:6260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6261 glibcpp_cv_func___builtin_cos_use
=yes
6263 echo "configure: failed program was:" >&5
6264 cat conftest.
$ac_ext >&5
6266 glibcpp_cv_func___builtin_cos_use
=no
6270 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6271 ac_cpp
='$CPP $CPPFLAGS'
6272 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6273 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6274 cross_compiling
=$ac_cv_prog_cc_cross
6280 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6281 if test x
$glibcpp_cv_func___builtin_cos_use = x
"yes"; then
6282 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
6283 echo "configure:6284: checking for __builtin_cos linkage" >&5
6284 if test x
${glibcpp_cv_func___builtin_cos_link+set} != xset
; then
6285 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6286 echo $ac_n "(cached) $ac_c" 1>&6
6289 cat > conftest.
$ac_ext <<EOF
6290 #line 6291 "configure"
6291 #include "confdefs.h"
6297 if { (eval echo configure
:6298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6299 glibcpp_cv_func___builtin_cos_link
=yes
6301 echo "configure: failed program was:" >&5
6302 cat conftest.
$ac_ext >&5
6304 glibcpp_cv_func___builtin_cos_link
=no
6311 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6312 if test x
$glibcpp_cv_func___builtin_cos_link = x
"yes"; then
6313 ac_tr_func
=HAVE_
`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6314 cat >> confdefs.h
<<EOF
6315 #define ${ac_tr_func} 1
6322 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
6323 echo "configure:6324: checking for __builtin_cosl declaration" >&5
6324 if test x
${glibcpp_cv_func___builtin_cosl_use+set} != xset
; then
6325 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6326 echo $ac_n "(cached) $ac_c" 1>&6
6331 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6332 ac_cpp
='$CXXCPP $CPPFLAGS'
6333 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6334 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6335 cross_compiling
=$ac_cv_prog_cxx_cross
6337 cat > conftest.
$ac_ext <<EOF
6338 #line 6339 "configure"
6339 #include "confdefs.h"
6345 if { (eval echo configure
:6346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6347 glibcpp_cv_func___builtin_cosl_use
=yes
6349 echo "configure: failed program was:" >&5
6350 cat conftest.
$ac_ext >&5
6352 glibcpp_cv_func___builtin_cosl_use
=no
6356 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6357 ac_cpp
='$CPP $CPPFLAGS'
6358 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6359 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6360 cross_compiling
=$ac_cv_prog_cc_cross
6366 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6367 if test x
$glibcpp_cv_func___builtin_cosl_use = x
"yes"; then
6368 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
6369 echo "configure:6370: checking for __builtin_cosl linkage" >&5
6370 if test x
${glibcpp_cv_func___builtin_cosl_link+set} != xset
; then
6371 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6372 echo $ac_n "(cached) $ac_c" 1>&6
6375 cat > conftest.
$ac_ext <<EOF
6376 #line 6377 "configure"
6377 #include "confdefs.h"
6383 if { (eval echo configure
:6384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6385 glibcpp_cv_func___builtin_cosl_link
=yes
6387 echo "configure: failed program was:" >&5
6388 cat conftest.
$ac_ext >&5
6390 glibcpp_cv_func___builtin_cosl_link
=no
6397 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6398 if test x
$glibcpp_cv_func___builtin_cosl_link = x
"yes"; then
6399 ac_tr_func
=HAVE_
`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6400 cat >> confdefs.h
<<EOF
6401 #define ${ac_tr_func} 1
6409 if test x
$dummyvar = x
"yes"; then
6410 cat >> confdefs.h
<<\EOF
6411 #define HAVE___BUILTIN_ABS 1
6414 cat >> confdefs.h
<<\EOF
6415 #define HAVE___BUILTIN_LABS 1
6418 cat >> confdefs.h
<<\EOF
6419 #define HAVE___BUILTIN_COS 1
6422 cat >> confdefs.h
<<\EOF
6423 #define HAVE___BUILTIN_COSF 1
6426 cat >> confdefs.h
<<\EOF
6427 #define HAVE___BUILTIN_COSL 1
6430 cat >> confdefs.h
<<\EOF
6431 #define HAVE___BUILTIN_FABS 1
6434 cat >> confdefs.h
<<\EOF
6435 #define HAVE___BUILTIN_FABSF 1
6438 cat >> confdefs.h
<<\EOF
6439 #define HAVE___BUILTIN_FABSL 1
6442 cat >> confdefs.h
<<\EOF
6443 #define HAVE___BUILTIN_SIN 1
6446 cat >> confdefs.h
<<\EOF
6447 #define HAVE___BUILTIN_SINF 1
6450 cat >> confdefs.h
<<\EOF
6451 #define HAVE___BUILTIN_SINL 1
6454 cat >> confdefs.h
<<\EOF
6455 #define HAVE___BUILTIN_FSQRT 1
6458 cat >> confdefs.h
<<\EOF
6459 #define HAVE___BUILTIN_SQRTF 1
6462 cat >> confdefs.h
<<\EOF
6463 #define HAVE___BUILTIN_SQRTL 1
6469 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6470 ac_save_CXXFLAGS
="$CXXFLAGS"
6471 CXXFLAGS
='-fno-builtins -D_GNU_SOURCE'
6473 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
6474 echo "configure:6475: checking for sin in -lm" >&5
6475 ac_lib_var
=`echo m'_'sin | sed 'y%./+-%__p_%'`
6476 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6477 echo $ac_n "(cached) $ac_c" 1>&6
6479 ac_save_LIBS
="$LIBS"
6481 cat > conftest.
$ac_ext <<EOF
6482 #line 6483 "configure"
6483 #include "confdefs.h"
6484 /* Override any gcc2 internal prototype to avoid an error. */
6485 /* We use char because int might match the return type of a gcc2
6486 builtin and then its argument prototype would still apply. */
6493 if { (eval echo configure
:6494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6495 eval "ac_cv_lib_$ac_lib_var=yes"
6497 echo "configure: failed program was:" >&5
6498 cat conftest.
$ac_ext >&5
6500 eval "ac_cv_lib_$ac_lib_var=no"
6503 LIBS
="$ac_save_LIBS"
6506 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6507 echo "$ac_t""yes" 1>&6
6510 echo "$ac_t""no" 1>&6
6513 ac_save_LIBS
="$LIBS"
6518 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
6519 echo "configure:6520: checking for isinf declaration" >&5
6520 if test x
${glibcpp_cv_func_isinf_use+set} != xset
; then
6521 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6522 echo $ac_n "(cached) $ac_c" 1>&6
6527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6528 ac_cpp
='$CXXCPP $CPPFLAGS'
6529 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6530 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6531 cross_compiling
=$ac_cv_prog_cxx_cross
6533 cat > conftest.
$ac_ext <<EOF
6534 #line 6535 "configure"
6535 #include "confdefs.h"
6537 #ifdef HAVE_IEEEFP_H
6545 if { (eval echo configure
:6546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6547 glibcpp_cv_func_isinf_use
=yes
6549 echo "configure: failed program was:" >&5
6550 cat conftest.
$ac_ext >&5
6552 glibcpp_cv_func_isinf_use
=no
6556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6557 ac_cpp
='$CPP $CPPFLAGS'
6558 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6559 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6560 cross_compiling
=$ac_cv_prog_cc_cross
6566 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6568 if test x
$glibcpp_cv_func_isinf_use = x
"yes"; then
6569 for ac_func
in isinf
6571 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6572 echo "configure:6573: checking for $ac_func" >&5
6573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6574 echo $ac_n "(cached) $ac_c" 1>&6
6576 cat > conftest.
$ac_ext <<EOF
6577 #line 6578 "configure"
6578 #include "confdefs.h"
6579 /* System header to define __stub macros and hopefully few prototypes,
6580 which can conflict with char $ac_func(); below. */
6582 /* Override any gcc2 internal prototype to avoid an error. */
6583 /* We use char because int might match the return type of a gcc2
6584 builtin and then its argument prototype would still apply. */
6589 /* The GNU C library defines this for functions which it implements
6590 to always fail with ENOSYS. Some functions are actually named
6591 something starting with __ and the normal name is an alias. */
6592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6600 if { (eval echo configure
:6601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6602 eval "ac_cv_func_$ac_func=yes"
6604 echo "configure: failed program was:" >&5
6605 cat conftest.
$ac_ext >&5
6607 eval "ac_cv_func_$ac_func=no"
6612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6613 echo "$ac_t""yes" 1>&6
6614 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6615 cat >> confdefs.h
<<EOF
6616 #define $ac_tr_func 1
6620 echo "$ac_t""no" 1>&6
6626 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6627 echo "configure:6628: checking for _isinf declaration" >&5
6628 if test x
${glibcpp_cv_func__isinf_use+set} != xset
; then
6629 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6630 echo $ac_n "(cached) $ac_c" 1>&6
6635 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6636 ac_cpp
='$CXXCPP $CPPFLAGS'
6637 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6638 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6639 cross_compiling
=$ac_cv_prog_cxx_cross
6641 cat > conftest.
$ac_ext <<EOF
6642 #line 6643 "configure"
6643 #include "confdefs.h"
6645 #ifdef HAVE_IEEEFP_H
6653 if { (eval echo configure
:6654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6655 glibcpp_cv_func__isinf_use
=yes
6657 echo "configure: failed program was:" >&5
6658 cat conftest.
$ac_ext >&5
6660 glibcpp_cv_func__isinf_use
=no
6664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6665 ac_cpp
='$CPP $CPPFLAGS'
6666 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6667 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6668 cross_compiling
=$ac_cv_prog_cc_cross
6674 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6676 if test x
$glibcpp_cv_func__isinf_use = x
"yes"; then
6677 for ac_func
in _isinf
6679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6680 echo "configure:6681: checking for $ac_func" >&5
6681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6682 echo $ac_n "(cached) $ac_c" 1>&6
6684 cat > conftest.
$ac_ext <<EOF
6685 #line 6686 "configure"
6686 #include "confdefs.h"
6687 /* System header to define __stub macros and hopefully few prototypes,
6688 which can conflict with char $ac_func(); below. */
6690 /* Override any gcc2 internal prototype to avoid an error. */
6691 /* We use char because int might match the return type of a gcc2
6692 builtin and then its argument prototype would still apply. */
6697 /* The GNU C library defines this for functions which it implements
6698 to always fail with ENOSYS. Some functions are actually named
6699 something starting with __ and the normal name is an alias. */
6700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6708 if { (eval echo configure
:6709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6710 eval "ac_cv_func_$ac_func=yes"
6712 echo "configure: failed program was:" >&5
6713 cat conftest.
$ac_ext >&5
6715 eval "ac_cv_func_$ac_func=no"
6720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6721 echo "$ac_t""yes" 1>&6
6722 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6723 cat >> confdefs.h
<<EOF
6724 #define $ac_tr_func 1
6728 echo "$ac_t""no" 1>&6
6737 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6738 echo "configure:6739: checking for isnan declaration" >&5
6739 if test x
${glibcpp_cv_func_isnan_use+set} != xset
; then
6740 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6741 echo $ac_n "(cached) $ac_c" 1>&6
6746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6747 ac_cpp
='$CXXCPP $CPPFLAGS'
6748 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6749 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6750 cross_compiling
=$ac_cv_prog_cxx_cross
6752 cat > conftest.
$ac_ext <<EOF
6753 #line 6754 "configure"
6754 #include "confdefs.h"
6756 #ifdef HAVE_IEEEFP_H
6764 if { (eval echo configure
:6765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6766 glibcpp_cv_func_isnan_use
=yes
6768 echo "configure: failed program was:" >&5
6769 cat conftest.
$ac_ext >&5
6771 glibcpp_cv_func_isnan_use
=no
6775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6776 ac_cpp
='$CPP $CPPFLAGS'
6777 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6778 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6779 cross_compiling
=$ac_cv_prog_cc_cross
6785 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6787 if test x
$glibcpp_cv_func_isnan_use = x
"yes"; then
6788 for ac_func
in isnan
6790 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6791 echo "configure:6792: checking for $ac_func" >&5
6792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6793 echo $ac_n "(cached) $ac_c" 1>&6
6795 cat > conftest.
$ac_ext <<EOF
6796 #line 6797 "configure"
6797 #include "confdefs.h"
6798 /* System header to define __stub macros and hopefully few prototypes,
6799 which can conflict with char $ac_func(); below. */
6801 /* Override any gcc2 internal prototype to avoid an error. */
6802 /* We use char because int might match the return type of a gcc2
6803 builtin and then its argument prototype would still apply. */
6808 /* The GNU C library defines this for functions which it implements
6809 to always fail with ENOSYS. Some functions are actually named
6810 something starting with __ and the normal name is an alias. */
6811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6819 if { (eval echo configure
:6820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6821 eval "ac_cv_func_$ac_func=yes"
6823 echo "configure: failed program was:" >&5
6824 cat conftest.
$ac_ext >&5
6826 eval "ac_cv_func_$ac_func=no"
6831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6832 echo "$ac_t""yes" 1>&6
6833 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6834 cat >> confdefs.h
<<EOF
6835 #define $ac_tr_func 1
6839 echo "$ac_t""no" 1>&6
6845 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6846 echo "configure:6847: checking for _isnan declaration" >&5
6847 if test x
${glibcpp_cv_func__isnan_use+set} != xset
; then
6848 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6849 echo $ac_n "(cached) $ac_c" 1>&6
6854 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6855 ac_cpp
='$CXXCPP $CPPFLAGS'
6856 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6857 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6858 cross_compiling
=$ac_cv_prog_cxx_cross
6860 cat > conftest.
$ac_ext <<EOF
6861 #line 6862 "configure"
6862 #include "confdefs.h"
6864 #ifdef HAVE_IEEEFP_H
6872 if { (eval echo configure
:6873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6874 glibcpp_cv_func__isnan_use
=yes
6876 echo "configure: failed program was:" >&5
6877 cat conftest.
$ac_ext >&5
6879 glibcpp_cv_func__isnan_use
=no
6883 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6884 ac_cpp
='$CPP $CPPFLAGS'
6885 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6886 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6887 cross_compiling
=$ac_cv_prog_cc_cross
6893 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6895 if test x
$glibcpp_cv_func__isnan_use = x
"yes"; then
6896 for ac_func
in _isnan
6898 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6899 echo "configure:6900: checking for $ac_func" >&5
6900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6901 echo $ac_n "(cached) $ac_c" 1>&6
6903 cat > conftest.
$ac_ext <<EOF
6904 #line 6905 "configure"
6905 #include "confdefs.h"
6906 /* System header to define __stub macros and hopefully few prototypes,
6907 which can conflict with char $ac_func(); below. */
6909 /* Override any gcc2 internal prototype to avoid an error. */
6910 /* We use char because int might match the return type of a gcc2
6911 builtin and then its argument prototype would still apply. */
6916 /* The GNU C library defines this for functions which it implements
6917 to always fail with ENOSYS. Some functions are actually named
6918 something starting with __ and the normal name is an alias. */
6919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6927 if { (eval echo configure
:6928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6929 eval "ac_cv_func_$ac_func=yes"
6931 echo "configure: failed program was:" >&5
6932 cat conftest.
$ac_ext >&5
6934 eval "ac_cv_func_$ac_func=no"
6939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6940 echo "$ac_t""yes" 1>&6
6941 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6942 cat >> confdefs.h
<<EOF
6943 #define $ac_tr_func 1
6947 echo "$ac_t""no" 1>&6
6956 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
6957 echo "configure:6958: checking for finite declaration" >&5
6958 if test x
${glibcpp_cv_func_finite_use+set} != xset
; then
6959 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6960 echo $ac_n "(cached) $ac_c" 1>&6
6965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6966 ac_cpp
='$CXXCPP $CPPFLAGS'
6967 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6968 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6969 cross_compiling
=$ac_cv_prog_cxx_cross
6971 cat > conftest.
$ac_ext <<EOF
6972 #line 6973 "configure"
6973 #include "confdefs.h"
6975 #ifdef HAVE_IEEEFP_H
6983 if { (eval echo configure
:6984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6985 glibcpp_cv_func_finite_use
=yes
6987 echo "configure: failed program was:" >&5
6988 cat conftest.
$ac_ext >&5
6990 glibcpp_cv_func_finite_use
=no
6994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6995 ac_cpp
='$CPP $CPPFLAGS'
6996 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6997 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6998 cross_compiling
=$ac_cv_prog_cc_cross
7004 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
7006 if test x
$glibcpp_cv_func_finite_use = x
"yes"; then
7007 for ac_func
in finite
7009 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7010 echo "configure:7011: checking for $ac_func" >&5
7011 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7012 echo $ac_n "(cached) $ac_c" 1>&6
7014 cat > conftest.
$ac_ext <<EOF
7015 #line 7016 "configure"
7016 #include "confdefs.h"
7017 /* System header to define __stub macros and hopefully few prototypes,
7018 which can conflict with char $ac_func(); below. */
7020 /* Override any gcc2 internal prototype to avoid an error. */
7021 /* We use char because int might match the return type of a gcc2
7022 builtin and then its argument prototype would still apply. */
7027 /* The GNU C library defines this for functions which it implements
7028 to always fail with ENOSYS. Some functions are actually named
7029 something starting with __ and the normal name is an alias. */
7030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7038 if { (eval echo configure
:7039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7040 eval "ac_cv_func_$ac_func=yes"
7042 echo "configure: failed program was:" >&5
7043 cat conftest.
$ac_ext >&5
7045 eval "ac_cv_func_$ac_func=no"
7050 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7051 echo "$ac_t""yes" 1>&6
7052 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7053 cat >> confdefs.h
<<EOF
7054 #define $ac_tr_func 1
7058 echo "$ac_t""no" 1>&6
7064 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
7065 echo "configure:7066: checking for _finite declaration" >&5
7066 if test x
${glibcpp_cv_func__finite_use+set} != xset
; then
7067 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
7068 echo $ac_n "(cached) $ac_c" 1>&6
7073 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7074 ac_cpp
='$CXXCPP $CPPFLAGS'
7075 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7076 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7077 cross_compiling
=$ac_cv_prog_cxx_cross
7079 cat > conftest.
$ac_ext <<EOF
7080 #line 7081 "configure"
7081 #include "confdefs.h"
7083 #ifdef HAVE_IEEEFP_H
7091 if { (eval echo configure
:7092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7093 glibcpp_cv_func__finite_use
=yes
7095 echo "configure: failed program was:" >&5
7096 cat conftest.
$ac_ext >&5
7098 glibcpp_cv_func__finite_use
=no
7102 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7103 ac_cpp
='$CPP $CPPFLAGS'
7104 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7105 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7106 cross_compiling
=$ac_cv_prog_cc_cross
7112 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
7114 if test x
$glibcpp_cv_func__finite_use = x
"yes"; then
7115 for ac_func
in _finite
7117 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7118 echo "configure:7119: checking for $ac_func" >&5
7119 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7120 echo $ac_n "(cached) $ac_c" 1>&6
7122 cat > conftest.
$ac_ext <<EOF
7123 #line 7124 "configure"
7124 #include "confdefs.h"
7125 /* System header to define __stub macros and hopefully few prototypes,
7126 which can conflict with char $ac_func(); below. */
7128 /* Override any gcc2 internal prototype to avoid an error. */
7129 /* We use char because int might match the return type of a gcc2
7130 builtin and then its argument prototype would still apply. */
7135 /* The GNU C library defines this for functions which it implements
7136 to always fail with ENOSYS. Some functions are actually named
7137 something starting with __ and the normal name is an alias. */
7138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7146 if { (eval echo configure
:7147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7148 eval "ac_cv_func_$ac_func=yes"
7150 echo "configure: failed program was:" >&5
7151 cat conftest.
$ac_ext >&5
7153 eval "ac_cv_func_$ac_func=no"
7158 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7159 echo "$ac_t""yes" 1>&6
7160 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7161 cat >> confdefs.h
<<EOF
7162 #define $ac_tr_func 1
7166 echo "$ac_t""no" 1>&6
7175 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
7176 echo "configure:7177: checking for copysign declaration" >&5
7177 if test x
${glibcpp_cv_func_copysign_use+set} != xset
; then
7178 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7179 echo $ac_n "(cached) $ac_c" 1>&6
7184 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7185 ac_cpp
='$CXXCPP $CPPFLAGS'
7186 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7187 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7188 cross_compiling
=$ac_cv_prog_cxx_cross
7190 cat > conftest.
$ac_ext <<EOF
7191 #line 7192 "configure"
7192 #include "confdefs.h"
7198 if { (eval echo configure
:7199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7200 glibcpp_cv_func_copysign_use
=yes
7202 echo "configure: failed program was:" >&5
7203 cat conftest.
$ac_ext >&5
7205 glibcpp_cv_func_copysign_use
=no
7209 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7210 ac_cpp
='$CPP $CPPFLAGS'
7211 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7212 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7213 cross_compiling
=$ac_cv_prog_cc_cross
7219 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7221 if test x
$glibcpp_cv_func_copysign_use = x
"yes"; then
7222 for ac_func
in copysign
7224 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7225 echo "configure:7226: checking for $ac_func" >&5
7226 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7227 echo $ac_n "(cached) $ac_c" 1>&6
7229 cat > conftest.
$ac_ext <<EOF
7230 #line 7231 "configure"
7231 #include "confdefs.h"
7232 /* System header to define __stub macros and hopefully few prototypes,
7233 which can conflict with char $ac_func(); below. */
7235 /* Override any gcc2 internal prototype to avoid an error. */
7236 /* We use char because int might match the return type of a gcc2
7237 builtin and then its argument prototype would still apply. */
7242 /* The GNU C library defines this for functions which it implements
7243 to always fail with ENOSYS. Some functions are actually named
7244 something starting with __ and the normal name is an alias. */
7245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7253 if { (eval echo configure
:7254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7255 eval "ac_cv_func_$ac_func=yes"
7257 echo "configure: failed program was:" >&5
7258 cat conftest.
$ac_ext >&5
7260 eval "ac_cv_func_$ac_func=no"
7265 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7266 echo "$ac_t""yes" 1>&6
7267 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7268 cat >> confdefs.h
<<EOF
7269 #define $ac_tr_func 1
7273 echo "$ac_t""no" 1>&6
7279 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
7280 echo "configure:7281: checking for _copysign declaration" >&5
7281 if test x
${glibcpp_cv_func__copysign_use+set} != xset
; then
7282 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7283 echo $ac_n "(cached) $ac_c" 1>&6
7288 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7289 ac_cpp
='$CXXCPP $CPPFLAGS'
7290 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7291 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7292 cross_compiling
=$ac_cv_prog_cxx_cross
7294 cat > conftest.
$ac_ext <<EOF
7295 #line 7296 "configure"
7296 #include "confdefs.h"
7302 if { (eval echo configure
:7303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7304 glibcpp_cv_func__copysign_use
=yes
7306 echo "configure: failed program was:" >&5
7307 cat conftest.
$ac_ext >&5
7309 glibcpp_cv_func__copysign_use
=no
7313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7314 ac_cpp
='$CPP $CPPFLAGS'
7315 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7316 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7317 cross_compiling
=$ac_cv_prog_cc_cross
7323 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7325 if test x
$glibcpp_cv_func__copysign_use = x
"yes"; then
7326 for ac_func
in _copysign
7328 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7329 echo "configure:7330: checking for $ac_func" >&5
7330 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7331 echo $ac_n "(cached) $ac_c" 1>&6
7333 cat > conftest.
$ac_ext <<EOF
7334 #line 7335 "configure"
7335 #include "confdefs.h"
7336 /* System header to define __stub macros and hopefully few prototypes,
7337 which can conflict with char $ac_func(); below. */
7339 /* Override any gcc2 internal prototype to avoid an error. */
7340 /* We use char because int might match the return type of a gcc2
7341 builtin and then its argument prototype would still apply. */
7346 /* The GNU C library defines this for functions which it implements
7347 to always fail with ENOSYS. Some functions are actually named
7348 something starting with __ and the normal name is an alias. */
7349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7357 if { (eval echo configure
:7358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7359 eval "ac_cv_func_$ac_func=yes"
7361 echo "configure: failed program was:" >&5
7362 cat conftest.
$ac_ext >&5
7364 eval "ac_cv_func_$ac_func=no"
7369 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7370 echo "$ac_t""yes" 1>&6
7371 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7372 cat >> confdefs.h
<<EOF
7373 #define $ac_tr_func 1
7377 echo "$ac_t""no" 1>&6
7386 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
7387 echo "configure:7388: checking for sincos declaration" >&5
7388 if test x
${glibcpp_cv_func_sincos_use+set} != xset
; then
7389 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7390 echo $ac_n "(cached) $ac_c" 1>&6
7395 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7396 ac_cpp
='$CXXCPP $CPPFLAGS'
7397 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7398 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7399 cross_compiling
=$ac_cv_prog_cxx_cross
7401 cat > conftest.
$ac_ext <<EOF
7402 #line 7403 "configure"
7403 #include "confdefs.h"
7409 if { (eval echo configure
:7410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7411 glibcpp_cv_func_sincos_use
=yes
7413 echo "configure: failed program was:" >&5
7414 cat conftest.
$ac_ext >&5
7416 glibcpp_cv_func_sincos_use
=no
7420 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7421 ac_cpp
='$CPP $CPPFLAGS'
7422 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7423 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7424 cross_compiling
=$ac_cv_prog_cc_cross
7430 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7432 if test x
$glibcpp_cv_func_sincos_use = x
"yes"; then
7433 for ac_func
in sincos
7435 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7436 echo "configure:7437: checking for $ac_func" >&5
7437 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7438 echo $ac_n "(cached) $ac_c" 1>&6
7440 cat > conftest.
$ac_ext <<EOF
7441 #line 7442 "configure"
7442 #include "confdefs.h"
7443 /* System header to define __stub macros and hopefully few prototypes,
7444 which can conflict with char $ac_func(); below. */
7446 /* Override any gcc2 internal prototype to avoid an error. */
7447 /* We use char because int might match the return type of a gcc2
7448 builtin and then its argument prototype would still apply. */
7453 /* The GNU C library defines this for functions which it implements
7454 to always fail with ENOSYS. Some functions are actually named
7455 something starting with __ and the normal name is an alias. */
7456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7464 if { (eval echo configure
:7465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7466 eval "ac_cv_func_$ac_func=yes"
7468 echo "configure: failed program was:" >&5
7469 cat conftest.
$ac_ext >&5
7471 eval "ac_cv_func_$ac_func=no"
7476 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7477 echo "$ac_t""yes" 1>&6
7478 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7479 cat >> confdefs.h
<<EOF
7480 #define $ac_tr_func 1
7484 echo "$ac_t""no" 1>&6
7490 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
7491 echo "configure:7492: checking for _sincos declaration" >&5
7492 if test x
${glibcpp_cv_func__sincos_use+set} != xset
; then
7493 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7494 echo $ac_n "(cached) $ac_c" 1>&6
7499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7500 ac_cpp
='$CXXCPP $CPPFLAGS'
7501 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7502 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7503 cross_compiling
=$ac_cv_prog_cxx_cross
7505 cat > conftest.
$ac_ext <<EOF
7506 #line 7507 "configure"
7507 #include "confdefs.h"
7513 if { (eval echo configure
:7514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7515 glibcpp_cv_func__sincos_use
=yes
7517 echo "configure: failed program was:" >&5
7518 cat conftest.
$ac_ext >&5
7520 glibcpp_cv_func__sincos_use
=no
7524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7525 ac_cpp
='$CPP $CPPFLAGS'
7526 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7527 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7528 cross_compiling
=$ac_cv_prog_cc_cross
7534 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7536 if test x
$glibcpp_cv_func__sincos_use = x
"yes"; then
7537 for ac_func
in _sincos
7539 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7540 echo "configure:7541: checking for $ac_func" >&5
7541 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7542 echo $ac_n "(cached) $ac_c" 1>&6
7544 cat > conftest.
$ac_ext <<EOF
7545 #line 7546 "configure"
7546 #include "confdefs.h"
7547 /* System header to define __stub macros and hopefully few prototypes,
7548 which can conflict with char $ac_func(); below. */
7550 /* Override any gcc2 internal prototype to avoid an error. */
7551 /* We use char because int might match the return type of a gcc2
7552 builtin and then its argument prototype would still apply. */
7557 /* The GNU C library defines this for functions which it implements
7558 to always fail with ENOSYS. Some functions are actually named
7559 something starting with __ and the normal name is an alias. */
7560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7568 if { (eval echo configure
:7569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7570 eval "ac_cv_func_$ac_func=yes"
7572 echo "configure: failed program was:" >&5
7573 cat conftest.
$ac_ext >&5
7575 eval "ac_cv_func_$ac_func=no"
7580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7581 echo "$ac_t""yes" 1>&6
7582 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7583 cat >> confdefs.h
<<EOF
7584 #define $ac_tr_func 1
7588 echo "$ac_t""no" 1>&6
7597 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7598 echo "configure:7599: checking for fpclass declaration" >&5
7599 if test x
${glibcpp_cv_func_fpclass_use+set} != xset
; then
7600 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7601 echo $ac_n "(cached) $ac_c" 1>&6
7606 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7607 ac_cpp
='$CXXCPP $CPPFLAGS'
7608 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7609 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7610 cross_compiling
=$ac_cv_prog_cxx_cross
7612 cat > conftest.
$ac_ext <<EOF
7613 #line 7614 "configure"
7614 #include "confdefs.h"
7616 #ifdef HAVE_IEEEFP_H
7624 if { (eval echo configure
:7625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7626 glibcpp_cv_func_fpclass_use
=yes
7628 echo "configure: failed program was:" >&5
7629 cat conftest.
$ac_ext >&5
7631 glibcpp_cv_func_fpclass_use
=no
7635 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7636 ac_cpp
='$CPP $CPPFLAGS'
7637 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7638 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7639 cross_compiling
=$ac_cv_prog_cc_cross
7645 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7647 if test x
$glibcpp_cv_func_fpclass_use = x
"yes"; then
7648 for ac_func
in fpclass
7650 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7651 echo "configure:7652: checking for $ac_func" >&5
7652 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7653 echo $ac_n "(cached) $ac_c" 1>&6
7655 cat > conftest.
$ac_ext <<EOF
7656 #line 7657 "configure"
7657 #include "confdefs.h"
7658 /* System header to define __stub macros and hopefully few prototypes,
7659 which can conflict with char $ac_func(); below. */
7661 /* Override any gcc2 internal prototype to avoid an error. */
7662 /* We use char because int might match the return type of a gcc2
7663 builtin and then its argument prototype would still apply. */
7668 /* The GNU C library defines this for functions which it implements
7669 to always fail with ENOSYS. Some functions are actually named
7670 something starting with __ and the normal name is an alias. */
7671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7679 if { (eval echo configure
:7680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7681 eval "ac_cv_func_$ac_func=yes"
7683 echo "configure: failed program was:" >&5
7684 cat conftest.
$ac_ext >&5
7686 eval "ac_cv_func_$ac_func=no"
7691 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7692 echo "$ac_t""yes" 1>&6
7693 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7694 cat >> confdefs.h
<<EOF
7695 #define $ac_tr_func 1
7699 echo "$ac_t""no" 1>&6
7705 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7706 echo "configure:7707: checking for _fpclass declaration" >&5
7707 if test x
${glibcpp_cv_func__fpclass_use+set} != xset
; then
7708 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7709 echo $ac_n "(cached) $ac_c" 1>&6
7714 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7715 ac_cpp
='$CXXCPP $CPPFLAGS'
7716 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7717 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7718 cross_compiling
=$ac_cv_prog_cxx_cross
7720 cat > conftest.
$ac_ext <<EOF
7721 #line 7722 "configure"
7722 #include "confdefs.h"
7724 #ifdef HAVE_IEEEFP_H
7732 if { (eval echo configure
:7733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7734 glibcpp_cv_func__fpclass_use
=yes
7736 echo "configure: failed program was:" >&5
7737 cat conftest.
$ac_ext >&5
7739 glibcpp_cv_func__fpclass_use
=no
7743 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7744 ac_cpp
='$CPP $CPPFLAGS'
7745 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7746 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7747 cross_compiling
=$ac_cv_prog_cc_cross
7753 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7755 if test x
$glibcpp_cv_func__fpclass_use = x
"yes"; then
7756 for ac_func
in _fpclass
7758 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7759 echo "configure:7760: checking for $ac_func" >&5
7760 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7761 echo $ac_n "(cached) $ac_c" 1>&6
7763 cat > conftest.
$ac_ext <<EOF
7764 #line 7765 "configure"
7765 #include "confdefs.h"
7766 /* System header to define __stub macros and hopefully few prototypes,
7767 which can conflict with char $ac_func(); below. */
7769 /* Override any gcc2 internal prototype to avoid an error. */
7770 /* We use char because int might match the return type of a gcc2
7771 builtin and then its argument prototype would still apply. */
7776 /* The GNU C library defines this for functions which it implements
7777 to always fail with ENOSYS. Some functions are actually named
7778 something starting with __ and the normal name is an alias. */
7779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7787 if { (eval echo configure
:7788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7789 eval "ac_cv_func_$ac_func=yes"
7791 echo "configure: failed program was:" >&5
7792 cat conftest.
$ac_ext >&5
7794 eval "ac_cv_func_$ac_func=no"
7799 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7800 echo "$ac_t""yes" 1>&6
7801 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7802 cat >> confdefs.h
<<EOF
7803 #define $ac_tr_func 1
7807 echo "$ac_t""no" 1>&6
7816 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7817 echo "configure:7818: checking for qfpclass declaration" >&5
7818 if test x
${glibcpp_cv_func_qfpclass_use+set} != xset
; then
7819 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7820 echo $ac_n "(cached) $ac_c" 1>&6
7825 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7826 ac_cpp
='$CXXCPP $CPPFLAGS'
7827 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7828 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7829 cross_compiling
=$ac_cv_prog_cxx_cross
7831 cat > conftest.
$ac_ext <<EOF
7832 #line 7833 "configure"
7833 #include "confdefs.h"
7835 #ifdef HAVE_IEEEFP_H
7843 if { (eval echo configure
:7844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7845 glibcpp_cv_func_qfpclass_use
=yes
7847 echo "configure: failed program was:" >&5
7848 cat conftest.
$ac_ext >&5
7850 glibcpp_cv_func_qfpclass_use
=no
7854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7855 ac_cpp
='$CPP $CPPFLAGS'
7856 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7857 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7858 cross_compiling
=$ac_cv_prog_cc_cross
7864 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7866 if test x
$glibcpp_cv_func_qfpclass_use = x
"yes"; then
7867 for ac_func
in qfpclass
7869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7870 echo "configure:7871: checking for $ac_func" >&5
7871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7872 echo $ac_n "(cached) $ac_c" 1>&6
7874 cat > conftest.
$ac_ext <<EOF
7875 #line 7876 "configure"
7876 #include "confdefs.h"
7877 /* System header to define __stub macros and hopefully few prototypes,
7878 which can conflict with char $ac_func(); below. */
7880 /* Override any gcc2 internal prototype to avoid an error. */
7881 /* We use char because int might match the return type of a gcc2
7882 builtin and then its argument prototype would still apply. */
7887 /* The GNU C library defines this for functions which it implements
7888 to always fail with ENOSYS. Some functions are actually named
7889 something starting with __ and the normal name is an alias. */
7890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7898 if { (eval echo configure
:7899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7900 eval "ac_cv_func_$ac_func=yes"
7902 echo "configure: failed program was:" >&5
7903 cat conftest.
$ac_ext >&5
7905 eval "ac_cv_func_$ac_func=no"
7910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7911 echo "$ac_t""yes" 1>&6
7912 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7913 cat >> confdefs.h
<<EOF
7914 #define $ac_tr_func 1
7918 echo "$ac_t""no" 1>&6
7924 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
7925 echo "configure:7926: checking for _qfpclass declaration" >&5
7926 if test x
${glibcpp_cv_func__qfpclass_use+set} != xset
; then
7927 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7928 echo $ac_n "(cached) $ac_c" 1>&6
7933 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7934 ac_cpp
='$CXXCPP $CPPFLAGS'
7935 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7936 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7937 cross_compiling
=$ac_cv_prog_cxx_cross
7939 cat > conftest.
$ac_ext <<EOF
7940 #line 7941 "configure"
7941 #include "confdefs.h"
7943 #ifdef HAVE_IEEEFP_H
7951 if { (eval echo configure
:7952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7953 glibcpp_cv_func__qfpclass_use
=yes
7955 echo "configure: failed program was:" >&5
7956 cat conftest.
$ac_ext >&5
7958 glibcpp_cv_func__qfpclass_use
=no
7962 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7963 ac_cpp
='$CPP $CPPFLAGS'
7964 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7965 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7966 cross_compiling
=$ac_cv_prog_cc_cross
7972 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7974 if test x
$glibcpp_cv_func__qfpclass_use = x
"yes"; then
7975 for ac_func
in _qfpclass
7977 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7978 echo "configure:7979: checking for $ac_func" >&5
7979 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7980 echo $ac_n "(cached) $ac_c" 1>&6
7982 cat > conftest.
$ac_ext <<EOF
7983 #line 7984 "configure"
7984 #include "confdefs.h"
7985 /* System header to define __stub macros and hopefully few prototypes,
7986 which can conflict with char $ac_func(); below. */
7988 /* Override any gcc2 internal prototype to avoid an error. */
7989 /* We use char because int might match the return type of a gcc2
7990 builtin and then its argument prototype would still apply. */
7995 /* The GNU C library defines this for functions which it implements
7996 to always fail with ENOSYS. Some functions are actually named
7997 something starting with __ and the normal name is an alias. */
7998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8006 if { (eval echo configure
:8007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8008 eval "ac_cv_func_$ac_func=yes"
8010 echo "configure: failed program was:" >&5
8011 cat conftest.
$ac_ext >&5
8013 eval "ac_cv_func_$ac_func=no"
8018 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8019 echo "$ac_t""yes" 1>&6
8020 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8021 cat >> confdefs.h
<<EOF
8022 #define $ac_tr_func 1
8026 echo "$ac_t""no" 1>&6
8035 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
8036 echo "configure:8037: checking for float trig functions" >&5
8037 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
8038 echo $ac_n "(cached) $ac_c" 1>&6
8043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8044 ac_cpp
='$CXXCPP $CPPFLAGS'
8045 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8046 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8047 cross_compiling
=$ac_cv_prog_cxx_cross
8049 cat > conftest.
$ac_ext <<EOF
8050 #line 8051 "configure"
8051 #include "confdefs.h"
8054 `for x in acosf asinf atanf \
8056 coshf sinhf tanhf; do echo "$x (0);"; done`
8059 if { (eval echo configure
:8060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8061 glibcpp_cv_func_float_trig_use
=yes
8063 echo "configure: failed program was:" >&5
8064 cat conftest.
$ac_ext >&5
8066 glibcpp_cv_func_float_trig_use
=no
8070 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8071 ac_cpp
='$CPP $CPPFLAGS'
8072 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8073 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8074 cross_compiling
=$ac_cv_prog_cc_cross
8078 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
8079 if test x
$glibcpp_cv_func_float_trig_use = x
"yes"; then
8080 for ac_func
in acosf asinf atanf \
8084 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8085 echo "configure:8086: checking for $ac_func" >&5
8086 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8087 echo $ac_n "(cached) $ac_c" 1>&6
8089 cat > conftest.
$ac_ext <<EOF
8090 #line 8091 "configure"
8091 #include "confdefs.h"
8092 /* System header to define __stub macros and hopefully few prototypes,
8093 which can conflict with char $ac_func(); below. */
8095 /* Override any gcc2 internal prototype to avoid an error. */
8096 /* We use char because int might match the return type of a gcc2
8097 builtin and then its argument prototype would still apply. */
8102 /* The GNU C library defines this for functions which it implements
8103 to always fail with ENOSYS. Some functions are actually named
8104 something starting with __ and the normal name is an alias. */
8105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8113 if { (eval echo configure
:8114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8115 eval "ac_cv_func_$ac_func=yes"
8117 echo "configure: failed program was:" >&5
8118 cat conftest.
$ac_ext >&5
8120 eval "ac_cv_func_$ac_func=no"
8125 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8126 echo "$ac_t""yes" 1>&6
8127 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8128 cat >> confdefs.h
<<EOF
8129 #define $ac_tr_func 1
8133 echo "$ac_t""no" 1>&6
8140 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
8141 echo "configure:8142: checking for float round functions" >&5
8142 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
8143 echo $ac_n "(cached) $ac_c" 1>&6
8148 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8149 ac_cpp
='$CXXCPP $CPPFLAGS'
8150 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8151 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8152 cross_compiling
=$ac_cv_prog_cxx_cross
8154 cat > conftest.
$ac_ext <<EOF
8155 #line 8156 "configure"
8156 #include "confdefs.h"
8159 `for x in ceilf floorf; do echo "$x (0);"; done`
8162 if { (eval echo configure
:8163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8164 glibcpp_cv_func_float_round_use
=yes
8166 echo "configure: failed program was:" >&5
8167 cat conftest.
$ac_ext >&5
8169 glibcpp_cv_func_float_round_use
=no
8173 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8174 ac_cpp
='$CPP $CPPFLAGS'
8175 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8176 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8177 cross_compiling
=$ac_cv_prog_cc_cross
8181 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8182 if test x
$glibcpp_cv_func_float_round_use = x
"yes"; then
8183 for ac_func
in ceilf floorf
8185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8186 echo "configure:8187: checking for $ac_func" >&5
8187 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8188 echo $ac_n "(cached) $ac_c" 1>&6
8190 cat > conftest.
$ac_ext <<EOF
8191 #line 8192 "configure"
8192 #include "confdefs.h"
8193 /* System header to define __stub macros and hopefully few prototypes,
8194 which can conflict with char $ac_func(); below. */
8196 /* Override any gcc2 internal prototype to avoid an error. */
8197 /* We use char because int might match the return type of a gcc2
8198 builtin and then its argument prototype would still apply. */
8203 /* The GNU C library defines this for functions which it implements
8204 to always fail with ENOSYS. Some functions are actually named
8205 something starting with __ and the normal name is an alias. */
8206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8214 if { (eval echo configure
:8215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8216 eval "ac_cv_func_$ac_func=yes"
8218 echo "configure: failed program was:" >&5
8219 cat conftest.
$ac_ext >&5
8221 eval "ac_cv_func_$ac_func=no"
8226 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8227 echo "$ac_t""yes" 1>&6
8228 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8229 cat >> confdefs.h
<<EOF
8230 #define $ac_tr_func 1
8234 echo "$ac_t""no" 1>&6
8242 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
8243 echo "configure:8244: checking for isnanf declaration" >&5
8244 if test x
${glibcpp_cv_func_isnanf_use+set} != xset
; then
8245 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8246 echo $ac_n "(cached) $ac_c" 1>&6
8251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8252 ac_cpp
='$CXXCPP $CPPFLAGS'
8253 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8254 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8255 cross_compiling
=$ac_cv_prog_cxx_cross
8257 cat > conftest.
$ac_ext <<EOF
8258 #line 8259 "configure"
8259 #include "confdefs.h"
8261 #ifdef HAVE_IEEEFP_H
8269 if { (eval echo configure
:8270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8271 glibcpp_cv_func_isnanf_use
=yes
8273 echo "configure: failed program was:" >&5
8274 cat conftest.
$ac_ext >&5
8276 glibcpp_cv_func_isnanf_use
=no
8280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8281 ac_cpp
='$CPP $CPPFLAGS'
8282 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8283 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8284 cross_compiling
=$ac_cv_prog_cc_cross
8290 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8292 if test x
$glibcpp_cv_func_isnanf_use = x
"yes"; then
8293 for ac_func
in isnanf
8295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8296 echo "configure:8297: checking for $ac_func" >&5
8297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8298 echo $ac_n "(cached) $ac_c" 1>&6
8300 cat > conftest.
$ac_ext <<EOF
8301 #line 8302 "configure"
8302 #include "confdefs.h"
8303 /* System header to define __stub macros and hopefully few prototypes,
8304 which can conflict with char $ac_func(); below. */
8306 /* Override any gcc2 internal prototype to avoid an error. */
8307 /* We use char because int might match the return type of a gcc2
8308 builtin and then its argument prototype would still apply. */
8313 /* The GNU C library defines this for functions which it implements
8314 to always fail with ENOSYS. Some functions are actually named
8315 something starting with __ and the normal name is an alias. */
8316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8324 if { (eval echo configure
:8325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8326 eval "ac_cv_func_$ac_func=yes"
8328 echo "configure: failed program was:" >&5
8329 cat conftest.
$ac_ext >&5
8331 eval "ac_cv_func_$ac_func=no"
8336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8337 echo "$ac_t""yes" 1>&6
8338 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8339 cat >> confdefs.h
<<EOF
8340 #define $ac_tr_func 1
8344 echo "$ac_t""no" 1>&6
8350 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
8351 echo "configure:8352: checking for _isnanf declaration" >&5
8352 if test x
${glibcpp_cv_func__isnanf_use+set} != xset
; then
8353 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8354 echo $ac_n "(cached) $ac_c" 1>&6
8359 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8360 ac_cpp
='$CXXCPP $CPPFLAGS'
8361 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8362 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8363 cross_compiling
=$ac_cv_prog_cxx_cross
8365 cat > conftest.
$ac_ext <<EOF
8366 #line 8367 "configure"
8367 #include "confdefs.h"
8369 #ifdef HAVE_IEEEFP_H
8377 if { (eval echo configure
:8378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8379 glibcpp_cv_func__isnanf_use
=yes
8381 echo "configure: failed program was:" >&5
8382 cat conftest.
$ac_ext >&5
8384 glibcpp_cv_func__isnanf_use
=no
8388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8389 ac_cpp
='$CPP $CPPFLAGS'
8390 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8391 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8392 cross_compiling
=$ac_cv_prog_cc_cross
8398 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8400 if test x
$glibcpp_cv_func__isnanf_use = x
"yes"; then
8401 for ac_func
in _isnanf
8403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8404 echo "configure:8405: checking for $ac_func" >&5
8405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8406 echo $ac_n "(cached) $ac_c" 1>&6
8408 cat > conftest.
$ac_ext <<EOF
8409 #line 8410 "configure"
8410 #include "confdefs.h"
8411 /* System header to define __stub macros and hopefully few prototypes,
8412 which can conflict with char $ac_func(); below. */
8414 /* Override any gcc2 internal prototype to avoid an error. */
8415 /* We use char because int might match the return type of a gcc2
8416 builtin and then its argument prototype would still apply. */
8421 /* The GNU C library defines this for functions which it implements
8422 to always fail with ENOSYS. Some functions are actually named
8423 something starting with __ and the normal name is an alias. */
8424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8432 if { (eval echo configure
:8433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8434 eval "ac_cv_func_$ac_func=yes"
8436 echo "configure: failed program was:" >&5
8437 cat conftest.
$ac_ext >&5
8439 eval "ac_cv_func_$ac_func=no"
8444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8445 echo "$ac_t""yes" 1>&6
8446 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8447 cat >> confdefs.h
<<EOF
8448 #define $ac_tr_func 1
8452 echo "$ac_t""no" 1>&6
8461 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
8462 echo "configure:8463: checking for isinff declaration" >&5
8463 if test x
${glibcpp_cv_func_isinff_use+set} != xset
; then
8464 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8465 echo $ac_n "(cached) $ac_c" 1>&6
8470 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8471 ac_cpp
='$CXXCPP $CPPFLAGS'
8472 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8473 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8474 cross_compiling
=$ac_cv_prog_cxx_cross
8476 cat > conftest.
$ac_ext <<EOF
8477 #line 8478 "configure"
8478 #include "confdefs.h"
8480 #ifdef HAVE_IEEEFP_H
8488 if { (eval echo configure
:8489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8490 glibcpp_cv_func_isinff_use
=yes
8492 echo "configure: failed program was:" >&5
8493 cat conftest.
$ac_ext >&5
8495 glibcpp_cv_func_isinff_use
=no
8499 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8500 ac_cpp
='$CPP $CPPFLAGS'
8501 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8502 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8503 cross_compiling
=$ac_cv_prog_cc_cross
8509 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8511 if test x
$glibcpp_cv_func_isinff_use = x
"yes"; then
8512 for ac_func
in isinff
8514 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8515 echo "configure:8516: checking for $ac_func" >&5
8516 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8517 echo $ac_n "(cached) $ac_c" 1>&6
8519 cat > conftest.
$ac_ext <<EOF
8520 #line 8521 "configure"
8521 #include "confdefs.h"
8522 /* System header to define __stub macros and hopefully few prototypes,
8523 which can conflict with char $ac_func(); below. */
8525 /* Override any gcc2 internal prototype to avoid an error. */
8526 /* We use char because int might match the return type of a gcc2
8527 builtin and then its argument prototype would still apply. */
8532 /* The GNU C library defines this for functions which it implements
8533 to always fail with ENOSYS. Some functions are actually named
8534 something starting with __ and the normal name is an alias. */
8535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8543 if { (eval echo configure
:8544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8545 eval "ac_cv_func_$ac_func=yes"
8547 echo "configure: failed program was:" >&5
8548 cat conftest.
$ac_ext >&5
8550 eval "ac_cv_func_$ac_func=no"
8555 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8556 echo "$ac_t""yes" 1>&6
8557 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8558 cat >> confdefs.h
<<EOF
8559 #define $ac_tr_func 1
8563 echo "$ac_t""no" 1>&6
8569 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
8570 echo "configure:8571: checking for _isinff declaration" >&5
8571 if test x
${glibcpp_cv_func__isinff_use+set} != xset
; then
8572 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8573 echo $ac_n "(cached) $ac_c" 1>&6
8578 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8579 ac_cpp
='$CXXCPP $CPPFLAGS'
8580 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8581 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8582 cross_compiling
=$ac_cv_prog_cxx_cross
8584 cat > conftest.
$ac_ext <<EOF
8585 #line 8586 "configure"
8586 #include "confdefs.h"
8588 #ifdef HAVE_IEEEFP_H
8596 if { (eval echo configure
:8597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8598 glibcpp_cv_func__isinff_use
=yes
8600 echo "configure: failed program was:" >&5
8601 cat conftest.
$ac_ext >&5
8603 glibcpp_cv_func__isinff_use
=no
8607 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8608 ac_cpp
='$CPP $CPPFLAGS'
8609 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8610 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8611 cross_compiling
=$ac_cv_prog_cc_cross
8617 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8619 if test x
$glibcpp_cv_func__isinff_use = x
"yes"; then
8620 for ac_func
in _isinff
8622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8623 echo "configure:8624: checking for $ac_func" >&5
8624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8625 echo $ac_n "(cached) $ac_c" 1>&6
8627 cat > conftest.
$ac_ext <<EOF
8628 #line 8629 "configure"
8629 #include "confdefs.h"
8630 /* System header to define __stub macros and hopefully few prototypes,
8631 which can conflict with char $ac_func(); below. */
8633 /* Override any gcc2 internal prototype to avoid an error. */
8634 /* We use char because int might match the return type of a gcc2
8635 builtin and then its argument prototype would still apply. */
8640 /* The GNU C library defines this for functions which it implements
8641 to always fail with ENOSYS. Some functions are actually named
8642 something starting with __ and the normal name is an alias. */
8643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8651 if { (eval echo configure
:8652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8653 eval "ac_cv_func_$ac_func=yes"
8655 echo "configure: failed program was:" >&5
8656 cat conftest.
$ac_ext >&5
8658 eval "ac_cv_func_$ac_func=no"
8663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8664 echo "$ac_t""yes" 1>&6
8665 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8666 cat >> confdefs.h
<<EOF
8667 #define $ac_tr_func 1
8671 echo "$ac_t""no" 1>&6
8680 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
8681 echo "configure:8682: checking for fabsf declaration" >&5
8682 if test x
${glibcpp_cv_func_fabsf_use+set} != xset
; then
8683 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8684 echo $ac_n "(cached) $ac_c" 1>&6
8689 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8690 ac_cpp
='$CXXCPP $CPPFLAGS'
8691 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8692 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8693 cross_compiling
=$ac_cv_prog_cxx_cross
8695 cat > conftest.
$ac_ext <<EOF
8696 #line 8697 "configure"
8697 #include "confdefs.h"
8699 #ifdef HAVE_IEEEFP_H
8707 if { (eval echo configure
:8708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8709 glibcpp_cv_func_fabsf_use
=yes
8711 echo "configure: failed program was:" >&5
8712 cat conftest.
$ac_ext >&5
8714 glibcpp_cv_func_fabsf_use
=no
8718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8719 ac_cpp
='$CPP $CPPFLAGS'
8720 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8721 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8722 cross_compiling
=$ac_cv_prog_cc_cross
8728 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8730 if test x
$glibcpp_cv_func_fabsf_use = x
"yes"; then
8731 for ac_func
in fabsf
8733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8734 echo "configure:8735: checking for $ac_func" >&5
8735 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8736 echo $ac_n "(cached) $ac_c" 1>&6
8738 cat > conftest.
$ac_ext <<EOF
8739 #line 8740 "configure"
8740 #include "confdefs.h"
8741 /* System header to define __stub macros and hopefully few prototypes,
8742 which can conflict with char $ac_func(); below. */
8744 /* Override any gcc2 internal prototype to avoid an error. */
8745 /* We use char because int might match the return type of a gcc2
8746 builtin and then its argument prototype would still apply. */
8751 /* The GNU C library defines this for functions which it implements
8752 to always fail with ENOSYS. Some functions are actually named
8753 something starting with __ and the normal name is an alias. */
8754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8762 if { (eval echo configure
:8763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8764 eval "ac_cv_func_$ac_func=yes"
8766 echo "configure: failed program was:" >&5
8767 cat conftest.
$ac_ext >&5
8769 eval "ac_cv_func_$ac_func=no"
8774 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8775 echo "$ac_t""yes" 1>&6
8776 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8777 cat >> confdefs.h
<<EOF
8778 #define $ac_tr_func 1
8782 echo "$ac_t""no" 1>&6
8788 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
8789 echo "configure:8790: checking for _fabsf declaration" >&5
8790 if test x
${glibcpp_cv_func__fabsf_use+set} != xset
; then
8791 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
8792 echo $ac_n "(cached) $ac_c" 1>&6
8797 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8798 ac_cpp
='$CXXCPP $CPPFLAGS'
8799 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8800 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8801 cross_compiling
=$ac_cv_prog_cxx_cross
8803 cat > conftest.
$ac_ext <<EOF
8804 #line 8805 "configure"
8805 #include "confdefs.h"
8807 #ifdef HAVE_IEEEFP_H
8815 if { (eval echo configure
:8816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8817 glibcpp_cv_func__fabsf_use
=yes
8819 echo "configure: failed program was:" >&5
8820 cat conftest.
$ac_ext >&5
8822 glibcpp_cv_func__fabsf_use
=no
8826 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8827 ac_cpp
='$CPP $CPPFLAGS'
8828 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8829 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8830 cross_compiling
=$ac_cv_prog_cc_cross
8836 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
8838 if test x
$glibcpp_cv_func__fabsf_use = x
"yes"; then
8839 for ac_func
in _fabsf
8841 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8842 echo "configure:8843: checking for $ac_func" >&5
8843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8844 echo $ac_n "(cached) $ac_c" 1>&6
8846 cat > conftest.
$ac_ext <<EOF
8847 #line 8848 "configure"
8848 #include "confdefs.h"
8849 /* System header to define __stub macros and hopefully few prototypes,
8850 which can conflict with char $ac_func(); below. */
8852 /* Override any gcc2 internal prototype to avoid an error. */
8853 /* We use char because int might match the return type of a gcc2
8854 builtin and then its argument prototype would still apply. */
8859 /* The GNU C library defines this for functions which it implements
8860 to always fail with ENOSYS. Some functions are actually named
8861 something starting with __ and the normal name is an alias. */
8862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8870 if { (eval echo configure
:8871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8872 eval "ac_cv_func_$ac_func=yes"
8874 echo "configure: failed program was:" >&5
8875 cat conftest.
$ac_ext >&5
8877 eval "ac_cv_func_$ac_func=no"
8882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8883 echo "$ac_t""yes" 1>&6
8884 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8885 cat >> confdefs.h
<<EOF
8886 #define $ac_tr_func 1
8890 echo "$ac_t""no" 1>&6
8899 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
8900 echo "configure:8901: checking for fmodf declaration" >&5
8901 if test x
${glibcpp_cv_func_fmodf_use+set} != xset
; then
8902 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
8903 echo $ac_n "(cached) $ac_c" 1>&6
8908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8909 ac_cpp
='$CXXCPP $CPPFLAGS'
8910 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8911 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8912 cross_compiling
=$ac_cv_prog_cxx_cross
8914 cat > conftest.
$ac_ext <<EOF
8915 #line 8916 "configure"
8916 #include "confdefs.h"
8922 if { (eval echo configure
:8923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8924 glibcpp_cv_func_fmodf_use
=yes
8926 echo "configure: failed program was:" >&5
8927 cat conftest.
$ac_ext >&5
8929 glibcpp_cv_func_fmodf_use
=no
8933 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8934 ac_cpp
='$CPP $CPPFLAGS'
8935 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8936 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8937 cross_compiling
=$ac_cv_prog_cc_cross
8943 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
8945 if test x
$glibcpp_cv_func_fmodf_use = x
"yes"; then
8946 for ac_func
in fmodf
8948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8949 echo "configure:8950: checking for $ac_func" >&5
8950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8951 echo $ac_n "(cached) $ac_c" 1>&6
8953 cat > conftest.
$ac_ext <<EOF
8954 #line 8955 "configure"
8955 #include "confdefs.h"
8956 /* System header to define __stub macros and hopefully few prototypes,
8957 which can conflict with char $ac_func(); below. */
8959 /* Override any gcc2 internal prototype to avoid an error. */
8960 /* We use char because int might match the return type of a gcc2
8961 builtin and then its argument prototype would still apply. */
8966 /* The GNU C library defines this for functions which it implements
8967 to always fail with ENOSYS. Some functions are actually named
8968 something starting with __ and the normal name is an alias. */
8969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8977 if { (eval echo configure
:8978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8979 eval "ac_cv_func_$ac_func=yes"
8981 echo "configure: failed program was:" >&5
8982 cat conftest.
$ac_ext >&5
8984 eval "ac_cv_func_$ac_func=no"
8989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8990 echo "$ac_t""yes" 1>&6
8991 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8992 cat >> confdefs.h
<<EOF
8993 #define $ac_tr_func 1
8997 echo "$ac_t""no" 1>&6
9003 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
9004 echo "configure:9005: checking for _fmodf declaration" >&5
9005 if test x
${glibcpp_cv_func__fmodf_use+set} != xset
; then
9006 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
9007 echo $ac_n "(cached) $ac_c" 1>&6
9012 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9013 ac_cpp
='$CXXCPP $CPPFLAGS'
9014 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9015 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9016 cross_compiling
=$ac_cv_prog_cxx_cross
9018 cat > conftest.
$ac_ext <<EOF
9019 #line 9020 "configure"
9020 #include "confdefs.h"
9026 if { (eval echo configure
:9027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9028 glibcpp_cv_func__fmodf_use
=yes
9030 echo "configure: failed program was:" >&5
9031 cat conftest.
$ac_ext >&5
9033 glibcpp_cv_func__fmodf_use
=no
9037 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9038 ac_cpp
='$CPP $CPPFLAGS'
9039 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9040 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9041 cross_compiling
=$ac_cv_prog_cc_cross
9047 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
9049 if test x
$glibcpp_cv_func__fmodf_use = x
"yes"; then
9050 for ac_func
in _fmodf
9052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9053 echo "configure:9054: checking for $ac_func" >&5
9054 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9055 echo $ac_n "(cached) $ac_c" 1>&6
9057 cat > conftest.
$ac_ext <<EOF
9058 #line 9059 "configure"
9059 #include "confdefs.h"
9060 /* System header to define __stub macros and hopefully few prototypes,
9061 which can conflict with char $ac_func(); below. */
9063 /* Override any gcc2 internal prototype to avoid an error. */
9064 /* We use char because int might match the return type of a gcc2
9065 builtin and then its argument prototype would still apply. */
9070 /* The GNU C library defines this for functions which it implements
9071 to always fail with ENOSYS. Some functions are actually named
9072 something starting with __ and the normal name is an alias. */
9073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9081 if { (eval echo configure
:9082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9083 eval "ac_cv_func_$ac_func=yes"
9085 echo "configure: failed program was:" >&5
9086 cat conftest.
$ac_ext >&5
9088 eval "ac_cv_func_$ac_func=no"
9093 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9094 echo "$ac_t""yes" 1>&6
9095 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9096 cat >> confdefs.h
<<EOF
9097 #define $ac_tr_func 1
9101 echo "$ac_t""no" 1>&6
9110 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
9111 echo "configure:9112: checking for frexpf declaration" >&5
9112 if test x
${glibcpp_cv_func_frexpf_use+set} != xset
; then
9113 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
9114 echo $ac_n "(cached) $ac_c" 1>&6
9119 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9120 ac_cpp
='$CXXCPP $CPPFLAGS'
9121 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9122 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9123 cross_compiling
=$ac_cv_prog_cxx_cross
9125 cat > conftest.
$ac_ext <<EOF
9126 #line 9127 "configure"
9127 #include "confdefs.h"
9133 if { (eval echo configure
:9134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9135 glibcpp_cv_func_frexpf_use
=yes
9137 echo "configure: failed program was:" >&5
9138 cat conftest.
$ac_ext >&5
9140 glibcpp_cv_func_frexpf_use
=no
9144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9145 ac_cpp
='$CPP $CPPFLAGS'
9146 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9147 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9148 cross_compiling
=$ac_cv_prog_cc_cross
9154 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
9156 if test x
$glibcpp_cv_func_frexpf_use = x
"yes"; then
9157 for ac_func
in frexpf
9159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9160 echo "configure:9161: checking for $ac_func" >&5
9161 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9162 echo $ac_n "(cached) $ac_c" 1>&6
9164 cat > conftest.
$ac_ext <<EOF
9165 #line 9166 "configure"
9166 #include "confdefs.h"
9167 /* System header to define __stub macros and hopefully few prototypes,
9168 which can conflict with char $ac_func(); below. */
9170 /* Override any gcc2 internal prototype to avoid an error. */
9171 /* We use char because int might match the return type of a gcc2
9172 builtin and then its argument prototype would still apply. */
9177 /* The GNU C library defines this for functions which it implements
9178 to always fail with ENOSYS. Some functions are actually named
9179 something starting with __ and the normal name is an alias. */
9180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9188 if { (eval echo configure
:9189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9190 eval "ac_cv_func_$ac_func=yes"
9192 echo "configure: failed program was:" >&5
9193 cat conftest.
$ac_ext >&5
9195 eval "ac_cv_func_$ac_func=no"
9200 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9201 echo "$ac_t""yes" 1>&6
9202 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9203 cat >> confdefs.h
<<EOF
9204 #define $ac_tr_func 1
9208 echo "$ac_t""no" 1>&6
9214 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
9215 echo "configure:9216: checking for _frexpf declaration" >&5
9216 if test x
${glibcpp_cv_func__frexpf_use+set} != xset
; then
9217 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9218 echo $ac_n "(cached) $ac_c" 1>&6
9223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9224 ac_cpp
='$CXXCPP $CPPFLAGS'
9225 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9226 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9227 cross_compiling
=$ac_cv_prog_cxx_cross
9229 cat > conftest.
$ac_ext <<EOF
9230 #line 9231 "configure"
9231 #include "confdefs.h"
9237 if { (eval echo configure
:9238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9239 glibcpp_cv_func__frexpf_use
=yes
9241 echo "configure: failed program was:" >&5
9242 cat conftest.
$ac_ext >&5
9244 glibcpp_cv_func__frexpf_use
=no
9248 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9249 ac_cpp
='$CPP $CPPFLAGS'
9250 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9251 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9252 cross_compiling
=$ac_cv_prog_cc_cross
9258 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9260 if test x
$glibcpp_cv_func__frexpf_use = x
"yes"; then
9261 for ac_func
in _frexpf
9263 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9264 echo "configure:9265: checking for $ac_func" >&5
9265 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9266 echo $ac_n "(cached) $ac_c" 1>&6
9268 cat > conftest.
$ac_ext <<EOF
9269 #line 9270 "configure"
9270 #include "confdefs.h"
9271 /* System header to define __stub macros and hopefully few prototypes,
9272 which can conflict with char $ac_func(); below. */
9274 /* Override any gcc2 internal prototype to avoid an error. */
9275 /* We use char because int might match the return type of a gcc2
9276 builtin and then its argument prototype would still apply. */
9281 /* The GNU C library defines this for functions which it implements
9282 to always fail with ENOSYS. Some functions are actually named
9283 something starting with __ and the normal name is an alias. */
9284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9292 if { (eval echo configure
:9293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9294 eval "ac_cv_func_$ac_func=yes"
9296 echo "configure: failed program was:" >&5
9297 cat conftest.
$ac_ext >&5
9299 eval "ac_cv_func_$ac_func=no"
9304 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9305 echo "$ac_t""yes" 1>&6
9306 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9307 cat >> confdefs.h
<<EOF
9308 #define $ac_tr_func 1
9312 echo "$ac_t""no" 1>&6
9321 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
9322 echo "configure:9323: checking for ldexpf declaration" >&5
9323 if test x
${glibcpp_cv_func_ldexpf_use+set} != xset
; then
9324 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
9325 echo $ac_n "(cached) $ac_c" 1>&6
9330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9331 ac_cpp
='$CXXCPP $CPPFLAGS'
9332 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9333 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9334 cross_compiling
=$ac_cv_prog_cxx_cross
9336 cat > conftest.
$ac_ext <<EOF
9337 #line 9338 "configure"
9338 #include "confdefs.h"
9344 if { (eval echo configure
:9345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9346 glibcpp_cv_func_ldexpf_use
=yes
9348 echo "configure: failed program was:" >&5
9349 cat conftest.
$ac_ext >&5
9351 glibcpp_cv_func_ldexpf_use
=no
9355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9356 ac_cpp
='$CPP $CPPFLAGS'
9357 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9358 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9359 cross_compiling
=$ac_cv_prog_cc_cross
9365 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
9367 if test x
$glibcpp_cv_func_ldexpf_use = x
"yes"; then
9368 for ac_func
in ldexpf
9370 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9371 echo "configure:9372: checking for $ac_func" >&5
9372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9373 echo $ac_n "(cached) $ac_c" 1>&6
9375 cat > conftest.
$ac_ext <<EOF
9376 #line 9377 "configure"
9377 #include "confdefs.h"
9378 /* System header to define __stub macros and hopefully few prototypes,
9379 which can conflict with char $ac_func(); below. */
9381 /* Override any gcc2 internal prototype to avoid an error. */
9382 /* We use char because int might match the return type of a gcc2
9383 builtin and then its argument prototype would still apply. */
9388 /* The GNU C library defines this for functions which it implements
9389 to always fail with ENOSYS. Some functions are actually named
9390 something starting with __ and the normal name is an alias. */
9391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9399 if { (eval echo configure
:9400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9401 eval "ac_cv_func_$ac_func=yes"
9403 echo "configure: failed program was:" >&5
9404 cat conftest.
$ac_ext >&5
9406 eval "ac_cv_func_$ac_func=no"
9411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9412 echo "$ac_t""yes" 1>&6
9413 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9414 cat >> confdefs.h
<<EOF
9415 #define $ac_tr_func 1
9419 echo "$ac_t""no" 1>&6
9425 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
9426 echo "configure:9427: checking for _ldexpf declaration" >&5
9427 if test x
${glibcpp_cv_func__ldexpf_use+set} != xset
; then
9428 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9429 echo $ac_n "(cached) $ac_c" 1>&6
9434 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9435 ac_cpp
='$CXXCPP $CPPFLAGS'
9436 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9437 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9438 cross_compiling
=$ac_cv_prog_cxx_cross
9440 cat > conftest.
$ac_ext <<EOF
9441 #line 9442 "configure"
9442 #include "confdefs.h"
9448 if { (eval echo configure
:9449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9450 glibcpp_cv_func__ldexpf_use
=yes
9452 echo "configure: failed program was:" >&5
9453 cat conftest.
$ac_ext >&5
9455 glibcpp_cv_func__ldexpf_use
=no
9459 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9460 ac_cpp
='$CPP $CPPFLAGS'
9461 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9462 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9463 cross_compiling
=$ac_cv_prog_cc_cross
9469 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
9471 if test x
$glibcpp_cv_func__ldexpf_use = x
"yes"; then
9472 for ac_func
in _ldexpf
9474 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9475 echo "configure:9476: checking for $ac_func" >&5
9476 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9477 echo $ac_n "(cached) $ac_c" 1>&6
9479 cat > conftest.
$ac_ext <<EOF
9480 #line 9481 "configure"
9481 #include "confdefs.h"
9482 /* System header to define __stub macros and hopefully few prototypes,
9483 which can conflict with char $ac_func(); below. */
9485 /* Override any gcc2 internal prototype to avoid an error. */
9486 /* We use char because int might match the return type of a gcc2
9487 builtin and then its argument prototype would still apply. */
9492 /* The GNU C library defines this for functions which it implements
9493 to always fail with ENOSYS. Some functions are actually named
9494 something starting with __ and the normal name is an alias. */
9495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9503 if { (eval echo configure
:9504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9505 eval "ac_cv_func_$ac_func=yes"
9507 echo "configure: failed program was:" >&5
9508 cat conftest.
$ac_ext >&5
9510 eval "ac_cv_func_$ac_func=no"
9515 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9516 echo "$ac_t""yes" 1>&6
9517 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9518 cat >> confdefs.h
<<EOF
9519 #define $ac_tr_func 1
9523 echo "$ac_t""no" 1>&6
9532 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
9533 echo "configure:9534: checking for logf declaration" >&5
9534 if test x
${glibcpp_cv_func_logf_use+set} != xset
; then
9535 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
9536 echo $ac_n "(cached) $ac_c" 1>&6
9541 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9542 ac_cpp
='$CXXCPP $CPPFLAGS'
9543 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9544 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9545 cross_compiling
=$ac_cv_prog_cxx_cross
9547 cat > conftest.
$ac_ext <<EOF
9548 #line 9549 "configure"
9549 #include "confdefs.h"
9551 #ifdef HAVE_IEEEFP_H
9559 if { (eval echo configure
:9560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9561 glibcpp_cv_func_logf_use
=yes
9563 echo "configure: failed program was:" >&5
9564 cat conftest.
$ac_ext >&5
9566 glibcpp_cv_func_logf_use
=no
9570 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9571 ac_cpp
='$CPP $CPPFLAGS'
9572 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9573 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9574 cross_compiling
=$ac_cv_prog_cc_cross
9580 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
9582 if test x
$glibcpp_cv_func_logf_use = x
"yes"; then
9585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9586 echo "configure:9587: checking for $ac_func" >&5
9587 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9588 echo $ac_n "(cached) $ac_c" 1>&6
9590 cat > conftest.
$ac_ext <<EOF
9591 #line 9592 "configure"
9592 #include "confdefs.h"
9593 /* System header to define __stub macros and hopefully few prototypes,
9594 which can conflict with char $ac_func(); below. */
9596 /* Override any gcc2 internal prototype to avoid an error. */
9597 /* We use char because int might match the return type of a gcc2
9598 builtin and then its argument prototype would still apply. */
9603 /* The GNU C library defines this for functions which it implements
9604 to always fail with ENOSYS. Some functions are actually named
9605 something starting with __ and the normal name is an alias. */
9606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9614 if { (eval echo configure
:9615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9616 eval "ac_cv_func_$ac_func=yes"
9618 echo "configure: failed program was:" >&5
9619 cat conftest.
$ac_ext >&5
9621 eval "ac_cv_func_$ac_func=no"
9626 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9627 echo "$ac_t""yes" 1>&6
9628 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9629 cat >> confdefs.h
<<EOF
9630 #define $ac_tr_func 1
9634 echo "$ac_t""no" 1>&6
9640 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
9641 echo "configure:9642: checking for _logf declaration" >&5
9642 if test x
${glibcpp_cv_func__logf_use+set} != xset
; then
9643 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
9644 echo $ac_n "(cached) $ac_c" 1>&6
9649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9650 ac_cpp
='$CXXCPP $CPPFLAGS'
9651 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9652 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9653 cross_compiling
=$ac_cv_prog_cxx_cross
9655 cat > conftest.
$ac_ext <<EOF
9656 #line 9657 "configure"
9657 #include "confdefs.h"
9659 #ifdef HAVE_IEEEFP_H
9667 if { (eval echo configure
:9668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9669 glibcpp_cv_func__logf_use
=yes
9671 echo "configure: failed program was:" >&5
9672 cat conftest.
$ac_ext >&5
9674 glibcpp_cv_func__logf_use
=no
9678 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9679 ac_cpp
='$CPP $CPPFLAGS'
9680 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9681 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9682 cross_compiling
=$ac_cv_prog_cc_cross
9688 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
9690 if test x
$glibcpp_cv_func__logf_use = x
"yes"; then
9691 for ac_func
in _logf
9693 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9694 echo "configure:9695: checking for $ac_func" >&5
9695 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9696 echo $ac_n "(cached) $ac_c" 1>&6
9698 cat > conftest.
$ac_ext <<EOF
9699 #line 9700 "configure"
9700 #include "confdefs.h"
9701 /* System header to define __stub macros and hopefully few prototypes,
9702 which can conflict with char $ac_func(); below. */
9704 /* Override any gcc2 internal prototype to avoid an error. */
9705 /* We use char because int might match the return type of a gcc2
9706 builtin and then its argument prototype would still apply. */
9711 /* The GNU C library defines this for functions which it implements
9712 to always fail with ENOSYS. Some functions are actually named
9713 something starting with __ and the normal name is an alias. */
9714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9722 if { (eval echo configure
:9723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9724 eval "ac_cv_func_$ac_func=yes"
9726 echo "configure: failed program was:" >&5
9727 cat conftest.
$ac_ext >&5
9729 eval "ac_cv_func_$ac_func=no"
9734 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9735 echo "$ac_t""yes" 1>&6
9736 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9737 cat >> confdefs.h
<<EOF
9738 #define $ac_tr_func 1
9742 echo "$ac_t""no" 1>&6
9751 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
9752 echo "configure:9753: checking for log10f declaration" >&5
9753 if test x
${glibcpp_cv_func_log10f_use+set} != xset
; then
9754 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
9755 echo $ac_n "(cached) $ac_c" 1>&6
9760 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9761 ac_cpp
='$CXXCPP $CPPFLAGS'
9762 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9763 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9764 cross_compiling
=$ac_cv_prog_cxx_cross
9766 cat > conftest.
$ac_ext <<EOF
9767 #line 9768 "configure"
9768 #include "confdefs.h"
9770 #ifdef HAVE_IEEEFP_H
9778 if { (eval echo configure
:9779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9780 glibcpp_cv_func_log10f_use
=yes
9782 echo "configure: failed program was:" >&5
9783 cat conftest.
$ac_ext >&5
9785 glibcpp_cv_func_log10f_use
=no
9789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9790 ac_cpp
='$CPP $CPPFLAGS'
9791 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9792 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9793 cross_compiling
=$ac_cv_prog_cc_cross
9799 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
9801 if test x
$glibcpp_cv_func_log10f_use = x
"yes"; then
9802 for ac_func
in log10f
9804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9805 echo "configure:9806: checking for $ac_func" >&5
9806 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9807 echo $ac_n "(cached) $ac_c" 1>&6
9809 cat > conftest.
$ac_ext <<EOF
9810 #line 9811 "configure"
9811 #include "confdefs.h"
9812 /* System header to define __stub macros and hopefully few prototypes,
9813 which can conflict with char $ac_func(); below. */
9815 /* Override any gcc2 internal prototype to avoid an error. */
9816 /* We use char because int might match the return type of a gcc2
9817 builtin and then its argument prototype would still apply. */
9822 /* The GNU C library defines this for functions which it implements
9823 to always fail with ENOSYS. Some functions are actually named
9824 something starting with __ and the normal name is an alias. */
9825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9833 if { (eval echo configure
:9834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9835 eval "ac_cv_func_$ac_func=yes"
9837 echo "configure: failed program was:" >&5
9838 cat conftest.
$ac_ext >&5
9840 eval "ac_cv_func_$ac_func=no"
9845 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9846 echo "$ac_t""yes" 1>&6
9847 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9848 cat >> confdefs.h
<<EOF
9849 #define $ac_tr_func 1
9853 echo "$ac_t""no" 1>&6
9859 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
9860 echo "configure:9861: checking for _log10f declaration" >&5
9861 if test x
${glibcpp_cv_func__log10f_use+set} != xset
; then
9862 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
9863 echo $ac_n "(cached) $ac_c" 1>&6
9868 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9869 ac_cpp
='$CXXCPP $CPPFLAGS'
9870 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9871 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9872 cross_compiling
=$ac_cv_prog_cxx_cross
9874 cat > conftest.
$ac_ext <<EOF
9875 #line 9876 "configure"
9876 #include "confdefs.h"
9878 #ifdef HAVE_IEEEFP_H
9886 if { (eval echo configure
:9887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9888 glibcpp_cv_func__log10f_use
=yes
9890 echo "configure: failed program was:" >&5
9891 cat conftest.
$ac_ext >&5
9893 glibcpp_cv_func__log10f_use
=no
9897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9898 ac_cpp
='$CPP $CPPFLAGS'
9899 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9900 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9901 cross_compiling
=$ac_cv_prog_cc_cross
9907 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
9909 if test x
$glibcpp_cv_func__log10f_use = x
"yes"; then
9910 for ac_func
in _log10f
9912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9913 echo "configure:9914: checking for $ac_func" >&5
9914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9915 echo $ac_n "(cached) $ac_c" 1>&6
9917 cat > conftest.
$ac_ext <<EOF
9918 #line 9919 "configure"
9919 #include "confdefs.h"
9920 /* System header to define __stub macros and hopefully few prototypes,
9921 which can conflict with char $ac_func(); below. */
9923 /* Override any gcc2 internal prototype to avoid an error. */
9924 /* We use char because int might match the return type of a gcc2
9925 builtin and then its argument prototype would still apply. */
9930 /* The GNU C library defines this for functions which it implements
9931 to always fail with ENOSYS. Some functions are actually named
9932 something starting with __ and the normal name is an alias. */
9933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9941 if { (eval echo configure
:9942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9943 eval "ac_cv_func_$ac_func=yes"
9945 echo "configure: failed program was:" >&5
9946 cat conftest.
$ac_ext >&5
9948 eval "ac_cv_func_$ac_func=no"
9953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9954 echo "$ac_t""yes" 1>&6
9955 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9956 cat >> confdefs.h
<<EOF
9957 #define $ac_tr_func 1
9961 echo "$ac_t""no" 1>&6
9970 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
9971 echo "configure:9972: checking for modff declaration" >&5
9972 if test x
${glibcpp_cv_func_modff_use+set} != xset
; then
9973 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
9974 echo $ac_n "(cached) $ac_c" 1>&6
9979 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9980 ac_cpp
='$CXXCPP $CPPFLAGS'
9981 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9982 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9983 cross_compiling
=$ac_cv_prog_cxx_cross
9985 cat > conftest.
$ac_ext <<EOF
9986 #line 9987 "configure"
9987 #include "confdefs.h"
9993 if { (eval echo configure
:9994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9995 glibcpp_cv_func_modff_use
=yes
9997 echo "configure: failed program was:" >&5
9998 cat conftest.
$ac_ext >&5
10000 glibcpp_cv_func_modff_use
=no
10004 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10005 ac_cpp
='$CPP $CPPFLAGS'
10006 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10007 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10008 cross_compiling
=$ac_cv_prog_cc_cross
10014 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
10016 if test x
$glibcpp_cv_func_modff_use = x
"yes"; then
10017 for ac_func
in modff
10019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10020 echo "configure:10021: checking for $ac_func" >&5
10021 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10022 echo $ac_n "(cached) $ac_c" 1>&6
10024 cat > conftest.
$ac_ext <<EOF
10025 #line 10026 "configure"
10026 #include "confdefs.h"
10027 /* System header to define __stub macros and hopefully few prototypes,
10028 which can conflict with char $ac_func(); below. */
10029 #include <assert.h>
10030 /* Override any gcc2 internal prototype to avoid an error. */
10031 /* We use char because int might match the return type of a gcc2
10032 builtin and then its argument prototype would still apply. */
10037 /* The GNU C library defines this for functions which it implements
10038 to always fail with ENOSYS. Some functions are actually named
10039 something starting with __ and the normal name is an alias. */
10040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10048 if { (eval echo configure
:10049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10050 eval "ac_cv_func_$ac_func=yes"
10052 echo "configure: failed program was:" >&5
10053 cat conftest.
$ac_ext >&5
10055 eval "ac_cv_func_$ac_func=no"
10060 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10061 echo "$ac_t""yes" 1>&6
10062 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10063 cat >> confdefs.h
<<EOF
10064 #define $ac_tr_func 1
10068 echo "$ac_t""no" 1>&6
10074 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
10075 echo "configure:10076: checking for _modff declaration" >&5
10076 if test x
${glibcpp_cv_func__modff_use+set} != xset
; then
10077 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
10078 echo $ac_n "(cached) $ac_c" 1>&6
10083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10084 ac_cpp
='$CXXCPP $CPPFLAGS'
10085 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10086 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10087 cross_compiling
=$ac_cv_prog_cxx_cross
10089 cat > conftest.
$ac_ext <<EOF
10090 #line 10091 "configure"
10091 #include "confdefs.h"
10097 if { (eval echo configure
:10098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10099 glibcpp_cv_func__modff_use
=yes
10101 echo "configure: failed program was:" >&5
10102 cat conftest.
$ac_ext >&5
10104 glibcpp_cv_func__modff_use
=no
10108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10109 ac_cpp
='$CPP $CPPFLAGS'
10110 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10111 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10112 cross_compiling
=$ac_cv_prog_cc_cross
10118 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
10120 if test x
$glibcpp_cv_func__modff_use = x
"yes"; then
10121 for ac_func
in _modff
10123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10124 echo "configure:10125: checking for $ac_func" >&5
10125 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10126 echo $ac_n "(cached) $ac_c" 1>&6
10128 cat > conftest.
$ac_ext <<EOF
10129 #line 10130 "configure"
10130 #include "confdefs.h"
10131 /* System header to define __stub macros and hopefully few prototypes,
10132 which can conflict with char $ac_func(); below. */
10133 #include <assert.h>
10134 /* Override any gcc2 internal prototype to avoid an error. */
10135 /* We use char because int might match the return type of a gcc2
10136 builtin and then its argument prototype would still apply. */
10141 /* The GNU C library defines this for functions which it implements
10142 to always fail with ENOSYS. Some functions are actually named
10143 something starting with __ and the normal name is an alias. */
10144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10152 if { (eval echo configure
:10153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10154 eval "ac_cv_func_$ac_func=yes"
10156 echo "configure: failed program was:" >&5
10157 cat conftest.
$ac_ext >&5
10159 eval "ac_cv_func_$ac_func=no"
10164 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10165 echo "$ac_t""yes" 1>&6
10166 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10167 cat >> confdefs.h
<<EOF
10168 #define $ac_tr_func 1
10172 echo "$ac_t""no" 1>&6
10181 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
10182 echo "configure:10183: checking for powf declaration" >&5
10183 if test x
${glibcpp_cv_func_powf_use+set} != xset
; then
10184 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10185 echo $ac_n "(cached) $ac_c" 1>&6
10190 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10191 ac_cpp
='$CXXCPP $CPPFLAGS'
10192 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10193 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10194 cross_compiling
=$ac_cv_prog_cxx_cross
10196 cat > conftest.
$ac_ext <<EOF
10197 #line 10198 "configure"
10198 #include "confdefs.h"
10204 if { (eval echo configure
:10205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10206 glibcpp_cv_func_powf_use
=yes
10208 echo "configure: failed program was:" >&5
10209 cat conftest.
$ac_ext >&5
10211 glibcpp_cv_func_powf_use
=no
10215 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10216 ac_cpp
='$CPP $CPPFLAGS'
10217 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10218 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10219 cross_compiling
=$ac_cv_prog_cc_cross
10225 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10227 if test x
$glibcpp_cv_func_powf_use = x
"yes"; then
10228 for ac_func
in powf
10230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10231 echo "configure:10232: checking for $ac_func" >&5
10232 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10233 echo $ac_n "(cached) $ac_c" 1>&6
10235 cat > conftest.
$ac_ext <<EOF
10236 #line 10237 "configure"
10237 #include "confdefs.h"
10238 /* System header to define __stub macros and hopefully few prototypes,
10239 which can conflict with char $ac_func(); below. */
10240 #include <assert.h>
10241 /* Override any gcc2 internal prototype to avoid an error. */
10242 /* We use char because int might match the return type of a gcc2
10243 builtin and then its argument prototype would still apply. */
10248 /* The GNU C library defines this for functions which it implements
10249 to always fail with ENOSYS. Some functions are actually named
10250 something starting with __ and the normal name is an alias. */
10251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10259 if { (eval echo configure
:10260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10261 eval "ac_cv_func_$ac_func=yes"
10263 echo "configure: failed program was:" >&5
10264 cat conftest.
$ac_ext >&5
10266 eval "ac_cv_func_$ac_func=no"
10271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10272 echo "$ac_t""yes" 1>&6
10273 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10274 cat >> confdefs.h
<<EOF
10275 #define $ac_tr_func 1
10279 echo "$ac_t""no" 1>&6
10285 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
10286 echo "configure:10287: checking for _powf declaration" >&5
10287 if test x
${glibcpp_cv_func__powf_use+set} != xset
; then
10288 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10289 echo $ac_n "(cached) $ac_c" 1>&6
10294 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10295 ac_cpp
='$CXXCPP $CPPFLAGS'
10296 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10297 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10298 cross_compiling
=$ac_cv_prog_cxx_cross
10300 cat > conftest.
$ac_ext <<EOF
10301 #line 10302 "configure"
10302 #include "confdefs.h"
10308 if { (eval echo configure
:10309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10310 glibcpp_cv_func__powf_use
=yes
10312 echo "configure: failed program was:" >&5
10313 cat conftest.
$ac_ext >&5
10315 glibcpp_cv_func__powf_use
=no
10319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10320 ac_cpp
='$CPP $CPPFLAGS'
10321 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10322 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10323 cross_compiling
=$ac_cv_prog_cc_cross
10329 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
10331 if test x
$glibcpp_cv_func__powf_use = x
"yes"; then
10332 for ac_func
in _powf
10334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10335 echo "configure:10336: checking for $ac_func" >&5
10336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10337 echo $ac_n "(cached) $ac_c" 1>&6
10339 cat > conftest.
$ac_ext <<EOF
10340 #line 10341 "configure"
10341 #include "confdefs.h"
10342 /* System header to define __stub macros and hopefully few prototypes,
10343 which can conflict with char $ac_func(); below. */
10344 #include <assert.h>
10345 /* Override any gcc2 internal prototype to avoid an error. */
10346 /* We use char because int might match the return type of a gcc2
10347 builtin and then its argument prototype would still apply. */
10352 /* The GNU C library defines this for functions which it implements
10353 to always fail with ENOSYS. Some functions are actually named
10354 something starting with __ and the normal name is an alias. */
10355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10363 if { (eval echo configure
:10364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10365 eval "ac_cv_func_$ac_func=yes"
10367 echo "configure: failed program was:" >&5
10368 cat conftest.
$ac_ext >&5
10370 eval "ac_cv_func_$ac_func=no"
10375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10376 echo "$ac_t""yes" 1>&6
10377 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10378 cat >> confdefs.h
<<EOF
10379 #define $ac_tr_func 1
10383 echo "$ac_t""no" 1>&6
10392 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
10393 echo "configure:10394: checking for sqrtf declaration" >&5
10394 if test x
${glibcpp_cv_func_sqrtf_use+set} != xset
; then
10395 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10396 echo $ac_n "(cached) $ac_c" 1>&6
10401 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10402 ac_cpp
='$CXXCPP $CPPFLAGS'
10403 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10404 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10405 cross_compiling
=$ac_cv_prog_cxx_cross
10407 cat > conftest.
$ac_ext <<EOF
10408 #line 10409 "configure"
10409 #include "confdefs.h"
10411 #ifdef HAVE_IEEEFP_H
10412 #include <ieeefp.h>
10419 if { (eval echo configure
:10420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10421 glibcpp_cv_func_sqrtf_use
=yes
10423 echo "configure: failed program was:" >&5
10424 cat conftest.
$ac_ext >&5
10426 glibcpp_cv_func_sqrtf_use
=no
10430 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10431 ac_cpp
='$CPP $CPPFLAGS'
10432 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10433 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10434 cross_compiling
=$ac_cv_prog_cc_cross
10440 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10442 if test x
$glibcpp_cv_func_sqrtf_use = x
"yes"; then
10443 for ac_func
in sqrtf
10445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10446 echo "configure:10447: checking for $ac_func" >&5
10447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10448 echo $ac_n "(cached) $ac_c" 1>&6
10450 cat > conftest.
$ac_ext <<EOF
10451 #line 10452 "configure"
10452 #include "confdefs.h"
10453 /* System header to define __stub macros and hopefully few prototypes,
10454 which can conflict with char $ac_func(); below. */
10455 #include <assert.h>
10456 /* Override any gcc2 internal prototype to avoid an error. */
10457 /* We use char because int might match the return type of a gcc2
10458 builtin and then its argument prototype would still apply. */
10463 /* The GNU C library defines this for functions which it implements
10464 to always fail with ENOSYS. Some functions are actually named
10465 something starting with __ and the normal name is an alias. */
10466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10474 if { (eval echo configure
:10475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10476 eval "ac_cv_func_$ac_func=yes"
10478 echo "configure: failed program was:" >&5
10479 cat conftest.
$ac_ext >&5
10481 eval "ac_cv_func_$ac_func=no"
10486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10487 echo "$ac_t""yes" 1>&6
10488 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10489 cat >> confdefs.h
<<EOF
10490 #define $ac_tr_func 1
10494 echo "$ac_t""no" 1>&6
10500 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
10501 echo "configure:10502: checking for _sqrtf declaration" >&5
10502 if test x
${glibcpp_cv_func__sqrtf_use+set} != xset
; then
10503 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
10504 echo $ac_n "(cached) $ac_c" 1>&6
10509 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10510 ac_cpp
='$CXXCPP $CPPFLAGS'
10511 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10512 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10513 cross_compiling
=$ac_cv_prog_cxx_cross
10515 cat > conftest.
$ac_ext <<EOF
10516 #line 10517 "configure"
10517 #include "confdefs.h"
10519 #ifdef HAVE_IEEEFP_H
10520 #include <ieeefp.h>
10527 if { (eval echo configure
:10528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10529 glibcpp_cv_func__sqrtf_use
=yes
10531 echo "configure: failed program was:" >&5
10532 cat conftest.
$ac_ext >&5
10534 glibcpp_cv_func__sqrtf_use
=no
10538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10539 ac_cpp
='$CPP $CPPFLAGS'
10540 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10541 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10542 cross_compiling
=$ac_cv_prog_cc_cross
10548 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
10550 if test x
$glibcpp_cv_func__sqrtf_use = x
"yes"; then
10551 for ac_func
in _sqrtf
10553 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10554 echo "configure:10555: checking for $ac_func" >&5
10555 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10556 echo $ac_n "(cached) $ac_c" 1>&6
10558 cat > conftest.
$ac_ext <<EOF
10559 #line 10560 "configure"
10560 #include "confdefs.h"
10561 /* System header to define __stub macros and hopefully few prototypes,
10562 which can conflict with char $ac_func(); below. */
10563 #include <assert.h>
10564 /* Override any gcc2 internal prototype to avoid an error. */
10565 /* We use char because int might match the return type of a gcc2
10566 builtin and then its argument prototype would still apply. */
10571 /* The GNU C library defines this for functions which it implements
10572 to always fail with ENOSYS. Some functions are actually named
10573 something starting with __ and the normal name is an alias. */
10574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10582 if { (eval echo configure
:10583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10584 eval "ac_cv_func_$ac_func=yes"
10586 echo "configure: failed program was:" >&5
10587 cat conftest.
$ac_ext >&5
10589 eval "ac_cv_func_$ac_func=no"
10594 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10595 echo "$ac_t""yes" 1>&6
10596 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10597 cat >> confdefs.h
<<EOF
10598 #define $ac_tr_func 1
10602 echo "$ac_t""no" 1>&6
10611 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
10612 echo "configure:10613: checking for sincosf declaration" >&5
10613 if test x
${glibcpp_cv_func_sincosf_use+set} != xset
; then
10614 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
10615 echo $ac_n "(cached) $ac_c" 1>&6
10620 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10621 ac_cpp
='$CXXCPP $CPPFLAGS'
10622 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10623 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10624 cross_compiling
=$ac_cv_prog_cxx_cross
10626 cat > conftest.
$ac_ext <<EOF
10627 #line 10628 "configure"
10628 #include "confdefs.h"
10634 if { (eval echo configure
:10635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10636 glibcpp_cv_func_sincosf_use
=yes
10638 echo "configure: failed program was:" >&5
10639 cat conftest.
$ac_ext >&5
10641 glibcpp_cv_func_sincosf_use
=no
10645 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10646 ac_cpp
='$CPP $CPPFLAGS'
10647 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10648 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10649 cross_compiling
=$ac_cv_prog_cc_cross
10655 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
10657 if test x
$glibcpp_cv_func_sincosf_use = x
"yes"; then
10658 for ac_func
in sincosf
10660 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10661 echo "configure:10662: checking for $ac_func" >&5
10662 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10663 echo $ac_n "(cached) $ac_c" 1>&6
10665 cat > conftest.
$ac_ext <<EOF
10666 #line 10667 "configure"
10667 #include "confdefs.h"
10668 /* System header to define __stub macros and hopefully few prototypes,
10669 which can conflict with char $ac_func(); below. */
10670 #include <assert.h>
10671 /* Override any gcc2 internal prototype to avoid an error. */
10672 /* We use char because int might match the return type of a gcc2
10673 builtin and then its argument prototype would still apply. */
10678 /* The GNU C library defines this for functions which it implements
10679 to always fail with ENOSYS. Some functions are actually named
10680 something starting with __ and the normal name is an alias. */
10681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10689 if { (eval echo configure
:10690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10691 eval "ac_cv_func_$ac_func=yes"
10693 echo "configure: failed program was:" >&5
10694 cat conftest.
$ac_ext >&5
10696 eval "ac_cv_func_$ac_func=no"
10701 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10702 echo "$ac_t""yes" 1>&6
10703 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10704 cat >> confdefs.h
<<EOF
10705 #define $ac_tr_func 1
10709 echo "$ac_t""no" 1>&6
10715 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
10716 echo "configure:10717: checking for _sincosf declaration" >&5
10717 if test x
${glibcpp_cv_func__sincosf_use+set} != xset
; then
10718 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
10719 echo $ac_n "(cached) $ac_c" 1>&6
10724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10725 ac_cpp
='$CXXCPP $CPPFLAGS'
10726 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10727 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10728 cross_compiling
=$ac_cv_prog_cxx_cross
10730 cat > conftest.
$ac_ext <<EOF
10731 #line 10732 "configure"
10732 #include "confdefs.h"
10738 if { (eval echo configure
:10739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10740 glibcpp_cv_func__sincosf_use
=yes
10742 echo "configure: failed program was:" >&5
10743 cat conftest.
$ac_ext >&5
10745 glibcpp_cv_func__sincosf_use
=no
10749 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10750 ac_cpp
='$CPP $CPPFLAGS'
10751 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10752 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10753 cross_compiling
=$ac_cv_prog_cc_cross
10759 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
10761 if test x
$glibcpp_cv_func__sincosf_use = x
"yes"; then
10762 for ac_func
in _sincosf
10764 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10765 echo "configure:10766: checking for $ac_func" >&5
10766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10767 echo $ac_n "(cached) $ac_c" 1>&6
10769 cat > conftest.
$ac_ext <<EOF
10770 #line 10771 "configure"
10771 #include "confdefs.h"
10772 /* System header to define __stub macros and hopefully few prototypes,
10773 which can conflict with char $ac_func(); below. */
10774 #include <assert.h>
10775 /* Override any gcc2 internal prototype to avoid an error. */
10776 /* We use char because int might match the return type of a gcc2
10777 builtin and then its argument prototype would still apply. */
10782 /* The GNU C library defines this for functions which it implements
10783 to always fail with ENOSYS. Some functions are actually named
10784 something starting with __ and the normal name is an alias. */
10785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10793 if { (eval echo configure
:10794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10795 eval "ac_cv_func_$ac_func=yes"
10797 echo "configure: failed program was:" >&5
10798 cat conftest.
$ac_ext >&5
10800 eval "ac_cv_func_$ac_func=no"
10805 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10806 echo "$ac_t""yes" 1>&6
10807 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10808 cat >> confdefs.h
<<EOF
10809 #define $ac_tr_func 1
10813 echo "$ac_t""no" 1>&6
10822 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
10823 echo "configure:10824: checking for finitef declaration" >&5
10824 if test x
${glibcpp_cv_func_finitef_use+set} != xset
; then
10825 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
10826 echo $ac_n "(cached) $ac_c" 1>&6
10831 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10832 ac_cpp
='$CXXCPP $CPPFLAGS'
10833 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10834 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10835 cross_compiling
=$ac_cv_prog_cxx_cross
10837 cat > conftest.
$ac_ext <<EOF
10838 #line 10839 "configure"
10839 #include "confdefs.h"
10841 #ifdef HAVE_IEEEFP_H
10842 #include <ieeefp.h>
10849 if { (eval echo configure
:10850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10851 glibcpp_cv_func_finitef_use
=yes
10853 echo "configure: failed program was:" >&5
10854 cat conftest.
$ac_ext >&5
10856 glibcpp_cv_func_finitef_use
=no
10860 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10861 ac_cpp
='$CPP $CPPFLAGS'
10862 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10863 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10864 cross_compiling
=$ac_cv_prog_cc_cross
10870 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
10872 if test x
$glibcpp_cv_func_finitef_use = x
"yes"; then
10873 for ac_func
in finitef
10875 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10876 echo "configure:10877: checking for $ac_func" >&5
10877 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10878 echo $ac_n "(cached) $ac_c" 1>&6
10880 cat > conftest.
$ac_ext <<EOF
10881 #line 10882 "configure"
10882 #include "confdefs.h"
10883 /* System header to define __stub macros and hopefully few prototypes,
10884 which can conflict with char $ac_func(); below. */
10885 #include <assert.h>
10886 /* Override any gcc2 internal prototype to avoid an error. */
10887 /* We use char because int might match the return type of a gcc2
10888 builtin and then its argument prototype would still apply. */
10893 /* The GNU C library defines this for functions which it implements
10894 to always fail with ENOSYS. Some functions are actually named
10895 something starting with __ and the normal name is an alias. */
10896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10904 if { (eval echo configure
:10905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10906 eval "ac_cv_func_$ac_func=yes"
10908 echo "configure: failed program was:" >&5
10909 cat conftest.
$ac_ext >&5
10911 eval "ac_cv_func_$ac_func=no"
10916 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10917 echo "$ac_t""yes" 1>&6
10918 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10919 cat >> confdefs.h
<<EOF
10920 #define $ac_tr_func 1
10924 echo "$ac_t""no" 1>&6
10930 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
10931 echo "configure:10932: checking for _finitef declaration" >&5
10932 if test x
${glibcpp_cv_func__finitef_use+set} != xset
; then
10933 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
10934 echo $ac_n "(cached) $ac_c" 1>&6
10939 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10940 ac_cpp
='$CXXCPP $CPPFLAGS'
10941 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10942 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10943 cross_compiling
=$ac_cv_prog_cxx_cross
10945 cat > conftest.
$ac_ext <<EOF
10946 #line 10947 "configure"
10947 #include "confdefs.h"
10949 #ifdef HAVE_IEEEFP_H
10950 #include <ieeefp.h>
10957 if { (eval echo configure
:10958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10959 glibcpp_cv_func__finitef_use
=yes
10961 echo "configure: failed program was:" >&5
10962 cat conftest.
$ac_ext >&5
10964 glibcpp_cv_func__finitef_use
=no
10968 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10969 ac_cpp
='$CPP $CPPFLAGS'
10970 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10971 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10972 cross_compiling
=$ac_cv_prog_cc_cross
10978 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
10980 if test x
$glibcpp_cv_func__finitef_use = x
"yes"; then
10981 for ac_func
in _finitef
10983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10984 echo "configure:10985: checking for $ac_func" >&5
10985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10986 echo $ac_n "(cached) $ac_c" 1>&6
10988 cat > conftest.
$ac_ext <<EOF
10989 #line 10990 "configure"
10990 #include "confdefs.h"
10991 /* System header to define __stub macros and hopefully few prototypes,
10992 which can conflict with char $ac_func(); below. */
10993 #include <assert.h>
10994 /* Override any gcc2 internal prototype to avoid an error. */
10995 /* We use char because int might match the return type of a gcc2
10996 builtin and then its argument prototype would still apply. */
11001 /* The GNU C library defines this for functions which it implements
11002 to always fail with ENOSYS. Some functions are actually named
11003 something starting with __ and the normal name is an alias. */
11004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11012 if { (eval echo configure
:11013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11014 eval "ac_cv_func_$ac_func=yes"
11016 echo "configure: failed program was:" >&5
11017 cat conftest.
$ac_ext >&5
11019 eval "ac_cv_func_$ac_func=no"
11024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11025 echo "$ac_t""yes" 1>&6
11026 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11027 cat >> confdefs.h
<<EOF
11028 #define $ac_tr_func 1
11032 echo "$ac_t""no" 1>&6
11041 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
11042 echo "configure:11043: checking for long double trig functions" >&5
11043 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
11044 echo $ac_n "(cached) $ac_c" 1>&6
11049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11050 ac_cpp
='$CXXCPP $CPPFLAGS'
11051 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11052 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11053 cross_compiling
=$ac_cv_prog_cxx_cross
11055 cat > conftest.
$ac_ext <<EOF
11056 #line 11057 "configure"
11057 #include "confdefs.h"
11060 `for x in acosl asinl atanl \
11062 coshl sinhl tanhl; do echo "$x (0);"; done`
11065 if { (eval echo configure
:11066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11067 glibcpp_cv_func_long_double_trig_use
=yes
11069 echo "configure: failed program was:" >&5
11070 cat conftest.
$ac_ext >&5
11072 glibcpp_cv_func_long_double_trig_use
=no
11076 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11077 ac_cpp
='$CPP $CPPFLAGS'
11078 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11079 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11080 cross_compiling
=$ac_cv_prog_cc_cross
11084 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
11085 if test x
$glibcpp_cv_func_long_double_trig_use = x
"yes"; then
11086 for ac_func
in acosl asinl atanl \
11090 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11091 echo "configure:11092: checking for $ac_func" >&5
11092 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11093 echo $ac_n "(cached) $ac_c" 1>&6
11095 cat > conftest.
$ac_ext <<EOF
11096 #line 11097 "configure"
11097 #include "confdefs.h"
11098 /* System header to define __stub macros and hopefully few prototypes,
11099 which can conflict with char $ac_func(); below. */
11100 #include <assert.h>
11101 /* Override any gcc2 internal prototype to avoid an error. */
11102 /* We use char because int might match the return type of a gcc2
11103 builtin and then its argument prototype would still apply. */
11108 /* The GNU C library defines this for functions which it implements
11109 to always fail with ENOSYS. Some functions are actually named
11110 something starting with __ and the normal name is an alias. */
11111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11119 if { (eval echo configure
:11120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11121 eval "ac_cv_func_$ac_func=yes"
11123 echo "configure: failed program was:" >&5
11124 cat conftest.
$ac_ext >&5
11126 eval "ac_cv_func_$ac_func=no"
11131 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11132 echo "$ac_t""yes" 1>&6
11133 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11134 cat >> confdefs.h
<<EOF
11135 #define $ac_tr_func 1
11139 echo "$ac_t""no" 1>&6
11146 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
11147 echo "configure:11148: checking for long double round functions" >&5
11148 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
11149 echo $ac_n "(cached) $ac_c" 1>&6
11154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11155 ac_cpp
='$CXXCPP $CPPFLAGS'
11156 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11157 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11158 cross_compiling
=$ac_cv_prog_cxx_cross
11160 cat > conftest.
$ac_ext <<EOF
11161 #line 11162 "configure"
11162 #include "confdefs.h"
11165 `for x in ceill floorl; do echo "$x (0);"; done`
11168 if { (eval echo configure
:11169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11170 glibcpp_cv_func_long_double_round_use
=yes
11172 echo "configure: failed program was:" >&5
11173 cat conftest.
$ac_ext >&5
11175 glibcpp_cv_func_long_double_round_use
=no
11179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11180 ac_cpp
='$CPP $CPPFLAGS'
11181 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11182 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11183 cross_compiling
=$ac_cv_prog_cc_cross
11187 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11188 if test x
$glibcpp_cv_func_long_double_round_use = x
"yes"; then
11189 for ac_func
in ceill floorl
11191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11192 echo "configure:11193: checking for $ac_func" >&5
11193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11194 echo $ac_n "(cached) $ac_c" 1>&6
11196 cat > conftest.
$ac_ext <<EOF
11197 #line 11198 "configure"
11198 #include "confdefs.h"
11199 /* System header to define __stub macros and hopefully few prototypes,
11200 which can conflict with char $ac_func(); below. */
11201 #include <assert.h>
11202 /* Override any gcc2 internal prototype to avoid an error. */
11203 /* We use char because int might match the return type of a gcc2
11204 builtin and then its argument prototype would still apply. */
11209 /* The GNU C library defines this for functions which it implements
11210 to always fail with ENOSYS. Some functions are actually named
11211 something starting with __ and the normal name is an alias. */
11212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11220 if { (eval echo configure
:11221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11222 eval "ac_cv_func_$ac_func=yes"
11224 echo "configure: failed program was:" >&5
11225 cat conftest.
$ac_ext >&5
11227 eval "ac_cv_func_$ac_func=no"
11232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11233 echo "$ac_t""yes" 1>&6
11234 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11235 cat >> confdefs.h
<<EOF
11236 #define $ac_tr_func 1
11240 echo "$ac_t""no" 1>&6
11248 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
11249 echo "configure:11250: checking for isnanl declaration" >&5
11250 if test x
${glibcpp_cv_func_isnanl_use+set} != xset
; then
11251 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11252 echo $ac_n "(cached) $ac_c" 1>&6
11257 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11258 ac_cpp
='$CXXCPP $CPPFLAGS'
11259 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11260 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11261 cross_compiling
=$ac_cv_prog_cxx_cross
11263 cat > conftest.
$ac_ext <<EOF
11264 #line 11265 "configure"
11265 #include "confdefs.h"
11267 #ifdef HAVE_IEEEFP_H
11268 #include <ieeefp.h>
11275 if { (eval echo configure
:11276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11277 glibcpp_cv_func_isnanl_use
=yes
11279 echo "configure: failed program was:" >&5
11280 cat conftest.
$ac_ext >&5
11282 glibcpp_cv_func_isnanl_use
=no
11286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11287 ac_cpp
='$CPP $CPPFLAGS'
11288 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11289 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11290 cross_compiling
=$ac_cv_prog_cc_cross
11296 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11298 if test x
$glibcpp_cv_func_isnanl_use = x
"yes"; then
11299 for ac_func
in isnanl
11301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11302 echo "configure:11303: checking for $ac_func" >&5
11303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11304 echo $ac_n "(cached) $ac_c" 1>&6
11306 cat > conftest.
$ac_ext <<EOF
11307 #line 11308 "configure"
11308 #include "confdefs.h"
11309 /* System header to define __stub macros and hopefully few prototypes,
11310 which can conflict with char $ac_func(); below. */
11311 #include <assert.h>
11312 /* Override any gcc2 internal prototype to avoid an error. */
11313 /* We use char because int might match the return type of a gcc2
11314 builtin and then its argument prototype would still apply. */
11319 /* The GNU C library defines this for functions which it implements
11320 to always fail with ENOSYS. Some functions are actually named
11321 something starting with __ and the normal name is an alias. */
11322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11330 if { (eval echo configure
:11331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11332 eval "ac_cv_func_$ac_func=yes"
11334 echo "configure: failed program was:" >&5
11335 cat conftest.
$ac_ext >&5
11337 eval "ac_cv_func_$ac_func=no"
11342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11343 echo "$ac_t""yes" 1>&6
11344 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11345 cat >> confdefs.h
<<EOF
11346 #define $ac_tr_func 1
11350 echo "$ac_t""no" 1>&6
11356 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
11357 echo "configure:11358: checking for _isnanl declaration" >&5
11358 if test x
${glibcpp_cv_func__isnanl_use+set} != xset
; then
11359 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
11360 echo $ac_n "(cached) $ac_c" 1>&6
11365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11366 ac_cpp
='$CXXCPP $CPPFLAGS'
11367 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11368 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11369 cross_compiling
=$ac_cv_prog_cxx_cross
11371 cat > conftest.
$ac_ext <<EOF
11372 #line 11373 "configure"
11373 #include "confdefs.h"
11375 #ifdef HAVE_IEEEFP_H
11376 #include <ieeefp.h>
11383 if { (eval echo configure
:11384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11385 glibcpp_cv_func__isnanl_use
=yes
11387 echo "configure: failed program was:" >&5
11388 cat conftest.
$ac_ext >&5
11390 glibcpp_cv_func__isnanl_use
=no
11394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11395 ac_cpp
='$CPP $CPPFLAGS'
11396 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11397 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11398 cross_compiling
=$ac_cv_prog_cc_cross
11404 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11406 if test x
$glibcpp_cv_func__isnanl_use = x
"yes"; then
11407 for ac_func
in _isnanl
11409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11410 echo "configure:11411: checking for $ac_func" >&5
11411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11412 echo $ac_n "(cached) $ac_c" 1>&6
11414 cat > conftest.
$ac_ext <<EOF
11415 #line 11416 "configure"
11416 #include "confdefs.h"
11417 /* System header to define __stub macros and hopefully few prototypes,
11418 which can conflict with char $ac_func(); below. */
11419 #include <assert.h>
11420 /* Override any gcc2 internal prototype to avoid an error. */
11421 /* We use char because int might match the return type of a gcc2
11422 builtin and then its argument prototype would still apply. */
11427 /* The GNU C library defines this for functions which it implements
11428 to always fail with ENOSYS. Some functions are actually named
11429 something starting with __ and the normal name is an alias. */
11430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11438 if { (eval echo configure
:11439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11440 eval "ac_cv_func_$ac_func=yes"
11442 echo "configure: failed program was:" >&5
11443 cat conftest.
$ac_ext >&5
11445 eval "ac_cv_func_$ac_func=no"
11450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11451 echo "$ac_t""yes" 1>&6
11452 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11453 cat >> confdefs.h
<<EOF
11454 #define $ac_tr_func 1
11458 echo "$ac_t""no" 1>&6
11467 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
11468 echo "configure:11469: checking for isinfl declaration" >&5
11469 if test x
${glibcpp_cv_func_isinfl_use+set} != xset
; then
11470 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
11471 echo $ac_n "(cached) $ac_c" 1>&6
11476 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11477 ac_cpp
='$CXXCPP $CPPFLAGS'
11478 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11479 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11480 cross_compiling
=$ac_cv_prog_cxx_cross
11482 cat > conftest.
$ac_ext <<EOF
11483 #line 11484 "configure"
11484 #include "confdefs.h"
11486 #ifdef HAVE_IEEEFP_H
11487 #include <ieeefp.h>
11494 if { (eval echo configure
:11495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11496 glibcpp_cv_func_isinfl_use
=yes
11498 echo "configure: failed program was:" >&5
11499 cat conftest.
$ac_ext >&5
11501 glibcpp_cv_func_isinfl_use
=no
11505 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11506 ac_cpp
='$CPP $CPPFLAGS'
11507 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11508 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11509 cross_compiling
=$ac_cv_prog_cc_cross
11515 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
11517 if test x
$glibcpp_cv_func_isinfl_use = x
"yes"; then
11518 for ac_func
in isinfl
11520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11521 echo "configure:11522: checking for $ac_func" >&5
11522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11523 echo $ac_n "(cached) $ac_c" 1>&6
11525 cat > conftest.
$ac_ext <<EOF
11526 #line 11527 "configure"
11527 #include "confdefs.h"
11528 /* System header to define __stub macros and hopefully few prototypes,
11529 which can conflict with char $ac_func(); below. */
11530 #include <assert.h>
11531 /* Override any gcc2 internal prototype to avoid an error. */
11532 /* We use char because int might match the return type of a gcc2
11533 builtin and then its argument prototype would still apply. */
11538 /* The GNU C library defines this for functions which it implements
11539 to always fail with ENOSYS. Some functions are actually named
11540 something starting with __ and the normal name is an alias. */
11541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11549 if { (eval echo configure
:11550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11551 eval "ac_cv_func_$ac_func=yes"
11553 echo "configure: failed program was:" >&5
11554 cat conftest.
$ac_ext >&5
11556 eval "ac_cv_func_$ac_func=no"
11561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11562 echo "$ac_t""yes" 1>&6
11563 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11564 cat >> confdefs.h
<<EOF
11565 #define $ac_tr_func 1
11569 echo "$ac_t""no" 1>&6
11575 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
11576 echo "configure:11577: checking for _isinfl declaration" >&5
11577 if test x
${glibcpp_cv_func__isinfl_use+set} != xset
; then
11578 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
11579 echo $ac_n "(cached) $ac_c" 1>&6
11584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11585 ac_cpp
='$CXXCPP $CPPFLAGS'
11586 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11587 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11588 cross_compiling
=$ac_cv_prog_cxx_cross
11590 cat > conftest.
$ac_ext <<EOF
11591 #line 11592 "configure"
11592 #include "confdefs.h"
11594 #ifdef HAVE_IEEEFP_H
11595 #include <ieeefp.h>
11602 if { (eval echo configure
:11603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11604 glibcpp_cv_func__isinfl_use
=yes
11606 echo "configure: failed program was:" >&5
11607 cat conftest.
$ac_ext >&5
11609 glibcpp_cv_func__isinfl_use
=no
11613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11614 ac_cpp
='$CPP $CPPFLAGS'
11615 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11616 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11617 cross_compiling
=$ac_cv_prog_cc_cross
11623 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
11625 if test x
$glibcpp_cv_func__isinfl_use = x
"yes"; then
11626 for ac_func
in _isinfl
11628 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11629 echo "configure:11630: checking for $ac_func" >&5
11630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11631 echo $ac_n "(cached) $ac_c" 1>&6
11633 cat > conftest.
$ac_ext <<EOF
11634 #line 11635 "configure"
11635 #include "confdefs.h"
11636 /* System header to define __stub macros and hopefully few prototypes,
11637 which can conflict with char $ac_func(); below. */
11638 #include <assert.h>
11639 /* Override any gcc2 internal prototype to avoid an error. */
11640 /* We use char because int might match the return type of a gcc2
11641 builtin and then its argument prototype would still apply. */
11646 /* The GNU C library defines this for functions which it implements
11647 to always fail with ENOSYS. Some functions are actually named
11648 something starting with __ and the normal name is an alias. */
11649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11657 if { (eval echo configure
:11658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11659 eval "ac_cv_func_$ac_func=yes"
11661 echo "configure: failed program was:" >&5
11662 cat conftest.
$ac_ext >&5
11664 eval "ac_cv_func_$ac_func=no"
11669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11670 echo "$ac_t""yes" 1>&6
11671 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11672 cat >> confdefs.h
<<EOF
11673 #define $ac_tr_func 1
11677 echo "$ac_t""no" 1>&6
11686 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
11687 echo "configure:11688: checking for copysignl declaration" >&5
11688 if test x
${glibcpp_cv_func_copysignl_use+set} != xset
; then
11689 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
11690 echo $ac_n "(cached) $ac_c" 1>&6
11695 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11696 ac_cpp
='$CXXCPP $CPPFLAGS'
11697 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11698 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11699 cross_compiling
=$ac_cv_prog_cxx_cross
11701 cat > conftest.
$ac_ext <<EOF
11702 #line 11703 "configure"
11703 #include "confdefs.h"
11709 if { (eval echo configure
:11710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11711 glibcpp_cv_func_copysignl_use
=yes
11713 echo "configure: failed program was:" >&5
11714 cat conftest.
$ac_ext >&5
11716 glibcpp_cv_func_copysignl_use
=no
11720 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11721 ac_cpp
='$CPP $CPPFLAGS'
11722 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11723 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11724 cross_compiling
=$ac_cv_prog_cc_cross
11730 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
11732 if test x
$glibcpp_cv_func_copysignl_use = x
"yes"; then
11733 for ac_func
in copysignl
11735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11736 echo "configure:11737: checking for $ac_func" >&5
11737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11738 echo $ac_n "(cached) $ac_c" 1>&6
11740 cat > conftest.
$ac_ext <<EOF
11741 #line 11742 "configure"
11742 #include "confdefs.h"
11743 /* System header to define __stub macros and hopefully few prototypes,
11744 which can conflict with char $ac_func(); below. */
11745 #include <assert.h>
11746 /* Override any gcc2 internal prototype to avoid an error. */
11747 /* We use char because int might match the return type of a gcc2
11748 builtin and then its argument prototype would still apply. */
11753 /* The GNU C library defines this for functions which it implements
11754 to always fail with ENOSYS. Some functions are actually named
11755 something starting with __ and the normal name is an alias. */
11756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11764 if { (eval echo configure
:11765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11766 eval "ac_cv_func_$ac_func=yes"
11768 echo "configure: failed program was:" >&5
11769 cat conftest.
$ac_ext >&5
11771 eval "ac_cv_func_$ac_func=no"
11776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11777 echo "$ac_t""yes" 1>&6
11778 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11779 cat >> confdefs.h
<<EOF
11780 #define $ac_tr_func 1
11784 echo "$ac_t""no" 1>&6
11790 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
11791 echo "configure:11792: checking for _copysignl declaration" >&5
11792 if test x
${glibcpp_cv_func__copysignl_use+set} != xset
; then
11793 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
11794 echo $ac_n "(cached) $ac_c" 1>&6
11799 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11800 ac_cpp
='$CXXCPP $CPPFLAGS'
11801 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11802 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11803 cross_compiling
=$ac_cv_prog_cxx_cross
11805 cat > conftest.
$ac_ext <<EOF
11806 #line 11807 "configure"
11807 #include "confdefs.h"
11813 if { (eval echo configure
:11814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11815 glibcpp_cv_func__copysignl_use
=yes
11817 echo "configure: failed program was:" >&5
11818 cat conftest.
$ac_ext >&5
11820 glibcpp_cv_func__copysignl_use
=no
11824 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11825 ac_cpp
='$CPP $CPPFLAGS'
11826 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11827 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11828 cross_compiling
=$ac_cv_prog_cc_cross
11834 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
11836 if test x
$glibcpp_cv_func__copysignl_use = x
"yes"; then
11837 for ac_func
in _copysignl
11839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11840 echo "configure:11841: checking for $ac_func" >&5
11841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11842 echo $ac_n "(cached) $ac_c" 1>&6
11844 cat > conftest.
$ac_ext <<EOF
11845 #line 11846 "configure"
11846 #include "confdefs.h"
11847 /* System header to define __stub macros and hopefully few prototypes,
11848 which can conflict with char $ac_func(); below. */
11849 #include <assert.h>
11850 /* Override any gcc2 internal prototype to avoid an error. */
11851 /* We use char because int might match the return type of a gcc2
11852 builtin and then its argument prototype would still apply. */
11857 /* The GNU C library defines this for functions which it implements
11858 to always fail with ENOSYS. Some functions are actually named
11859 something starting with __ and the normal name is an alias. */
11860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11868 if { (eval echo configure
:11869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11870 eval "ac_cv_func_$ac_func=yes"
11872 echo "configure: failed program was:" >&5
11873 cat conftest.
$ac_ext >&5
11875 eval "ac_cv_func_$ac_func=no"
11880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11881 echo "$ac_t""yes" 1>&6
11882 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11883 cat >> confdefs.h
<<EOF
11884 #define $ac_tr_func 1
11888 echo "$ac_t""no" 1>&6
11897 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
11898 echo "configure:11899: checking for atan2l declaration" >&5
11899 if test x
${glibcpp_cv_func_atan2l_use+set} != xset
; then
11900 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
11901 echo $ac_n "(cached) $ac_c" 1>&6
11906 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11907 ac_cpp
='$CXXCPP $CPPFLAGS'
11908 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11909 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11910 cross_compiling
=$ac_cv_prog_cxx_cross
11912 cat > conftest.
$ac_ext <<EOF
11913 #line 11914 "configure"
11914 #include "confdefs.h"
11920 if { (eval echo configure
:11921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11922 glibcpp_cv_func_atan2l_use
=yes
11924 echo "configure: failed program was:" >&5
11925 cat conftest.
$ac_ext >&5
11927 glibcpp_cv_func_atan2l_use
=no
11931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11932 ac_cpp
='$CPP $CPPFLAGS'
11933 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11934 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11935 cross_compiling
=$ac_cv_prog_cc_cross
11941 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
11943 if test x
$glibcpp_cv_func_atan2l_use = x
"yes"; then
11944 for ac_func
in atan2l
11946 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11947 echo "configure:11948: checking for $ac_func" >&5
11948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11949 echo $ac_n "(cached) $ac_c" 1>&6
11951 cat > conftest.
$ac_ext <<EOF
11952 #line 11953 "configure"
11953 #include "confdefs.h"
11954 /* System header to define __stub macros and hopefully few prototypes,
11955 which can conflict with char $ac_func(); below. */
11956 #include <assert.h>
11957 /* Override any gcc2 internal prototype to avoid an error. */
11958 /* We use char because int might match the return type of a gcc2
11959 builtin and then its argument prototype would still apply. */
11964 /* The GNU C library defines this for functions which it implements
11965 to always fail with ENOSYS. Some functions are actually named
11966 something starting with __ and the normal name is an alias. */
11967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11975 if { (eval echo configure
:11976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11977 eval "ac_cv_func_$ac_func=yes"
11979 echo "configure: failed program was:" >&5
11980 cat conftest.
$ac_ext >&5
11982 eval "ac_cv_func_$ac_func=no"
11987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11988 echo "$ac_t""yes" 1>&6
11989 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11990 cat >> confdefs.h
<<EOF
11991 #define $ac_tr_func 1
11995 echo "$ac_t""no" 1>&6
12001 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
12002 echo "configure:12003: checking for _atan2l declaration" >&5
12003 if test x
${glibcpp_cv_func__atan2l_use+set} != xset
; then
12004 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
12005 echo $ac_n "(cached) $ac_c" 1>&6
12010 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12011 ac_cpp
='$CXXCPP $CPPFLAGS'
12012 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12013 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12014 cross_compiling
=$ac_cv_prog_cxx_cross
12016 cat > conftest.
$ac_ext <<EOF
12017 #line 12018 "configure"
12018 #include "confdefs.h"
12024 if { (eval echo configure
:12025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12026 glibcpp_cv_func__atan2l_use
=yes
12028 echo "configure: failed program was:" >&5
12029 cat conftest.
$ac_ext >&5
12031 glibcpp_cv_func__atan2l_use
=no
12035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12036 ac_cpp
='$CPP $CPPFLAGS'
12037 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12038 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12039 cross_compiling
=$ac_cv_prog_cc_cross
12045 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
12047 if test x
$glibcpp_cv_func__atan2l_use = x
"yes"; then
12048 for ac_func
in _atan2l
12050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12051 echo "configure:12052: checking for $ac_func" >&5
12052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12053 echo $ac_n "(cached) $ac_c" 1>&6
12055 cat > conftest.
$ac_ext <<EOF
12056 #line 12057 "configure"
12057 #include "confdefs.h"
12058 /* System header to define __stub macros and hopefully few prototypes,
12059 which can conflict with char $ac_func(); below. */
12060 #include <assert.h>
12061 /* Override any gcc2 internal prototype to avoid an error. */
12062 /* We use char because int might match the return type of a gcc2
12063 builtin and then its argument prototype would still apply. */
12068 /* The GNU C library defines this for functions which it implements
12069 to always fail with ENOSYS. Some functions are actually named
12070 something starting with __ and the normal name is an alias. */
12071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12079 if { (eval echo configure
:12080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12081 eval "ac_cv_func_$ac_func=yes"
12083 echo "configure: failed program was:" >&5
12084 cat conftest.
$ac_ext >&5
12086 eval "ac_cv_func_$ac_func=no"
12091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12092 echo "$ac_t""yes" 1>&6
12093 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12094 cat >> confdefs.h
<<EOF
12095 #define $ac_tr_func 1
12099 echo "$ac_t""no" 1>&6
12108 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
12109 echo "configure:12110: checking for expl declaration" >&5
12110 if test x
${glibcpp_cv_func_expl_use+set} != xset
; then
12111 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
12112 echo $ac_n "(cached) $ac_c" 1>&6
12117 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12118 ac_cpp
='$CXXCPP $CPPFLAGS'
12119 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12120 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12121 cross_compiling
=$ac_cv_prog_cxx_cross
12123 cat > conftest.
$ac_ext <<EOF
12124 #line 12125 "configure"
12125 #include "confdefs.h"
12127 #ifdef HAVE_IEEEFP_H
12128 #include <ieeefp.h>
12135 if { (eval echo configure
:12136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12137 glibcpp_cv_func_expl_use
=yes
12139 echo "configure: failed program was:" >&5
12140 cat conftest.
$ac_ext >&5
12142 glibcpp_cv_func_expl_use
=no
12146 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12147 ac_cpp
='$CPP $CPPFLAGS'
12148 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12149 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12150 cross_compiling
=$ac_cv_prog_cc_cross
12156 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
12158 if test x
$glibcpp_cv_func_expl_use = x
"yes"; then
12159 for ac_func
in expl
12161 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12162 echo "configure:12163: checking for $ac_func" >&5
12163 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12164 echo $ac_n "(cached) $ac_c" 1>&6
12166 cat > conftest.
$ac_ext <<EOF
12167 #line 12168 "configure"
12168 #include "confdefs.h"
12169 /* System header to define __stub macros and hopefully few prototypes,
12170 which can conflict with char $ac_func(); below. */
12171 #include <assert.h>
12172 /* Override any gcc2 internal prototype to avoid an error. */
12173 /* We use char because int might match the return type of a gcc2
12174 builtin and then its argument prototype would still apply. */
12179 /* The GNU C library defines this for functions which it implements
12180 to always fail with ENOSYS. Some functions are actually named
12181 something starting with __ and the normal name is an alias. */
12182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12190 if { (eval echo configure
:12191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12192 eval "ac_cv_func_$ac_func=yes"
12194 echo "configure: failed program was:" >&5
12195 cat conftest.
$ac_ext >&5
12197 eval "ac_cv_func_$ac_func=no"
12202 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12203 echo "$ac_t""yes" 1>&6
12204 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12205 cat >> confdefs.h
<<EOF
12206 #define $ac_tr_func 1
12210 echo "$ac_t""no" 1>&6
12216 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
12217 echo "configure:12218: checking for _expl declaration" >&5
12218 if test x
${glibcpp_cv_func__expl_use+set} != xset
; then
12219 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12220 echo $ac_n "(cached) $ac_c" 1>&6
12225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12226 ac_cpp
='$CXXCPP $CPPFLAGS'
12227 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12228 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12229 cross_compiling
=$ac_cv_prog_cxx_cross
12231 cat > conftest.
$ac_ext <<EOF
12232 #line 12233 "configure"
12233 #include "confdefs.h"
12235 #ifdef HAVE_IEEEFP_H
12236 #include <ieeefp.h>
12243 if { (eval echo configure
:12244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12245 glibcpp_cv_func__expl_use
=yes
12247 echo "configure: failed program was:" >&5
12248 cat conftest.
$ac_ext >&5
12250 glibcpp_cv_func__expl_use
=no
12254 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12255 ac_cpp
='$CPP $CPPFLAGS'
12256 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12257 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12258 cross_compiling
=$ac_cv_prog_cc_cross
12264 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12266 if test x
$glibcpp_cv_func__expl_use = x
"yes"; then
12267 for ac_func
in _expl
12269 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12270 echo "configure:12271: checking for $ac_func" >&5
12271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12272 echo $ac_n "(cached) $ac_c" 1>&6
12274 cat > conftest.
$ac_ext <<EOF
12275 #line 12276 "configure"
12276 #include "confdefs.h"
12277 /* System header to define __stub macros and hopefully few prototypes,
12278 which can conflict with char $ac_func(); below. */
12279 #include <assert.h>
12280 /* Override any gcc2 internal prototype to avoid an error. */
12281 /* We use char because int might match the return type of a gcc2
12282 builtin and then its argument prototype would still apply. */
12287 /* The GNU C library defines this for functions which it implements
12288 to always fail with ENOSYS. Some functions are actually named
12289 something starting with __ and the normal name is an alias. */
12290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12298 if { (eval echo configure
:12299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12300 eval "ac_cv_func_$ac_func=yes"
12302 echo "configure: failed program was:" >&5
12303 cat conftest.
$ac_ext >&5
12305 eval "ac_cv_func_$ac_func=no"
12310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12311 echo "$ac_t""yes" 1>&6
12312 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12313 cat >> confdefs.h
<<EOF
12314 #define $ac_tr_func 1
12318 echo "$ac_t""no" 1>&6
12327 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
12328 echo "configure:12329: checking for fabsl declaration" >&5
12329 if test x
${glibcpp_cv_func_fabsl_use+set} != xset
; then
12330 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
12331 echo $ac_n "(cached) $ac_c" 1>&6
12336 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12337 ac_cpp
='$CXXCPP $CPPFLAGS'
12338 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12339 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12340 cross_compiling
=$ac_cv_prog_cxx_cross
12342 cat > conftest.
$ac_ext <<EOF
12343 #line 12344 "configure"
12344 #include "confdefs.h"
12346 #ifdef HAVE_IEEEFP_H
12347 #include <ieeefp.h>
12354 if { (eval echo configure
:12355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12356 glibcpp_cv_func_fabsl_use
=yes
12358 echo "configure: failed program was:" >&5
12359 cat conftest.
$ac_ext >&5
12361 glibcpp_cv_func_fabsl_use
=no
12365 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12366 ac_cpp
='$CPP $CPPFLAGS'
12367 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12368 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12369 cross_compiling
=$ac_cv_prog_cc_cross
12375 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
12377 if test x
$glibcpp_cv_func_fabsl_use = x
"yes"; then
12378 for ac_func
in fabsl
12380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12381 echo "configure:12382: checking for $ac_func" >&5
12382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12383 echo $ac_n "(cached) $ac_c" 1>&6
12385 cat > conftest.
$ac_ext <<EOF
12386 #line 12387 "configure"
12387 #include "confdefs.h"
12388 /* System header to define __stub macros and hopefully few prototypes,
12389 which can conflict with char $ac_func(); below. */
12390 #include <assert.h>
12391 /* Override any gcc2 internal prototype to avoid an error. */
12392 /* We use char because int might match the return type of a gcc2
12393 builtin and then its argument prototype would still apply. */
12398 /* The GNU C library defines this for functions which it implements
12399 to always fail with ENOSYS. Some functions are actually named
12400 something starting with __ and the normal name is an alias. */
12401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12409 if { (eval echo configure
:12410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12411 eval "ac_cv_func_$ac_func=yes"
12413 echo "configure: failed program was:" >&5
12414 cat conftest.
$ac_ext >&5
12416 eval "ac_cv_func_$ac_func=no"
12421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12422 echo "$ac_t""yes" 1>&6
12423 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12424 cat >> confdefs.h
<<EOF
12425 #define $ac_tr_func 1
12429 echo "$ac_t""no" 1>&6
12435 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
12436 echo "configure:12437: checking for _fabsl declaration" >&5
12437 if test x
${glibcpp_cv_func__fabsl_use+set} != xset
; then
12438 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12439 echo $ac_n "(cached) $ac_c" 1>&6
12444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12445 ac_cpp
='$CXXCPP $CPPFLAGS'
12446 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12447 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12448 cross_compiling
=$ac_cv_prog_cxx_cross
12450 cat > conftest.
$ac_ext <<EOF
12451 #line 12452 "configure"
12452 #include "confdefs.h"
12454 #ifdef HAVE_IEEEFP_H
12455 #include <ieeefp.h>
12462 if { (eval echo configure
:12463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12464 glibcpp_cv_func__fabsl_use
=yes
12466 echo "configure: failed program was:" >&5
12467 cat conftest.
$ac_ext >&5
12469 glibcpp_cv_func__fabsl_use
=no
12473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12474 ac_cpp
='$CPP $CPPFLAGS'
12475 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12476 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12477 cross_compiling
=$ac_cv_prog_cc_cross
12483 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
12485 if test x
$glibcpp_cv_func__fabsl_use = x
"yes"; then
12486 for ac_func
in _fabsl
12488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12489 echo "configure:12490: checking for $ac_func" >&5
12490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12491 echo $ac_n "(cached) $ac_c" 1>&6
12493 cat > conftest.
$ac_ext <<EOF
12494 #line 12495 "configure"
12495 #include "confdefs.h"
12496 /* System header to define __stub macros and hopefully few prototypes,
12497 which can conflict with char $ac_func(); below. */
12498 #include <assert.h>
12499 /* Override any gcc2 internal prototype to avoid an error. */
12500 /* We use char because int might match the return type of a gcc2
12501 builtin and then its argument prototype would still apply. */
12506 /* The GNU C library defines this for functions which it implements
12507 to always fail with ENOSYS. Some functions are actually named
12508 something starting with __ and the normal name is an alias. */
12509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12517 if { (eval echo configure
:12518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12519 eval "ac_cv_func_$ac_func=yes"
12521 echo "configure: failed program was:" >&5
12522 cat conftest.
$ac_ext >&5
12524 eval "ac_cv_func_$ac_func=no"
12529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12530 echo "$ac_t""yes" 1>&6
12531 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12532 cat >> confdefs.h
<<EOF
12533 #define $ac_tr_func 1
12537 echo "$ac_t""no" 1>&6
12546 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
12547 echo "configure:12548: checking for fmodl declaration" >&5
12548 if test x
${glibcpp_cv_func_fmodl_use+set} != xset
; then
12549 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
12550 echo $ac_n "(cached) $ac_c" 1>&6
12555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12556 ac_cpp
='$CXXCPP $CPPFLAGS'
12557 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12558 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12559 cross_compiling
=$ac_cv_prog_cxx_cross
12561 cat > conftest.
$ac_ext <<EOF
12562 #line 12563 "configure"
12563 #include "confdefs.h"
12569 if { (eval echo configure
:12570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12571 glibcpp_cv_func_fmodl_use
=yes
12573 echo "configure: failed program was:" >&5
12574 cat conftest.
$ac_ext >&5
12576 glibcpp_cv_func_fmodl_use
=no
12580 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12581 ac_cpp
='$CPP $CPPFLAGS'
12582 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12583 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12584 cross_compiling
=$ac_cv_prog_cc_cross
12590 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
12592 if test x
$glibcpp_cv_func_fmodl_use = x
"yes"; then
12593 for ac_func
in fmodl
12595 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12596 echo "configure:12597: checking for $ac_func" >&5
12597 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12598 echo $ac_n "(cached) $ac_c" 1>&6
12600 cat > conftest.
$ac_ext <<EOF
12601 #line 12602 "configure"
12602 #include "confdefs.h"
12603 /* System header to define __stub macros and hopefully few prototypes,
12604 which can conflict with char $ac_func(); below. */
12605 #include <assert.h>
12606 /* Override any gcc2 internal prototype to avoid an error. */
12607 /* We use char because int might match the return type of a gcc2
12608 builtin and then its argument prototype would still apply. */
12613 /* The GNU C library defines this for functions which it implements
12614 to always fail with ENOSYS. Some functions are actually named
12615 something starting with __ and the normal name is an alias. */
12616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12624 if { (eval echo configure
:12625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12626 eval "ac_cv_func_$ac_func=yes"
12628 echo "configure: failed program was:" >&5
12629 cat conftest.
$ac_ext >&5
12631 eval "ac_cv_func_$ac_func=no"
12636 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12637 echo "$ac_t""yes" 1>&6
12638 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12639 cat >> confdefs.h
<<EOF
12640 #define $ac_tr_func 1
12644 echo "$ac_t""no" 1>&6
12650 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
12651 echo "configure:12652: checking for _fmodl declaration" >&5
12652 if test x
${glibcpp_cv_func__fmodl_use+set} != xset
; then
12653 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
12654 echo $ac_n "(cached) $ac_c" 1>&6
12659 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12660 ac_cpp
='$CXXCPP $CPPFLAGS'
12661 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12662 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12663 cross_compiling
=$ac_cv_prog_cxx_cross
12665 cat > conftest.
$ac_ext <<EOF
12666 #line 12667 "configure"
12667 #include "confdefs.h"
12673 if { (eval echo configure
:12674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12675 glibcpp_cv_func__fmodl_use
=yes
12677 echo "configure: failed program was:" >&5
12678 cat conftest.
$ac_ext >&5
12680 glibcpp_cv_func__fmodl_use
=no
12684 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12685 ac_cpp
='$CPP $CPPFLAGS'
12686 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12687 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12688 cross_compiling
=$ac_cv_prog_cc_cross
12694 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
12696 if test x
$glibcpp_cv_func__fmodl_use = x
"yes"; then
12697 for ac_func
in _fmodl
12699 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12700 echo "configure:12701: checking for $ac_func" >&5
12701 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12702 echo $ac_n "(cached) $ac_c" 1>&6
12704 cat > conftest.
$ac_ext <<EOF
12705 #line 12706 "configure"
12706 #include "confdefs.h"
12707 /* System header to define __stub macros and hopefully few prototypes,
12708 which can conflict with char $ac_func(); below. */
12709 #include <assert.h>
12710 /* Override any gcc2 internal prototype to avoid an error. */
12711 /* We use char because int might match the return type of a gcc2
12712 builtin and then its argument prototype would still apply. */
12717 /* The GNU C library defines this for functions which it implements
12718 to always fail with ENOSYS. Some functions are actually named
12719 something starting with __ and the normal name is an alias. */
12720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12728 if { (eval echo configure
:12729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12730 eval "ac_cv_func_$ac_func=yes"
12732 echo "configure: failed program was:" >&5
12733 cat conftest.
$ac_ext >&5
12735 eval "ac_cv_func_$ac_func=no"
12740 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12741 echo "$ac_t""yes" 1>&6
12742 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12743 cat >> confdefs.h
<<EOF
12744 #define $ac_tr_func 1
12748 echo "$ac_t""no" 1>&6
12757 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
12758 echo "configure:12759: checking for frexpl declaration" >&5
12759 if test x
${glibcpp_cv_func_frexpl_use+set} != xset
; then
12760 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
12761 echo $ac_n "(cached) $ac_c" 1>&6
12766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12767 ac_cpp
='$CXXCPP $CPPFLAGS'
12768 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12769 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12770 cross_compiling
=$ac_cv_prog_cxx_cross
12772 cat > conftest.
$ac_ext <<EOF
12773 #line 12774 "configure"
12774 #include "confdefs.h"
12780 if { (eval echo configure
:12781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12782 glibcpp_cv_func_frexpl_use
=yes
12784 echo "configure: failed program was:" >&5
12785 cat conftest.
$ac_ext >&5
12787 glibcpp_cv_func_frexpl_use
=no
12791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12792 ac_cpp
='$CPP $CPPFLAGS'
12793 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12794 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12795 cross_compiling
=$ac_cv_prog_cc_cross
12801 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
12803 if test x
$glibcpp_cv_func_frexpl_use = x
"yes"; then
12804 for ac_func
in frexpl
12806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12807 echo "configure:12808: checking for $ac_func" >&5
12808 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12809 echo $ac_n "(cached) $ac_c" 1>&6
12811 cat > conftest.
$ac_ext <<EOF
12812 #line 12813 "configure"
12813 #include "confdefs.h"
12814 /* System header to define __stub macros and hopefully few prototypes,
12815 which can conflict with char $ac_func(); below. */
12816 #include <assert.h>
12817 /* Override any gcc2 internal prototype to avoid an error. */
12818 /* We use char because int might match the return type of a gcc2
12819 builtin and then its argument prototype would still apply. */
12824 /* The GNU C library defines this for functions which it implements
12825 to always fail with ENOSYS. Some functions are actually named
12826 something starting with __ and the normal name is an alias. */
12827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12835 if { (eval echo configure
:12836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12837 eval "ac_cv_func_$ac_func=yes"
12839 echo "configure: failed program was:" >&5
12840 cat conftest.
$ac_ext >&5
12842 eval "ac_cv_func_$ac_func=no"
12847 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12848 echo "$ac_t""yes" 1>&6
12849 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12850 cat >> confdefs.h
<<EOF
12851 #define $ac_tr_func 1
12855 echo "$ac_t""no" 1>&6
12861 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
12862 echo "configure:12863: checking for _frexpl declaration" >&5
12863 if test x
${glibcpp_cv_func__frexpl_use+set} != xset
; then
12864 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
12865 echo $ac_n "(cached) $ac_c" 1>&6
12870 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12871 ac_cpp
='$CXXCPP $CPPFLAGS'
12872 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12873 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12874 cross_compiling
=$ac_cv_prog_cxx_cross
12876 cat > conftest.
$ac_ext <<EOF
12877 #line 12878 "configure"
12878 #include "confdefs.h"
12884 if { (eval echo configure
:12885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12886 glibcpp_cv_func__frexpl_use
=yes
12888 echo "configure: failed program was:" >&5
12889 cat conftest.
$ac_ext >&5
12891 glibcpp_cv_func__frexpl_use
=no
12895 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12896 ac_cpp
='$CPP $CPPFLAGS'
12897 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12898 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12899 cross_compiling
=$ac_cv_prog_cc_cross
12905 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
12907 if test x
$glibcpp_cv_func__frexpl_use = x
"yes"; then
12908 for ac_func
in _frexpl
12910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12911 echo "configure:12912: checking for $ac_func" >&5
12912 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12913 echo $ac_n "(cached) $ac_c" 1>&6
12915 cat > conftest.
$ac_ext <<EOF
12916 #line 12917 "configure"
12917 #include "confdefs.h"
12918 /* System header to define __stub macros and hopefully few prototypes,
12919 which can conflict with char $ac_func(); below. */
12920 #include <assert.h>
12921 /* Override any gcc2 internal prototype to avoid an error. */
12922 /* We use char because int might match the return type of a gcc2
12923 builtin and then its argument prototype would still apply. */
12928 /* The GNU C library defines this for functions which it implements
12929 to always fail with ENOSYS. Some functions are actually named
12930 something starting with __ and the normal name is an alias. */
12931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12939 if { (eval echo configure
:12940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12941 eval "ac_cv_func_$ac_func=yes"
12943 echo "configure: failed program was:" >&5
12944 cat conftest.
$ac_ext >&5
12946 eval "ac_cv_func_$ac_func=no"
12951 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12952 echo "$ac_t""yes" 1>&6
12953 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12954 cat >> confdefs.h
<<EOF
12955 #define $ac_tr_func 1
12959 echo "$ac_t""no" 1>&6
12968 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
12969 echo "configure:12970: checking for ldexpl declaration" >&5
12970 if test x
${glibcpp_cv_func_ldexpl_use+set} != xset
; then
12971 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
12972 echo $ac_n "(cached) $ac_c" 1>&6
12977 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12978 ac_cpp
='$CXXCPP $CPPFLAGS'
12979 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12980 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12981 cross_compiling
=$ac_cv_prog_cxx_cross
12983 cat > conftest.
$ac_ext <<EOF
12984 #line 12985 "configure"
12985 #include "confdefs.h"
12991 if { (eval echo configure
:12992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12993 glibcpp_cv_func_ldexpl_use
=yes
12995 echo "configure: failed program was:" >&5
12996 cat conftest.
$ac_ext >&5
12998 glibcpp_cv_func_ldexpl_use
=no
13002 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13003 ac_cpp
='$CPP $CPPFLAGS'
13004 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13005 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13006 cross_compiling
=$ac_cv_prog_cc_cross
13012 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
13014 if test x
$glibcpp_cv_func_ldexpl_use = x
"yes"; then
13015 for ac_func
in ldexpl
13017 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13018 echo "configure:13019: checking for $ac_func" >&5
13019 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13020 echo $ac_n "(cached) $ac_c" 1>&6
13022 cat > conftest.
$ac_ext <<EOF
13023 #line 13024 "configure"
13024 #include "confdefs.h"
13025 /* System header to define __stub macros and hopefully few prototypes,
13026 which can conflict with char $ac_func(); below. */
13027 #include <assert.h>
13028 /* Override any gcc2 internal prototype to avoid an error. */
13029 /* We use char because int might match the return type of a gcc2
13030 builtin and then its argument prototype would still apply. */
13035 /* The GNU C library defines this for functions which it implements
13036 to always fail with ENOSYS. Some functions are actually named
13037 something starting with __ and the normal name is an alias. */
13038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13046 if { (eval echo configure
:13047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13048 eval "ac_cv_func_$ac_func=yes"
13050 echo "configure: failed program was:" >&5
13051 cat conftest.
$ac_ext >&5
13053 eval "ac_cv_func_$ac_func=no"
13058 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13059 echo "$ac_t""yes" 1>&6
13060 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13061 cat >> confdefs.h
<<EOF
13062 #define $ac_tr_func 1
13066 echo "$ac_t""no" 1>&6
13072 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
13073 echo "configure:13074: checking for _ldexpl declaration" >&5
13074 if test x
${glibcpp_cv_func__ldexpl_use+set} != xset
; then
13075 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
13076 echo $ac_n "(cached) $ac_c" 1>&6
13081 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13082 ac_cpp
='$CXXCPP $CPPFLAGS'
13083 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13084 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13085 cross_compiling
=$ac_cv_prog_cxx_cross
13087 cat > conftest.
$ac_ext <<EOF
13088 #line 13089 "configure"
13089 #include "confdefs.h"
13095 if { (eval echo configure
:13096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13097 glibcpp_cv_func__ldexpl_use
=yes
13099 echo "configure: failed program was:" >&5
13100 cat conftest.
$ac_ext >&5
13102 glibcpp_cv_func__ldexpl_use
=no
13106 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13107 ac_cpp
='$CPP $CPPFLAGS'
13108 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13109 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13110 cross_compiling
=$ac_cv_prog_cc_cross
13116 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
13118 if test x
$glibcpp_cv_func__ldexpl_use = x
"yes"; then
13119 for ac_func
in _ldexpl
13121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13122 echo "configure:13123: checking for $ac_func" >&5
13123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13124 echo $ac_n "(cached) $ac_c" 1>&6
13126 cat > conftest.
$ac_ext <<EOF
13127 #line 13128 "configure"
13128 #include "confdefs.h"
13129 /* System header to define __stub macros and hopefully few prototypes,
13130 which can conflict with char $ac_func(); below. */
13131 #include <assert.h>
13132 /* Override any gcc2 internal prototype to avoid an error. */
13133 /* We use char because int might match the return type of a gcc2
13134 builtin and then its argument prototype would still apply. */
13139 /* The GNU C library defines this for functions which it implements
13140 to always fail with ENOSYS. Some functions are actually named
13141 something starting with __ and the normal name is an alias. */
13142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13150 if { (eval echo configure
:13151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13152 eval "ac_cv_func_$ac_func=yes"
13154 echo "configure: failed program was:" >&5
13155 cat conftest.
$ac_ext >&5
13157 eval "ac_cv_func_$ac_func=no"
13162 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13163 echo "$ac_t""yes" 1>&6
13164 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13165 cat >> confdefs.h
<<EOF
13166 #define $ac_tr_func 1
13170 echo "$ac_t""no" 1>&6
13179 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
13180 echo "configure:13181: checking for logl declaration" >&5
13181 if test x
${glibcpp_cv_func_logl_use+set} != xset
; then
13182 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
13183 echo $ac_n "(cached) $ac_c" 1>&6
13188 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13189 ac_cpp
='$CXXCPP $CPPFLAGS'
13190 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13191 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13192 cross_compiling
=$ac_cv_prog_cxx_cross
13194 cat > conftest.
$ac_ext <<EOF
13195 #line 13196 "configure"
13196 #include "confdefs.h"
13198 #ifdef HAVE_IEEEFP_H
13199 #include <ieeefp.h>
13206 if { (eval echo configure
:13207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13208 glibcpp_cv_func_logl_use
=yes
13210 echo "configure: failed program was:" >&5
13211 cat conftest.
$ac_ext >&5
13213 glibcpp_cv_func_logl_use
=no
13217 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13218 ac_cpp
='$CPP $CPPFLAGS'
13219 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13220 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13221 cross_compiling
=$ac_cv_prog_cc_cross
13227 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
13229 if test x
$glibcpp_cv_func_logl_use = x
"yes"; then
13230 for ac_func
in logl
13232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13233 echo "configure:13234: checking for $ac_func" >&5
13234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13235 echo $ac_n "(cached) $ac_c" 1>&6
13237 cat > conftest.
$ac_ext <<EOF
13238 #line 13239 "configure"
13239 #include "confdefs.h"
13240 /* System header to define __stub macros and hopefully few prototypes,
13241 which can conflict with char $ac_func(); below. */
13242 #include <assert.h>
13243 /* Override any gcc2 internal prototype to avoid an error. */
13244 /* We use char because int might match the return type of a gcc2
13245 builtin and then its argument prototype would still apply. */
13250 /* The GNU C library defines this for functions which it implements
13251 to always fail with ENOSYS. Some functions are actually named
13252 something starting with __ and the normal name is an alias. */
13253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13261 if { (eval echo configure
:13262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13263 eval "ac_cv_func_$ac_func=yes"
13265 echo "configure: failed program was:" >&5
13266 cat conftest.
$ac_ext >&5
13268 eval "ac_cv_func_$ac_func=no"
13273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13274 echo "$ac_t""yes" 1>&6
13275 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13276 cat >> confdefs.h
<<EOF
13277 #define $ac_tr_func 1
13281 echo "$ac_t""no" 1>&6
13287 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
13288 echo "configure:13289: checking for _logl declaration" >&5
13289 if test x
${glibcpp_cv_func__logl_use+set} != xset
; then
13290 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
13291 echo $ac_n "(cached) $ac_c" 1>&6
13296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13297 ac_cpp
='$CXXCPP $CPPFLAGS'
13298 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13299 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13300 cross_compiling
=$ac_cv_prog_cxx_cross
13302 cat > conftest.
$ac_ext <<EOF
13303 #line 13304 "configure"
13304 #include "confdefs.h"
13306 #ifdef HAVE_IEEEFP_H
13307 #include <ieeefp.h>
13314 if { (eval echo configure
:13315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13316 glibcpp_cv_func__logl_use
=yes
13318 echo "configure: failed program was:" >&5
13319 cat conftest.
$ac_ext >&5
13321 glibcpp_cv_func__logl_use
=no
13325 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13326 ac_cpp
='$CPP $CPPFLAGS'
13327 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13328 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13329 cross_compiling
=$ac_cv_prog_cc_cross
13335 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
13337 if test x
$glibcpp_cv_func__logl_use = x
"yes"; then
13338 for ac_func
in _logl
13340 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13341 echo "configure:13342: checking for $ac_func" >&5
13342 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13343 echo $ac_n "(cached) $ac_c" 1>&6
13345 cat > conftest.
$ac_ext <<EOF
13346 #line 13347 "configure"
13347 #include "confdefs.h"
13348 /* System header to define __stub macros and hopefully few prototypes,
13349 which can conflict with char $ac_func(); below. */
13350 #include <assert.h>
13351 /* Override any gcc2 internal prototype to avoid an error. */
13352 /* We use char because int might match the return type of a gcc2
13353 builtin and then its argument prototype would still apply. */
13358 /* The GNU C library defines this for functions which it implements
13359 to always fail with ENOSYS. Some functions are actually named
13360 something starting with __ and the normal name is an alias. */
13361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13369 if { (eval echo configure
:13370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13371 eval "ac_cv_func_$ac_func=yes"
13373 echo "configure: failed program was:" >&5
13374 cat conftest.
$ac_ext >&5
13376 eval "ac_cv_func_$ac_func=no"
13381 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13382 echo "$ac_t""yes" 1>&6
13383 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13384 cat >> confdefs.h
<<EOF
13385 #define $ac_tr_func 1
13389 echo "$ac_t""no" 1>&6
13398 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
13399 echo "configure:13400: checking for log10l declaration" >&5
13400 if test x
${glibcpp_cv_func_log10l_use+set} != xset
; then
13401 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
13402 echo $ac_n "(cached) $ac_c" 1>&6
13407 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13408 ac_cpp
='$CXXCPP $CPPFLAGS'
13409 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13410 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13411 cross_compiling
=$ac_cv_prog_cxx_cross
13413 cat > conftest.
$ac_ext <<EOF
13414 #line 13415 "configure"
13415 #include "confdefs.h"
13417 #ifdef HAVE_IEEEFP_H
13418 #include <ieeefp.h>
13425 if { (eval echo configure
:13426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13427 glibcpp_cv_func_log10l_use
=yes
13429 echo "configure: failed program was:" >&5
13430 cat conftest.
$ac_ext >&5
13432 glibcpp_cv_func_log10l_use
=no
13436 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13437 ac_cpp
='$CPP $CPPFLAGS'
13438 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13439 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13440 cross_compiling
=$ac_cv_prog_cc_cross
13446 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
13448 if test x
$glibcpp_cv_func_log10l_use = x
"yes"; then
13449 for ac_func
in log10l
13451 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13452 echo "configure:13453: checking for $ac_func" >&5
13453 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13454 echo $ac_n "(cached) $ac_c" 1>&6
13456 cat > conftest.
$ac_ext <<EOF
13457 #line 13458 "configure"
13458 #include "confdefs.h"
13459 /* System header to define __stub macros and hopefully few prototypes,
13460 which can conflict with char $ac_func(); below. */
13461 #include <assert.h>
13462 /* Override any gcc2 internal prototype to avoid an error. */
13463 /* We use char because int might match the return type of a gcc2
13464 builtin and then its argument prototype would still apply. */
13469 /* The GNU C library defines this for functions which it implements
13470 to always fail with ENOSYS. Some functions are actually named
13471 something starting with __ and the normal name is an alias. */
13472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13480 if { (eval echo configure
:13481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13482 eval "ac_cv_func_$ac_func=yes"
13484 echo "configure: failed program was:" >&5
13485 cat conftest.
$ac_ext >&5
13487 eval "ac_cv_func_$ac_func=no"
13492 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13493 echo "$ac_t""yes" 1>&6
13494 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13495 cat >> confdefs.h
<<EOF
13496 #define $ac_tr_func 1
13500 echo "$ac_t""no" 1>&6
13506 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
13507 echo "configure:13508: checking for _log10l declaration" >&5
13508 if test x
${glibcpp_cv_func__log10l_use+set} != xset
; then
13509 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
13510 echo $ac_n "(cached) $ac_c" 1>&6
13515 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13516 ac_cpp
='$CXXCPP $CPPFLAGS'
13517 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13518 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13519 cross_compiling
=$ac_cv_prog_cxx_cross
13521 cat > conftest.
$ac_ext <<EOF
13522 #line 13523 "configure"
13523 #include "confdefs.h"
13525 #ifdef HAVE_IEEEFP_H
13526 #include <ieeefp.h>
13533 if { (eval echo configure
:13534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13535 glibcpp_cv_func__log10l_use
=yes
13537 echo "configure: failed program was:" >&5
13538 cat conftest.
$ac_ext >&5
13540 glibcpp_cv_func__log10l_use
=no
13544 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13545 ac_cpp
='$CPP $CPPFLAGS'
13546 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13547 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13548 cross_compiling
=$ac_cv_prog_cc_cross
13554 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
13556 if test x
$glibcpp_cv_func__log10l_use = x
"yes"; then
13557 for ac_func
in _log10l
13559 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13560 echo "configure:13561: checking for $ac_func" >&5
13561 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13562 echo $ac_n "(cached) $ac_c" 1>&6
13564 cat > conftest.
$ac_ext <<EOF
13565 #line 13566 "configure"
13566 #include "confdefs.h"
13567 /* System header to define __stub macros and hopefully few prototypes,
13568 which can conflict with char $ac_func(); below. */
13569 #include <assert.h>
13570 /* Override any gcc2 internal prototype to avoid an error. */
13571 /* We use char because int might match the return type of a gcc2
13572 builtin and then its argument prototype would still apply. */
13577 /* The GNU C library defines this for functions which it implements
13578 to always fail with ENOSYS. Some functions are actually named
13579 something starting with __ and the normal name is an alias. */
13580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13588 if { (eval echo configure
:13589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13590 eval "ac_cv_func_$ac_func=yes"
13592 echo "configure: failed program was:" >&5
13593 cat conftest.
$ac_ext >&5
13595 eval "ac_cv_func_$ac_func=no"
13600 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13601 echo "$ac_t""yes" 1>&6
13602 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13603 cat >> confdefs.h
<<EOF
13604 #define $ac_tr_func 1
13608 echo "$ac_t""no" 1>&6
13617 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
13618 echo "configure:13619: checking for modfl declaration" >&5
13619 if test x
${glibcpp_cv_func_modfl_use+set} != xset
; then
13620 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
13621 echo $ac_n "(cached) $ac_c" 1>&6
13626 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13627 ac_cpp
='$CXXCPP $CPPFLAGS'
13628 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13629 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13630 cross_compiling
=$ac_cv_prog_cxx_cross
13632 cat > conftest.
$ac_ext <<EOF
13633 #line 13634 "configure"
13634 #include "confdefs.h"
13640 if { (eval echo configure
:13641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13642 glibcpp_cv_func_modfl_use
=yes
13644 echo "configure: failed program was:" >&5
13645 cat conftest.
$ac_ext >&5
13647 glibcpp_cv_func_modfl_use
=no
13651 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13652 ac_cpp
='$CPP $CPPFLAGS'
13653 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13654 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13655 cross_compiling
=$ac_cv_prog_cc_cross
13661 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
13663 if test x
$glibcpp_cv_func_modfl_use = x
"yes"; then
13664 for ac_func
in modfl
13666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13667 echo "configure:13668: checking for $ac_func" >&5
13668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13669 echo $ac_n "(cached) $ac_c" 1>&6
13671 cat > conftest.
$ac_ext <<EOF
13672 #line 13673 "configure"
13673 #include "confdefs.h"
13674 /* System header to define __stub macros and hopefully few prototypes,
13675 which can conflict with char $ac_func(); below. */
13676 #include <assert.h>
13677 /* Override any gcc2 internal prototype to avoid an error. */
13678 /* We use char because int might match the return type of a gcc2
13679 builtin and then its argument prototype would still apply. */
13684 /* The GNU C library defines this for functions which it implements
13685 to always fail with ENOSYS. Some functions are actually named
13686 something starting with __ and the normal name is an alias. */
13687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13695 if { (eval echo configure
:13696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13697 eval "ac_cv_func_$ac_func=yes"
13699 echo "configure: failed program was:" >&5
13700 cat conftest.
$ac_ext >&5
13702 eval "ac_cv_func_$ac_func=no"
13707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13708 echo "$ac_t""yes" 1>&6
13709 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13710 cat >> confdefs.h
<<EOF
13711 #define $ac_tr_func 1
13715 echo "$ac_t""no" 1>&6
13721 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
13722 echo "configure:13723: checking for _modfl declaration" >&5
13723 if test x
${glibcpp_cv_func__modfl_use+set} != xset
; then
13724 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13725 echo $ac_n "(cached) $ac_c" 1>&6
13730 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13731 ac_cpp
='$CXXCPP $CPPFLAGS'
13732 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13733 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13734 cross_compiling
=$ac_cv_prog_cxx_cross
13736 cat > conftest.
$ac_ext <<EOF
13737 #line 13738 "configure"
13738 #include "confdefs.h"
13744 if { (eval echo configure
:13745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13746 glibcpp_cv_func__modfl_use
=yes
13748 echo "configure: failed program was:" >&5
13749 cat conftest.
$ac_ext >&5
13751 glibcpp_cv_func__modfl_use
=no
13755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13756 ac_cpp
='$CPP $CPPFLAGS'
13757 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13758 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13759 cross_compiling
=$ac_cv_prog_cc_cross
13765 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13767 if test x
$glibcpp_cv_func__modfl_use = x
"yes"; then
13768 for ac_func
in _modfl
13770 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13771 echo "configure:13772: checking for $ac_func" >&5
13772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13773 echo $ac_n "(cached) $ac_c" 1>&6
13775 cat > conftest.
$ac_ext <<EOF
13776 #line 13777 "configure"
13777 #include "confdefs.h"
13778 /* System header to define __stub macros and hopefully few prototypes,
13779 which can conflict with char $ac_func(); below. */
13780 #include <assert.h>
13781 /* Override any gcc2 internal prototype to avoid an error. */
13782 /* We use char because int might match the return type of a gcc2
13783 builtin and then its argument prototype would still apply. */
13788 /* The GNU C library defines this for functions which it implements
13789 to always fail with ENOSYS. Some functions are actually named
13790 something starting with __ and the normal name is an alias. */
13791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13799 if { (eval echo configure
:13800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13801 eval "ac_cv_func_$ac_func=yes"
13803 echo "configure: failed program was:" >&5
13804 cat conftest.
$ac_ext >&5
13806 eval "ac_cv_func_$ac_func=no"
13811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13812 echo "$ac_t""yes" 1>&6
13813 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13814 cat >> confdefs.h
<<EOF
13815 #define $ac_tr_func 1
13819 echo "$ac_t""no" 1>&6
13828 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
13829 echo "configure:13830: checking for powl declaration" >&5
13830 if test x
${glibcpp_cv_func_powl_use+set} != xset
; then
13831 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
13832 echo $ac_n "(cached) $ac_c" 1>&6
13837 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13838 ac_cpp
='$CXXCPP $CPPFLAGS'
13839 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13840 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13841 cross_compiling
=$ac_cv_prog_cxx_cross
13843 cat > conftest.
$ac_ext <<EOF
13844 #line 13845 "configure"
13845 #include "confdefs.h"
13851 if { (eval echo configure
:13852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13853 glibcpp_cv_func_powl_use
=yes
13855 echo "configure: failed program was:" >&5
13856 cat conftest.
$ac_ext >&5
13858 glibcpp_cv_func_powl_use
=no
13862 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13863 ac_cpp
='$CPP $CPPFLAGS'
13864 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13865 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13866 cross_compiling
=$ac_cv_prog_cc_cross
13872 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
13874 if test x
$glibcpp_cv_func_powl_use = x
"yes"; then
13875 for ac_func
in powl
13877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13878 echo "configure:13879: checking for $ac_func" >&5
13879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13880 echo $ac_n "(cached) $ac_c" 1>&6
13882 cat > conftest.
$ac_ext <<EOF
13883 #line 13884 "configure"
13884 #include "confdefs.h"
13885 /* System header to define __stub macros and hopefully few prototypes,
13886 which can conflict with char $ac_func(); below. */
13887 #include <assert.h>
13888 /* Override any gcc2 internal prototype to avoid an error. */
13889 /* We use char because int might match the return type of a gcc2
13890 builtin and then its argument prototype would still apply. */
13895 /* The GNU C library defines this for functions which it implements
13896 to always fail with ENOSYS. Some functions are actually named
13897 something starting with __ and the normal name is an alias. */
13898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13906 if { (eval echo configure
:13907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13908 eval "ac_cv_func_$ac_func=yes"
13910 echo "configure: failed program was:" >&5
13911 cat conftest.
$ac_ext >&5
13913 eval "ac_cv_func_$ac_func=no"
13918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13919 echo "$ac_t""yes" 1>&6
13920 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13921 cat >> confdefs.h
<<EOF
13922 #define $ac_tr_func 1
13926 echo "$ac_t""no" 1>&6
13932 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
13933 echo "configure:13934: checking for _powl declaration" >&5
13934 if test x
${glibcpp_cv_func__powl_use+set} != xset
; then
13935 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
13936 echo $ac_n "(cached) $ac_c" 1>&6
13941 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13942 ac_cpp
='$CXXCPP $CPPFLAGS'
13943 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13944 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13945 cross_compiling
=$ac_cv_prog_cxx_cross
13947 cat > conftest.
$ac_ext <<EOF
13948 #line 13949 "configure"
13949 #include "confdefs.h"
13955 if { (eval echo configure
:13956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13957 glibcpp_cv_func__powl_use
=yes
13959 echo "configure: failed program was:" >&5
13960 cat conftest.
$ac_ext >&5
13962 glibcpp_cv_func__powl_use
=no
13966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13967 ac_cpp
='$CPP $CPPFLAGS'
13968 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13969 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13970 cross_compiling
=$ac_cv_prog_cc_cross
13976 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
13978 if test x
$glibcpp_cv_func__powl_use = x
"yes"; then
13979 for ac_func
in _powl
13981 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13982 echo "configure:13983: checking for $ac_func" >&5
13983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13984 echo $ac_n "(cached) $ac_c" 1>&6
13986 cat > conftest.
$ac_ext <<EOF
13987 #line 13988 "configure"
13988 #include "confdefs.h"
13989 /* System header to define __stub macros and hopefully few prototypes,
13990 which can conflict with char $ac_func(); below. */
13991 #include <assert.h>
13992 /* Override any gcc2 internal prototype to avoid an error. */
13993 /* We use char because int might match the return type of a gcc2
13994 builtin and then its argument prototype would still apply. */
13999 /* The GNU C library defines this for functions which it implements
14000 to always fail with ENOSYS. Some functions are actually named
14001 something starting with __ and the normal name is an alias. */
14002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14010 if { (eval echo configure
:14011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14012 eval "ac_cv_func_$ac_func=yes"
14014 echo "configure: failed program was:" >&5
14015 cat conftest.
$ac_ext >&5
14017 eval "ac_cv_func_$ac_func=no"
14022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14023 echo "$ac_t""yes" 1>&6
14024 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14025 cat >> confdefs.h
<<EOF
14026 #define $ac_tr_func 1
14030 echo "$ac_t""no" 1>&6
14039 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
14040 echo "configure:14041: checking for sqrtl declaration" >&5
14041 if test x
${glibcpp_cv_func_sqrtl_use+set} != xset
; then
14042 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
14043 echo $ac_n "(cached) $ac_c" 1>&6
14048 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14049 ac_cpp
='$CXXCPP $CPPFLAGS'
14050 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14051 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14052 cross_compiling
=$ac_cv_prog_cxx_cross
14054 cat > conftest.
$ac_ext <<EOF
14055 #line 14056 "configure"
14056 #include "confdefs.h"
14058 #ifdef HAVE_IEEEFP_H
14059 #include <ieeefp.h>
14066 if { (eval echo configure
:14067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14068 glibcpp_cv_func_sqrtl_use
=yes
14070 echo "configure: failed program was:" >&5
14071 cat conftest.
$ac_ext >&5
14073 glibcpp_cv_func_sqrtl_use
=no
14077 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14078 ac_cpp
='$CPP $CPPFLAGS'
14079 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14080 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14081 cross_compiling
=$ac_cv_prog_cc_cross
14087 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
14089 if test x
$glibcpp_cv_func_sqrtl_use = x
"yes"; then
14090 for ac_func
in sqrtl
14092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14093 echo "configure:14094: checking for $ac_func" >&5
14094 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14095 echo $ac_n "(cached) $ac_c" 1>&6
14097 cat > conftest.
$ac_ext <<EOF
14098 #line 14099 "configure"
14099 #include "confdefs.h"
14100 /* System header to define __stub macros and hopefully few prototypes,
14101 which can conflict with char $ac_func(); below. */
14102 #include <assert.h>
14103 /* Override any gcc2 internal prototype to avoid an error. */
14104 /* We use char because int might match the return type of a gcc2
14105 builtin and then its argument prototype would still apply. */
14110 /* The GNU C library defines this for functions which it implements
14111 to always fail with ENOSYS. Some functions are actually named
14112 something starting with __ and the normal name is an alias. */
14113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14121 if { (eval echo configure
:14122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14123 eval "ac_cv_func_$ac_func=yes"
14125 echo "configure: failed program was:" >&5
14126 cat conftest.
$ac_ext >&5
14128 eval "ac_cv_func_$ac_func=no"
14133 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14134 echo "$ac_t""yes" 1>&6
14135 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14136 cat >> confdefs.h
<<EOF
14137 #define $ac_tr_func 1
14141 echo "$ac_t""no" 1>&6
14147 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
14148 echo "configure:14149: checking for _sqrtl declaration" >&5
14149 if test x
${glibcpp_cv_func__sqrtl_use+set} != xset
; then
14150 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
14151 echo $ac_n "(cached) $ac_c" 1>&6
14156 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14157 ac_cpp
='$CXXCPP $CPPFLAGS'
14158 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14159 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14160 cross_compiling
=$ac_cv_prog_cxx_cross
14162 cat > conftest.
$ac_ext <<EOF
14163 #line 14164 "configure"
14164 #include "confdefs.h"
14166 #ifdef HAVE_IEEEFP_H
14167 #include <ieeefp.h>
14174 if { (eval echo configure
:14175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14176 glibcpp_cv_func__sqrtl_use
=yes
14178 echo "configure: failed program was:" >&5
14179 cat conftest.
$ac_ext >&5
14181 glibcpp_cv_func__sqrtl_use
=no
14185 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14186 ac_cpp
='$CPP $CPPFLAGS'
14187 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14188 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14189 cross_compiling
=$ac_cv_prog_cc_cross
14195 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
14197 if test x
$glibcpp_cv_func__sqrtl_use = x
"yes"; then
14198 for ac_func
in _sqrtl
14200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14201 echo "configure:14202: checking for $ac_func" >&5
14202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14203 echo $ac_n "(cached) $ac_c" 1>&6
14205 cat > conftest.
$ac_ext <<EOF
14206 #line 14207 "configure"
14207 #include "confdefs.h"
14208 /* System header to define __stub macros and hopefully few prototypes,
14209 which can conflict with char $ac_func(); below. */
14210 #include <assert.h>
14211 /* Override any gcc2 internal prototype to avoid an error. */
14212 /* We use char because int might match the return type of a gcc2
14213 builtin and then its argument prototype would still apply. */
14218 /* The GNU C library defines this for functions which it implements
14219 to always fail with ENOSYS. Some functions are actually named
14220 something starting with __ and the normal name is an alias. */
14221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14229 if { (eval echo configure
:14230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14231 eval "ac_cv_func_$ac_func=yes"
14233 echo "configure: failed program was:" >&5
14234 cat conftest.
$ac_ext >&5
14236 eval "ac_cv_func_$ac_func=no"
14241 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14242 echo "$ac_t""yes" 1>&6
14243 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14244 cat >> confdefs.h
<<EOF
14245 #define $ac_tr_func 1
14249 echo "$ac_t""no" 1>&6
14258 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
14259 echo "configure:14260: checking for sincosl declaration" >&5
14260 if test x
${glibcpp_cv_func_sincosl_use+set} != xset
; then
14261 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
14262 echo $ac_n "(cached) $ac_c" 1>&6
14267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14268 ac_cpp
='$CXXCPP $CPPFLAGS'
14269 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14270 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14271 cross_compiling
=$ac_cv_prog_cxx_cross
14273 cat > conftest.
$ac_ext <<EOF
14274 #line 14275 "configure"
14275 #include "confdefs.h"
14281 if { (eval echo configure
:14282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14283 glibcpp_cv_func_sincosl_use
=yes
14285 echo "configure: failed program was:" >&5
14286 cat conftest.
$ac_ext >&5
14288 glibcpp_cv_func_sincosl_use
=no
14292 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14293 ac_cpp
='$CPP $CPPFLAGS'
14294 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14295 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14296 cross_compiling
=$ac_cv_prog_cc_cross
14302 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
14304 if test x
$glibcpp_cv_func_sincosl_use = x
"yes"; then
14305 for ac_func
in sincosl
14307 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14308 echo "configure:14309: checking for $ac_func" >&5
14309 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14310 echo $ac_n "(cached) $ac_c" 1>&6
14312 cat > conftest.
$ac_ext <<EOF
14313 #line 14314 "configure"
14314 #include "confdefs.h"
14315 /* System header to define __stub macros and hopefully few prototypes,
14316 which can conflict with char $ac_func(); below. */
14317 #include <assert.h>
14318 /* Override any gcc2 internal prototype to avoid an error. */
14319 /* We use char because int might match the return type of a gcc2
14320 builtin and then its argument prototype would still apply. */
14325 /* The GNU C library defines this for functions which it implements
14326 to always fail with ENOSYS. Some functions are actually named
14327 something starting with __ and the normal name is an alias. */
14328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14336 if { (eval echo configure
:14337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14338 eval "ac_cv_func_$ac_func=yes"
14340 echo "configure: failed program was:" >&5
14341 cat conftest.
$ac_ext >&5
14343 eval "ac_cv_func_$ac_func=no"
14348 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14349 echo "$ac_t""yes" 1>&6
14350 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14351 cat >> confdefs.h
<<EOF
14352 #define $ac_tr_func 1
14356 echo "$ac_t""no" 1>&6
14362 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
14363 echo "configure:14364: checking for _sincosl declaration" >&5
14364 if test x
${glibcpp_cv_func__sincosl_use+set} != xset
; then
14365 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
14366 echo $ac_n "(cached) $ac_c" 1>&6
14371 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14372 ac_cpp
='$CXXCPP $CPPFLAGS'
14373 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14374 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14375 cross_compiling
=$ac_cv_prog_cxx_cross
14377 cat > conftest.
$ac_ext <<EOF
14378 #line 14379 "configure"
14379 #include "confdefs.h"
14385 if { (eval echo configure
:14386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14387 glibcpp_cv_func__sincosl_use
=yes
14389 echo "configure: failed program was:" >&5
14390 cat conftest.
$ac_ext >&5
14392 glibcpp_cv_func__sincosl_use
=no
14396 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14397 ac_cpp
='$CPP $CPPFLAGS'
14398 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14399 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14400 cross_compiling
=$ac_cv_prog_cc_cross
14406 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
14408 if test x
$glibcpp_cv_func__sincosl_use = x
"yes"; then
14409 for ac_func
in _sincosl
14411 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14412 echo "configure:14413: checking for $ac_func" >&5
14413 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14414 echo $ac_n "(cached) $ac_c" 1>&6
14416 cat > conftest.
$ac_ext <<EOF
14417 #line 14418 "configure"
14418 #include "confdefs.h"
14419 /* System header to define __stub macros and hopefully few prototypes,
14420 which can conflict with char $ac_func(); below. */
14421 #include <assert.h>
14422 /* Override any gcc2 internal prototype to avoid an error. */
14423 /* We use char because int might match the return type of a gcc2
14424 builtin and then its argument prototype would still apply. */
14429 /* The GNU C library defines this for functions which it implements
14430 to always fail with ENOSYS. Some functions are actually named
14431 something starting with __ and the normal name is an alias. */
14432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14440 if { (eval echo configure
:14441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14442 eval "ac_cv_func_$ac_func=yes"
14444 echo "configure: failed program was:" >&5
14445 cat conftest.
$ac_ext >&5
14447 eval "ac_cv_func_$ac_func=no"
14452 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14453 echo "$ac_t""yes" 1>&6
14454 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14455 cat >> confdefs.h
<<EOF
14456 #define $ac_tr_func 1
14460 echo "$ac_t""no" 1>&6
14469 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
14470 echo "configure:14471: checking for finitel declaration" >&5
14471 if test x
${glibcpp_cv_func_finitel_use+set} != xset
; then
14472 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
14473 echo $ac_n "(cached) $ac_c" 1>&6
14478 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14479 ac_cpp
='$CXXCPP $CPPFLAGS'
14480 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14481 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14482 cross_compiling
=$ac_cv_prog_cxx_cross
14484 cat > conftest.
$ac_ext <<EOF
14485 #line 14486 "configure"
14486 #include "confdefs.h"
14488 #ifdef HAVE_IEEEFP_H
14489 #include <ieeefp.h>
14496 if { (eval echo configure
:14497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14498 glibcpp_cv_func_finitel_use
=yes
14500 echo "configure: failed program was:" >&5
14501 cat conftest.
$ac_ext >&5
14503 glibcpp_cv_func_finitel_use
=no
14507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14508 ac_cpp
='$CPP $CPPFLAGS'
14509 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14510 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14511 cross_compiling
=$ac_cv_prog_cc_cross
14517 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
14519 if test x
$glibcpp_cv_func_finitel_use = x
"yes"; then
14520 for ac_func
in finitel
14522 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14523 echo "configure:14524: checking for $ac_func" >&5
14524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14525 echo $ac_n "(cached) $ac_c" 1>&6
14527 cat > conftest.
$ac_ext <<EOF
14528 #line 14529 "configure"
14529 #include "confdefs.h"
14530 /* System header to define __stub macros and hopefully few prototypes,
14531 which can conflict with char $ac_func(); below. */
14532 #include <assert.h>
14533 /* Override any gcc2 internal prototype to avoid an error. */
14534 /* We use char because int might match the return type of a gcc2
14535 builtin and then its argument prototype would still apply. */
14540 /* The GNU C library defines this for functions which it implements
14541 to always fail with ENOSYS. Some functions are actually named
14542 something starting with __ and the normal name is an alias. */
14543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14551 if { (eval echo configure
:14552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14553 eval "ac_cv_func_$ac_func=yes"
14555 echo "configure: failed program was:" >&5
14556 cat conftest.
$ac_ext >&5
14558 eval "ac_cv_func_$ac_func=no"
14563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14564 echo "$ac_t""yes" 1>&6
14565 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14566 cat >> confdefs.h
<<EOF
14567 #define $ac_tr_func 1
14571 echo "$ac_t""no" 1>&6
14577 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
14578 echo "configure:14579: checking for _finitel declaration" >&5
14579 if test x
${glibcpp_cv_func__finitel_use+set} != xset
; then
14580 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
14581 echo $ac_n "(cached) $ac_c" 1>&6
14586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14587 ac_cpp
='$CXXCPP $CPPFLAGS'
14588 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14589 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14590 cross_compiling
=$ac_cv_prog_cxx_cross
14592 cat > conftest.
$ac_ext <<EOF
14593 #line 14594 "configure"
14594 #include "confdefs.h"
14596 #ifdef HAVE_IEEEFP_H
14597 #include <ieeefp.h>
14604 if { (eval echo configure
:14605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14606 glibcpp_cv_func__finitel_use
=yes
14608 echo "configure: failed program was:" >&5
14609 cat conftest.
$ac_ext >&5
14611 glibcpp_cv_func__finitel_use
=no
14615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14616 ac_cpp
='$CPP $CPPFLAGS'
14617 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14618 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14619 cross_compiling
=$ac_cv_prog_cc_cross
14625 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14627 if test x
$glibcpp_cv_func__finitel_use = x
"yes"; then
14628 for ac_func
in _finitel
14630 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14631 echo "configure:14632: checking for $ac_func" >&5
14632 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14633 echo $ac_n "(cached) $ac_c" 1>&6
14635 cat > conftest.
$ac_ext <<EOF
14636 #line 14637 "configure"
14637 #include "confdefs.h"
14638 /* System header to define __stub macros and hopefully few prototypes,
14639 which can conflict with char $ac_func(); below. */
14640 #include <assert.h>
14641 /* Override any gcc2 internal prototype to avoid an error. */
14642 /* We use char because int might match the return type of a gcc2
14643 builtin and then its argument prototype would still apply. */
14648 /* The GNU C library defines this for functions which it implements
14649 to always fail with ENOSYS. Some functions are actually named
14650 something starting with __ and the normal name is an alias. */
14651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14659 if { (eval echo configure
:14660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14661 eval "ac_cv_func_$ac_func=yes"
14663 echo "configure: failed program was:" >&5
14664 cat conftest.
$ac_ext >&5
14666 eval "ac_cv_func_$ac_func=no"
14671 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14672 echo "$ac_t""yes" 1>&6
14673 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14674 cat >> confdefs.h
<<EOF
14675 #define $ac_tr_func 1
14679 echo "$ac_t""no" 1>&6
14689 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
14690 echo "configure:14691: checking for _float trig functions" >&5
14691 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
14692 echo $ac_n "(cached) $ac_c" 1>&6
14697 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14698 ac_cpp
='$CXXCPP $CPPFLAGS'
14699 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14700 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14701 cross_compiling
=$ac_cv_prog_cxx_cross
14703 cat > conftest.
$ac_ext <<EOF
14704 #line 14705 "configure"
14705 #include "confdefs.h"
14708 `for x in _acosf _asinf _atanf \
14709 _cosf _sinf _tanf \
14710 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
14713 if { (eval echo configure
:14714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14715 glibcpp_cv_func__float_trig_use
=yes
14717 echo "configure: failed program was:" >&5
14718 cat conftest.
$ac_ext >&5
14720 glibcpp_cv_func__float_trig_use
=no
14724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14725 ac_cpp
='$CPP $CPPFLAGS'
14726 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14727 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14728 cross_compiling
=$ac_cv_prog_cc_cross
14732 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
14733 if test x
$glibcpp_cv_func__float_trig_use = x
"yes"; then
14734 for ac_func
in _acosf _asinf _atanf \
14735 _cosf _sinf _tanf \
14736 _coshf _sinhf _tanhf
14738 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14739 echo "configure:14740: checking for $ac_func" >&5
14740 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14741 echo $ac_n "(cached) $ac_c" 1>&6
14743 cat > conftest.
$ac_ext <<EOF
14744 #line 14745 "configure"
14745 #include "confdefs.h"
14746 /* System header to define __stub macros and hopefully few prototypes,
14747 which can conflict with char $ac_func(); below. */
14748 #include <assert.h>
14749 /* Override any gcc2 internal prototype to avoid an error. */
14750 /* We use char because int might match the return type of a gcc2
14751 builtin and then its argument prototype would still apply. */
14756 /* The GNU C library defines this for functions which it implements
14757 to always fail with ENOSYS. Some functions are actually named
14758 something starting with __ and the normal name is an alias. */
14759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14767 if { (eval echo configure
:14768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14769 eval "ac_cv_func_$ac_func=yes"
14771 echo "configure: failed program was:" >&5
14772 cat conftest.
$ac_ext >&5
14774 eval "ac_cv_func_$ac_func=no"
14779 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14780 echo "$ac_t""yes" 1>&6
14781 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14782 cat >> confdefs.h
<<EOF
14783 #define $ac_tr_func 1
14787 echo "$ac_t""no" 1>&6
14794 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
14795 echo "configure:14796: checking for _float round functions" >&5
14796 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
14797 echo $ac_n "(cached) $ac_c" 1>&6
14802 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14803 ac_cpp
='$CXXCPP $CPPFLAGS'
14804 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14805 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14806 cross_compiling
=$ac_cv_prog_cxx_cross
14808 cat > conftest.
$ac_ext <<EOF
14809 #line 14810 "configure"
14810 #include "confdefs.h"
14813 `for x in _ceilf _floorf; do echo "$x (0);"; done`
14816 if { (eval echo configure
:14817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14818 glibcpp_cv_func__float_round_use
=yes
14820 echo "configure: failed program was:" >&5
14821 cat conftest.
$ac_ext >&5
14823 glibcpp_cv_func__float_round_use
=no
14827 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14828 ac_cpp
='$CPP $CPPFLAGS'
14829 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14830 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14831 cross_compiling
=$ac_cv_prog_cc_cross
14835 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
14836 if test x
$glibcpp_cv_func__float_round_use = x
"yes"; then
14837 for ac_func
in _ceilf _floorf
14839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14840 echo "configure:14841: checking for $ac_func" >&5
14841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14842 echo $ac_n "(cached) $ac_c" 1>&6
14844 cat > conftest.
$ac_ext <<EOF
14845 #line 14846 "configure"
14846 #include "confdefs.h"
14847 /* System header to define __stub macros and hopefully few prototypes,
14848 which can conflict with char $ac_func(); below. */
14849 #include <assert.h>
14850 /* Override any gcc2 internal prototype to avoid an error. */
14851 /* We use char because int might match the return type of a gcc2
14852 builtin and then its argument prototype would still apply. */
14857 /* The GNU C library defines this for functions which it implements
14858 to always fail with ENOSYS. Some functions are actually named
14859 something starting with __ and the normal name is an alias. */
14860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14868 if { (eval echo configure
:14869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14870 eval "ac_cv_func_$ac_func=yes"
14872 echo "configure: failed program was:" >&5
14873 cat conftest.
$ac_ext >&5
14875 eval "ac_cv_func_$ac_func=no"
14880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14881 echo "$ac_t""yes" 1>&6
14882 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14883 cat >> confdefs.h
<<EOF
14884 #define $ac_tr_func 1
14888 echo "$ac_t""no" 1>&6
14896 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
14897 echo "configure:14898: checking for _long double trig functions" >&5
14898 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
14899 echo $ac_n "(cached) $ac_c" 1>&6
14904 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14905 ac_cpp
='$CXXCPP $CPPFLAGS'
14906 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14907 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14908 cross_compiling
=$ac_cv_prog_cxx_cross
14910 cat > conftest.
$ac_ext <<EOF
14911 #line 14912 "configure"
14912 #include "confdefs.h"
14915 `for x in _acosl _asinl _atanl \
14916 _cosl _sinl _tanl \
14917 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
14920 if { (eval echo configure
:14921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14922 glibcpp_cv_func__long_double_trig_use
=yes
14924 echo "configure: failed program was:" >&5
14925 cat conftest.
$ac_ext >&5
14927 glibcpp_cv_func__long_double_trig_use
=no
14931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14932 ac_cpp
='$CPP $CPPFLAGS'
14933 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14934 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14935 cross_compiling
=$ac_cv_prog_cc_cross
14939 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
14940 if test x
$glibcpp_cv_func__long_double_trig_use = x
"yes"; then
14941 for ac_func
in _acosl _asinl _atanl \
14942 _cosl _sinl _tanl \
14943 _coshl _sinhl _tanhl
14945 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14946 echo "configure:14947: checking for $ac_func" >&5
14947 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14948 echo $ac_n "(cached) $ac_c" 1>&6
14950 cat > conftest.
$ac_ext <<EOF
14951 #line 14952 "configure"
14952 #include "confdefs.h"
14953 /* System header to define __stub macros and hopefully few prototypes,
14954 which can conflict with char $ac_func(); below. */
14955 #include <assert.h>
14956 /* Override any gcc2 internal prototype to avoid an error. */
14957 /* We use char because int might match the return type of a gcc2
14958 builtin and then its argument prototype would still apply. */
14963 /* The GNU C library defines this for functions which it implements
14964 to always fail with ENOSYS. Some functions are actually named
14965 something starting with __ and the normal name is an alias. */
14966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14974 if { (eval echo configure
:14975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14976 eval "ac_cv_func_$ac_func=yes"
14978 echo "configure: failed program was:" >&5
14979 cat conftest.
$ac_ext >&5
14981 eval "ac_cv_func_$ac_func=no"
14986 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14987 echo "$ac_t""yes" 1>&6
14988 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14989 cat >> confdefs.h
<<EOF
14990 #define $ac_tr_func 1
14994 echo "$ac_t""no" 1>&6
15001 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
15002 echo "configure:15003: checking for _long double round functions" >&5
15003 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
15004 echo $ac_n "(cached) $ac_c" 1>&6
15009 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15010 ac_cpp
='$CXXCPP $CPPFLAGS'
15011 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15012 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15013 cross_compiling
=$ac_cv_prog_cxx_cross
15015 cat > conftest.
$ac_ext <<EOF
15016 #line 15017 "configure"
15017 #include "confdefs.h"
15020 `for x in _ceill _floorl; do echo "$x (0);"; done`
15023 if { (eval echo configure
:15024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15025 glibcpp_cv_func__long_double_round_use
=yes
15027 echo "configure: failed program was:" >&5
15028 cat conftest.
$ac_ext >&5
15030 glibcpp_cv_func__long_double_round_use
=no
15034 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15035 ac_cpp
='$CPP $CPPFLAGS'
15036 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15037 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15038 cross_compiling
=$ac_cv_prog_cc_cross
15042 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
15043 if test x
$glibcpp_cv_func__long_double_round_use = x
"yes"; then
15044 for ac_func
in _ceill _floorl
15046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15047 echo "configure:15048: checking for $ac_func" >&5
15048 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15049 echo $ac_n "(cached) $ac_c" 1>&6
15051 cat > conftest.
$ac_ext <<EOF
15052 #line 15053 "configure"
15053 #include "confdefs.h"
15054 /* System header to define __stub macros and hopefully few prototypes,
15055 which can conflict with char $ac_func(); below. */
15056 #include <assert.h>
15057 /* Override any gcc2 internal prototype to avoid an error. */
15058 /* We use char because int might match the return type of a gcc2
15059 builtin and then its argument prototype would still apply. */
15064 /* The GNU C library defines this for functions which it implements
15065 to always fail with ENOSYS. Some functions are actually named
15066 something starting with __ and the normal name is an alias. */
15067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15075 if { (eval echo configure
:15076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15077 eval "ac_cv_func_$ac_func=yes"
15079 echo "configure: failed program was:" >&5
15080 cat conftest.
$ac_ext >&5
15082 eval "ac_cv_func_$ac_func=no"
15087 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15088 echo "$ac_t""yes" 1>&6
15089 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15090 cat >> confdefs.h
<<EOF
15091 #define $ac_tr_func 1
15095 echo "$ac_t""no" 1>&6
15102 LIBS
="$ac_save_LIBS"
15103 CXXFLAGS
="$ac_save_CXXFLAGS"
15106 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
15107 echo "configure:15108: checking for main in -lm" >&5
15108 ac_lib_var
=`echo m'_'main | sed 'y%./+-%__p_%'`
15109 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15110 echo $ac_n "(cached) $ac_c" 1>&6
15112 ac_save_LIBS
="$LIBS"
15114 cat > conftest.
$ac_ext <<EOF
15115 #line 15116 "configure"
15116 #include "confdefs.h"
15122 if { (eval echo configure
:15123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15124 eval "ac_cv_lib_$ac_lib_var=yes"
15126 echo "configure: failed program was:" >&5
15127 cat conftest.
$ac_ext >&5
15129 eval "ac_cv_lib_$ac_lib_var=no"
15132 LIBS
="$ac_save_LIBS"
15135 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15136 echo "$ac_t""yes" 1>&6
15137 ac_tr_lib
=HAVE_LIB
`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
15138 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
15139 cat >> confdefs.h
<<EOF
15140 #define $ac_tr_lib 1
15146 echo "$ac_t""no" 1>&6
15149 for ac_func
in nan hypot hypotf atan2f expf copysignf
15151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15152 echo "configure:15153: checking for $ac_func" >&5
15153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15154 echo $ac_n "(cached) $ac_c" 1>&6
15156 cat > conftest.
$ac_ext <<EOF
15157 #line 15158 "configure"
15158 #include "confdefs.h"
15159 /* System header to define __stub macros and hopefully few prototypes,
15160 which can conflict with char $ac_func(); below. */
15161 #include <assert.h>
15162 /* Override any gcc2 internal prototype to avoid an error. */
15163 /* We use char because int might match the return type of a gcc2
15164 builtin and then its argument prototype would still apply. */
15169 /* The GNU C library defines this for functions which it implements
15170 to always fail with ENOSYS. Some functions are actually named
15171 something starting with __ and the normal name is an alias. */
15172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15180 if { (eval echo configure
:15181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15182 eval "ac_cv_func_$ac_func=yes"
15184 echo "configure: failed program was:" >&5
15185 cat conftest.
$ac_ext >&5
15187 eval "ac_cv_func_$ac_func=no"
15192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15193 echo "$ac_t""yes" 1>&6
15194 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15195 cat >> confdefs.h
<<EOF
15196 #define $ac_tr_func 1
15200 echo "$ac_t""no" 1>&6
15201 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
15207 USE_COMPLEX_LONG_DOUBLE
=no
15208 if test x
$ac_cv_func_atan2l = x
"yes" \
15209 && test x
$ac_cv_func_copysignl = x
"yes"; then
15210 USE_COMPLEX_LONG_DOUBLE
=yes
15211 for ac_func
in hypotl signbitl
15213 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15214 echo "configure:15215: checking for $ac_func" >&5
15215 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15216 echo $ac_n "(cached) $ac_c" 1>&6
15218 cat > conftest.
$ac_ext <<EOF
15219 #line 15220 "configure"
15220 #include "confdefs.h"
15221 /* System header to define __stub macros and hopefully few prototypes,
15222 which can conflict with char $ac_func(); below. */
15223 #include <assert.h>
15224 /* Override any gcc2 internal prototype to avoid an error. */
15225 /* We use char because int might match the return type of a gcc2
15226 builtin and then its argument prototype would still apply. */
15231 /* The GNU C library defines this for functions which it implements
15232 to always fail with ENOSYS. Some functions are actually named
15233 something starting with __ and the normal name is an alias. */
15234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15242 if { (eval echo configure
:15243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15244 eval "ac_cv_func_$ac_func=yes"
15246 echo "configure: failed program was:" >&5
15247 cat conftest.
$ac_ext >&5
15249 eval "ac_cv_func_$ac_func=no"
15254 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15255 echo "$ac_t""yes" 1>&6
15256 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15257 cat >> confdefs.h
<<EOF
15258 #define $ac_tr_func 1
15262 echo "$ac_t""no" 1>&6
15263 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
15275 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
15276 echo "configure:15277: checking for GNU C++ __complex__ support" >&5
15277 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
15278 echo $ac_n "(cached) $ac_c" 1>&6
15283 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15284 ac_cpp
='$CXXCPP $CPPFLAGS'
15285 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15286 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15287 cross_compiling
=$ac_cv_prog_cxx_cross
15289 cat > conftest.
$ac_ext <<EOF
15290 #line 15291 "configure"
15291 #include "confdefs.h"
15292 struct dcomplex { __complex__ double x; }; \
15293 dcomplex f(const dcomplex& x) { return dcomplex(x); }
15299 if { (eval echo configure
:15300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15301 glibcpp_cv_complex
=ok
15303 echo "configure: failed program was:" >&5
15304 cat conftest.
$ac_ext >&5
15306 glibcpp_cv_complex
=buggy
15311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15312 ac_cpp
='$CPP $CPPFLAGS'
15313 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15314 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15315 cross_compiling
=$ac_cv_prog_cc_cross
15320 echo "$ac_t""$glibcpp_cv_complex" 1>&6
15321 if test $glibcpp_cv_complex = buggy
; then
15322 cat >> confdefs.h
<<\EOF
15323 #define _GLIBCPP_BUGGY_COMPLEX 1
15328 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
15329 echo "configure:15330: checking for GNU C++ __complex__ float support" >&5
15330 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
15331 echo $ac_n "(cached) $ac_c" 1>&6
15336 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15337 ac_cpp
='$CXXCPP $CPPFLAGS'
15338 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15339 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15340 cross_compiling
=$ac_cv_prog_cxx_cross
15343 cat > conftest.h
<<EOB
15345 // Check for buggy __complex__ that causes ICE in most versions of egcs
15346 // and gcc-2.95.x on certain platforms (eg., x86-win32).
15348 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
15349 // more info on the bug itself.
15354 __complex__ float m_value;
15355 float_complex (float = 0.0f, float = 0.0f);
15356 float_complex (__complex__ float val) : m_value (val) {}
15357 float_complex foo (const float_complex &val)
15358 { return float_complex (~val.m_value); }
15361 cat > conftest.
$ac_ext <<EOF
15362 #line 15363 "configure"
15363 #include "confdefs.h"
15364 #include "conftest.h"
15369 if { (eval echo configure
:15370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15371 glibcpp_cv_float_complex
=ok
15373 echo "configure: failed program was:" >&5
15374 cat conftest.
$ac_ext >&5
15376 glibcpp_cv_float_complex
=buggy
15381 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15382 ac_cpp
='$CPP $CPPFLAGS'
15383 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15384 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15385 cross_compiling
=$ac_cv_prog_cc_cross
15390 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
15391 if test $glibcpp_cv_float_complex = buggy
; then
15392 cat >> confdefs.h
<<\EOF
15393 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
15400 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
15401 echo "configure:15402: checking for mbstate_t" >&5
15402 cat > conftest.
$ac_ext <<EOF
15403 #line 15404 "configure"
15404 #include "confdefs.h"
15407 mbstate_t teststate;
15410 if { (eval echo configure
:15411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15414 echo "configure: failed program was:" >&5
15415 cat conftest.
$ac_ext >&5
15420 echo "$ac_t""$have_mbstate_t" 1>&6
15421 if test x
"$have_mbstate_t" = xyes
; then
15422 cat >> confdefs.h
<<\EOF
15423 #define HAVE_MBSTATE_T 1
15428 for ac_hdr
in wchar.h
15430 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15431 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15432 echo "configure:15433: checking for $ac_hdr" >&5
15433 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15434 echo $ac_n "(cached) $ac_c" 1>&6
15436 cat > conftest.
$ac_ext <<EOF
15437 #line 15438 "configure"
15438 #include "confdefs.h"
15441 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15442 { (eval echo configure
:15443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15443 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15444 if test -z "$ac_err"; then
15446 eval "ac_cv_header_$ac_safe=yes"
15449 echo "configure: failed program was:" >&5
15450 cat conftest.
$ac_ext >&5
15452 eval "ac_cv_header_$ac_safe=no"
15456 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15457 echo "$ac_t""yes" 1>&6
15458 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15459 cat >> confdefs.h
<<EOF
15460 #define $ac_tr_hdr 1
15464 echo "$ac_t""no" 1>&6
15469 ac_safe
=`echo "wctype.h" | sed 'y%./+-%__p_%'`
15470 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
15471 echo "configure:15472: checking for wctype.h" >&5
15472 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15473 echo $ac_n "(cached) $ac_c" 1>&6
15475 cat > conftest.
$ac_ext <<EOF
15476 #line 15477 "configure"
15477 #include "confdefs.h"
15478 #include <wctype.h>
15480 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15481 { (eval echo configure
:15482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15482 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15483 if test -z "$ac_err"; then
15485 eval "ac_cv_header_$ac_safe=yes"
15488 echo "configure: failed program was:" >&5
15489 cat conftest.
$ac_ext >&5
15491 eval "ac_cv_header_$ac_safe=no"
15495 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15496 echo "$ac_t""yes" 1>&6
15497 ac_has_wctype_h
=yes
15499 echo "$ac_t""no" 1>&6
15504 if test x
"$ac_has_wchar_h" = xyes
&& test x
"$ac_has_wctype_h" = xyes \
15505 && test x
"$enable_c_mbchar" != xno
; then
15507 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
15508 echo "configure:15509: checking for WCHAR_MIN and WCHAR_MAX" >&5
15509 cat > conftest.
$ac_ext <<EOF
15510 #line 15511 "configure"
15511 #include "confdefs.h"
15514 int i = WCHAR_MIN; int j = WCHAR_MAX;
15517 if { (eval echo configure
:15518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15519 has_wchar_minmax
=yes
15521 echo "configure: failed program was:" >&5
15522 cat conftest.
$ac_ext >&5
15524 has_wchar_minmax
=no
15527 echo "$ac_t""$has_wchar_minmax" 1>&6
15529 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
15530 echo "configure:15531: checking for WEOF" >&5
15531 cat > conftest.
$ac_ext <<EOF
15532 #line 15533 "configure"
15533 #include "confdefs.h"
15536 #include <stddef.h>
15541 if { (eval echo configure
:15542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15545 echo "configure: failed program was:" >&5
15546 cat conftest.
$ac_ext >&5
15551 echo "$ac_t""$has_weof" 1>&6
15553 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
15554 wcsrtombs mbsrtowcs
15556 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15557 echo "configure:15558: checking for $ac_func" >&5
15558 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15559 echo $ac_n "(cached) $ac_c" 1>&6
15561 cat > conftest.
$ac_ext <<EOF
15562 #line 15563 "configure"
15563 #include "confdefs.h"
15564 /* System header to define __stub macros and hopefully few prototypes,
15565 which can conflict with char $ac_func(); below. */
15566 #include <assert.h>
15567 /* Override any gcc2 internal prototype to avoid an error. */
15568 /* We use char because int might match the return type of a gcc2
15569 builtin and then its argument prototype would still apply. */
15574 /* The GNU C library defines this for functions which it implements
15575 to always fail with ENOSYS. Some functions are actually named
15576 something starting with __ and the normal name is an alias. */
15577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15585 if { (eval echo configure
:15586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15587 eval "ac_cv_func_$ac_func=yes"
15589 echo "configure: failed program was:" >&5
15590 cat conftest.
$ac_ext >&5
15592 eval "ac_cv_func_$ac_func=no"
15597 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15598 echo "$ac_t""yes" 1>&6
15599 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15600 cat >> confdefs.h
<<EOF
15601 #define $ac_tr_func 1
15605 echo "$ac_t""no" 1>&6
15611 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
15612 echo "configure:15613: checking for ISO C99 wchar_t support" >&5
15613 if test x
"$has_weof" = xyes
&& test x
"$has_wchar_minmax" = xyes \
15614 && test x
"$ac_wfuncs" = xyes
; then
15615 ac_isoC99_wchar_t
=yes
15617 ac_isoC99_wchar_t
=no
15619 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
15621 ac_safe
=`echo "iconv.h" | sed 'y%./+-%__p_%'`
15622 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
15623 echo "configure:15624: checking for iconv.h" >&5
15624 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15625 echo $ac_n "(cached) $ac_c" 1>&6
15627 cat > conftest.
$ac_ext <<EOF
15628 #line 15629 "configure"
15629 #include "confdefs.h"
15632 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15633 { (eval echo configure
:15634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15634 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15635 if test -z "$ac_err"; then
15637 eval "ac_cv_header_$ac_safe=yes"
15640 echo "configure: failed program was:" >&5
15641 cat conftest.
$ac_ext >&5
15643 eval "ac_cv_header_$ac_safe=no"
15647 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15648 echo "$ac_t""yes" 1>&6
15651 echo "$ac_t""no" 1>&6
15655 ac_safe
=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
15656 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
15657 echo "configure:15658: checking for langinfo.h" >&5
15658 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15659 echo $ac_n "(cached) $ac_c" 1>&6
15661 cat > conftest.
$ac_ext <<EOF
15662 #line 15663 "configure"
15663 #include "confdefs.h"
15664 #include <langinfo.h>
15666 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15667 { (eval echo configure
:15668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15668 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15669 if test -z "$ac_err"; then
15671 eval "ac_cv_header_$ac_safe=yes"
15674 echo "configure: failed program was:" >&5
15675 cat conftest.
$ac_ext >&5
15677 eval "ac_cv_header_$ac_safe=no"
15681 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15682 echo "$ac_t""yes" 1>&6
15683 ac_has_langinfo_h
=yes
15685 echo "$ac_t""no" 1>&6
15686 ac_has_langinfo_h
=no
15690 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
15691 echo "configure:15692: checking for iconv in -liconv" >&5
15692 ac_lib_var
=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
15693 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15694 echo $ac_n "(cached) $ac_c" 1>&6
15696 ac_save_LIBS
="$LIBS"
15697 LIBS
="-liconv $LIBS"
15698 cat > conftest.
$ac_ext <<EOF
15699 #line 15700 "configure"
15700 #include "confdefs.h"
15701 /* Override any gcc2 internal prototype to avoid an error. */
15702 /* We use char because int might match the return type of a gcc2
15703 builtin and then its argument prototype would still apply. */
15710 if { (eval echo configure
:15711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15712 eval "ac_cv_lib_$ac_lib_var=yes"
15714 echo "configure: failed program was:" >&5
15715 cat conftest.
$ac_ext >&5
15717 eval "ac_cv_lib_$ac_lib_var=no"
15720 LIBS
="$ac_save_LIBS"
15723 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15724 echo "$ac_t""yes" 1>&6
15727 echo "$ac_t""no" 1>&6
15730 ac_save_LIBS
="$LIBS"
15731 LIBS
="$LIBS $libiconv"
15733 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
15735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15736 echo "configure:15737: checking for $ac_func" >&5
15737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15738 echo $ac_n "(cached) $ac_c" 1>&6
15740 cat > conftest.
$ac_ext <<EOF
15741 #line 15742 "configure"
15742 #include "confdefs.h"
15743 /* System header to define __stub macros and hopefully few prototypes,
15744 which can conflict with char $ac_func(); below. */
15745 #include <assert.h>
15746 /* Override any gcc2 internal prototype to avoid an error. */
15747 /* We use char because int might match the return type of a gcc2
15748 builtin and then its argument prototype would still apply. */
15753 /* The GNU C library defines this for functions which it implements
15754 to always fail with ENOSYS. Some functions are actually named
15755 something starting with __ and the normal name is an alias. */
15756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15764 if { (eval echo configure
:15765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15766 eval "ac_cv_func_$ac_func=yes"
15768 echo "configure: failed program was:" >&5
15769 cat conftest.
$ac_ext >&5
15771 eval "ac_cv_func_$ac_func=no"
15776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15777 echo "$ac_t""yes" 1>&6
15778 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15779 cat >> confdefs.h
<<EOF
15780 #define $ac_tr_func 1
15785 echo "$ac_t""no" 1>&6
15791 LIBS
="$ac_save_LIBS"
15793 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
15794 echo "configure:15795: checking for XPG2 wchar_t support" >&5
15795 if test x
"$ac_has_iconv_h" = xyes
&& test x
"$ac_has_langinfo_h" = xyes \
15796 && test x
"$ac_XPG2funcs" = xyes
; then
15797 ac_XPG2_wchar_t
=yes
15801 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
15803 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
15804 echo "configure:15805: checking for enabled wchar_t specializations" >&5
15805 if test x
"$ac_isoC99_wchar_t" = xyes \
15806 && test x
"$ac_XPG2_wchar_t" = xyes
; then
15807 cat >> confdefs.h
<<\EOF
15808 #define _GLIBCPP_USE_WCHAR_T 1
15811 echo "$ac_t"""yes"" 1>&6
15813 echo "$ac_t"""no
"" 1>&6
15816 echo "configure: warning: wchar_t support disabled." 1>&2
15820 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
15821 ac_save_CXXFLAGS
="$CXXFLAGS"
15822 CXXFLAGS
='-fno-builtins -D_GNU_SOURCE'
15824 for ac_func
in strtof
15826 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15827 echo "configure:15828: checking for $ac_func" >&5
15828 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15829 echo $ac_n "(cached) $ac_c" 1>&6
15831 cat > conftest.
$ac_ext <<EOF
15832 #line 15833 "configure"
15833 #include "confdefs.h"
15834 /* System header to define __stub macros and hopefully few prototypes,
15835 which can conflict with char $ac_func(); below. */
15836 #include <assert.h>
15837 /* Override any gcc2 internal prototype to avoid an error. */
15838 /* We use char because int might match the return type of a gcc2
15839 builtin and then its argument prototype would still apply. */
15844 /* The GNU C library defines this for functions which it implements
15845 to always fail with ENOSYS. Some functions are actually named
15846 something starting with __ and the normal name is an alias. */
15847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15855 if { (eval echo configure
:15856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15857 eval "ac_cv_func_$ac_func=yes"
15859 echo "configure: failed program was:" >&5
15860 cat conftest.
$ac_ext >&5
15862 eval "ac_cv_func_$ac_func=no"
15867 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15868 echo "$ac_t""yes" 1>&6
15869 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15870 cat >> confdefs.h
<<EOF
15871 #define $ac_tr_func 1
15875 echo "$ac_t""no" 1>&6
15880 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
15881 echo "configure:15882: checking for strtold declaration" >&5
15882 if test x
${glibcpp_cv_func_strtold_use+set} != xset
; then
15883 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
15884 echo $ac_n "(cached) $ac_c" 1>&6
15889 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15890 ac_cpp
='$CXXCPP $CPPFLAGS'
15891 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15892 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15893 cross_compiling
=$ac_cv_prog_cxx_cross
15895 cat > conftest.
$ac_ext <<EOF
15896 #line 15897 "configure"
15897 #include "confdefs.h"
15898 #include <stdlib.h>
15903 if { (eval echo configure
:15904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15905 glibcpp_cv_func_strtold_use
=yes
15907 echo "configure: failed program was:" >&5
15908 cat conftest.
$ac_ext >&5
15910 glibcpp_cv_func_strtold_use
=no
15914 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15915 ac_cpp
='$CPP $CPPFLAGS'
15916 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15917 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15918 cross_compiling
=$ac_cv_prog_cc_cross
15924 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
15925 if test x
$glibcpp_cv_func_strtold_use = x
"yes"; then
15926 for ac_func
in strtold
15928 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15929 echo "configure:15930: checking for $ac_func" >&5
15930 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15931 echo $ac_n "(cached) $ac_c" 1>&6
15933 cat > conftest.
$ac_ext <<EOF
15934 #line 15935 "configure"
15935 #include "confdefs.h"
15936 /* System header to define __stub macros and hopefully few prototypes,
15937 which can conflict with char $ac_func(); below. */
15938 #include <assert.h>
15939 /* Override any gcc2 internal prototype to avoid an error. */
15940 /* We use char because int might match the return type of a gcc2
15941 builtin and then its argument prototype would still apply. */
15946 /* The GNU C library defines this for functions which it implements
15947 to always fail with ENOSYS. Some functions are actually named
15948 something starting with __ and the normal name is an alias. */
15949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15957 if { (eval echo configure
:15958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15959 eval "ac_cv_func_$ac_func=yes"
15961 echo "configure: failed program was:" >&5
15962 cat conftest.
$ac_ext >&5
15964 eval "ac_cv_func_$ac_func=no"
15969 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15970 echo "$ac_t""yes" 1>&6
15971 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15972 cat >> confdefs.h
<<EOF
15973 #define $ac_tr_func 1
15977 echo "$ac_t""no" 1>&6
15983 for ac_func
in drand48
15985 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15986 echo "configure:15987: checking for $ac_func" >&5
15987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15988 echo $ac_n "(cached) $ac_c" 1>&6
15990 cat > conftest.
$ac_ext <<EOF
15991 #line 15992 "configure"
15992 #include "confdefs.h"
15993 /* System header to define __stub macros and hopefully few prototypes,
15994 which can conflict with char $ac_func(); below. */
15995 #include <assert.h>
15996 /* Override any gcc2 internal prototype to avoid an error. */
15997 /* We use char because int might match the return type of a gcc2
15998 builtin and then its argument prototype would still apply. */
16003 /* The GNU C library defines this for functions which it implements
16004 to always fail with ENOSYS. Some functions are actually named
16005 something starting with __ and the normal name is an alias. */
16006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16014 if { (eval echo configure
:16015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16016 eval "ac_cv_func_$ac_func=yes"
16018 echo "configure: failed program was:" >&5
16019 cat conftest.
$ac_ext >&5
16021 eval "ac_cv_func_$ac_func=no"
16026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16027 echo "$ac_t""yes" 1>&6
16028 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16029 cat >> confdefs.h
<<EOF
16030 #define $ac_tr_func 1
16034 echo "$ac_t""no" 1>&6
16039 CXXFLAGS
="$ac_save_CXXFLAGS"
16042 cat > conftest.
$ac_ext <<EOF
16043 #line 16044 "configure"
16044 #include "confdefs.h"
16046 #include <setjmp.h>
16049 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
16052 if { (eval echo configure
:16053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16054 cat >> confdefs.h
<<\EOF
16055 #define HAVE_SIGSETJMP 1
16059 echo "configure: failed program was:" >&5
16060 cat conftest.
$ac_ext >&5
16064 for ac_hdr
in unistd.h
16066 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16067 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16068 echo "configure:16069: checking for $ac_hdr" >&5
16069 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16070 echo $ac_n "(cached) $ac_c" 1>&6
16072 cat > conftest.
$ac_ext <<EOF
16073 #line 16074 "configure"
16074 #include "confdefs.h"
16077 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16078 { (eval echo configure
:16079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16079 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16080 if test -z "$ac_err"; then
16082 eval "ac_cv_header_$ac_safe=yes"
16085 echo "configure: failed program was:" >&5
16086 cat conftest.
$ac_ext >&5
16088 eval "ac_cv_header_$ac_safe=no"
16092 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16093 echo "$ac_t""yes" 1>&6
16094 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16095 cat >> confdefs.h
<<EOF
16096 #define $ac_tr_hdr 1
16100 echo "$ac_t""no" 1>&6
16104 for ac_func
in getpagesize
16106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16107 echo "configure:16108: checking for $ac_func" >&5
16108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16109 echo $ac_n "(cached) $ac_c" 1>&6
16111 cat > conftest.
$ac_ext <<EOF
16112 #line 16113 "configure"
16113 #include "confdefs.h"
16114 /* System header to define __stub macros and hopefully few prototypes,
16115 which can conflict with char $ac_func(); below. */
16116 #include <assert.h>
16117 /* Override any gcc2 internal prototype to avoid an error. */
16118 /* We use char because int might match the return type of a gcc2
16119 builtin and then its argument prototype would still apply. */
16124 /* The GNU C library defines this for functions which it implements
16125 to always fail with ENOSYS. Some functions are actually named
16126 something starting with __ and the normal name is an alias. */
16127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16135 if { (eval echo configure
:16136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16137 eval "ac_cv_func_$ac_func=yes"
16139 echo "configure: failed program was:" >&5
16140 cat conftest.
$ac_ext >&5
16142 eval "ac_cv_func_$ac_func=no"
16147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16148 echo "$ac_t""yes" 1>&6
16149 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16150 cat >> confdefs.h
<<EOF
16151 #define $ac_tr_func 1
16155 echo "$ac_t""no" 1>&6
16159 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
16160 echo "configure:16161: checking for working mmap" >&5
16161 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
16162 echo $ac_n "(cached) $ac_c" 1>&6
16164 if test "$cross_compiling" = yes; then
16165 ac_cv_func_mmap_fixed_mapped
=no
16167 cat > conftest.
$ac_ext <<EOF
16168 #line 16169 "configure"
16169 #include "confdefs.h"
16171 /* Thanks to Mike Haertel and Jim Avera for this test.
16172 Here is a matrix of mmap possibilities:
16173 mmap private not fixed
16174 mmap private fixed at somewhere currently unmapped
16175 mmap private fixed at somewhere already mapped
16176 mmap shared not fixed
16177 mmap shared fixed at somewhere currently unmapped
16178 mmap shared fixed at somewhere already mapped
16179 For private mappings, we should verify that changes cannot be read()
16180 back from the file, nor mmap's back from the file at a different
16181 address. (There have been systems where private was not correctly
16182 implemented like the infamous i386 svr4.0, and systems where the
16183 VM page cache was not coherent with the filesystem buffer cache
16184 like early versions of FreeBSD and possibly contemporary NetBSD.)
16185 For shared mappings, we should conversely verify that changes get
16186 propogated back to all the places they're supposed to be.
16188 Grep wants private fixed already mapped.
16189 The main things grep needs to know about mmap are:
16190 * does it exist and is it safe to write into the mmap'd area
16191 * how to use it (BSD variants) */
16192 #include <sys/types.h>
16194 #include <sys/mman.h>
16196 /* This mess was copied from the GNU getpagesize.h. */
16197 #ifndef HAVE_GETPAGESIZE
16198 # ifdef HAVE_UNISTD_H
16199 # include <unistd.h>
16202 /* Assume that all systems that can run configure have sys/param.h. */
16203 # ifndef HAVE_SYS_PARAM_H
16204 # define HAVE_SYS_PARAM_H 1
16207 # ifdef _SC_PAGESIZE
16208 # define getpagesize() sysconf(_SC_PAGESIZE)
16209 # else /* no _SC_PAGESIZE */
16210 # ifdef HAVE_SYS_PARAM_H
16211 # include <sys/param.h>
16212 # ifdef EXEC_PAGESIZE
16213 # define getpagesize() EXEC_PAGESIZE
16214 # else /* no EXEC_PAGESIZE */
16216 # define getpagesize() NBPG * CLSIZE
16219 # endif /* no CLSIZE */
16220 # else /* no NBPG */
16222 # define getpagesize() NBPC
16223 # else /* no NBPC */
16225 # define getpagesize() PAGESIZE
16226 # endif /* PAGESIZE */
16227 # endif /* no NBPC */
16228 # endif /* no NBPG */
16229 # endif /* no EXEC_PAGESIZE */
16230 # else /* no HAVE_SYS_PARAM_H */
16231 # define getpagesize() 8192 /* punt totally */
16232 # endif /* no HAVE_SYS_PARAM_H */
16233 # endif /* no _SC_PAGESIZE */
16235 #endif /* no HAVE_GETPAGESIZE */
16238 extern "C" { void *malloc(unsigned); }
16246 char *data, *data2, *data3;
16250 pagesize = getpagesize();
16253 * First, make a file with some known garbage in it.
16255 data = malloc(pagesize);
16258 for (i = 0; i < pagesize; ++i)
16259 *(data + i) = rand();
16261 fd = creat("conftestmmap", 0600);
16264 if (write(fd, data, pagesize) != pagesize)
16269 * Next, try to mmap the file at a fixed address which
16270 * already has something else allocated at it. If we can,
16271 * also make sure that we see the same garbage.
16273 fd = open("conftestmmap", O_RDWR);
16276 data2 = malloc(2 * pagesize);
16279 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
16280 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
16281 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16283 for (i = 0; i < pagesize; ++i)
16284 if (*(data + i) != *(data2 + i))
16288 * Finally, make sure that changes to the mapped area
16289 * do not percolate back to the file as seen by read().
16290 * (This is a bug on some variants of i386 svr4.0.)
16292 for (i = 0; i < pagesize; ++i)
16293 *(data2 + i) = *(data2 + i) + 1;
16294 data3 = malloc(pagesize);
16297 if (read(fd, data3, pagesize) != pagesize)
16299 for (i = 0; i < pagesize; ++i)
16300 if (*(data + i) != *(data3 + i))
16303 unlink("conftestmmap");
16308 if { (eval echo configure
:16309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16310 ac_cv_func_mmap_fixed_mapped
=yes
16312 echo "configure: failed program was:" >&5
16313 cat conftest.
$ac_ext >&5
16315 ac_cv_func_mmap_fixed_mapped
=no
16322 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
16323 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16324 cat >> confdefs.h
<<\EOF
16325 #define HAVE_MMAP 1
16332 # Now that ctype is determined for all possible targets, we can do this...
16340 if test "$NULL_TARGET" = yes; then
16342 NULL_TARGET_FALSE
='#'
16344 NULL_TARGET_TRUE
='#'
16349 if test "$NATIVE" = yes ||
test "$NULL_TARGET" = yes; then
16358 if test "$CANADIAN" = yes; then
16366 cat > confcache
<<\EOF
16367 # This file is a shell script that caches the results of configure
16368 # tests run on this system so they can be shared between configure
16369 # scripts and configure runs. It is not useful on other systems.
16370 # If it contains results you don't want to keep, you may remove or edit it.
16372 # By default, configure uses ./config.cache as the cache file,
16373 # creating it if it does not exist already. You can give configure
16374 # the --cache-file=FILE option to use a different cache file; that is
16375 # what configure does when it calls configure scripts in
16376 # subdirectories, so they share the cache.
16377 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16378 # config.status only pays attention to the cache file if you give it the
16379 # --recheck option to rerun configure.
16382 # The following way of writing the cache mishandles newlines in values,
16383 # but we know of no workaround that is simple, portable, and efficient.
16384 # So, don't put newlines in cache variables' values.
16385 # Ultrix sh set writes to stderr and can't be redirected directly,
16386 # and sets the high bit in the cache file unless we assign to the vars.
16388 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16390 # `set' does not quote correctly, so add quotes (double-quote substitution
16391 # turns \\\\ into \\, and sed turns \\ into \).
16393 -e "s/'/'\\\\''/g" \
16394 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16397 # `set' quotes correctly as required by POSIX, so do not add quotes.
16398 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16401 if cmp -s $cache_file confcache
; then
16404 if test -w $cache_file; then
16405 echo "updating cache $cache_file"
16406 cat confcache
> $cache_file
16408 echo "not updating unwritable cache $cache_file"
16414 ac_safe
=`echo "locale.h" | sed 'y%./+-%__p_%'`
16415 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
16416 echo "configure:16417: checking for locale.h" >&5
16417 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16418 echo $ac_n "(cached) $ac_c" 1>&6
16420 cat > conftest.
$ac_ext <<EOF
16421 #line 16422 "configure"
16422 #include "confdefs.h"
16423 #include <locale.h>
16425 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16426 { (eval echo configure
:16427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16427 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16428 if test -z "$ac_err"; then
16430 eval "ac_cv_header_$ac_safe=yes"
16433 echo "configure: failed program was:" >&5
16434 cat conftest.
$ac_ext >&5
16436 eval "ac_cv_header_$ac_safe=no"
16440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16441 echo "$ac_t""yes" 1>&6
16443 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
16444 echo "configure:16445: checking for LC_MESSAGES" >&5
16445 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16446 echo $ac_n "(cached) $ac_c" 1>&6
16448 cat > conftest.
$ac_ext <<EOF
16449 #line 16450 "configure"
16450 #include "confdefs.h"
16451 #include <locale.h>
16456 if { (eval echo configure
:16457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16458 ac_cv_val_LC_MESSAGES
=yes
16460 echo "configure: failed program was:" >&5
16461 cat conftest.
$ac_ext >&5
16463 ac_cv_val_LC_MESSAGES
=no
16468 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16469 if test $ac_cv_val_LC_MESSAGES = yes; then
16470 cat >> confdefs.h
<<\EOF
16471 #define HAVE_LC_MESSAGES 1
16477 echo "$ac_t""no" 1>&6
16482 if test "${multilib}" = "yes"; then
16483 multilib_arg
="--enable-multilib"
16489 # Generate the various Makefiles, include files, and scripts.
16491 # Needed so that g++ can find the correct include subdir automatically.
16494 # Export all the install information
16497 glibcpp_toolexecdir
=no
16498 glibcpp_toolexeclibdir
=no
16500 # Export build and source directories.
16502 glibcpp_builddir
=$tmp_builddir
16503 glibcpp_srcdir
=${srcdir}
16504 glibcpp_prefixdir
=${prefix}
16506 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
16507 echo "configure:16508: checking for interface version number" >&5
16508 libstdcxx_interface
=$INTERFACE
16509 echo "$ac_t""$libstdcxx_interface" 1>&6
16511 # Process the option --with-gxx-include-dir=<path to include-files directory>
16512 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
16513 echo "configure:16514: checking for --with-gxx-include-dir" >&5
16514 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
16515 if test "${with_gxx_include_dir+set}" = set; then
16516 withval
="$with_gxx_include_dir"
16517 case "${withval}" in
16519 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
16526 gxx_include_dir
=${withval}
16533 echo "$ac_t""$gxx_include_dir" 1>&6
16535 # Process the option "--enable-version-specific-runtime-libs"
16536 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
16537 echo "configure:16538: checking for --enable-version-specific-runtime-libs" >&5
16538 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
16539 if test "${enable_version_specific_runtime_libs+set}" = set; then
16540 enableval
="$enable_version_specific_runtime_libs"
16541 version_specific_libs
=yes
16542 # Need the gcc compiler version to know where to install libraries
16543 # and header files if --enable-version-specific-runtime-libs option
16545 gcc_version_trigger
=${srcdir}/..
/gcc
/version.c
16546 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
16547 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
16548 gxx_include_dir
='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include
/g
++
16549 glibcpp_toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
16550 glibcpp_toolexeclibdir
='$(toolexecdir)/'${gcc_version}
16553 version_specific_libs
=no
16556 echo "$ac_t""$version_specific_libs" 1>&6
16558 # Default case for install directory for include files.
16559 if test x
"$version_specific_libs" = x
"no" \
16560 && test x
"$gxx_include_dir" = x
"no"; then
16561 gxx_include_dir
='$(prefix)'/include
/g
++-${libstdcxx_interface}
16564 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
16565 # Install a library built with a cross compiler in tooldir, not libdir.
16566 if test x
"$glibcpp_toolexecdir" = x
"no"; then
16567 if test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
16568 glibcpp_toolexecdir
='$(exec_prefix)/$(target_alias)'
16569 glibcpp_toolexeclibdir
='$(toolexecdir)/lib$(MULTISUBDIR)'
16571 glibcpp_toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
16572 glibcpp_toolexeclibdir
='$(libdir)$(MULTISUBDIR)'
16576 echo $ac_n "checking for install location""... $ac_c" 1>&6
16577 echo "configure:16578: checking for install location" >&5
16578 echo "$ac_t""$gxx_include_dir" 1>&6
16588 # Export all the include and flag information to makefiles.
16590 # Root level of the include sources.
16591 GLIBCPP_INCLUDE_DIR
='$(top_srcdir)/include'
16593 # Can either use include/c or include/c_std to grab "C" headers. This
16594 # variable is set to the include directory currently in use.
16595 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_CHEADERS
16597 # Passed down for canadian crosses.
16598 if test x
"$CANADIAN" = xyes
; then
16599 TOPLEVEL_INCLUDES
='-I$(includedir)'
16602 LIBMATH_INCLUDES
='-I$(top_srcdir)/libmath'
16604 LIBSUPCXX_INCLUDES
='-I$(top_srcdir)/libsupc++'
16606 #if GLIBCPP_NEED_LIBIO
16607 LIBIO_INCLUDES
='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
16609 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
16612 #if GLIBCPP_USE_CSHADOW
16613 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
16614 # -I$(top_blddir)/cshadow'
16616 CSTD_INCLUDES
='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
16619 # Now, export this to all the little Makefiles....
16628 # Optimization flags that are probably a good idea for thrill-seekers. Just
16629 # uncomment the lines below and make, everything else is ready to go...
16630 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
16634 WARN_FLAGS
='-Wall -Wno-format -W -Wwrite-strings -Winline'
16638 if ${CONFIG_SHELL-/bin/sh} .
/libtool
--tag CXX
--features |
16639 grep "enable shared" > /dev
/null
; then
16640 LIBSUPCXX_PICFLAGS
=-prefer-pic
16642 LIBSUPCXX_PICFLAGS
=
16646 # This should be done by mkincludedir, but hack around it now.
16648 echo "checking for $blddir/include"
16650 if test ! -d "$blddir/include"; then
16651 mkdir
"$blddir/include"
16654 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
16655 # and libsupc++/Makefile.am so that multilib installs will end up
16656 # installed in the correct place. To work around this not being passed
16657 # down from config-ml.in -> top_srcdir/Makefile.am ->
16658 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
16660 cat > confcache
<<\EOF
16661 # This file is a shell script that caches the results of configure
16662 # tests run on this system so they can be shared between configure
16663 # scripts and configure runs. It is not useful on other systems.
16664 # If it contains results you don't want to keep, you may remove or edit it.
16666 # By default, configure uses ./config.cache as the cache file,
16667 # creating it if it does not exist already. You can give configure
16668 # the --cache-file=FILE option to use a different cache file; that is
16669 # what configure does when it calls configure scripts in
16670 # subdirectories, so they share the cache.
16671 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16672 # config.status only pays attention to the cache file if you give it the
16673 # --recheck option to rerun configure.
16676 # The following way of writing the cache mishandles newlines in values,
16677 # but we know of no workaround that is simple, portable, and efficient.
16678 # So, don't put newlines in cache variables' values.
16679 # Ultrix sh set writes to stderr and can't be redirected directly,
16680 # and sets the high bit in the cache file unless we assign to the vars.
16682 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16684 # `set' does not quote correctly, so add quotes (double-quote substitution
16685 # turns \\\\ into \\, and sed turns \\ into \).
16687 -e "s/'/'\\\\''/g" \
16688 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16691 # `set' quotes correctly as required by POSIX, so do not add quotes.
16692 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16695 if cmp -s $cache_file confcache
; then
16698 if test -w $cache_file; then
16699 echo "updating cache $cache_file"
16700 cat confcache
> $cache_file
16702 echo "not updating unwritable cache $cache_file"
16707 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16709 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16710 # Let make expand exec_prefix.
16711 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16713 # Any assignment to VPATH causes Sun make to only execute
16714 # the first set of double-colon rules, so remove it if not needed.
16715 # If there is a colon in the path, we need to keep it.
16716 if test "x$srcdir" = x.
; then
16717 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
16720 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16722 DEFS
=-DHAVE_CONFIG_H
16724 # Without the "./", some shells look in PATH for config.status.
16725 : ${CONFIG_STATUS=./config.status}
16727 echo creating
$CONFIG_STATUS
16728 rm -f $CONFIG_STATUS
16729 cat > $CONFIG_STATUS <<EOF
16731 # Generated automatically by configure.
16732 # Run this file to recreate the current configuration.
16733 # This directory was configured as follows,
16734 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16736 # $0 $ac_configure_args
16738 # Compiler output produced by configure, useful for debugging
16739 # configure, is in ./config.log if it exists.
16741 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
16744 case "\$ac_option" in
16745 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16746 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16747 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16748 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16749 echo "$CONFIG_STATUS generated by autoconf version 2.13"
16751 -help | --help | --hel | --he | --h)
16752 echo "\$ac_cs_usage"; exit 0 ;;
16753 *) echo "\$ac_cs_usage"; exit 1 ;;
16757 ac_given_srcdir=$srcdir
16758 ac_given_INSTALL="$INSTALL"
16760 trap 'rm -fr `echo "Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
16762 cat >> $CONFIG_STATUS <<EOF
16764 # Protect against being on the right side of a sed subst in config.status.
16765 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16766 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16770 s%@CFLAGS@%$CFLAGS%g
16771 s%@CPPFLAGS@%$CPPFLAGS%g
16772 s%@CXXFLAGS@%$CXXFLAGS%g
16773 s%@FFLAGS@%$FFLAGS%g
16775 s%@LDFLAGS@%$LDFLAGS%g
16777 s%@exec_prefix@%$exec_prefix%g
16778 s%@prefix@%$prefix%g
16779 s%@program_transform_name@%$program_transform_name%g
16780 s%@bindir@%$bindir%g
16781 s%@sbindir@%$sbindir%g
16782 s%@libexecdir@%$libexecdir%g
16783 s%@datadir@%$datadir%g
16784 s%@sysconfdir@%$sysconfdir%g
16785 s%@sharedstatedir@%$sharedstatedir%g
16786 s%@localstatedir@%$localstatedir%g
16787 s%@libdir@%$libdir%g
16788 s%@includedir@%$includedir%g
16789 s%@oldincludedir@%$oldincludedir%g
16790 s%@infodir@%$infodir%g
16791 s%@mandir@%$mandir%g
16792 s%@toplevel_srcdir@%$toplevel_srcdir%g
16794 s%@host_alias@%$host_alias%g
16795 s%@host_cpu@%$host_cpu%g
16796 s%@host_vendor@%$host_vendor%g
16797 s%@host_os@%$host_os%g
16798 s%@target@%$target%g
16799 s%@target_alias@%$target_alias%g
16800 s%@target_cpu@%$target_cpu%g
16801 s%@target_vendor@%$target_vendor%g
16802 s%@target_os@%$target_os%g
16804 s%@build_alias@%$build_alias%g
16805 s%@build_cpu@%$build_cpu%g
16806 s%@build_vendor@%$build_vendor%g
16807 s%@build_os@%$build_os%g
16808 s%@glibcpp_basedir@%$glibcpp_basedir%g
16809 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16810 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16811 s%@INSTALL_DATA@%$INSTALL_DATA%g
16812 s%@PACKAGE@%$PACKAGE%g
16813 s%@VERSION@%$VERSION%g
16814 s%@ACLOCAL@%$ACLOCAL%g
16815 s%@AUTOCONF@%$AUTOCONF%g
16816 s%@AUTOMAKE@%$AUTOMAKE%g
16817 s%@AUTOHEADER@%$AUTOHEADER%g
16818 s%@MAKEINFO@%$MAKEINFO%g
16819 s%@SET_MAKE@%$SET_MAKE%g
16821 s%@glibcpp_CXX@%$glibcpp_CXX%g
16824 s%@RANLIB@%$RANLIB%g
16825 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
16826 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
16828 s%@EXEEXT@%$EXEEXT%g
16830 s%@OBJEXT@%$OBJEXT%g
16832 s%@LIBTOOL@%$LIBTOOL%g
16833 s%@CXXCPP@%$CXXCPP%g
16834 s%@enable_shared@%$enable_shared%g
16835 s%@enable_static@%$enable_static%g
16836 s%@ifGNUmake@%$ifGNUmake%g
16837 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
16839 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
16840 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
16841 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
16842 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
16843 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
16844 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
16845 s%@libio_la@%$libio_la%g
16846 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
16847 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
16848 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
16849 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
16850 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
16851 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
16852 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
16853 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
16854 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
16855 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
16856 s%@WERROR@%$WERROR%g
16857 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
16858 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
16859 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
16860 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
16861 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
16862 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
16863 s%@glibcpp_builddir@%$glibcpp_builddir%g
16864 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
16865 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
16866 s%@gxx_include_dir@%$gxx_include_dir%g
16867 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
16868 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
16869 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
16870 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
16871 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
16872 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
16873 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
16874 s%@CSTD_INCLUDES@%$CSTD_INCLUDES%g
16875 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
16876 s%@WARN_FLAGS@%$WARN_FLAGS%g
16877 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
16882 cat >> $CONFIG_STATUS <<\EOF
16884 # Split the substitutions into bite-sized pieces for seds with
16885 # small command number limits, like on Digital OSF/1 and HP-UX.
16886 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
16887 ac_file
=1 # Number of current file.
16888 ac_beg
=1 # First line for current file.
16889 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
16892 while $ac_more_lines; do
16893 if test $ac_beg -gt 1; then
16894 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
16896 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
16898 if test ! -s conftest.s
$ac_file; then
16899 ac_more_lines
=false
16900 rm -f conftest.s
$ac_file
16902 if test -z "$ac_sed_cmds"; then
16903 ac_sed_cmds
="sed -f conftest.s$ac_file"
16905 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
16907 ac_file
=`expr $ac_file + 1`
16909 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
16912 if test -z "$ac_sed_cmds"; then
16917 cat >> $CONFIG_STATUS <<EOF
16919 CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile mkcheck testsuite_flags"}
16921 cat >> $CONFIG_STATUS <<\EOF
16922 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
16923 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16925 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
16926 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16927 *) ac_file_in
="${ac_file}.in" ;;
16930 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
16932 # Remove last slash and all that follows it. Not all systems have dirname.
16933 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16934 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
16935 # The file is in a subdirectory.
16936 test ! -d "$ac_dir" && mkdir
"$ac_dir"
16937 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
16938 # A "../" for each directory in $ac_dir_suffix.
16939 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
16941 ac_dir_suffix
= ac_dots
=
16944 case "$ac_given_srcdir" in
16946 if test -z "$ac_dots"; then top_srcdir
=.
16947 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
16948 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
16949 *) # Relative path.
16950 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16951 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16954 case "$ac_given_INSTALL" in
16955 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
16956 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
16959 echo creating
"$ac_file"
16961 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
16963 *Makefile
*) ac_comsub
="1i\\
16964 # $configure_input" ;;
16968 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16970 s%@configure_input@%$configure_input%g
16971 s%@srcdir@%$srcdir%g
16972 s%@top_srcdir@%$top_srcdir%g
16973 s%@INSTALL@%$INSTALL%g
16974 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
16978 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16979 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16981 # ac_d sets the value in "#define NAME VALUE" lines.
16982 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16983 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
16986 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
16987 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16988 ac_uB
='\([ ]\)%\1#\2define\3'
16991 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16992 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16993 ac_eB
='$%\1#\2define\3'
16997 if test "${CONFIG_HEADERS+set}" != set; then
16999 cat >> $CONFIG_STATUS <<EOF
17000 CONFIG_HEADERS="config.h"
17002 cat >> $CONFIG_STATUS <<\EOF
17004 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
17005 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17007 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17008 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17009 *) ac_file_in
="${ac_file}.in" ;;
17012 echo creating
$ac_file
17014 rm -f conftest.frag conftest.
in conftest.out
17015 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17016 cat $ac_file_inputs > conftest.
in
17020 # Transform confdefs.h into a sed script conftest.vals that substitutes
17021 # the proper values into config.h.in to produce config.h. And first:
17022 # Protect against being on the right side of a sed subst in config.status.
17023 # Protect against being in an unquoted here document in config.status.
17024 rm -f conftest.vals
17025 cat > conftest.hdr
<<\EOF
17028 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17032 sed -n -f conftest.hdr confdefs.h > conftest.vals
17035 # This sed command replaces #undef with comments. This is necessary, for
17036 # example, in the case of _POSIX_SOURCE, which is predefined and required
17037 # on some systems where configure will not decide to define it.
17038 cat >> conftest.vals <<\EOF
17039 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17042 # Break up conftest.vals because some shells have a limit on
17043 # the size of here documents, and old seds have small limits too.
17045 rm -f conftest.tail
17048 ac_lines=`grep -c . conftest.vals
`
17049 # grep -c gives empty output for an empty file on some AIX systems.
17050 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17051 # Write a limited-size here document to conftest.frag.
17052 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17053 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17055 sed -f conftest.frag conftest.in > conftest.out
17057 mv conftest.out conftest.in
17058 ' >> $CONFIG_STATUS
17059 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17060 rm -f conftest.vals
17061 mv conftest.tail conftest.vals
17063 rm -f conftest.vals
17065 cat >> $CONFIG_STATUS <<\EOF
17066 rm -f conftest.frag conftest.h
17067 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17068 cat conftest.in >> conftest.h
17070 if cmp -s $ac_file conftest.h 2>/dev/null; then
17071 echo "$ac_file is unchanged"
17074 # Remove last slash and all that follows it. Not all systems have dirname.
17075 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
17076 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17077 # The file is in a subdirectory.
17078 test ! -d "$ac_dir" && mkdir "$ac_dir"
17081 mv conftest.h $ac_file
17087 cat >> $CONFIG_STATUS <<EOF
17088 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"
17089 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 \
17090 include/bits/ctype_base.h \
17091 include/bits/ctype_inline.h \
17092 include/bits/ctype_noninline.h include/bits/atomicity.h"
17095 cat >> $CONFIG_STATUS <<\EOF
17096 srcdir=$ac_given_srcdir
17097 while test -n "$ac_sources"; do
17098 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
17099 set $ac_sources; ac_source=$1; shift; ac_sources=$*
17101 echo "linking $srcdir/$ac_source to $ac_dest"
17103 if test ! -r $srcdir/$ac_source; then
17104 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
17108 # Make relative symlinks.
17109 # Remove last slash and all that follows it. Not all systems have dirname.
17110 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
17111 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
17112 # The dest file is in a subdirectory.
17113 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
17114 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
17115 # A "../" for each directory in $ac_dest_dir_suffix.
17116 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
17118 ac_dest_dir_suffix= ac_dots=
17122 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
17123 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
17126 # Make a symlink if possible; otherwise try a hard link.
17127 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
17128 ln $srcdir/$ac_source $ac_dest; then :
17130 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
17134 cat >> $CONFIG_STATUS <<EOF
17139 with_multisubdir=${with_multisubdir}
17140 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17141 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17142 glibcpp_basedir=${glibcpp_basedir}
17147 cat >> $CONFIG_STATUS <<\EOF
17148 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
17149 if test -n "$CONFIG_FILES"; then
17150 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
17151 grep '^MULTISUBDIR =' Makefile >> src/Makefile
17152 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
17155 chmod +x testsuite_flags
17159 chmod +x $CONFIG_STATUS
17160 rm -fr confdefs* $ac_clean_files
17161 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17165 # Generate bits/c++config.h
17166 # NB: This must be the first generated file as others include it. . .
17167 $srcdir/mkc++config $blddir $srcdir
17169 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
17170 if test ! -f stamp-limits; then
17171 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
17172 if test ! -f include/bits/std_limits.h; then
17173 echo "mknumeric_limits failed to execute properly: exiting"
17181 # Sanity checking & User-visible messages.
17182 # Checks down here, otherwise they get scrolled off before
17183 # the user will notice.
17185 # Trying to get more people to read documentation. Possibly remove
17186 # check and warn all the time. There is no "informational" AC_MSG_
17187 # macro, so these are going to be printed even when --quiet/--silent
17189 if test ! -f stamp-sanity-warned; then
17190 touch stamp-sanity-warned
17192 echo "Please make certain that you read the installation information here:"
17193 echo " faster => ${srcdir}/docs/install.html"
17194 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
17196 echo "and the configuration information here:"
17197 echo " faster => ${srcdir}/docs/configopts.html"
17198 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
17200 echo "before proceeding with ${_cv_gnu_make_command}."