3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --with-target-subdir=SUBDIR
16 configuring in a subdirectory"
18 --with-cross-host=HOST configuring with a cross compiler"
20 --enable-multilib build hella library versions (default)"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-debug extra debugging, turn off optimization [default=no]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
49 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
51 --enable-long-long turns on 'long long' [default=yes]"
53 --enable-cheaders construct "C
" header files for g++ [default=c_std]"
55 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
58 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
60 --with-gxx-include-dir the installation directory for include files"
62 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
64 # Initialize some variables set by options.
65 # The variables have the same names as the options, with
66 # dashes changed to underlines.
68 cache_file
=.
/config.cache
77 program_transform_name
=s
,x
,x
,
86 bindir
='${exec_prefix}/bin'
87 sbindir
='${exec_prefix}/sbin'
88 libexecdir
='${exec_prefix}/libexec'
89 datadir
='${prefix}/share'
90 sysconfdir
='${prefix}/etc'
91 sharedstatedir
='${prefix}/com'
92 localstatedir
='${prefix}/var'
93 libdir
='${exec_prefix}/lib'
94 includedir
='${prefix}/include'
95 oldincludedir
='/usr/include'
96 infodir
='${prefix}/info'
97 mandir
='${prefix}/man'
99 # Initialize some other variables.
102 SHELL
=${CONFIG_SHELL-/bin/sh}
103 # Maximum number of lines to put in a shell here document.
110 # If the previous option needs an argument, assign it.
111 if test -n "$ac_prev"; then
112 eval "$ac_prev=\$ac_option"
118 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
122 # Accept the important Cygnus configure options, so we can diagnose typos.
126 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
128 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
129 bindir
="$ac_optarg" ;;
131 -build |
--build |
--buil |
--bui |
--bu)
133 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
134 build
="$ac_optarg" ;;
136 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
137 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
138 ac_prev
=cache_file
;;
139 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
140 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
141 cache_file
="$ac_optarg" ;;
143 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
145 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
147 datadir
="$ac_optarg" ;;
149 -disable-* |
--disable-*)
150 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
151 # Reject names that are not valid shell variable names.
152 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
153 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
155 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
156 eval "enable_${ac_feature}=no" ;;
158 -enable-* |
--enable-*)
159 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
160 # Reject names that are not valid shell variable names.
161 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
162 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
164 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
169 eval "enable_${ac_feature}='$ac_optarg'" ;;
171 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
172 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
173 |
--exec |
--exe |
--ex)
174 ac_prev
=exec_prefix
;;
175 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
176 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
177 |
--exec=* |
--exe=* |
--ex=*)
178 exec_prefix
="$ac_optarg" ;;
180 -gas |
--gas |
--ga |
--g)
181 # Obsolete; use --with-gas.
184 -help |
--help |
--hel |
--he)
185 # Omit some internal or obsolete options to make the list less imposing.
186 # This message is too long to be a string in the A/UX 3.1 sh.
188 Usage: configure [options] [host]
189 Options: [defaults in brackets after descriptions]
191 --cache-file=FILE cache test results in FILE
192 --help print this message
193 --no-create do not create output files
194 --quiet, --silent do not print \`checking...' messages
195 --site-file=FILE use FILE as the site file
196 --version print the version of autoconf that created configure
197 Directory and file names:
198 --prefix=PREFIX install architecture-independent files in PREFIX
200 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
202 --bindir=DIR user executables in DIR [EPREFIX/bin]
203 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
204 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
205 --datadir=DIR read-only architecture-independent data in DIR
207 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
208 --sharedstatedir=DIR modifiable architecture-independent data in DIR
210 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
211 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
212 --includedir=DIR C header files in DIR [PREFIX/include]
213 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
214 --infodir=DIR info documentation in DIR [PREFIX/info]
215 --mandir=DIR man documentation in DIR [PREFIX/man]
216 --srcdir=DIR find the sources in DIR [configure dir or ..]
217 --program-prefix=PREFIX prepend PREFIX to installed program names
218 --program-suffix=SUFFIX append SUFFIX to installed program names
219 --program-transform-name=PROGRAM
220 run sed PROGRAM on installed program names
224 --build=BUILD configure for building on BUILD [BUILD=HOST]
225 --host=HOST configure for HOST [guessed]
226 --target=TARGET configure for TARGET [TARGET=HOST]
227 Features and packages:
228 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
229 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
230 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
231 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
232 --x-includes=DIR X include files are in DIR
233 --x-libraries=DIR X library files are in DIR
235 if test -n "$ac_help"; then
236 echo "--enable and --with options recognized:$ac_help"
240 -host |
--host |
--hos |
--ho)
242 -host=* |
--host=* |
--hos=* |
--ho=*)
245 -includedir |
--includedir |
--includedi |
--included |
--include \
246 |
--includ |
--inclu |
--incl |
--inc)
247 ac_prev
=includedir
;;
248 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
249 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
250 includedir
="$ac_optarg" ;;
252 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
254 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
255 infodir
="$ac_optarg" ;;
257 -libdir |
--libdir |
--libdi |
--libd)
259 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
260 libdir
="$ac_optarg" ;;
262 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
263 |
--libexe |
--libex |
--libe)
264 ac_prev
=libexecdir
;;
265 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
266 |
--libexe=* |
--libex=* |
--libe=*)
267 libexecdir
="$ac_optarg" ;;
269 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
270 |
--localstate |
--localstat |
--localsta |
--localst \
271 |
--locals |
--local |
--loca |
--loc |
--lo)
272 ac_prev
=localstatedir
;;
273 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
274 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
275 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
276 localstatedir
="$ac_optarg" ;;
278 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
280 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
281 mandir
="$ac_optarg" ;;
284 # Obsolete; use --without-fp.
287 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
291 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
292 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
295 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
296 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
297 |
--oldin |
--oldi |
--old |
--ol |
--o)
298 ac_prev
=oldincludedir
;;
299 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
300 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
301 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
302 oldincludedir
="$ac_optarg" ;;
304 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
306 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
307 prefix
="$ac_optarg" ;;
309 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
310 |
--program-pre |
--program-pr |
--program-p)
311 ac_prev
=program_prefix
;;
312 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
313 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
314 program_prefix
="$ac_optarg" ;;
316 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
317 |
--program-suf |
--program-su |
--program-s)
318 ac_prev
=program_suffix
;;
319 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
320 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
321 program_suffix
="$ac_optarg" ;;
323 -program-transform-name |
--program-transform-name \
324 |
--program-transform-nam |
--program-transform-na \
325 |
--program-transform-n |
--program-transform- \
326 |
--program-transform |
--program-transfor \
327 |
--program-transfo |
--program-transf \
328 |
--program-trans |
--program-tran \
329 |
--progr-tra |
--program-tr |
--program-t)
330 ac_prev
=program_transform_name
;;
331 -program-transform-name=* |
--program-transform-name=* \
332 |
--program-transform-nam=* |
--program-transform-na=* \
333 |
--program-transform-n=* |
--program-transform-=* \
334 |
--program-transform=* |
--program-transfor=* \
335 |
--program-transfo=* |
--program-transf=* \
336 |
--program-trans=* |
--program-tran=* \
337 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
338 program_transform_name
="$ac_optarg" ;;
340 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
341 |
-silent |
--silent |
--silen |
--sile |
--sil)
344 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
346 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
348 sbindir
="$ac_optarg" ;;
350 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
351 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
352 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
354 ac_prev
=sharedstatedir
;;
355 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
356 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
357 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
359 sharedstatedir
="$ac_optarg" ;;
361 -site |
--site |
--sit)
363 -site=* |
--site=* |
--sit=*)
366 -site-file |
--site-file |
--site-fil |
--site-fi |
--site-f)
368 -site-file=* |
--site-file=* |
--site-fil=* |
--site-fi=* |
--site-f=*)
369 sitefile
="$ac_optarg" ;;
371 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
373 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
374 srcdir
="$ac_optarg" ;;
376 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
377 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
378 ac_prev
=sysconfdir
;;
379 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
380 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
381 sysconfdir
="$ac_optarg" ;;
383 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
385 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
386 target
="$ac_optarg" ;;
388 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
391 -version |
--version |
--versio |
--versi |
--vers)
392 echo "configure generated by autoconf version 2.13"
396 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
397 # Reject names that are not valid shell variable names.
398 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
399 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
401 ac_package
=`echo $ac_package| sed 's/-/_/g'`
406 eval "with_${ac_package}='$ac_optarg'" ;;
408 -without-* |
--without-*)
409 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
410 # Reject names that are not valid shell variable names.
411 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
412 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
414 ac_package
=`echo $ac_package| sed 's/-/_/g'`
415 eval "with_${ac_package}=no" ;;
418 # Obsolete; use --with-x.
421 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
422 |
--x-incl |
--x-inc |
--x-in |
--x-i)
423 ac_prev
=x_includes
;;
424 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
425 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
426 x_includes
="$ac_optarg" ;;
428 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
429 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
430 ac_prev
=x_libraries
;;
431 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
432 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
433 x_libraries
="$ac_optarg" ;;
435 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
439 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
440 echo "configure: warning: $ac_option: invalid host type" 1>&2
442 if test "x$nonopt" != xNONE
; then
443 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
451 if test -n "$ac_prev"; then
452 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
455 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
457 # File descriptor usage:
460 # 2 errors and warnings
461 # 3 some systems may open it to /dev/tty
462 # 4 used on the Kubota Titan
463 # 6 checking for... messages and results
464 # 5 compiler messages saved in config.log
465 if test "$silent" = yes; then
473 This file contains any messages produced by compilers while
474 running configure, to aid debugging if configure makes a mistake.
477 # Strip out --no-create and --no-recursion so they do not pile up.
478 # Also quote any args containing shell metacharacters.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c) ;;
485 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
486 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
487 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
488 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
489 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
494 # Only set these to C if already set. These must not be set unconditionally
495 # because not all systems understand e.g. LANG=C (notably SCO).
496 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
497 # Non-C LC_CTYPE values break the ctype check.
498 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
499 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
500 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
501 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
503 # confdefs.h avoids OS command line length limits that DEFS can exceed.
504 rm -rf conftest
* confdefs.h
505 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
508 # A filename unique to this package, relative to the directory that
509 # configure is in, which we can look for to find out if srcdir is correct.
510 ac_unique_file
=src
/ios.cc
512 # Find the source files, if location was not specified.
513 if test -z "$srcdir"; then
514 ac_srcdir_defaulted
=yes
515 # Try the directory containing this script, then its parent.
517 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
518 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
520 if test ! -r $srcdir/$ac_unique_file; then
524 ac_srcdir_defaulted
=no
526 if test ! -r $srcdir/$ac_unique_file; then
527 if test "$ac_srcdir_defaulted" = yes; then
528 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
530 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
533 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
535 # Prefer explicitly selected file to automatically selected ones.
536 if test -z "$sitefile"; then
537 if test -z "$CONFIG_SITE"; then
538 if test "x$prefix" != xNONE
; then
539 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
541 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
545 CONFIG_SITE
="$sitefile"
547 for ac_site_file
in $CONFIG_SITE; do
548 if test -r "$ac_site_file"; then
549 echo "loading site script $ac_site_file"
554 if test -r "$cache_file"; then
555 echo "loading cache $cache_file"
558 echo "creating cache $cache_file"
563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
564 ac_cpp
='$CPP $CPPFLAGS'
565 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
566 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
567 cross_compiling
=$ac_cv_prog_cc_cross
571 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
572 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
573 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
580 ac_n
= ac_c
='\c' ac_t
=
585 # When building with srcdir == objdir, links to the source files will
586 # be created in directories within the target_subdir. We have to
587 # adjust toplevel_srcdir accordingly, so that configure finds
588 # install-sh and other auxiliary files that live in the top-level
590 if test "${srcdir}" = "."; then
591 if test -z "${with_target_subdir}"; then
592 toplevel_srcdir
="\${top_srcdir}/.."
593 auxdir
="${srcdir}/.."
595 if test "${with_target_subdir}" != "."; then
596 toplevel_srcdir
="\${top_srcdir}/${with_multisrctop}../.."
597 auxdir
="${srcdir}/${with_multisrctop}../.."
599 toplevel_srcdir
="\${top_srcdir}/${with_multisrctop}.."
600 auxdir
="${srcdir}/${with_multisrctop}.."
604 toplevel_srcdir
="\${top_srcdir}/.."
605 auxdir
="${srcdir}/.."
608 for ac_dir
in $auxdir $srcdir/$auxdir; do
609 if test -f $ac_dir/install-sh
; then
611 ac_install_sh
="$ac_aux_dir/install-sh -c"
613 elif test -f $ac_dir/install.sh
; then
615 ac_install_sh
="$ac_aux_dir/install.sh -c"
619 if test -z "$ac_aux_dir"; then
620 { echo "configure: error: can not find install-sh or install.sh in $auxdir $srcdir/$auxdir" 1>&2; exit 1; }
622 ac_config_guess
=$ac_aux_dir/config.guess
623 ac_config_sub
=$ac_aux_dir/config.sub
624 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
630 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
632 # Do some error checking and defaulting for the host and target type.
634 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
637 # 1. You are not allowed to specify --host, --target, and nonopt at the
639 # 2. Host defaults to nonopt.
640 # 3. If nonopt is not specified, then host defaults to the current host,
641 # as determined by config.guess.
642 # 4. Target and build default to nonopt.
643 # 5. If nonopt is not specified, then target and build default to host.
645 # The aliases save the names the user supplied, while $host etc.
646 # will get canonicalized.
647 case $host---$target---$nonopt in
648 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
649 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
653 # Make sure we can run config.sub.
654 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
655 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
658 echo $ac_n "checking host system type""... $ac_c" 1>&6
659 echo "configure:660: checking host system type" >&5
662 case "$host_alias" in
666 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
667 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
669 *) host_alias
=$nonopt ;;
673 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
674 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
675 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
676 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
677 echo "$ac_t""$host" 1>&6
679 echo $ac_n "checking target system type""... $ac_c" 1>&6
680 echo "configure:681: checking target system type" >&5
683 case "$target_alias" in
686 NONE
) target_alias
=$host_alias ;;
687 *) target_alias
=$nonopt ;;
691 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
692 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
693 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
694 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
695 echo "$ac_t""$target" 1>&6
697 echo $ac_n "checking build system type""... $ac_c" 1>&6
698 echo "configure:699: checking build system type" >&5
701 case "$build_alias" in
704 NONE
) build_alias
=$host_alias ;;
705 *) build_alias
=$nonopt ;;
709 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
710 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
711 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
712 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
713 echo "$ac_t""$build" 1>&6
715 test "$host_alias" != "$target_alias" &&
716 test "$program_prefix$program_suffix$program_transform_name" = \
718 program_prefix
=${target_alias}-
721 # We use these options to decide which functions to include.
722 # Check whether --with-target-subdir or --without-target-subdir was given.
723 if test "${with_target_subdir+set}" = set; then
724 withval
="$with_target_subdir"
728 # Check whether --with-cross-host or --without-cross-host was given.
729 if test "${with_cross_host+set}" = set; then
730 withval
="$with_cross_host"
735 # Runs configure.host and configure.target. Have to run this before
736 # the GLIBCPP_ENABLE_* macros below.
737 # Find a good install program. We prefer a C program (faster),
738 # so one script is as good as another. But avoid the broken or
739 # incompatible versions:
740 # SysV /etc/install, /usr/sbin/install
741 # SunOS /usr/etc/install
744 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
745 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
746 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
747 # ./install, which can be erroneously created by make from ./install.sh.
748 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
749 echo "configure:750: checking for a BSD compatible install" >&5
750 if test -z "$INSTALL"; then
751 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
752 echo $ac_n "(cached) $ac_c" 1>&6
754 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
755 for ac_dir
in $PATH; do
756 # Account for people who put trailing slashes in PATH elements.
758 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
760 # OSF1 and SCO ODT 3.0 have their own names for install.
761 # Don't use installbsd from OSF since it installs stuff as root
763 for ac_prog
in ginstall scoinst
install; do
764 if test -f $ac_dir/$ac_prog; then
765 if test $ac_prog = install &&
766 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
767 # AIX install. It has an incompatible calling convention.
770 ac_cv_path_install
="$ac_dir/$ac_prog -c"
781 if test "${ac_cv_path_install+set}" = set; then
782 INSTALL
="$ac_cv_path_install"
784 # As a last resort, use the slow shell script. We don't cache a
785 # path for INSTALL within a source directory, because that will
786 # break other packages using the cache if that directory is
787 # removed, or if the path is relative.
788 INSTALL
="$ac_install_sh"
791 echo "$ac_t""$INSTALL" 1>&6
793 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
794 # It thinks the first close brace ends the variable substitution.
795 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
797 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
799 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
801 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
802 echo "configure:803: checking whether build environment is sane" >&5
805 echo timestamp
> conftestfile
806 # Do `set' in a subshell so we don't clobber the current shell's
807 # arguments. Must try -L first in case configure is actually a
808 # symlink; some systems play weird games with the mod time of symlinks
809 # (eg FreeBSD returns the mod time of the symlink's containing
812 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
813 if test "$*" = "X"; then
815 set X
`ls -t $srcdir/configure conftestfile`
817 if test "$*" != "X $srcdir/configure conftestfile" \
818 && test "$*" != "X conftestfile $srcdir/configure"; then
820 # If neither matched, then we have a broken ls. This can happen
821 # if, for instance, CONFIG_SHELL is bash and it inherits a
822 # broken ls alias from the environment. This has actually
823 # happened. Such a system could not be considered "sane".
824 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
825 alias in your environment" 1>&2; exit 1; }
828 test "$2" = conftestfile
834 { echo "configure: error: newly created file is older than distributed files!
835 Check your system clock" 1>&2; exit 1; }
838 echo "$ac_t""yes" 1>&6
839 if test "$program_transform_name" = s
,x
,x
,; then
840 program_transform_name
=
842 # Double any \ or $. echo might interpret backslashes.
843 cat <<\EOF_SED
> conftestsed
844 s
,\\,\\\\,g
; s
,\$
,$$
,g
846 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
849 test "$program_prefix" != NONE
&&
850 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
851 # Use a double $ so make ignores it.
852 test "$program_suffix" != NONE
&&
853 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
855 # sed with no file args requires a program.
856 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
858 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
859 echo "configure:860: checking whether ${MAKE-make} sets \${MAKE}" >&5
860 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
861 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
862 echo $ac_n "(cached) $ac_c" 1>&6
864 cat > conftestmake
<<\EOF
866 @
echo 'ac_maketemp="${MAKE}"'
868 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
869 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
870 if test -n "$ac_maketemp"; then
871 eval ac_cv_prog_make_
${ac_make}_set
=yes
873 eval ac_cv_prog_make_
${ac_make}_set
=no
877 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
878 echo "$ac_t""yes" 1>&6
881 echo "$ac_t""no" 1>&6
882 SET_MAKE
="MAKE=${MAKE-make}"
885 if test $host != $build; then
886 ac_tool_prefix
=${host_alias}-
891 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
892 echo "configure:893: checking for Cygwin environment" >&5
893 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
894 echo $ac_n "(cached) $ac_c" 1>&6
896 cat > conftest.
$ac_ext <<EOF
897 #line 898 "configure"
898 #include "confdefs.h"
903 #define __CYGWIN__ __CYGWIN32__
908 if { (eval echo configure
:909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
912 echo "configure: failed program was:" >&5
913 cat conftest.
$ac_ext >&5
921 echo "$ac_t""$ac_cv_cygwin" 1>&6
923 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
924 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
925 echo "configure:926: checking for mingw32 environment" >&5
926 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
927 echo $ac_n "(cached) $ac_c" 1>&6
929 cat > conftest.
$ac_ext <<EOF
930 #line 931 "configure"
931 #include "confdefs.h"
937 if { (eval echo configure
:938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
941 echo "configure: failed program was:" >&5
942 cat conftest.
$ac_ext >&5
950 echo "$ac_t""$ac_cv_mingw32" 1>&6
952 test "$ac_cv_mingw32" = yes && MINGW32
=yes
954 # Check whether --enable-multilib or --disable-multilib was given.
955 if test "${enable_multilib+set}" = set; then
956 enableval
="$enable_multilib"
957 case "${enableval}" in
960 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
966 glibcpp_basedir
=$auxdir/.
/libstdc
++-v3
974 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
975 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
977 cat >> confdefs.h
<<EOF
978 #define PACKAGE "$PACKAGE"
981 cat >> confdefs.h
<<EOF
982 #define VERSION "$VERSION"
987 missing_dir
=`cd $ac_aux_dir && pwd`
988 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
989 echo "configure:990: checking for working aclocal" >&5
990 # Run test in a subshell; some versions of sh will print an error if
991 # an executable is not found, even if stderr is redirected.
992 # Redirect stdin to placate older versions of autoconf. Sigh.
993 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
995 echo "$ac_t""found" 1>&6
997 ACLOCAL
="$missing_dir/missing aclocal"
998 echo "$ac_t""missing" 1>&6
1001 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1002 echo "configure:1003: checking for working autoconf" >&5
1003 # Run test in a subshell; some versions of sh will print an error if
1004 # an executable is not found, even if stderr is redirected.
1005 # Redirect stdin to placate older versions of autoconf. Sigh.
1006 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
1008 echo "$ac_t""found" 1>&6
1010 AUTOCONF
="$missing_dir/missing autoconf"
1011 echo "$ac_t""missing" 1>&6
1014 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1015 echo "configure:1016: checking for working automake" >&5
1016 # Run test in a subshell; some versions of sh will print an error if
1017 # an executable is not found, even if stderr is redirected.
1018 # Redirect stdin to placate older versions of autoconf. Sigh.
1019 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
1021 echo "$ac_t""found" 1>&6
1023 AUTOMAKE
="$missing_dir/missing automake"
1024 echo "$ac_t""missing" 1>&6
1027 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1028 echo "configure:1029: checking for working autoheader" >&5
1029 # Run test in a subshell; some versions of sh will print an error if
1030 # an executable is not found, even if stderr is redirected.
1031 # Redirect stdin to placate older versions of autoconf. Sigh.
1032 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1033 AUTOHEADER
=autoheader
1034 echo "$ac_t""found" 1>&6
1036 AUTOHEADER
="$missing_dir/missing autoheader"
1037 echo "$ac_t""missing" 1>&6
1040 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1041 echo "configure:1042: checking for working makeinfo" >&5
1042 # Run test in a subshell; some versions of sh will print an error if
1043 # an executable is not found, even if stderr is redirected.
1044 # Redirect stdin to placate older versions of autoconf. Sigh.
1045 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1047 echo "$ac_t""found" 1>&6
1049 MAKEINFO
="$missing_dir/missing makeinfo"
1050 echo "$ac_t""missing" 1>&6
1055 # Never versions of autoconf add an underscore to these functions.
1056 # Prevent future problems ...
1064 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1065 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1066 # are probably using a cross compiler, which will not be able to fully
1067 # link an executable. This should really be fixed in autoconf
1073 # Extract the first word of "gcc", so it can be a program name with args.
1074 set dummy gcc
; ac_word
=$2
1075 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1076 echo "configure:1077: checking for $ac_word" >&5
1077 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1078 echo $ac_n "(cached) $ac_c" 1>&6
1080 if test -n "$CC"; then
1081 ac_cv_prog_CC
="$CC" # Let the user override the test.
1083 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1085 for ac_dir
in $ac_dummy; do
1086 test -z "$ac_dir" && ac_dir
=.
1087 if test -f $ac_dir/$ac_word; then
1096 if test -n "$CC"; then
1097 echo "$ac_t""$CC" 1>&6
1099 echo "$ac_t""no" 1>&6
1102 if test -z "$CC"; then
1103 # Extract the first word of "cc", so it can be a program name with args.
1104 set dummy cc
; ac_word
=$2
1105 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1106 echo "configure:1107: checking for $ac_word" >&5
1107 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1108 echo $ac_n "(cached) $ac_c" 1>&6
1110 if test -n "$CC"; then
1111 ac_cv_prog_CC
="$CC" # Let the user override the test.
1113 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1116 for ac_dir
in $ac_dummy; do
1117 test -z "$ac_dir" && ac_dir
=.
1118 if test -f $ac_dir/$ac_word; then
1119 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1120 ac_prog_rejected
=yes
1128 if test $ac_prog_rejected = yes; then
1129 # We found a bogon in the path, so make sure we never use it.
1130 set dummy
$ac_cv_prog_CC
1132 if test $# -gt 0; then
1133 # We chose a different compiler from the bogus one.
1134 # However, it has the same basename, so the bogon will be chosen
1135 # first if we set CC to just the basename; use the full file name.
1137 set dummy
"$ac_dir/$ac_word" "$@"
1145 if test -n "$CC"; then
1146 echo "$ac_t""$CC" 1>&6
1148 echo "$ac_t""no" 1>&6
1151 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1154 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1155 echo "configure:1156: checking whether we are using GNU C" >&5
1156 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1157 echo $ac_n "(cached) $ac_c" 1>&6
1159 cat > conftest.c
<<EOF
1164 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1171 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1173 if test $ac_cv_prog_gcc = yes; then
1175 ac_test_CFLAGS
="${CFLAGS+set}"
1176 ac_save_CFLAGS
="$CFLAGS"
1178 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1179 echo "configure:1180: checking whether ${CC-cc} accepts -g" >&5
1180 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1181 echo $ac_n "(cached) $ac_c" 1>&6
1183 echo 'void f(){}' > conftest.c
1184 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1193 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1194 if test "$ac_test_CFLAGS" = set; then
1195 CFLAGS
="$ac_save_CFLAGS"
1196 elif test $ac_cv_prog_cc_g = yes; then
1203 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1207 # Can't just call these here as g++ requires libstc++ to be built....
1210 # Likewise for AC_PROG_CXX.
1214 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1215 # flags that come in CXX while configuring libstdc++. They're different
1216 # from those used for all other target libraries. If CXX is set in
1217 # the environment, respect that here.
1219 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1221 # Extract the first word of "$ac_prog", so it can be a program name with args.
1222 set dummy
$ac_prog; ac_word
=$2
1223 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1224 echo "configure:1225: checking for $ac_word" >&5
1225 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1226 echo $ac_n "(cached) $ac_c" 1>&6
1228 if test -n "$glibcpp_CXX"; then
1229 ac_cv_prog_glibcpp_CXX
="$glibcpp_CXX" # Let the user override the test.
1231 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1233 for ac_dir
in $ac_dummy; do
1234 test -z "$ac_dir" && ac_dir
=.
1235 if test -f $ac_dir/$ac_word; then
1236 ac_cv_prog_glibcpp_CXX
="$ac_prog"
1243 glibcpp_CXX
="$ac_cv_prog_glibcpp_CXX"
1244 if test -n "$glibcpp_CXX"; then
1245 echo "$ac_t""$glibcpp_CXX" 1>&6
1247 echo "$ac_t""no" 1>&6
1250 test -n "$glibcpp_CXX" && break
1252 test -n "$glibcpp_CXX" || glibcpp_CXX
="gcc"
1256 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1258 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1259 echo "configure:1260: checking whether we are using GNU C++" >&5
1260 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1261 echo $ac_n "(cached) $ac_c" 1>&6
1263 cat > conftest.C
<<EOF
1268 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1275 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1277 if test $ac_cv_prog_gxx = yes; then
1279 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1280 ac_save_CXXFLAGS
="$CXXFLAGS"
1282 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1283 echo "configure:1284: checking whether ${CXX-g++} accepts -g" >&5
1284 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1285 echo $ac_n "(cached) $ac_c" 1>&6
1287 echo 'void f(){}' > conftest.cc
1288 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1289 ac_cv_prog_cxx_g
=yes
1297 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1298 if test "$ac_test_CXXFLAGS" = set; then
1299 CXXFLAGS
="$ac_save_CXXFLAGS"
1300 elif test $ac_cv_prog_cxx_g = yes; then
1307 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1311 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1312 set dummy
${ac_tool_prefix}as
; ac_word
=$2
1313 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1314 echo "configure:1315: checking for $ac_word" >&5
1315 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1316 echo $ac_n "(cached) $ac_c" 1>&6
1318 if test -n "$AS"; then
1319 ac_cv_prog_AS
="$AS" # Let the user override the test.
1321 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1323 for ac_dir
in $ac_dummy; do
1324 test -z "$ac_dir" && ac_dir
=.
1325 if test -f $ac_dir/$ac_word; then
1326 ac_cv_prog_AS
="${ac_tool_prefix}as"
1331 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS
="as"
1335 if test -n "$AS"; then
1336 echo "$ac_t""$AS" 1>&6
1338 echo "$ac_t""no" 1>&6
1343 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1344 set dummy
${ac_tool_prefix}ar; ac_word
=$2
1345 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1346 echo "configure:1347: checking for $ac_word" >&5
1347 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1348 echo $ac_n "(cached) $ac_c" 1>&6
1350 if test -n "$AR"; then
1351 ac_cv_prog_AR
="$AR" # Let the user override the test.
1353 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1355 for ac_dir
in $ac_dummy; do
1356 test -z "$ac_dir" && ac_dir
=.
1357 if test -f $ac_dir/$ac_word; then
1358 ac_cv_prog_AR
="${ac_tool_prefix}ar"
1363 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1367 if test -n "$AR"; then
1368 echo "$ac_t""$AR" 1>&6
1370 echo "$ac_t""no" 1>&6
1375 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1376 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1377 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1378 echo "configure:1379: checking for $ac_word" >&5
1379 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1380 echo $ac_n "(cached) $ac_c" 1>&6
1382 if test -n "$RANLIB"; then
1383 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1385 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1387 for ac_dir
in $ac_dummy; do
1388 test -z "$ac_dir" && ac_dir
=.
1389 if test -f $ac_dir/$ac_word; then
1390 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1397 RANLIB
="$ac_cv_prog_RANLIB"
1398 if test -n "$RANLIB"; then
1399 echo "$ac_t""$RANLIB" 1>&6
1401 echo "$ac_t""no" 1>&6
1405 if test -z "$ac_cv_prog_RANLIB"; then
1406 if test -n "$ac_tool_prefix"; then
1407 # Extract the first word of "ranlib", so it can be a program name with args.
1408 set dummy ranlib
; ac_word
=$2
1409 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1410 echo "configure:1411: checking for $ac_word" >&5
1411 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1412 echo $ac_n "(cached) $ac_c" 1>&6
1414 if test -n "$RANLIB"; then
1415 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1417 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1419 for ac_dir
in $ac_dummy; do
1420 test -z "$ac_dir" && ac_dir
=.
1421 if test -f $ac_dir/$ac_word; then
1422 ac_cv_prog_RANLIB
="ranlib"
1427 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
="ranlib-not-found-in-path-error"
1430 RANLIB
="$ac_cv_prog_RANLIB"
1431 if test -n "$RANLIB"; then
1432 echo "$ac_t""$RANLIB" 1>&6
1434 echo "$ac_t""no" 1>&6
1438 RANLIB
="ranlib-not-found-in-path-error"
1442 # Find a good install program. We prefer a C program (faster),
1443 # so one script is as good as another. But avoid the broken or
1444 # incompatible versions:
1445 # SysV /etc/install, /usr/sbin/install
1446 # SunOS /usr/etc/install
1447 # IRIX /sbin/install
1449 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1450 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1451 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1452 # ./install, which can be erroneously created by make from ./install.sh.
1453 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1454 echo "configure:1455: checking for a BSD compatible install" >&5
1455 if test -z "$INSTALL"; then
1456 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1457 echo $ac_n "(cached) $ac_c" 1>&6
1459 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1460 for ac_dir
in $PATH; do
1461 # Account for people who put trailing slashes in PATH elements.
1463 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1465 # OSF1 and SCO ODT 3.0 have their own names for install.
1466 # Don't use installbsd from OSF since it installs stuff as root
1468 for ac_prog
in ginstall scoinst
install; do
1469 if test -f $ac_dir/$ac_prog; then
1470 if test $ac_prog = install &&
1471 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1472 # AIX install. It has an incompatible calling convention.
1475 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1486 if test "${ac_cv_path_install+set}" = set; then
1487 INSTALL
="$ac_cv_path_install"
1489 # As a last resort, use the slow shell script. We don't cache a
1490 # path for INSTALL within a source directory, because that will
1491 # break other packages using the cache if that directory is
1492 # removed, or if the path is relative.
1493 INSTALL
="$ac_install_sh"
1496 echo "$ac_t""$INSTALL" 1>&6
1498 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1499 # It thinks the first close brace ends the variable substitution.
1500 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1502 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1504 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1507 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1508 echo "configure:1509: checking whether to enable maintainer-specific portions of Makefiles" >&5
1509 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1510 if test "${enable_maintainer_mode+set}" = set; then
1511 enableval
="$enable_maintainer_mode"
1512 USE_MAINTAINER_MODE
=$enableval
1514 USE_MAINTAINER_MODE
=no
1517 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1520 if test $USE_MAINTAINER_MODE = yes; then
1521 MAINTAINER_MODE_TRUE
=
1522 MAINTAINER_MODE_FALSE
='#'
1524 MAINTAINER_MODE_TRUE
='#'
1525 MAINTAINER_MODE_FALSE
=
1527 MAINT
=$MAINTAINER_MODE_TRUE
1531 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1532 # at least currently, we never actually build a program, so we never
1533 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1534 # fails, because we are probably configuring with a cross compiler
1535 # which cant create executables. So we include AC_EXEEXT to keep
1536 # automake happy, but we dont execute it, since we dont care about
1541 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1542 echo "configure:1543: checking for executable suffix" >&5
1543 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1544 echo $ac_n "(cached) $ac_c" 1>&6
1546 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
1550 echo 'int main () { return 0; }' > conftest.
$ac_ext
1552 if { (eval echo configure
:1553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1553 for file in conftest.
*; do
1555 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
1556 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
1560 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1563 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
1568 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
1569 echo "$ac_t""${ac_cv_exeext}" 1>&6
1574 .
${glibcpp_basedir}/configure.
host
1576 case ${glibcpp_basedir} in
1577 /* | A-Za-z
:\\/*) libgcj_flagbasedir
=${glibcpp_basedir} ;;
1578 *) glibcpp_flagbasedir
='$(top_builddir)/'${glibcpp_basedir} ;;
1581 # This does for the target what configure.host does for the host. In
1582 # addition to possibly modifying the same flags, it also sets up symlinks.
1584 .
${glibcpp_basedir}/configure.target
1585 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1586 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1592 # Check whether --enable-shared or --disable-shared was given.
1593 if test "${enable_shared+set}" = set; then
1594 enableval
="$enable_shared"
1595 p
=${PACKAGE-default}
1597 yes) enable_shared
=yes ;;
1598 no
) enable_shared
=no
;;
1601 # Look at the argument we got. We use all the common list separators.
1602 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1603 for pkg
in $enableval; do
1604 if test "X$pkg" = "X$p"; then
1615 # Check whether --enable-static or --disable-static was given.
1616 if test "${enable_static+set}" = set; then
1617 enableval
="$enable_static"
1618 p
=${PACKAGE-default}
1620 yes) enable_static
=yes ;;
1621 no
) enable_static
=no
;;
1624 # Look at the argument we got. We use all the common list separators.
1625 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1626 for pkg
in $enableval; do
1627 if test "X$pkg" = "X$p"; then
1638 # Check whether --enable-fast-install or --disable-fast-install was given.
1639 if test "${enable_fast_install+set}" = set; then
1640 enableval
="$enable_fast_install"
1641 p
=${PACKAGE-default}
1643 yes) enable_fast_install
=yes ;;
1644 no
) enable_fast_install
=no
;;
1646 enable_fast_install
=no
1647 # Look at the argument we got. We use all the common list separators.
1648 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1649 for pkg
in $enableval; do
1650 if test "X$pkg" = "X$p"; then
1651 enable_fast_install
=yes
1658 enable_fast_install
=yes
1661 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1662 if test "${with_gnu_ld+set}" = set; then
1663 withval
="$with_gnu_ld"
1664 test "$withval" = no || with_gnu_ld
=yes
1670 if test "$GCC" = yes; then
1671 # Check if gcc -print-prog-name=ld gives a path.
1672 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1673 echo "configure:1674: checking for ld used by GCC" >&5
1676 # gcc leaves a trailing carriage return which upsets mingw
1677 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1679 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
1682 # Accept absolute paths.
1683 [\\/]* |
[A-Za-z
]:[\\/]*)
1684 re_direlt
='/[^/][^/]*/\.\./'
1685 # Canonicalize the path of ld
1686 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
1687 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
1688 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
1690 test -z "$LD" && LD
="$ac_prog"
1693 # If it fails, then pretend we aren't using GCC.
1697 # If it is relative, then search for the first ld in PATH.
1701 elif test "$with_gnu_ld" = yes; then
1702 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1703 echo "configure:1704: checking for GNU ld" >&5
1705 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1706 echo "configure:1707: checking for non-GNU ld" >&5
1708 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1709 echo $ac_n "(cached) $ac_c" 1>&6
1711 if test -z "$LD"; then
1712 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1713 for ac_dir
in $PATH; do
1714 test -z "$ac_dir" && ac_dir
=.
1715 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
1716 lt_cv_path_LD
="$ac_dir/$ac_prog"
1717 # Check to see if the program is GNU ld. I'd rather use --version,
1718 # but apparently some GNU ld's only accept -v.
1719 # Break only if it was the GNU/non-GNU ld that we prefer.
1720 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
1721 test "$with_gnu_ld" != no
&& break
1723 test "$with_gnu_ld" != yes && break
1729 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
1734 if test -n "$LD"; then
1735 echo "$ac_t""$LD" 1>&6
1737 echo "$ac_t""no" 1>&6
1739 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1740 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1741 echo "configure:1742: checking if the linker ($LD) is GNU ld" >&5
1742 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1743 echo $ac_n "(cached) $ac_c" 1>&6
1745 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1746 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
1747 lt_cv_prog_gnu_ld
=yes
1749 lt_cv_prog_gnu_ld
=no
1753 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1754 with_gnu_ld
=$lt_cv_prog_gnu_ld
1757 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1758 echo "configure:1759: checking for $LD option to reload object files" >&5
1759 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1760 echo $ac_n "(cached) $ac_c" 1>&6
1762 lt_cv_ld_reload_flag
='-r'
1765 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1766 reload_flag
=$lt_cv_ld_reload_flag
1767 test -n "$reload_flag" && reload_flag
=" $reload_flag"
1769 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1770 echo "configure:1771: checking for BSD-compatible nm" >&5
1771 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1772 echo $ac_n "(cached) $ac_c" 1>&6
1774 if test -n "$NM"; then
1775 # Let the user override the test.
1778 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1779 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
1780 test -z "$ac_dir" && ac_dir
=.
1781 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
1782 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
1783 # Check to see if the nm accepts a BSD-compat flag.
1784 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1785 # nm: unknown option "B" ignored
1786 # Tru64's nm complains that /dev/null is an invalid object file
1787 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
1788 lt_cv_path_NM
="$tmp_nm -B"
1790 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1791 lt_cv_path_NM
="$tmp_nm -p"
1794 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1795 continue # so that we can try to find one that supports BSD flags
1800 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
1805 echo "$ac_t""$NM" 1>&6
1807 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1808 echo "configure:1809: checking whether ln -s works" >&5
1809 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1810 echo $ac_n "(cached) $ac_c" 1>&6
1813 if ln -s X conftestdata
2>/dev
/null
1816 ac_cv_prog_LN_S
="ln -s"
1821 LN_S
="$ac_cv_prog_LN_S"
1822 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1823 echo "$ac_t""yes" 1>&6
1825 echo "$ac_t""no" 1>&6
1828 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1829 echo "configure:1830: checking how to recognise dependant libraries" >&5
1830 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1831 echo $ac_n "(cached) $ac_c" 1>&6
1833 lt_cv_file_magic_cmd
='$MAGIC_CMD'
1834 lt_cv_file_magic_test_file
=
1835 lt_cv_deplibs_check_method
='unknown'
1836 # Need to set the preceding variable on all platforms that support
1837 # interlibrary dependencies.
1838 # 'none' -- dependencies not supported.
1839 # `unknown' -- same as none, but documents that we really don't know.
1840 # 'pass_all' -- all dependencies passed with no checks.
1841 # 'test_compile' -- check by making test program.
1842 # 'file_magic [regex]' -- check by looking for files in library path
1843 # which responds to the $file_magic_cmd with a given egrep regex.
1844 # If you have `file' or equivalent on your system and you're not sure
1845 # whether `pass_all' will *always* work, you probably want this one.
1849 lt_cv_deplibs_check_method
=pass_all
1853 lt_cv_deplibs_check_method
=pass_all
1857 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1858 lt_cv_file_magic_cmd
='/usr/bin/file -L'
1859 lt_cv_file_magic_test_file
=/shlib
/libc.so
1862 cygwin
* | mingw
* |pw32
*)
1863 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
1864 lt_cv_file_magic_cmd
='$OBJDUMP -f'
1867 darwin
* | rhapsody
*)
1868 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
1869 lt_cv_file_magic_cmd
='/usr/bin/file -L'
1871 rhapsody
* | darwin1.012
)
1872 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
1875 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
1881 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
1884 # Not sure whether the presence of OpenBSD here was a mistake.
1885 # Let's accept both of them until this is cleared up.
1886 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1887 lt_cv_file_magic_cmd
=/usr
/bin
/file
1888 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
1892 lt_cv_deplibs_check_method
=pass_all
1897 lt_cv_deplibs_check_method
=pass_all
1901 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1902 lt_cv_file_magic_cmd
=/usr
/bin
/file
1903 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
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 32-bit MSB dynamic lib MIPS - version 1"
1914 *-32|
*"-32 ") libmagic
=32-bit;;
1915 *-n32|
*"-n32 ") libmagic
=N32
;;
1916 *-64|
*"-64 ") libmagic
=64-bit;;
1917 *) libmagic
=never-match
;;
1919 # this will be overridden with pass_all, but let us keep it just in case
1920 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1923 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
1924 lt_cv_deplibs_check_method
=pass_all
1927 # This must be Linux ELF.
1930 alpha
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
1931 lt_cv_deplibs_check_method
=pass_all
;;
1933 # glibc up to 2.1.1 does not perform some relocations on ARM
1934 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1936 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
1940 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
1941 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1943 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
1948 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1949 lt_cv_file_magic_cmd
=/usr
/bin
/file
1950 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
1953 osf3
* | osf4
* | osf5
*)
1954 # this will be overridden with pass_all, but let us keep it just in case
1955 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
1956 lt_cv_file_magic_test_file
=/shlib
/libc.so
1957 lt_cv_deplibs_check_method
=pass_all
1961 lt_cv_deplibs_check_method
=pass_all
1965 lt_cv_deplibs_check_method
=pass_all
1966 lt_cv_file_magic_test_file
=/lib
/libc.so
1969 sysv5uw
[78]* | sysv4
*uw2
*)
1970 lt_cv_deplibs_check_method
=pass_all
1973 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
1974 case $host_vendor in
1976 lt_cv_deplibs_check_method
=pass_all
1979 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]'
1980 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
1988 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1989 file_magic_cmd
=$lt_cv_file_magic_cmd
1990 deplibs_check_method
=$lt_cv_deplibs_check_method
1992 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1993 echo "configure:1994: checking for object suffix" >&5
1994 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1995 echo $ac_n "(cached) $ac_c" 1>&6
1998 echo 'int i = 1;' > conftest.
$ac_ext
1999 if { (eval echo configure
:2000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2000 for ac_file
in conftest.
*; do
2003 *) ac_cv_objext
=`echo $ac_file | sed -e s/conftest.//` ;;
2007 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2012 echo "$ac_t""$ac_cv_objext" 1>&6
2013 OBJEXT
=$ac_cv_objext
2014 ac_objext
=$ac_cv_objext
2016 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2018 # Only perform the check for file, if the check method requires it
2019 case $deplibs_check_method in
2021 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2022 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2023 echo "configure:2024: checking for ${ac_tool_prefix}file" >&5
2024 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2025 echo $ac_n "(cached) $ac_c" 1>&6
2029 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
2032 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
2035 ac_save_MAGIC_CMD
="$MAGIC_CMD"
2036 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2037 ac_dummy
="/usr/bin:$PATH"
2038 for ac_dir
in $ac_dummy; do
2039 test -z "$ac_dir" && ac_dir
=.
2040 if test -f $ac_dir/${ac_tool_prefix}file; then
2041 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
2042 if test -n "$file_magic_test_file"; then
2043 case $deplibs_check_method in
2045 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2046 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2047 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
2048 egrep "$file_magic_regex" > /dev
/null
; then
2053 *** Warning: the command libtool uses to detect shared libraries,
2054 *** $file_magic_cmd, produces output that libtool cannot recognize.
2055 *** The result is that libtool may fail to recognize shared libraries
2056 *** as such. This will affect the creation of libtool libraries that
2057 *** depend on shared libraries, but programs linked with such libtool
2058 *** libraries will work regardless of this problem. Nevertheless, you
2059 *** may want to report the problem to your system manager and/or to
2060 *** bug-libtool@gnu.org
2070 MAGIC_CMD
="$ac_save_MAGIC_CMD"
2075 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2076 if test -n "$MAGIC_CMD"; then
2077 echo "$ac_t""$MAGIC_CMD" 1>&6
2079 echo "$ac_t""no" 1>&6
2082 if test -z "$lt_cv_path_MAGIC_CMD"; then
2083 if test -n "$ac_tool_prefix"; then
2084 echo $ac_n "checking for file""... $ac_c" 1>&6
2085 echo "configure:2086: checking for file" >&5
2086 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2087 echo $ac_n "(cached) $ac_c" 1>&6
2091 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
2094 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
2097 ac_save_MAGIC_CMD
="$MAGIC_CMD"
2098 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2099 ac_dummy
="/usr/bin:$PATH"
2100 for ac_dir
in $ac_dummy; do
2101 test -z "$ac_dir" && ac_dir
=.
2102 if test -f $ac_dir/file; then
2103 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
2104 if test -n "$file_magic_test_file"; then
2105 case $deplibs_check_method in
2107 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2108 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2109 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
2110 egrep "$file_magic_regex" > /dev
/null
; then
2115 *** Warning: the command libtool uses to detect shared libraries,
2116 *** $file_magic_cmd, produces output that libtool cannot recognize.
2117 *** The result is that libtool may fail to recognize shared libraries
2118 *** as such. This will affect the creation of libtool libraries that
2119 *** depend on shared libraries, but programs linked with such libtool
2120 *** libraries will work regardless of this problem. Nevertheless, you
2121 *** may want to report the problem to your system manager and/or to
2122 *** bug-libtool@gnu.org
2132 MAGIC_CMD
="$ac_save_MAGIC_CMD"
2137 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
2138 if test -n "$MAGIC_CMD"; then
2139 echo "$ac_t""$MAGIC_CMD" 1>&6
2141 echo "$ac_t""no" 1>&6
2153 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2154 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2155 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2156 echo "configure:2157: checking for $ac_word" >&5
2157 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2158 echo $ac_n "(cached) $ac_c" 1>&6
2160 if test -n "$RANLIB"; then
2161 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2163 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2165 for ac_dir
in $ac_dummy; do
2166 test -z "$ac_dir" && ac_dir
=.
2167 if test -f $ac_dir/$ac_word; then
2168 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2175 RANLIB
="$ac_cv_prog_RANLIB"
2176 if test -n "$RANLIB"; then
2177 echo "$ac_t""$RANLIB" 1>&6
2179 echo "$ac_t""no" 1>&6
2183 if test -z "$ac_cv_prog_RANLIB"; then
2184 if test -n "$ac_tool_prefix"; then
2185 # Extract the first word of "ranlib", so it can be a program name with args.
2186 set dummy ranlib
; ac_word
=$2
2187 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2188 echo "configure:2189: checking for $ac_word" >&5
2189 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2190 echo $ac_n "(cached) $ac_c" 1>&6
2192 if test -n "$RANLIB"; then
2193 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2195 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2197 for ac_dir
in $ac_dummy; do
2198 test -z "$ac_dir" && ac_dir
=.
2199 if test -f $ac_dir/$ac_word; then
2200 ac_cv_prog_RANLIB
="ranlib"
2205 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
2208 RANLIB
="$ac_cv_prog_RANLIB"
2209 if test -n "$RANLIB"; then
2210 echo "$ac_t""$RANLIB" 1>&6
2212 echo "$ac_t""no" 1>&6
2220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2221 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2222 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2223 echo "configure:2224: checking for $ac_word" >&5
2224 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2225 echo $ac_n "(cached) $ac_c" 1>&6
2227 if test -n "$STRIP"; then
2228 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2230 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2232 for ac_dir
in $ac_dummy; do
2233 test -z "$ac_dir" && ac_dir
=.
2234 if test -f $ac_dir/$ac_word; then
2235 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2242 STRIP
="$ac_cv_prog_STRIP"
2243 if test -n "$STRIP"; then
2244 echo "$ac_t""$STRIP" 1>&6
2246 echo "$ac_t""no" 1>&6
2250 if test -z "$ac_cv_prog_STRIP"; then
2251 if test -n "$ac_tool_prefix"; then
2252 # Extract the first word of "strip", so it can be a program name with args.
2253 set dummy strip
; ac_word
=$2
2254 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2255 echo "configure:2256: checking for $ac_word" >&5
2256 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2257 echo $ac_n "(cached) $ac_c" 1>&6
2259 if test -n "$STRIP"; then
2260 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2262 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2264 for ac_dir
in $ac_dummy; do
2265 test -z "$ac_dir" && ac_dir
=.
2266 if test -f $ac_dir/$ac_word; then
2267 ac_cv_prog_STRIP
="strip"
2272 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
=":"
2275 STRIP
="$ac_cv_prog_STRIP"
2276 if test -n "$STRIP"; then
2277 echo "$ac_t""$STRIP" 1>&6
2279 echo "$ac_t""no" 1>&6
2288 # Check for any special flags to pass to ltconfig.
2289 libtool_flags
="--cache-file=$cache_file"
2290 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
2291 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
2292 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
2293 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
2294 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
2295 libtool_flags
="$libtool_flags --enable-dlopen"
2297 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2298 if test "${enable_libtool_lock+set}" = set; then
2299 enableval
="$enable_libtool_lock"
2303 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
2304 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
2306 # Check whether --with-pic or --without-pic was given.
2307 if test "${with_pic+set}" = set; then
2314 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
2315 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
2317 # Some flags need to be propagated to the compiler or linker for good
2321 # Find out which ABI we are using.
2322 echo '#line 2323 "configure"' > conftest.
$ac_ext
2323 if { (eval echo configure
:2324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2324 case `/usr/bin/file conftest.$ac_objext` in
2340 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2341 SAVE_CFLAGS
="$CFLAGS"
2342 CFLAGS
="$CFLAGS -belf"
2343 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2344 echo "configure:2345: checking whether the C compiler needs -belf" >&5
2345 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2346 echo $ac_n "(cached) $ac_c" 1>&6
2350 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2351 ac_cpp
='$CPP $CPPFLAGS'
2352 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2353 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2354 cross_compiling
=$ac_cv_prog_cc_cross
2356 cat > conftest.
$ac_ext <<EOF
2357 #line 2358 "configure"
2358 #include "confdefs.h"
2364 if { (eval echo configure
:2365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2366 lt_cv_cc_needs_belf
=yes
2368 echo "configure: failed program was:" >&5
2369 cat conftest.
$ac_ext >&5
2371 lt_cv_cc_needs_belf
=no
2375 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2376 ac_cpp
='$CPP $CPPFLAGS'
2377 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2378 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2379 cross_compiling
=$ac_cv_prog_cc_cross
2383 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2384 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
2385 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2386 CFLAGS
="$SAVE_CFLAGS"
2393 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2394 echo "configure:2395: checking how to run the C++ preprocessor" >&5
2395 if test -z "$CXXCPP"; then
2396 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2397 echo $ac_n "(cached) $ac_c" 1>&6
2400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2401 ac_cpp
='$CXXCPP $CPPFLAGS'
2402 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2403 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2404 cross_compiling
=$ac_cv_prog_cxx_cross
2405 CXXCPP
="${CXX-g++} -E"
2406 cat > conftest.
$ac_ext <<EOF
2407 #line 2408 "configure"
2408 #include "confdefs.h"
2411 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2412 { (eval echo configure
:2413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2413 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2414 if test -z "$ac_err"; then
2418 echo "configure: failed program was:" >&5
2419 cat conftest.
$ac_ext >&5
2424 ac_cv_prog_CXXCPP
="$CXXCPP"
2426 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2427 ac_cpp
='$CPP $CPPFLAGS'
2428 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2429 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2430 cross_compiling
=$ac_cv_prog_cc_cross
2433 CXXCPP
="$ac_cv_prog_CXXCPP"
2434 echo "$ac_t""$CXXCPP" 1>&6
2437 # Save cache, so that ltconfig can load it
2438 cat > confcache
<<\EOF
2439 # This file is a shell script that caches the results of configure
2440 # tests run on this system so they can be shared between configure
2441 # scripts and configure runs. It is not useful on other systems.
2442 # If it contains results you don't want to keep, you may remove or edit it.
2444 # By default, configure uses ./config.cache as the cache file,
2445 # creating it if it does not exist already. You can give configure
2446 # the --cache-file=FILE option to use a different cache file; that is
2447 # what configure does when it calls configure scripts in
2448 # subdirectories, so they share the cache.
2449 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2450 # config.status only pays attention to the cache file if you give it the
2451 # --recheck option to rerun configure.
2454 # The following way of writing the cache mishandles newlines in values,
2455 # but we know of no workaround that is simple, portable, and efficient.
2456 # So, don't put newlines in cache variables' values.
2457 # Ultrix sh set writes to stderr and can't be redirected directly,
2458 # and sets the high bit in the cache file unless we assign to the vars.
2460 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2462 # `set' does not quote correctly, so add quotes (double-quote substitution
2463 # turns \\\\ into \\, and sed turns \\ into \).
2465 -e "s/'/'\\\\''/g" \
2466 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2469 # `set' quotes correctly as required by POSIX, so do not add quotes.
2470 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2473 if cmp -s $cache_file confcache
; then
2476 if test -w $cache_file; then
2477 echo "updating cache $cache_file"
2478 cat confcache
> $cache_file
2480 echo "not updating unwritable cache $cache_file"
2486 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2487 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
2488 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2489 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
2490 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
2491 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
2492 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
2493 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
2494 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
2495 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2497 # Reload cache, that may have been modified by ltconfig
2498 if test -r "$cache_file"; then
2499 echo "loading cache $cache_file"
2502 echo "creating cache $cache_file"
2507 # This can be used to rebuild libtool when needed
2508 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2510 # Always use our own libtool.
2511 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
2513 # Redirect the config.log output again, so that the ltconfig log is not
2514 # clobbered by the next message.
2515 exec 5>>.
/config.log
2519 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2521 lt_save_CFLAGS
="$CFLAGS"
2522 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
2523 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2524 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
2525 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
2526 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
2527 deplibs_check_method
="$deplibs_check_method" \
2528 file_magic_cmd
="$file_magic_cmd" \
2529 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
2530 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
2531 ||
{ echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2533 CFLAGS
="$lt_save_CFLAGS"
2535 # Redirect the config.log output again, so that the ltconfig log is not
2536 # clobbered by the next message.
2537 exec 5>>.
/config.log
2546 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2547 echo "configure:2548: checking for GNU make" >&5
2548 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2549 echo $ac_n "(cached) $ac_c" 1>&6
2551 _cv_gnu_make_command
='' ;
2552 for a
in "${MAKE-make}" make gmake gnumake
; do
2553 if ( $a --version 2> /dev
/null |
grep -c GNU
> /dev
/null
)
2555 _cv_gnu_make_command
=$a ;
2562 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2563 if test "x$_cv_gnu_make_command" != "x" ; then
2570 if test "x$_cv_gnu_make_command" = "x"; then
2571 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2577 # Check for c++ or library specific bits that don't require linking.
2579 if test ! -f stamp-sanity-compiler
; then
2580 echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2581 echo "configure:2582: checking for g++ that will successfully compile libstdc++-v3" >&5
2584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2585 ac_cpp
='$CXXCPP $CPPFLAGS'
2586 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2587 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2588 cross_compiling
=$ac_cv_prog_cxx_cross
2590 cat > conftest.
$ac_ext <<EOF
2591 #line 2592 "configure"
2592 #include "confdefs.h"
2599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2600 egrep "ok" >/dev
/null
2>&1; then
2602 gpp_satisfactory
=yes
2605 { echo "configure: error: please upgrade to GCC 3.0 or above" 1>&2; exit 1; }
2610 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2611 ac_cpp
='$CPP $CPPFLAGS'
2612 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2613 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2614 cross_compiling
=$ac_cv_prog_cc_cross
2616 echo "$ac_t""$gpp_satisfactory" 1>&6
2617 touch stamp-sanity-compiler
2621 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2622 # Check whether --enable-debug or --disable-debug was given.
2623 if test "${enable_debug+set}" = set; then
2624 enableval
="$enable_debug"
2625 case "${enableval}" in
2626 yes) enable_debug
=yes ;;
2627 no
) enable_debug
=no
;;
2628 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2634 case "${enable_debug}" in
2636 DEBUG_FLAGS
='-O0 -ggdb3'
2644 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2645 echo "configure:2646: checking how to run the C preprocessor" >&5
2646 # On Suns, sometimes $CPP names a directory.
2647 if test -n "$CPP" && test -d "$CPP"; then
2650 if test -z "$CPP"; then
2651 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2652 echo $ac_n "(cached) $ac_c" 1>&6
2654 # This must be in double quotes, not single quotes, because CPP may get
2655 # substituted into the Makefile and "${CC-cc}" will confuse make.
2657 # On the NeXT, cc -E runs the code through the compiler's parser,
2658 # not just through cpp.
2659 cat > conftest.
$ac_ext <<EOF
2660 #line 2661 "configure"
2661 #include "confdefs.h"
2665 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2666 { (eval echo configure
:2667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2667 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2668 if test -z "$ac_err"; then
2672 echo "configure: failed program was:" >&5
2673 cat conftest.
$ac_ext >&5
2675 CPP
="${CC-cc} -E -traditional-cpp"
2676 cat > conftest.
$ac_ext <<EOF
2677 #line 2678 "configure"
2678 #include "confdefs.h"
2682 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2683 { (eval echo configure
:2684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2684 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2685 if test -z "$ac_err"; then
2689 echo "configure: failed program was:" >&5
2690 cat conftest.
$ac_ext >&5
2692 CPP
="${CC-cc} -nologo -E"
2693 cat > conftest.
$ac_ext <<EOF
2694 #line 2695 "configure"
2695 #include "confdefs.h"
2699 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2700 { (eval echo configure
:2701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2701 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2702 if test -z "$ac_err"; then
2706 echo "configure: failed program was:" >&5
2707 cat conftest.
$ac_ext >&5
2716 ac_cv_prog_CPP
="$CPP"
2718 CPP
="$ac_cv_prog_CPP"
2720 ac_cv_prog_CPP
="$CPP"
2722 echo "$ac_t""$CPP" 1>&6
2725 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2726 echo "configure:2727: checking for cstdio to use" >&5
2727 # Check whether --enable-cstdio or --disable-cstdio was given.
2728 if test "${enable_cstdio+set}" = set; then
2729 enableval
="$enable_cstdio"
2730 if test x
$enable_cstdio = xno
; then
2738 enable_cstdio_flag
=$enable_cstdio
2740 case x
${enable_cstdio_flag} in
2742 CSTDIO_H
=config
/c_io_libio.h
2743 BASIC_FILE_H
=config
/basic_file_libio.h
2744 BASIC_FILE_CC
=config
/basic_file_libio.cc
2745 echo "$ac_t""libio" 1>&6
2747 # see if we are on a system with libio native (ie, linux)
2748 ac_safe
=`echo "libio.h" | sed 'y%./+-%__p_%'`
2749 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2750 echo "configure:2751: checking for libio.h" >&5
2751 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2752 echo $ac_n "(cached) $ac_c" 1>&6
2754 cat > conftest.
$ac_ext <<EOF
2755 #line 2756 "configure"
2756 #include "confdefs.h"
2759 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2760 { (eval echo configure
:2761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2761 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2762 if test -z "$ac_err"; then
2764 eval "ac_cv_header_$ac_safe=yes"
2767 echo "configure: failed program was:" >&5
2768 cat conftest.
$ac_ext >&5
2770 eval "ac_cv_header_$ac_safe=no"
2774 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2775 echo "$ac_t""yes" 1>&6
2778 echo "$ac_t""no" 1>&6
2783 # Need to check and see what version of glibc is being used. If
2784 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2785 # compile most of libio for linux systems.
2786 if test x
$has_libio = x
"yes"; then
2789 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2790 echo "configure:2791: checking for glibc version >= 2.2" >&5
2791 cat > conftest.
$ac_ext <<EOF
2792 #line 2793 "configure"
2793 #include "confdefs.h"
2795 #include <features.h>
2796 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2802 egrep "ok" >/dev
/null
2>&1; then
2804 glibc_satisfactory
=yes
2807 glibc_satisfactory
=no
2811 echo "$ac_t""$glibc_satisfactory" 1>&6
2815 # XXX at the moment, admit defeat and force the recompilation
2816 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2817 glibc_satisfactory
=no
2819 if test x
$glibc_satisfactory = x
"yes"; then
2824 # bkoz XXX need to add checks to enable this
2825 # pme XXX here's a first pass at such a check
2826 if test x
$enable_c_mbchar != xno
; then
2834 # Using libio, but <libio.h> doesn't exist on the target system. . .
2836 # bkoz XXX need to add checks to enable this
2837 # pme XXX here's a first pass at such a check
2838 if test x
$enable_c_mbchar != xno
; then
2845 xstdio | x | xno | xnone | xyes
)
2847 CSTDIO_H
=config
/c_io_stdio.h
2848 BASIC_FILE_H
=config
/basic_file_stdio.h
2849 BASIC_FILE_CC
=config
/basic_file_stdio.cc
2850 echo "$ac_t""stdio" 1>&6
2852 # We're not using stdio.
2857 echo "$enable_cstdio is an unknown io package" 1>&2
2865 # 2000-08-04 bkoz hack
2866 CCODECVT_C
=config
/c_io_libio_codecvt.c
2868 # 2000-08-04 bkoz hack
2872 if test "$need_libio" = yes ||
test "$need_wlibio" = yes; then
2873 GLIBCPP_BUILD_LIBIO_TRUE
=
2874 GLIBCPP_BUILD_LIBIO_FALSE
='#'
2876 GLIBCPP_BUILD_LIBIO_TRUE
='#'
2877 GLIBCPP_BUILD_LIBIO_FALSE
=
2881 if test "$need_libio" = yes; then
2882 GLIBCPP_NEED_LIBIO_TRUE
=
2883 GLIBCPP_NEED_LIBIO_FALSE
='#'
2885 GLIBCPP_NEED_LIBIO_TRUE
='#'
2886 GLIBCPP_NEED_LIBIO_FALSE
=
2890 if test "$need_wlibio" = yes; then
2891 GLIBCPP_NEED_WLIBIO_TRUE
=
2892 GLIBCPP_NEED_WLIBIO_FALSE
='#'
2894 GLIBCPP_NEED_WLIBIO_TRUE
='#'
2895 GLIBCPP_NEED_WLIBIO_FALSE
=
2897 if test "$need_libio" = yes ||
test "$need_wlibio" = yes; then
2898 libio_la
=..
/libio
/libio.la
2905 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2906 echo "configure:2907: checking for clocale to use" >&5
2907 # Check whether --enable-clocale or --disable-clocale was given.
2908 if test "${enable_clocale+set}" = set; then
2909 enableval
="$enable_clocale"
2910 if test x
$enable_clocale = xno
; then
2911 enable_clocale
=generic
2914 enable_clocale
=generic
2918 enable_clocale_flag
=$enable_clocale
2920 case x
${enable_clocale_flag} in
2922 CLOCALE_H
=config
/c_locale_gnu.h
2923 CLOCALE_CC
=config
/c_locale_gnu.cc
2924 echo "$ac_t""gnu" 1>&6
2927 CLOCALE_H
=config
/c_locale_generic.h
2928 CLOCALE_CC
=config
/c_locale_generic.cc
2929 echo "$ac_t""generic" 1>&6
2932 echo "$enable_clocale is an unknown locale package" 1>&2
2940 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2941 if test "${enable_c_mbchar+set}" = set; then
2942 enableval
="$enable_c_mbchar"
2943 case "$enableval" in
2944 yes) enable_c_mbchar
=yes ;;
2945 no
) enable_c_mbchar
=no
;;
2946 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2953 # Check whether --enable-c99 or --disable-c99 was given.
2954 if test "${enable_c99+set}" = set; then
2955 enableval
="$enable_c99"
2956 case "$enableval" in
2957 yes) enable_c99
=yes ;;
2958 no
) enable_c99
=no
;;
2959 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
2967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2968 ac_cpp
='$CXXCPP $CPPFLAGS'
2969 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2970 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2971 cross_compiling
=$ac_cv_prog_cxx_cross
2974 # Check for the existence of <math.h> functions used if C99 is enabled.
2975 cat > conftest.
$ac_ext <<EOF
2976 #line 2977 "configure"
2977 #include "confdefs.h"
2983 if { (eval echo configure
:2984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2986 echo "configure: failed program was:" >&5
2987 cat conftest.
$ac_ext >&5
2992 cat > conftest.
$ac_ext <<EOF
2993 #line 2994 "configure"
2994 #include "confdefs.h"
3000 if { (eval echo configure
:3001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3003 echo "configure: failed program was:" >&5
3004 cat conftest.
$ac_ext >&5
3009 cat > conftest.
$ac_ext <<EOF
3010 #line 3011 "configure"
3011 #include "confdefs.h"
3017 if { (eval echo configure
:3018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3020 echo "configure: failed program was:" >&5
3021 cat conftest.
$ac_ext >&5
3026 cat > conftest.
$ac_ext <<EOF
3027 #line 3028 "configure"
3028 #include "confdefs.h"
3034 if { (eval echo configure
:3035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3037 echo "configure: failed program was:" >&5
3038 cat conftest.
$ac_ext >&5
3043 cat > conftest.
$ac_ext <<EOF
3044 #line 3045 "configure"
3045 #include "confdefs.h"
3051 if { (eval echo configure
:3052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3054 echo "configure: failed program was:" >&5
3055 cat conftest.
$ac_ext >&5
3060 cat > conftest.
$ac_ext <<EOF
3061 #line 3062 "configure"
3062 #include "confdefs.h"
3068 if { (eval echo configure
:3069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3071 echo "configure: failed program was:" >&5
3072 cat conftest.
$ac_ext >&5
3077 cat > conftest.
$ac_ext <<EOF
3078 #line 3079 "configure"
3079 #include "confdefs.h"
3085 if { (eval echo configure
:3086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3088 echo "configure: failed program was:" >&5
3089 cat conftest.
$ac_ext >&5
3094 cat > conftest.
$ac_ext <<EOF
3095 #line 3096 "configure"
3096 #include "confdefs.h"
3099 isgreaterequal(0.0,0.0);
3102 if { (eval echo configure
:3103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3105 echo "configure: failed program was:" >&5
3106 cat conftest.
$ac_ext >&5
3111 cat > conftest.
$ac_ext <<EOF
3112 #line 3113 "configure"
3113 #include "confdefs.h"
3119 if { (eval echo configure
:3120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3122 echo "configure: failed program was:" >&5
3123 cat conftest.
$ac_ext >&5
3128 cat > conftest.
$ac_ext <<EOF
3129 #line 3130 "configure"
3130 #include "confdefs.h"
3133 islessequal(0.0,0.0);
3136 if { (eval echo configure
:3137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3139 echo "configure: failed program was:" >&5
3140 cat conftest.
$ac_ext >&5
3145 cat > conftest.
$ac_ext <<EOF
3146 #line 3147 "configure"
3147 #include "confdefs.h"
3150 islessgreater(0.0,0.0);
3153 if { (eval echo configure
:3154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3156 echo "configure: failed program was:" >&5
3157 cat conftest.
$ac_ext >&5
3162 cat > conftest.
$ac_ext <<EOF
3163 #line 3164 "configure"
3164 #include "confdefs.h"
3167 isunordered(0.0,0.0);
3170 if { (eval echo configure
:3171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3173 echo "configure: failed program was:" >&5
3174 cat conftest.
$ac_ext >&5
3180 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3181 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
3182 echo "configure:3183: checking for strtoll" >&5
3183 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
3184 echo $ac_n "(cached) $ac_c" 1>&6
3186 cat > conftest.
$ac_ext <<EOF
3187 #line 3188 "configure"
3188 #include "confdefs.h"
3189 /* System header to define __stub macros and hopefully few prototypes,
3190 which can conflict with char strtoll(); below. */
3192 /* Override any gcc2 internal prototype to avoid an error. */
3196 /* We use char because int might match the return type of a gcc2
3197 builtin and then its argument prototype would still apply. */
3202 /* The GNU C library defines this for functions which it implements
3203 to always fail with ENOSYS. Some functions are actually named
3204 something starting with __ and the normal name is an alias. */
3205 #if defined (__stub_strtoll) || defined (__stub___strtoll)
3213 if { (eval echo configure
:3214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3215 eval "ac_cv_func_strtoll=yes"
3217 echo "configure: failed program was:" >&5
3218 cat conftest.
$ac_ext >&5
3220 eval "ac_cv_func_strtoll=no"
3225 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
3226 echo "$ac_t""yes" 1>&6
3229 echo "$ac_t""no" 1>&6
3233 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
3234 echo "configure:3235: checking for strtoull" >&5
3235 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
3236 echo $ac_n "(cached) $ac_c" 1>&6
3238 cat > conftest.
$ac_ext <<EOF
3239 #line 3240 "configure"
3240 #include "confdefs.h"
3241 /* System header to define __stub macros and hopefully few prototypes,
3242 which can conflict with char strtoull(); below. */
3244 /* Override any gcc2 internal prototype to avoid an error. */
3248 /* We use char because int might match the return type of a gcc2
3249 builtin and then its argument prototype would still apply. */
3254 /* The GNU C library defines this for functions which it implements
3255 to always fail with ENOSYS. Some functions are actually named
3256 something starting with __ and the normal name is an alias. */
3257 #if defined (__stub_strtoull) || defined (__stub___strtoull)
3265 if { (eval echo configure
:3266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3267 eval "ac_cv_func_strtoull=yes"
3269 echo "configure: failed program was:" >&5
3270 cat conftest.
$ac_ext >&5
3272 eval "ac_cv_func_strtoull=no"
3277 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
3278 echo "$ac_t""yes" 1>&6
3281 echo "$ac_t""no" 1>&6
3285 echo $ac_n "checking for llabs""... $ac_c" 1>&6
3286 echo "configure:3287: checking for llabs" >&5
3287 if eval "test \"`echo '$''{'ac_cv_func_llabs'+set}'`\" = set"; then
3288 echo $ac_n "(cached) $ac_c" 1>&6
3290 cat > conftest.
$ac_ext <<EOF
3291 #line 3292 "configure"
3292 #include "confdefs.h"
3293 /* System header to define __stub macros and hopefully few prototypes,
3294 which can conflict with char llabs(); below. */
3296 /* Override any gcc2 internal prototype to avoid an error. */
3300 /* We use char because int might match the return type of a gcc2
3301 builtin and then its argument prototype would still apply. */
3306 /* The GNU C library defines this for functions which it implements
3307 to always fail with ENOSYS. Some functions are actually named
3308 something starting with __ and the normal name is an alias. */
3309 #if defined (__stub_llabs) || defined (__stub___llabs)
3317 if { (eval echo configure
:3318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3319 eval "ac_cv_func_llabs=yes"
3321 echo "configure: failed program was:" >&5
3322 cat conftest.
$ac_ext >&5
3324 eval "ac_cv_func_llabs=no"
3329 if eval "test \"`echo '$ac_cv_func_'llabs`\" = yes"; then
3330 echo "$ac_t""yes" 1>&6
3333 echo "$ac_t""no" 1>&6
3337 echo $ac_n "checking for lldiv""... $ac_c" 1>&6
3338 echo "configure:3339: checking for lldiv" >&5
3339 if eval "test \"`echo '$''{'ac_cv_func_lldiv'+set}'`\" = set"; then
3340 echo $ac_n "(cached) $ac_c" 1>&6
3342 cat > conftest.
$ac_ext <<EOF
3343 #line 3344 "configure"
3344 #include "confdefs.h"
3345 /* System header to define __stub macros and hopefully few prototypes,
3346 which can conflict with char lldiv(); below. */
3348 /* Override any gcc2 internal prototype to avoid an error. */
3352 /* We use char because int might match the return type of a gcc2
3353 builtin and then its argument prototype would still apply. */
3358 /* The GNU C library defines this for functions which it implements
3359 to always fail with ENOSYS. Some functions are actually named
3360 something starting with __ and the normal name is an alias. */
3361 #if defined (__stub_lldiv) || defined (__stub___lldiv)
3369 if { (eval echo configure
:3370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3371 eval "ac_cv_func_lldiv=yes"
3373 echo "configure: failed program was:" >&5
3374 cat conftest.
$ac_ext >&5
3376 eval "ac_cv_func_lldiv=no"
3381 if eval "test \"`echo '$ac_cv_func_'lldiv`\" = yes"; then
3382 echo "$ac_t""yes" 1>&6
3385 echo "$ac_t""no" 1>&6
3389 echo $ac_n "checking for atoll""... $ac_c" 1>&6
3390 echo "configure:3391: checking for atoll" >&5
3391 if eval "test \"`echo '$''{'ac_cv_func_atoll'+set}'`\" = set"; then
3392 echo $ac_n "(cached) $ac_c" 1>&6
3394 cat > conftest.
$ac_ext <<EOF
3395 #line 3396 "configure"
3396 #include "confdefs.h"
3397 /* System header to define __stub macros and hopefully few prototypes,
3398 which can conflict with char atoll(); below. */
3400 /* Override any gcc2 internal prototype to avoid an error. */
3404 /* We use char because int might match the return type of a gcc2
3405 builtin and then its argument prototype would still apply. */
3410 /* The GNU C library defines this for functions which it implements
3411 to always fail with ENOSYS. Some functions are actually named
3412 something starting with __ and the normal name is an alias. */
3413 #if defined (__stub_atoll) || defined (__stub___atoll)
3421 if { (eval echo configure
:3422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3423 eval "ac_cv_func_atoll=yes"
3425 echo "configure: failed program was:" >&5
3426 cat conftest.
$ac_ext >&5
3428 eval "ac_cv_func_atoll=no"
3433 if eval "test \"`echo '$ac_cv_func_'atoll`\" = yes"; then
3434 echo "$ac_t""yes" 1>&6
3437 echo "$ac_t""no" 1>&6
3442 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3443 echo "configure:3444: checking for lldiv_t declaration" >&5
3444 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3445 echo $ac_n "(cached) $ac_c" 1>&6
3448 cat > conftest.
$ac_ext <<EOF
3449 #line 3450 "configure"
3450 #include "confdefs.h"
3456 if { (eval echo configure
:3457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3460 echo "configure: failed program was:" >&5
3461 cat conftest.
$ac_ext >&5
3469 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3470 if test x
"$ac_c99_lldiv_t" = x
"no"; then
3474 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3475 echo $ac_n "checking for wcstold""... $ac_c" 1>&6
3476 echo "configure:3477: checking for wcstold" >&5
3477 if eval "test \"`echo '$''{'ac_cv_func_wcstold'+set}'`\" = set"; then
3478 echo $ac_n "(cached) $ac_c" 1>&6
3480 cat > conftest.
$ac_ext <<EOF
3481 #line 3482 "configure"
3482 #include "confdefs.h"
3483 /* System header to define __stub macros and hopefully few prototypes,
3484 which can conflict with char wcstold(); below. */
3486 /* Override any gcc2 internal prototype to avoid an error. */
3490 /* We use char because int might match the return type of a gcc2
3491 builtin and then its argument prototype would still apply. */
3496 /* The GNU C library defines this for functions which it implements
3497 to always fail with ENOSYS. Some functions are actually named
3498 something starting with __ and the normal name is an alias. */
3499 #if defined (__stub_wcstold) || defined (__stub___wcstold)
3507 if { (eval echo configure
:3508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3509 eval "ac_cv_func_wcstold=yes"
3511 echo "configure: failed program was:" >&5
3512 cat conftest.
$ac_ext >&5
3514 eval "ac_cv_func_wcstold=no"
3519 if eval "test \"`echo '$ac_cv_func_'wcstold`\" = yes"; then
3520 echo "$ac_t""yes" 1>&6
3523 echo "$ac_t""no" 1>&6
3527 echo $ac_n "checking for wcstoll""... $ac_c" 1>&6
3528 echo "configure:3529: checking for wcstoll" >&5
3529 if eval "test \"`echo '$''{'ac_cv_func_wcstoll'+set}'`\" = set"; then
3530 echo $ac_n "(cached) $ac_c" 1>&6
3532 cat > conftest.
$ac_ext <<EOF
3533 #line 3534 "configure"
3534 #include "confdefs.h"
3535 /* System header to define __stub macros and hopefully few prototypes,
3536 which can conflict with char wcstoll(); below. */
3538 /* Override any gcc2 internal prototype to avoid an error. */
3542 /* We use char because int might match the return type of a gcc2
3543 builtin and then its argument prototype would still apply. */
3548 /* The GNU C library defines this for functions which it implements
3549 to always fail with ENOSYS. Some functions are actually named
3550 something starting with __ and the normal name is an alias. */
3551 #if defined (__stub_wcstoll) || defined (__stub___wcstoll)
3559 if { (eval echo configure
:3560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3561 eval "ac_cv_func_wcstoll=yes"
3563 echo "configure: failed program was:" >&5
3564 cat conftest.
$ac_ext >&5
3566 eval "ac_cv_func_wcstoll=no"
3571 if eval "test \"`echo '$ac_cv_func_'wcstoll`\" = yes"; then
3572 echo "$ac_t""yes" 1>&6
3575 echo "$ac_t""no" 1>&6
3579 echo $ac_n "checking for wcstoull""... $ac_c" 1>&6
3580 echo "configure:3581: checking for wcstoull" >&5
3581 if eval "test \"`echo '$''{'ac_cv_func_wcstoull'+set}'`\" = set"; then
3582 echo $ac_n "(cached) $ac_c" 1>&6
3584 cat > conftest.
$ac_ext <<EOF
3585 #line 3586 "configure"
3586 #include "confdefs.h"
3587 /* System header to define __stub macros and hopefully few prototypes,
3588 which can conflict with char wcstoull(); below. */
3590 /* Override any gcc2 internal prototype to avoid an error. */
3594 /* We use char because int might match the return type of a gcc2
3595 builtin and then its argument prototype would still apply. */
3600 /* The GNU C library defines this for functions which it implements
3601 to always fail with ENOSYS. Some functions are actually named
3602 something starting with __ and the normal name is an alias. */
3603 #if defined (__stub_wcstoull) || defined (__stub___wcstoull)
3611 if { (eval echo configure
:3612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3613 eval "ac_cv_func_wcstoull=yes"
3615 echo "configure: failed program was:" >&5
3616 cat conftest.
$ac_ext >&5
3618 eval "ac_cv_func_wcstoull=no"
3623 if eval "test \"`echo '$ac_cv_func_'wcstoull`\" = yes"; then
3624 echo "$ac_t""yes" 1>&6
3627 echo "$ac_t""no" 1>&6
3632 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3633 echo "configure:3634: checking for enabled ISO C99 support" >&5
3634 if test x
"$ac_c99_math" = x
"no" ||
test x
"$ac_c99_wchar" = x
"no" \
3635 ||
test x
"$ac_c99_stdlib" = x
"no"; then
3638 echo "$ac_t""$enable_c99" 1>&6
3640 # Option parsed, now set things appropriately
3641 if test x
"$enable_c99" = x
"yes"; then
3642 cat >> confdefs.h
<<\EOF
3643 #define _GLIBCPP_USE_C99 1
3649 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3650 ac_cpp
='$CPP $CPPFLAGS'
3651 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3652 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3653 cross_compiling
=$ac_cv_prog_cc_cross
3657 # Check whether --enable-long-long or --disable-long-long was given.
3658 if test "${enable_long_long+set}" = set; then
3659 enableval
="$enable_long_long"
3660 case "$enableval" in
3661 yes) enable_long_long
=yes ;;
3662 no
) enable_long_long
=no
;;
3663 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3666 enable_long_long
=yes
3669 # iostreams require strtoll, strtoull to compile. If the
3670 # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
3671 # go ahead and allow long long to be used.
3672 if test x
"$enable_c99" = x
"no"; then
3673 enable_long_long
=no
;
3676 # Option parsed, now set things appropriately
3677 echo $ac_n "checking for enabled long long support""... $ac_c" 1>&6
3678 echo "configure:3679: checking for enabled long long support" >&5
3679 if test x
"$enable_long_long" = xyes
; then
3680 cat >> confdefs.h
<<\EOF
3681 #define _GLIBCPP_USE_LONG_LONG 1
3685 echo "$ac_t""$enable_long_long" 1>&6
3687 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3688 echo "configure:3689: checking for c header strategy to use" >&5
3689 # Check whether --enable-cheaders or --disable-cheaders was given.
3690 if test "${enable_cheaders+set}" = set; then
3691 enableval
="$enable_cheaders"
3693 case "$enableval" in
3698 enable_cheaders
=c_std
3701 enable_cheaders
=c_shadow
3703 *) { echo "configure: error: Unknown argument to enable/disable "C
" headers" 1>&2; exit 1; }
3707 enable_cheaders
=c_std
3710 echo "$ac_t""$enable_cheaders" 1>&6
3712 case "$enable_cheaders" in
3714 CSHADOW_FLAGS
="-fno-builtin"
3715 C_INCLUDE_DIR
='${top_srcdir}/include/c_shadow'
3716 cat >> confdefs.h
<<\EOF
3717 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3723 C_INCLUDE_DIR
='${top_srcdir}/include/c_std'
3727 C_INCLUDE_DIR
='${top_srcdir}/include/c'
3735 if test "$enable_cheaders" = c_shadow
; then
3736 GLIBCPP_USE_CSHADOW_TRUE
=
3737 GLIBCPP_USE_CSHADOW_FALSE
='#'
3739 GLIBCPP_USE_CSHADOW_TRUE
='#'
3740 GLIBCPP_USE_CSHADOW_FALSE
=
3744 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3745 echo "configure:3746: checking for thread model used by GCC" >&5
3746 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3747 echo "$ac_t""$target_thread_file" 1>&6
3750 case "$target_thread_file" in
3752 THREADH
=threads-no.h
3755 THREADH
=threads-posix.h
3757 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks
)
3758 echo "configure: warning: disabling unsupported thread package $target_thread_file" 1>&2
3759 THREADH
=threads-no.h
3762 { echo "configure: error: $target_thread_file: unsupported/unknown thread package" 1>&2; exit 1; }
3767 if test $THREADH != threads-no.h
; then
3768 cat >> confdefs.h
<<\EOF
3769 #define _GLIBCPP_USE_THREADS 1
3774 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3775 if test "${enable_cxx_flags+set}" = set; then
3776 enableval
="$enable_cxx_flags"
3777 case "x$enableval" in
3779 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3781 enable_cxx_flags
='' ;;
3783 enable_cxx_flags
="$enableval" ;;
3786 enable_cxx_flags
='none'
3790 if test "$enable_cxx_flags" = "none"; then
3791 enable_cxx_flags
='';
3794 if test -n "$enable_cxx_flags"; then
3795 for f
in $enable_cxx_flags; do
3799 *) # and we're trying to pass /what/ exactly?
3800 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3804 EXTRA_CXX_FLAGS
="$enable_cxx_flags"
3808 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3809 echo "configure:3810: checking for exception model to use" >&5
3812 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3813 ac_cpp
='$CXXCPP $CPPFLAGS'
3814 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3815 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3816 cross_compiling
=$ac_cv_prog_cxx_cross
3818 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3819 if test "${enable_sjlj_exceptions+set}" = set; then
3820 enableval
="$enable_sjlj_exceptions"
3823 cat > conftest.
$ac_ext << EOF
3824 #line 3825 "configure"
3833 old_CXXFLAGS
="$CXXFLAGS"
3835 if { (eval echo configure
:3836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3836 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
3837 enable_sjlj_exceptions
=yes
3838 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
3839 enable_sjlj_exceptions
=no
3842 CXXFLAGS
="$old_CXXFLAGS"
3846 if test x
$enable_sjlj_exceptions = xyes
; then
3847 cat >> confdefs.h
<<\EOF
3848 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3851 ac_exception_model_name
=sjlj
3852 elif test x
$enable_sjlj_exceptions = xno
; then
3853 ac_exception_model_name
="call frame"
3855 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3858 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3859 ac_cpp
='$CPP $CPPFLAGS'
3860 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3861 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3862 cross_compiling
=$ac_cv_prog_cc_cross
3864 echo "$ac_t""$ac_exception_model_name" 1>&6
3867 if test -n "$with_cross_host"; then
3869 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3870 # may not work correctly, because the compiler may not be able to
3875 # If Canadian cross, then don't pick up tools from the build
3877 if test x
"$build" != x
"$with_cross_host" && x
"$build" != x
"$target"; then
3885 case "$target_alias" in
3887 # Construct linux crosses by hand, eliminating bits that need ld...
3888 # Check for available headers.
3889 for ac_hdr
in nan.h ieeefp.h endian.h sys
/isa_defs.h \
3890 machine
/endian.h machine
/param.h sys
/machine.h fp.h locale.h \
3893 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3894 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3895 echo "configure:3896: checking for $ac_hdr" >&5
3896 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3897 echo $ac_n "(cached) $ac_c" 1>&6
3899 cat > conftest.
$ac_ext <<EOF
3900 #line 3901 "configure"
3901 #include "confdefs.h"
3904 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3905 { (eval echo configure
:3906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3906 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3907 if test -z "$ac_err"; then
3909 eval "ac_cv_header_$ac_safe=yes"
3912 echo "configure: failed program was:" >&5
3913 cat conftest.
$ac_ext >&5
3915 eval "ac_cv_header_$ac_safe=no"
3919 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3920 echo "$ac_t""yes" 1>&6
3921 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3922 cat >> confdefs.h
<<EOF
3923 #define $ac_tr_hdr 1
3927 echo "$ac_t""no" 1>&6
3932 # GLIBCPP_CHECK_COMPILER_FEATURES
3933 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
3936 # If we're not using GNU ld, then there's no point in even trying these
3937 # tests. Check for that first. We should have already tested for gld
3938 # by now (in libtool), but require it now just to be safe...
3943 # Set --gc-sections.
3944 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3945 # GNU ld it is! Joy and bunny rabbits!
3947 # All these tests are for C++; save the language and the compiler flags.
3948 # Need to do this so that g++ won't try to link in libstdc++
3949 ac_test_CFLAGS
="${CFLAGS+set}"
3950 ac_save_CFLAGS
="$CFLAGS"
3951 CFLAGS
='-x c++ -Wl,--gc-sections'
3953 # Check for -Wl,--gc-sections
3954 # XXX This test is broken at the moment, as symbols required for
3955 # linking are now in libsupc++ (not built yet.....). In addition,
3956 # this test has cored on solaris in the past. In addition,
3957 # --gc-sections doesn't really work at the moment (keeps on discarding
3958 # used sections, first .eh_frame and now some of the glibc sections for
3959 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3960 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3961 echo "configure:3962: checking for ld that supports -Wl,--gc-sections" >&5
3962 if test "$cross_compiling" = yes; then
3963 ac_sectionLDflags
=yes
3965 cat > conftest.
$ac_ext <<EOF
3966 #line 3967 "configure"
3967 #include "confdefs.h"
3977 if { (eval echo configure
:3978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
3979 ac_sectionLDflags
=yes
3981 echo "configure: failed program was:" >&5
3982 cat conftest.
$ac_ext >&5
3984 ac_sectionLFflags
=no
3989 if test "$ac_test_CFLAGS" = set; then
3990 CFLAGS
="$ac_save_CFLAGS"
3992 # this is the suspicious part
3995 if test "$ac_sectionLDflags" = "yes"; then
3996 SECTION_LDFLAGS
='-Wl,--gc-sections'
3998 echo "$ac_t""$ac_sectionLDflags" 1>&6
4001 # Set linker optimization flags.
4002 if test x
"$ac_cv_prog_gnu_ld" = x
"yes" && test x
"$enable_debug" = x
"no"; then
4003 OPT_LDFLAGS
='-Wl,-O1'
4009 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4010 # GLIBCPP_CHECK_MATH_SUPPORT
4011 cat >> confdefs.h
<<\EOF
4012 #define HAVE_ACOSF 1
4015 cat >> confdefs.h
<<\EOF
4016 #define HAVE_ASINF 1
4019 cat >> confdefs.h
<<\EOF
4020 #define HAVE_ATAN2F 1
4023 cat >> confdefs.h
<<\EOF
4024 #define HAVE_ATANF 1
4027 cat >> confdefs.h
<<\EOF
4028 #define HAVE_CEILF 1
4031 cat >> confdefs.h
<<\EOF
4032 #define HAVE_COPYSIGN 1
4035 cat >> confdefs.h
<<\EOF
4036 #define HAVE_COPYSIGNF 1
4039 cat >> confdefs.h
<<\EOF
4043 cat >> confdefs.h
<<\EOF
4044 #define HAVE_COSHF 1
4047 cat >> confdefs.h
<<\EOF
4051 cat >> confdefs.h
<<\EOF
4052 #define HAVE_FABSF 1
4055 cat >> confdefs.h
<<\EOF
4056 #define HAVE_FINITE 1
4059 cat >> confdefs.h
<<\EOF
4060 #define HAVE_FINITEF 1
4063 cat >> confdefs.h
<<\EOF
4064 #define HAVE_FLOORF 1
4067 cat >> confdefs.h
<<\EOF
4068 #define HAVE_FMODF 1
4071 cat >> confdefs.h
<<\EOF
4072 #define HAVE_FREXPF 1
4075 cat >> confdefs.h
<<\EOF
4076 #define HAVE_ISINF 1
4079 cat >> confdefs.h
<<\EOF
4080 #define HAVE_ISINFF 1
4083 cat >> confdefs.h
<<\EOF
4084 #define HAVE_ISNAN 1
4087 cat >> confdefs.h
<<\EOF
4088 #define HAVE_ISNANF 1
4091 cat >> confdefs.h
<<\EOF
4092 #define HAVE_LDEXPF 1
4095 cat >> confdefs.h
<<\EOF
4096 #define HAVE_LOG10F 1
4099 cat >> confdefs.h
<<\EOF
4103 cat >> confdefs.h
<<\EOF
4104 #define HAVE_MODFF 1
4107 cat >> confdefs.h
<<\EOF
4111 cat >> confdefs.h
<<\EOF
4112 #define HAVE_SINCOS 1
4115 cat >> confdefs.h
<<\EOF
4116 #define HAVE_SINCOSF 1
4119 cat >> confdefs.h
<<\EOF
4123 cat >> confdefs.h
<<\EOF
4124 #define HAVE_SINHF 1
4127 cat >> confdefs.h
<<\EOF
4128 #define HAVE_SQRTF 1
4131 cat >> confdefs.h
<<\EOF
4135 cat >> confdefs.h
<<\EOF
4136 #define HAVE_TANHF 1
4140 # At some point, we should differentiate between architectures
4141 # like x86, which have long double versions, and alpha/powerpc/etc.,
4142 # which don't. For the time being, punt.
4143 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
4144 cat >> confdefs.h
<<\EOF
4145 #define HAVE_ACOSL 1
4148 cat >> confdefs.h
<<\EOF
4149 #define HAVE_ASINL 1
4152 cat >> confdefs.h
<<\EOF
4153 #define HAVE_ATAN2L 1
4156 cat >> confdefs.h
<<\EOF
4157 #define HAVE_ATANL 1
4160 cat >> confdefs.h
<<\EOF
4161 #define HAVE_CEILL 1
4164 cat >> confdefs.h
<<\EOF
4165 #define HAVE_COPYSIGNL 1
4168 cat >> confdefs.h
<<\EOF
4172 cat >> confdefs.h
<<\EOF
4173 #define HAVE_COSHL 1
4176 cat >> confdefs.h
<<\EOF
4180 cat >> confdefs.h
<<\EOF
4181 #define HAVE_FABSL 1
4184 cat >> confdefs.h
<<\EOF
4185 #define HAVE_FINITEL 1
4188 cat >> confdefs.h
<<\EOF
4189 #define HAVE_FLOORL 1
4192 cat >> confdefs.h
<<\EOF
4193 #define HAVE_FMODL 1
4196 cat >> confdefs.h
<<\EOF
4197 #define HAVE_FREXPL 1
4200 cat >> confdefs.h
<<\EOF
4201 #define HAVE_ISINFL 1
4204 cat >> confdefs.h
<<\EOF
4205 #define HAVE_ISNANL 1
4208 cat >> confdefs.h
<<\EOF
4209 #define HAVE_LDEXPL 1
4212 cat >> confdefs.h
<<\EOF
4213 #define HAVE_LOG10L 1
4216 cat >> confdefs.h
<<\EOF
4220 cat >> confdefs.h
<<\EOF
4221 #define HAVE_MODFL 1
4224 cat >> confdefs.h
<<\EOF
4228 cat >> confdefs.h
<<\EOF
4229 #define HAVE_SINCOSL 1
4232 cat >> confdefs.h
<<\EOF
4236 cat >> confdefs.h
<<\EOF
4237 #define HAVE_SINHL 1
4240 cat >> confdefs.h
<<\EOF
4241 #define HAVE_SQRTL 1
4244 cat >> confdefs.h
<<\EOF
4248 cat >> confdefs.h
<<\EOF
4249 #define HAVE_TANHL 1
4254 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4255 echo "configure:4256: checking for main in -lm" >&5
4256 ac_lib_var
=`echo m'_'main | sed 'y%./+-%__p_%'`
4257 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4258 echo $ac_n "(cached) $ac_c" 1>&6
4260 ac_save_LIBS
="$LIBS"
4262 cat > conftest.
$ac_ext <<EOF
4263 #line 4264 "configure"
4264 #include "confdefs.h"
4270 if { (eval echo configure
:4271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4272 eval "ac_cv_lib_$ac_lib_var=yes"
4274 echo "configure: failed program was:" >&5
4275 cat conftest.
$ac_ext >&5
4277 eval "ac_cv_lib_$ac_lib_var=no"
4280 LIBS
="$ac_save_LIBS"
4283 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4284 echo "$ac_t""yes" 1>&6
4285 ac_tr_lib
=HAVE_LIB
`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4286 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4287 cat >> confdefs.h
<<EOF
4288 #define $ac_tr_lib 1
4294 echo "$ac_t""no" 1>&6
4297 for ac_func
in nan hypot hypotf atan2f expf copysignf
4299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4300 echo "configure:4301: checking for $ac_func" >&5
4301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4302 echo $ac_n "(cached) $ac_c" 1>&6
4304 cat > conftest.
$ac_ext <<EOF
4305 #line 4306 "configure"
4306 #include "confdefs.h"
4307 /* System header to define __stub macros and hopefully few prototypes,
4308 which can conflict with char $ac_func(); below. */
4310 /* Override any gcc2 internal prototype to avoid an error. */
4311 /* We use char because int might match the return type of a gcc2
4312 builtin and then its argument prototype would still apply. */
4317 /* The GNU C library defines this for functions which it implements
4318 to always fail with ENOSYS. Some functions are actually named
4319 something starting with __ and the normal name is an alias. */
4320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4328 if { (eval echo configure
:4329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4330 eval "ac_cv_func_$ac_func=yes"
4332 echo "configure: failed program was:" >&5
4333 cat conftest.
$ac_ext >&5
4335 eval "ac_cv_func_$ac_func=no"
4340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4341 echo "$ac_t""yes" 1>&6
4342 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4343 cat >> confdefs.h
<<EOF
4344 #define $ac_tr_func 1
4348 echo "$ac_t""no" 1>&6
4349 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
4355 USE_COMPLEX_LONG_DOUBLE
=no
4356 if test x
$ac_cv_func_atan2l = x
"yes" \
4357 && test x
$ac_cv_func_copysignl = x
"yes"; then
4358 USE_COMPLEX_LONG_DOUBLE
=yes
4359 for ac_func
in hypotl signbitl
4361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4362 echo "configure:4363: checking for $ac_func" >&5
4363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4364 echo $ac_n "(cached) $ac_c" 1>&6
4366 cat > conftest.
$ac_ext <<EOF
4367 #line 4368 "configure"
4368 #include "confdefs.h"
4369 /* System header to define __stub macros and hopefully few prototypes,
4370 which can conflict with char $ac_func(); below. */
4372 /* Override any gcc2 internal prototype to avoid an error. */
4373 /* We use char because int might match the return type of a gcc2
4374 builtin and then its argument prototype would still apply. */
4379 /* The GNU C library defines this for functions which it implements
4380 to always fail with ENOSYS. Some functions are actually named
4381 something starting with __ and the normal name is an alias. */
4382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4390 if { (eval echo configure
:4391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4392 eval "ac_cv_func_$ac_func=yes"
4394 echo "configure: failed program was:" >&5
4395 cat conftest.
$ac_ext >&5
4397 eval "ac_cv_func_$ac_func=no"
4402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4403 echo "$ac_t""yes" 1>&6
4404 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4405 cat >> confdefs.h
<<EOF
4406 #define $ac_tr_func 1
4410 echo "$ac_t""no" 1>&6
4411 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
4423 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
4424 echo "configure:4425: checking for GNU C++ __complex__ support" >&5
4425 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
4426 echo $ac_n "(cached) $ac_c" 1>&6
4431 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4432 ac_cpp
='$CXXCPP $CPPFLAGS'
4433 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4434 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4435 cross_compiling
=$ac_cv_prog_cxx_cross
4437 cat > conftest.
$ac_ext <<EOF
4438 #line 4439 "configure"
4439 #include "confdefs.h"
4440 struct dcomplex { __complex__ double x; }; \
4441 dcomplex f(const dcomplex& x) { return dcomplex(x); }
4447 if { (eval echo configure
:4448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4449 glibcpp_cv_complex
=ok
4451 echo "configure: failed program was:" >&5
4452 cat conftest.
$ac_ext >&5
4454 glibcpp_cv_complex
=buggy
4459 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4460 ac_cpp
='$CPP $CPPFLAGS'
4461 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4462 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4463 cross_compiling
=$ac_cv_prog_cc_cross
4468 echo "$ac_t""$glibcpp_cv_complex" 1>&6
4469 if test $glibcpp_cv_complex = buggy
; then
4470 cat >> confdefs.h
<<\EOF
4471 #define _GLIBCPP_BUGGY_COMPLEX 1
4476 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
4477 echo "configure:4478: checking for GNU C++ __complex__ float support" >&5
4478 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
4479 echo $ac_n "(cached) $ac_c" 1>&6
4484 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4485 ac_cpp
='$CXXCPP $CPPFLAGS'
4486 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4487 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4488 cross_compiling
=$ac_cv_prog_cxx_cross
4491 cat > conftest.h
<<EOB
4493 // Check for buggy __complex__ that causes ICE in most versions of egcs
4494 // and gcc-2.95.x on certain platforms (eg., x86-win32).
4496 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
4497 // more info on the bug itself.
4502 __complex__ float m_value;
4503 float_complex (float = 0.0f, float = 0.0f);
4504 float_complex (__complex__ float val) : m_value (val) {}
4505 float_complex foo (const float_complex &val)
4506 { return float_complex (~val.m_value); }
4509 cat > conftest.
$ac_ext <<EOF
4510 #line 4511 "configure"
4511 #include "confdefs.h"
4512 #include "conftest.h"
4517 if { (eval echo configure
:4518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4519 glibcpp_cv_float_complex
=ok
4521 echo "configure: failed program was:" >&5
4522 cat conftest.
$ac_ext >&5
4524 glibcpp_cv_float_complex
=buggy
4529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4530 ac_cpp
='$CPP $CPPFLAGS'
4531 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4532 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4533 cross_compiling
=$ac_cv_prog_cc_cross
4538 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
4539 if test $glibcpp_cv_float_complex = buggy
; then
4540 cat >> confdefs.h
<<\EOF
4541 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
4548 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4549 echo "configure:4550: checking for mbstate_t" >&5
4550 cat > conftest.
$ac_ext <<EOF
4551 #line 4552 "configure"
4552 #include "confdefs.h"
4555 mbstate_t teststate;
4558 if { (eval echo configure
:4559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4562 echo "configure: failed program was:" >&5
4563 cat conftest.
$ac_ext >&5
4568 echo "$ac_t""$have_mbstate_t" 1>&6
4569 if test x
"$have_mbstate_t" = xyes
; then
4570 cat >> confdefs.h
<<\EOF
4571 #define HAVE_MBSTATE_T 1
4576 for ac_hdr
in wchar.h
4578 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4579 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4580 echo "configure:4581: checking for $ac_hdr" >&5
4581 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4582 echo $ac_n "(cached) $ac_c" 1>&6
4584 cat > conftest.
$ac_ext <<EOF
4585 #line 4586 "configure"
4586 #include "confdefs.h"
4589 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4590 { (eval echo configure
:4591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4591 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4592 if test -z "$ac_err"; then
4594 eval "ac_cv_header_$ac_safe=yes"
4597 echo "configure: failed program was:" >&5
4598 cat conftest.
$ac_ext >&5
4600 eval "ac_cv_header_$ac_safe=no"
4604 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4605 echo "$ac_t""yes" 1>&6
4606 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4607 cat >> confdefs.h
<<EOF
4608 #define $ac_tr_hdr 1
4612 echo "$ac_t""no" 1>&6
4617 ac_safe
=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4618 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4619 echo "configure:4620: checking for wctype.h" >&5
4620 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4621 echo $ac_n "(cached) $ac_c" 1>&6
4623 cat > conftest.
$ac_ext <<EOF
4624 #line 4625 "configure"
4625 #include "confdefs.h"
4628 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4629 { (eval echo configure
:4630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4630 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4631 if test -z "$ac_err"; then
4633 eval "ac_cv_header_$ac_safe=yes"
4636 echo "configure: failed program was:" >&5
4637 cat conftest.
$ac_ext >&5
4639 eval "ac_cv_header_$ac_safe=no"
4643 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4644 echo "$ac_t""yes" 1>&6
4647 echo "$ac_t""no" 1>&6
4652 if test x
"$ac_has_wchar_h" = xyes
&& test x
"$ac_has_wctype_h" = xyes \
4653 && test x
"$enable_c_mbchar" != xno
; then
4655 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4656 echo "configure:4657: checking for WCHAR_MIN and WCHAR_MAX" >&5
4657 cat > conftest.
$ac_ext <<EOF
4658 #line 4659 "configure"
4659 #include "confdefs.h"
4662 int i = WCHAR_MIN; int j = WCHAR_MAX;
4665 if { (eval echo configure
:4666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4667 has_wchar_minmax
=yes
4669 echo "configure: failed program was:" >&5
4670 cat conftest.
$ac_ext >&5
4675 echo "$ac_t""$has_wchar_minmax" 1>&6
4677 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4678 echo "configure:4679: checking for WEOF" >&5
4679 cat > conftest.
$ac_ext <<EOF
4680 #line 4681 "configure"
4681 #include "confdefs.h"
4689 if { (eval echo configure
:4690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4693 echo "configure: failed program was:" >&5
4694 cat conftest.
$ac_ext >&5
4699 echo "$ac_t""$has_weof" 1>&6
4701 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
4704 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4705 echo "configure:4706: checking for $ac_func" >&5
4706 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4707 echo $ac_n "(cached) $ac_c" 1>&6
4709 cat > conftest.
$ac_ext <<EOF
4710 #line 4711 "configure"
4711 #include "confdefs.h"
4712 /* System header to define __stub macros and hopefully few prototypes,
4713 which can conflict with char $ac_func(); below. */
4715 /* Override any gcc2 internal prototype to avoid an error. */
4716 /* We use char because int might match the return type of a gcc2
4717 builtin and then its argument prototype would still apply. */
4722 /* The GNU C library defines this for functions which it implements
4723 to always fail with ENOSYS. Some functions are actually named
4724 something starting with __ and the normal name is an alias. */
4725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4733 if { (eval echo configure
:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4735 eval "ac_cv_func_$ac_func=yes"
4737 echo "configure: failed program was:" >&5
4738 cat conftest.
$ac_ext >&5
4740 eval "ac_cv_func_$ac_func=no"
4745 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4746 echo "$ac_t""yes" 1>&6
4747 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4748 cat >> confdefs.h
<<EOF
4749 #define $ac_tr_func 1
4753 echo "$ac_t""no" 1>&6
4759 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4760 echo "configure:4761: checking for ISO C99 wchar_t support" >&5
4761 if test x
"$has_weof" = xyes
&& test x
"$has_wchar_minmax" = xyes \
4762 && test x
"$ac_wfuncs" = xyes
; then
4763 ac_isoC99_wchar_t
=yes
4765 ac_isoC99_wchar_t
=no
4767 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4769 ac_safe
=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4770 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4771 echo "configure:4772: checking for iconv.h" >&5
4772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4773 echo $ac_n "(cached) $ac_c" 1>&6
4775 cat > conftest.
$ac_ext <<EOF
4776 #line 4777 "configure"
4777 #include "confdefs.h"
4780 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4781 { (eval echo configure
:4782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4782 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4783 if test -z "$ac_err"; then
4785 eval "ac_cv_header_$ac_safe=yes"
4788 echo "configure: failed program was:" >&5
4789 cat conftest.
$ac_ext >&5
4791 eval "ac_cv_header_$ac_safe=no"
4795 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4796 echo "$ac_t""yes" 1>&6
4799 echo "$ac_t""no" 1>&6
4803 ac_safe
=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4804 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4805 echo "configure:4806: checking for langinfo.h" >&5
4806 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4807 echo $ac_n "(cached) $ac_c" 1>&6
4809 cat > conftest.
$ac_ext <<EOF
4810 #line 4811 "configure"
4811 #include "confdefs.h"
4812 #include <langinfo.h>
4814 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4815 { (eval echo configure
:4816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4816 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4817 if test -z "$ac_err"; then
4819 eval "ac_cv_header_$ac_safe=yes"
4822 echo "configure: failed program was:" >&5
4823 cat conftest.
$ac_ext >&5
4825 eval "ac_cv_header_$ac_safe=no"
4829 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4830 echo "$ac_t""yes" 1>&6
4831 ac_has_langinfo_h
=yes
4833 echo "$ac_t""no" 1>&6
4834 ac_has_langinfo_h
=no
4838 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4839 echo "configure:4840: checking for iconv in -liconv" >&5
4840 ac_lib_var
=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4841 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4842 echo $ac_n "(cached) $ac_c" 1>&6
4844 ac_save_LIBS
="$LIBS"
4845 LIBS
="-liconv $LIBS"
4846 cat > conftest.
$ac_ext <<EOF
4847 #line 4848 "configure"
4848 #include "confdefs.h"
4849 /* Override any gcc2 internal prototype to avoid an error. */
4850 /* We use char because int might match the return type of a gcc2
4851 builtin and then its argument prototype would still apply. */
4858 if { (eval echo configure
:4859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4860 eval "ac_cv_lib_$ac_lib_var=yes"
4862 echo "configure: failed program was:" >&5
4863 cat conftest.
$ac_ext >&5
4865 eval "ac_cv_lib_$ac_lib_var=no"
4868 LIBS
="$ac_save_LIBS"
4871 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4872 echo "$ac_t""yes" 1>&6
4875 echo "$ac_t""no" 1>&6
4878 ac_save_LIBS
="$LIBS"
4879 LIBS
="$LIBS $libiconv"
4881 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
4883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4884 echo "configure:4885: checking for $ac_func" >&5
4885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4886 echo $ac_n "(cached) $ac_c" 1>&6
4888 cat > conftest.
$ac_ext <<EOF
4889 #line 4890 "configure"
4890 #include "confdefs.h"
4891 /* System header to define __stub macros and hopefully few prototypes,
4892 which can conflict with char $ac_func(); below. */
4894 /* Override any gcc2 internal prototype to avoid an error. */
4895 /* We use char because int might match the return type of a gcc2
4896 builtin and then its argument prototype would still apply. */
4901 /* The GNU C library defines this for functions which it implements
4902 to always fail with ENOSYS. Some functions are actually named
4903 something starting with __ and the normal name is an alias. */
4904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4912 if { (eval echo configure
:4913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4914 eval "ac_cv_func_$ac_func=yes"
4916 echo "configure: failed program was:" >&5
4917 cat conftest.
$ac_ext >&5
4919 eval "ac_cv_func_$ac_func=no"
4924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4925 echo "$ac_t""yes" 1>&6
4926 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4927 cat >> confdefs.h
<<EOF
4928 #define $ac_tr_func 1
4933 echo "$ac_t""no" 1>&6
4939 LIBS
="$ac_save_LIBS"
4941 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4942 echo "configure:4943: checking for XPG2 wchar_t support" >&5
4943 if test x
"$ac_has_iconv_h" = xyes
&& test x
"$ac_has_langinfo_h" = xyes \
4944 && test x
"$ac_XPG2funcs" = xyes
; then
4949 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4951 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4952 echo "configure:4953: checking for enabled wchar_t specializations" >&5
4953 if test x
"$ac_isoC99_wchar_t" = xyes \
4954 && test x
"$ac_XPG2_wchar_t" = xyes
; then
4955 cat >> confdefs.h
<<\EOF
4956 #define _GLIBCPP_USE_WCHAR_T 1
4959 echo "$ac_t"""yes"" 1>&6
4961 echo "$ac_t"""no
"" 1>&6
4964 echo "configure: warning: wchar_t support disabled." 1>&2
4967 os_include_dir
="config/os/gnu-linux"
4968 # GLIBCPP_CHECK_STDLIB_SUPPORT
4969 cat >> confdefs.h
<<\EOF
4970 #define HAVE_STRTOF 1
4973 cat >> confdefs.h
<<\EOF
4974 #define HAVE_STRTOLD 1
4978 cat >> confdefs.h
<<\EOF
4984 # We assume newlib. This lets us hard-code the functions we know
4986 cat >> confdefs.h
<<\EOF
4987 #define HAVE_FINITE 1
4990 cat >> confdefs.h
<<\EOF
4991 #define HAVE_ISNAN 1
4994 cat >> confdefs.h
<<\EOF
4995 #define HAVE_ISNANF 1
4998 cat >> confdefs.h
<<\EOF
4999 #define HAVE_ISINF 1
5002 cat >> confdefs.h
<<\EOF
5003 #define HAVE_ISINFF 1
5007 os_include_dir
="config/os/newlib"
5009 cat >> confdefs.h
<<\EOF
5010 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
5013 cat >> confdefs.h
<<\EOF
5014 #define _GLIBCPP_BUGGY_COMPLEX 1
5017 # need to check for faster f versions of math functions, ie sinf?
5022 # We are being configured natively. We can do more elaborate tests
5023 # that include AC_TRY_COMPILE now, as the linker is assumed to be
5030 # Check for available headers.
5031 for ac_hdr
in nan.h ieeefp.h endian.h sys
/isa_defs.h machine
/endian.h \
5032 machine
/param.h sys
/machine.h fp.h locale.h float.h inttypes.h gconv.h
5034 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5035 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5036 echo "configure:5037: checking for $ac_hdr" >&5
5037 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5038 echo $ac_n "(cached) $ac_c" 1>&6
5040 cat > conftest.
$ac_ext <<EOF
5041 #line 5042 "configure"
5042 #include "confdefs.h"
5045 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5046 { (eval echo configure
:5047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5047 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5048 if test -z "$ac_err"; then
5050 eval "ac_cv_header_$ac_safe=yes"
5053 echo "configure: failed program was:" >&5
5054 cat conftest.
$ac_ext >&5
5056 eval "ac_cv_header_$ac_safe=no"
5060 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5061 echo "$ac_t""yes" 1>&6
5062 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5063 cat >> confdefs.h
<<EOF
5064 #define $ac_tr_hdr 1
5068 echo "$ac_t""no" 1>&6
5074 # All these tests are for C++; save the language and the compiler flags.
5075 # The CXXFLAGS thing is suspicious, but based on similar bits
5076 # found in GLIBCPP_CONFIGURE.
5079 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5080 ac_cpp
='$CXXCPP $CPPFLAGS'
5081 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5082 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5083 cross_compiling
=$ac_cv_prog_cxx_cross
5085 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
5086 ac_save_CXXFLAGS
="$CXXFLAGS"
5088 # Check for maintainer-mode bits.
5089 if test x
"$USE_MAINTAINER_MODE" = xno
; then
5095 # Check for -ffunction-sections -fdata-sections
5096 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
5097 echo "configure:5098: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
5098 CXXFLAGS
='-Werror -ffunction-sections -fdata-sections'
5099 cat > conftest.
$ac_ext <<EOF
5100 #line 5101 "configure"
5101 #include "confdefs.h"
5108 if { (eval echo configure
:5109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5112 echo "configure: failed program was:" >&5
5113 cat conftest.
$ac_ext >&5
5118 if test "$ac_test_CXXFLAGS" = set; then
5119 CXXFLAGS
="$ac_save_CXXFLAGS"
5121 # this is the suspicious part
5124 if test x
"$ac_fdsections" = x
"yes" && test x
"$enable_debug" = x
"no"; then
5125 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
5127 echo "$ac_t""$ac_fdsections" 1>&6
5130 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5131 ac_cpp
='$CPP $CPPFLAGS'
5132 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5133 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5134 cross_compiling
=$ac_cv_prog_cc_cross
5140 # If we're not using GNU ld, then there's no point in even trying these
5141 # tests. Check for that first. We should have already tested for gld
5142 # by now (in libtool), but require it now just to be safe...
5147 # Set --gc-sections.
5148 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
5149 # GNU ld it is! Joy and bunny rabbits!
5151 # All these tests are for C++; save the language and the compiler flags.
5152 # Need to do this so that g++ won't try to link in libstdc++
5153 ac_test_CFLAGS
="${CFLAGS+set}"
5154 ac_save_CFLAGS
="$CFLAGS"
5155 CFLAGS
='-x c++ -Wl,--gc-sections'
5157 # Check for -Wl,--gc-sections
5158 # XXX This test is broken at the moment, as symbols required for
5159 # linking are now in libsupc++ (not built yet.....). In addition,
5160 # this test has cored on solaris in the past. In addition,
5161 # --gc-sections doesn't really work at the moment (keeps on discarding
5162 # used sections, first .eh_frame and now some of the glibc sections for
5163 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5164 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5165 echo "configure:5166: checking for ld that supports -Wl,--gc-sections" >&5
5166 if test "$cross_compiling" = yes; then
5167 ac_sectionLDflags
=yes
5169 cat > conftest.
$ac_ext <<EOF
5170 #line 5171 "configure"
5171 #include "confdefs.h"
5181 if { (eval echo configure
:5182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
5183 ac_sectionLDflags
=yes
5185 echo "configure: failed program was:" >&5
5186 cat conftest.
$ac_ext >&5
5188 ac_sectionLFflags
=no
5193 if test "$ac_test_CFLAGS" = set; then
5194 CFLAGS
="$ac_save_CFLAGS"
5196 # this is the suspicious part
5199 if test "$ac_sectionLDflags" = "yes"; then
5200 SECTION_LDFLAGS
='-Wl,--gc-sections'
5202 echo "$ac_t""$ac_sectionLDflags" 1>&6
5205 # Set linker optimization flags.
5206 if test x
"$ac_cv_prog_gnu_ld" = x
"yes" && test x
"$enable_debug" = x
"no"; then
5207 OPT_LDFLAGS
='-Wl,-O1'
5215 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
5216 echo "configure:5217: checking for __builtin_abs declaration" >&5
5217 if test x
${glibcpp_cv_func___builtin_abs_use+set} != xset
; then
5218 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5219 echo $ac_n "(cached) $ac_c" 1>&6
5224 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5225 ac_cpp
='$CXXCPP $CPPFLAGS'
5226 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5227 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5228 cross_compiling
=$ac_cv_prog_cxx_cross
5230 cat > conftest.
$ac_ext <<EOF
5231 #line 5232 "configure"
5232 #include "confdefs.h"
5238 if { (eval echo configure
:5239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5240 glibcpp_cv_func___builtin_abs_use
=yes
5242 echo "configure: failed program was:" >&5
5243 cat conftest.
$ac_ext >&5
5245 glibcpp_cv_func___builtin_abs_use
=no
5249 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5250 ac_cpp
='$CPP $CPPFLAGS'
5251 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5252 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5253 cross_compiling
=$ac_cv_prog_cc_cross
5259 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5260 if test x
$glibcpp_cv_func___builtin_abs_use = x
"yes"; then
5261 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
5262 echo "configure:5263: checking for __builtin_abs linkage" >&5
5263 if test x
${glibcpp_cv_func___builtin_abs_link+set} != xset
; then
5264 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5265 echo $ac_n "(cached) $ac_c" 1>&6
5268 cat > conftest.
$ac_ext <<EOF
5269 #line 5270 "configure"
5270 #include "confdefs.h"
5276 if { (eval echo configure
:5277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5278 glibcpp_cv_func___builtin_abs_link
=yes
5280 echo "configure: failed program was:" >&5
5281 cat conftest.
$ac_ext >&5
5283 glibcpp_cv_func___builtin_abs_link
=no
5290 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5291 if test x
$glibcpp_cv_func___builtin_abs_link = x
"yes"; then
5292 ac_tr_func
=HAVE_
`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5293 cat >> confdefs.h
<<EOF
5294 #define ${ac_tr_func} 1
5301 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
5302 echo "configure:5303: checking for __builtin_fabsf declaration" >&5
5303 if test x
${glibcpp_cv_func___builtin_fabsf_use+set} != xset
; then
5304 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5305 echo $ac_n "(cached) $ac_c" 1>&6
5310 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5311 ac_cpp
='$CXXCPP $CPPFLAGS'
5312 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5313 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5314 cross_compiling
=$ac_cv_prog_cxx_cross
5316 cat > conftest.
$ac_ext <<EOF
5317 #line 5318 "configure"
5318 #include "confdefs.h"
5324 if { (eval echo configure
:5325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5326 glibcpp_cv_func___builtin_fabsf_use
=yes
5328 echo "configure: failed program was:" >&5
5329 cat conftest.
$ac_ext >&5
5331 glibcpp_cv_func___builtin_fabsf_use
=no
5335 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5336 ac_cpp
='$CPP $CPPFLAGS'
5337 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5338 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5339 cross_compiling
=$ac_cv_prog_cc_cross
5345 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5346 if test x
$glibcpp_cv_func___builtin_fabsf_use = x
"yes"; then
5347 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
5348 echo "configure:5349: checking for __builtin_fabsf linkage" >&5
5349 if test x
${glibcpp_cv_func___builtin_fabsf_link+set} != xset
; then
5350 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5351 echo $ac_n "(cached) $ac_c" 1>&6
5354 cat > conftest.
$ac_ext <<EOF
5355 #line 5356 "configure"
5356 #include "confdefs.h"
5362 if { (eval echo configure
:5363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5364 glibcpp_cv_func___builtin_fabsf_link
=yes
5366 echo "configure: failed program was:" >&5
5367 cat conftest.
$ac_ext >&5
5369 glibcpp_cv_func___builtin_fabsf_link
=no
5376 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5377 if test x
$glibcpp_cv_func___builtin_fabsf_link = x
"yes"; then
5378 ac_tr_func
=HAVE_
`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5379 cat >> confdefs.h
<<EOF
5380 #define ${ac_tr_func} 1
5387 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
5388 echo "configure:5389: checking for __builtin_fabs declaration" >&5
5389 if test x
${glibcpp_cv_func___builtin_fabs_use+set} != xset
; then
5390 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5391 echo $ac_n "(cached) $ac_c" 1>&6
5396 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5397 ac_cpp
='$CXXCPP $CPPFLAGS'
5398 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5399 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5400 cross_compiling
=$ac_cv_prog_cxx_cross
5402 cat > conftest.
$ac_ext <<EOF
5403 #line 5404 "configure"
5404 #include "confdefs.h"
5410 if { (eval echo configure
:5411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5412 glibcpp_cv_func___builtin_fabs_use
=yes
5414 echo "configure: failed program was:" >&5
5415 cat conftest.
$ac_ext >&5
5417 glibcpp_cv_func___builtin_fabs_use
=no
5421 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5422 ac_cpp
='$CPP $CPPFLAGS'
5423 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5424 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5425 cross_compiling
=$ac_cv_prog_cc_cross
5431 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5432 if test x
$glibcpp_cv_func___builtin_fabs_use = x
"yes"; then
5433 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
5434 echo "configure:5435: checking for __builtin_fabs linkage" >&5
5435 if test x
${glibcpp_cv_func___builtin_fabs_link+set} != xset
; then
5436 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5437 echo $ac_n "(cached) $ac_c" 1>&6
5440 cat > conftest.
$ac_ext <<EOF
5441 #line 5442 "configure"
5442 #include "confdefs.h"
5448 if { (eval echo configure
:5449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5450 glibcpp_cv_func___builtin_fabs_link
=yes
5452 echo "configure: failed program was:" >&5
5453 cat conftest.
$ac_ext >&5
5455 glibcpp_cv_func___builtin_fabs_link
=no
5462 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5463 if test x
$glibcpp_cv_func___builtin_fabs_link = x
"yes"; then
5464 ac_tr_func
=HAVE_
`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5465 cat >> confdefs.h
<<EOF
5466 #define ${ac_tr_func} 1
5473 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
5474 echo "configure:5475: checking for __builtin_fabsl declaration" >&5
5475 if test x
${glibcpp_cv_func___builtin_fabsl_use+set} != xset
; then
5476 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5477 echo $ac_n "(cached) $ac_c" 1>&6
5482 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5483 ac_cpp
='$CXXCPP $CPPFLAGS'
5484 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5485 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5486 cross_compiling
=$ac_cv_prog_cxx_cross
5488 cat > conftest.
$ac_ext <<EOF
5489 #line 5490 "configure"
5490 #include "confdefs.h"
5496 if { (eval echo configure
:5497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5498 glibcpp_cv_func___builtin_fabsl_use
=yes
5500 echo "configure: failed program was:" >&5
5501 cat conftest.
$ac_ext >&5
5503 glibcpp_cv_func___builtin_fabsl_use
=no
5507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5508 ac_cpp
='$CPP $CPPFLAGS'
5509 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5510 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5511 cross_compiling
=$ac_cv_prog_cc_cross
5517 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5518 if test x
$glibcpp_cv_func___builtin_fabsl_use = x
"yes"; then
5519 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
5520 echo "configure:5521: checking for __builtin_fabsl linkage" >&5
5521 if test x
${glibcpp_cv_func___builtin_fabsl_link+set} != xset
; then
5522 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5523 echo $ac_n "(cached) $ac_c" 1>&6
5526 cat > conftest.
$ac_ext <<EOF
5527 #line 5528 "configure"
5528 #include "confdefs.h"
5534 if { (eval echo configure
:5535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5536 glibcpp_cv_func___builtin_fabsl_link
=yes
5538 echo "configure: failed program was:" >&5
5539 cat conftest.
$ac_ext >&5
5541 glibcpp_cv_func___builtin_fabsl_link
=no
5548 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5549 if test x
$glibcpp_cv_func___builtin_fabsl_link = x
"yes"; then
5550 ac_tr_func
=HAVE_
`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5551 cat >> confdefs.h
<<EOF
5552 #define ${ac_tr_func} 1
5559 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
5560 echo "configure:5561: checking for __builtin_labs declaration" >&5
5561 if test x
${glibcpp_cv_func___builtin_labs_use+set} != xset
; then
5562 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5563 echo $ac_n "(cached) $ac_c" 1>&6
5568 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5569 ac_cpp
='$CXXCPP $CPPFLAGS'
5570 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5571 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5572 cross_compiling
=$ac_cv_prog_cxx_cross
5574 cat > conftest.
$ac_ext <<EOF
5575 #line 5576 "configure"
5576 #include "confdefs.h"
5582 if { (eval echo configure
:5583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5584 glibcpp_cv_func___builtin_labs_use
=yes
5586 echo "configure: failed program was:" >&5
5587 cat conftest.
$ac_ext >&5
5589 glibcpp_cv_func___builtin_labs_use
=no
5593 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5594 ac_cpp
='$CPP $CPPFLAGS'
5595 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5596 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5597 cross_compiling
=$ac_cv_prog_cc_cross
5603 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5604 if test x
$glibcpp_cv_func___builtin_labs_use = x
"yes"; then
5605 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5606 echo "configure:5607: checking for __builtin_labs linkage" >&5
5607 if test x
${glibcpp_cv_func___builtin_labs_link+set} != xset
; then
5608 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5609 echo $ac_n "(cached) $ac_c" 1>&6
5612 cat > conftest.
$ac_ext <<EOF
5613 #line 5614 "configure"
5614 #include "confdefs.h"
5620 if { (eval echo configure
:5621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5622 glibcpp_cv_func___builtin_labs_link
=yes
5624 echo "configure: failed program was:" >&5
5625 cat conftest.
$ac_ext >&5
5627 glibcpp_cv_func___builtin_labs_link
=no
5634 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5635 if test x
$glibcpp_cv_func___builtin_labs_link = x
"yes"; then
5636 ac_tr_func
=HAVE_
`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5637 cat >> confdefs.h
<<EOF
5638 #define ${ac_tr_func} 1
5646 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5647 echo "configure:5648: checking for __builtin_sqrtf declaration" >&5
5648 if test x
${glibcpp_cv_func___builtin_sqrtf_use+set} != xset
; then
5649 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5650 echo $ac_n "(cached) $ac_c" 1>&6
5655 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5656 ac_cpp
='$CXXCPP $CPPFLAGS'
5657 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5658 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5659 cross_compiling
=$ac_cv_prog_cxx_cross
5661 cat > conftest.
$ac_ext <<EOF
5662 #line 5663 "configure"
5663 #include "confdefs.h"
5669 if { (eval echo configure
:5670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5671 glibcpp_cv_func___builtin_sqrtf_use
=yes
5673 echo "configure: failed program was:" >&5
5674 cat conftest.
$ac_ext >&5
5676 glibcpp_cv_func___builtin_sqrtf_use
=no
5680 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5681 ac_cpp
='$CPP $CPPFLAGS'
5682 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5683 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5684 cross_compiling
=$ac_cv_prog_cc_cross
5690 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5691 if test x
$glibcpp_cv_func___builtin_sqrtf_use = x
"yes"; then
5692 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5693 echo "configure:5694: checking for __builtin_sqrtf linkage" >&5
5694 if test x
${glibcpp_cv_func___builtin_sqrtf_link+set} != xset
; then
5695 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5696 echo $ac_n "(cached) $ac_c" 1>&6
5699 cat > conftest.
$ac_ext <<EOF
5700 #line 5701 "configure"
5701 #include "confdefs.h"
5707 if { (eval echo configure
:5708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5709 glibcpp_cv_func___builtin_sqrtf_link
=yes
5711 echo "configure: failed program was:" >&5
5712 cat conftest.
$ac_ext >&5
5714 glibcpp_cv_func___builtin_sqrtf_link
=no
5721 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5722 if test x
$glibcpp_cv_func___builtin_sqrtf_link = x
"yes"; then
5723 ac_tr_func
=HAVE_
`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5724 cat >> confdefs.h
<<EOF
5725 #define ${ac_tr_func} 1
5732 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5733 echo "configure:5734: checking for __builtin_fsqrt declaration" >&5
5734 if test x
${glibcpp_cv_func___builtin_fsqrt_use+set} != xset
; then
5735 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5736 echo $ac_n "(cached) $ac_c" 1>&6
5741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5742 ac_cpp
='$CXXCPP $CPPFLAGS'
5743 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5744 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5745 cross_compiling
=$ac_cv_prog_cxx_cross
5747 cat > conftest.
$ac_ext <<EOF
5748 #line 5749 "configure"
5749 #include "confdefs.h"
5755 if { (eval echo configure
:5756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5757 glibcpp_cv_func___builtin_fsqrt_use
=yes
5759 echo "configure: failed program was:" >&5
5760 cat conftest.
$ac_ext >&5
5762 glibcpp_cv_func___builtin_fsqrt_use
=no
5766 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5767 ac_cpp
='$CPP $CPPFLAGS'
5768 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5769 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5770 cross_compiling
=$ac_cv_prog_cc_cross
5776 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5777 if test x
$glibcpp_cv_func___builtin_fsqrt_use = x
"yes"; then
5778 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5779 echo "configure:5780: checking for __builtin_fsqrt linkage" >&5
5780 if test x
${glibcpp_cv_func___builtin_fsqrt_link+set} != xset
; then
5781 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5782 echo $ac_n "(cached) $ac_c" 1>&6
5785 cat > conftest.
$ac_ext <<EOF
5786 #line 5787 "configure"
5787 #include "confdefs.h"
5793 if { (eval echo configure
:5794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5795 glibcpp_cv_func___builtin_fsqrt_link
=yes
5797 echo "configure: failed program was:" >&5
5798 cat conftest.
$ac_ext >&5
5800 glibcpp_cv_func___builtin_fsqrt_link
=no
5807 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5808 if test x
$glibcpp_cv_func___builtin_fsqrt_link = x
"yes"; then
5809 ac_tr_func
=HAVE_
`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5810 cat >> confdefs.h
<<EOF
5811 #define ${ac_tr_func} 1
5818 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5819 echo "configure:5820: checking for __builtin_sqrtl declaration" >&5
5820 if test x
${glibcpp_cv_func___builtin_sqrtl_use+set} != xset
; then
5821 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5822 echo $ac_n "(cached) $ac_c" 1>&6
5827 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5828 ac_cpp
='$CXXCPP $CPPFLAGS'
5829 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5830 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5831 cross_compiling
=$ac_cv_prog_cxx_cross
5833 cat > conftest.
$ac_ext <<EOF
5834 #line 5835 "configure"
5835 #include "confdefs.h"
5841 if { (eval echo configure
:5842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5843 glibcpp_cv_func___builtin_sqrtl_use
=yes
5845 echo "configure: failed program was:" >&5
5846 cat conftest.
$ac_ext >&5
5848 glibcpp_cv_func___builtin_sqrtl_use
=no
5852 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5853 ac_cpp
='$CPP $CPPFLAGS'
5854 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5855 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5856 cross_compiling
=$ac_cv_prog_cc_cross
5862 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5863 if test x
$glibcpp_cv_func___builtin_sqrtl_use = x
"yes"; then
5864 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5865 echo "configure:5866: checking for __builtin_sqrtl linkage" >&5
5866 if test x
${glibcpp_cv_func___builtin_sqrtl_link+set} != xset
; then
5867 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5868 echo $ac_n "(cached) $ac_c" 1>&6
5871 cat > conftest.
$ac_ext <<EOF
5872 #line 5873 "configure"
5873 #include "confdefs.h"
5879 if { (eval echo configure
:5880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5881 glibcpp_cv_func___builtin_sqrtl_link
=yes
5883 echo "configure: failed program was:" >&5
5884 cat conftest.
$ac_ext >&5
5886 glibcpp_cv_func___builtin_sqrtl_link
=no
5893 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5894 if test x
$glibcpp_cv_func___builtin_sqrtl_link = x
"yes"; then
5895 ac_tr_func
=HAVE_
`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5896 cat >> confdefs.h
<<EOF
5897 #define ${ac_tr_func} 1
5905 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5906 echo "configure:5907: checking for __builtin_sinf declaration" >&5
5907 if test x
${glibcpp_cv_func___builtin_sinf_use+set} != xset
; then
5908 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5909 echo $ac_n "(cached) $ac_c" 1>&6
5914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5915 ac_cpp
='$CXXCPP $CPPFLAGS'
5916 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5917 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5918 cross_compiling
=$ac_cv_prog_cxx_cross
5920 cat > conftest.
$ac_ext <<EOF
5921 #line 5922 "configure"
5922 #include "confdefs.h"
5928 if { (eval echo configure
:5929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5930 glibcpp_cv_func___builtin_sinf_use
=yes
5932 echo "configure: failed program was:" >&5
5933 cat conftest.
$ac_ext >&5
5935 glibcpp_cv_func___builtin_sinf_use
=no
5939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5940 ac_cpp
='$CPP $CPPFLAGS'
5941 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5942 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5943 cross_compiling
=$ac_cv_prog_cc_cross
5949 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5950 if test x
$glibcpp_cv_func___builtin_sinf_use = x
"yes"; then
5951 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5952 echo "configure:5953: checking for __builtin_sinf linkage" >&5
5953 if test x
${glibcpp_cv_func___builtin_sinf_link+set} != xset
; then
5954 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5955 echo $ac_n "(cached) $ac_c" 1>&6
5958 cat > conftest.
$ac_ext <<EOF
5959 #line 5960 "configure"
5960 #include "confdefs.h"
5966 if { (eval echo configure
:5967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5968 glibcpp_cv_func___builtin_sinf_link
=yes
5970 echo "configure: failed program was:" >&5
5971 cat conftest.
$ac_ext >&5
5973 glibcpp_cv_func___builtin_sinf_link
=no
5980 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5981 if test x
$glibcpp_cv_func___builtin_sinf_link = x
"yes"; then
5982 ac_tr_func
=HAVE_
`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5983 cat >> confdefs.h
<<EOF
5984 #define ${ac_tr_func} 1
5991 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
5992 echo "configure:5993: checking for __builtin_sin declaration" >&5
5993 if test x
${glibcpp_cv_func___builtin_sin_use+set} != xset
; then
5994 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5995 echo $ac_n "(cached) $ac_c" 1>&6
6000 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6001 ac_cpp
='$CXXCPP $CPPFLAGS'
6002 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6003 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6004 cross_compiling
=$ac_cv_prog_cxx_cross
6006 cat > conftest.
$ac_ext <<EOF
6007 #line 6008 "configure"
6008 #include "confdefs.h"
6014 if { (eval echo configure
:6015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6016 glibcpp_cv_func___builtin_sin_use
=yes
6018 echo "configure: failed program was:" >&5
6019 cat conftest.
$ac_ext >&5
6021 glibcpp_cv_func___builtin_sin_use
=no
6025 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6026 ac_cpp
='$CPP $CPPFLAGS'
6027 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6028 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6029 cross_compiling
=$ac_cv_prog_cc_cross
6035 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
6036 if test x
$glibcpp_cv_func___builtin_sin_use = x
"yes"; then
6037 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
6038 echo "configure:6039: checking for __builtin_sin linkage" >&5
6039 if test x
${glibcpp_cv_func___builtin_sin_link+set} != xset
; then
6040 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
6041 echo $ac_n "(cached) $ac_c" 1>&6
6044 cat > conftest.
$ac_ext <<EOF
6045 #line 6046 "configure"
6046 #include "confdefs.h"
6052 if { (eval echo configure
:6053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6054 glibcpp_cv_func___builtin_sin_link
=yes
6056 echo "configure: failed program was:" >&5
6057 cat conftest.
$ac_ext >&5
6059 glibcpp_cv_func___builtin_sin_link
=no
6066 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
6067 if test x
$glibcpp_cv_func___builtin_sin_link = x
"yes"; then
6068 ac_tr_func
=HAVE_
`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6069 cat >> confdefs.h
<<EOF
6070 #define ${ac_tr_func} 1
6077 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
6078 echo "configure:6079: checking for __builtin_sinl declaration" >&5
6079 if test x
${glibcpp_cv_func___builtin_sinl_use+set} != xset
; then
6080 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
6081 echo $ac_n "(cached) $ac_c" 1>&6
6086 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6087 ac_cpp
='$CXXCPP $CPPFLAGS'
6088 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6089 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6090 cross_compiling
=$ac_cv_prog_cxx_cross
6092 cat > conftest.
$ac_ext <<EOF
6093 #line 6094 "configure"
6094 #include "confdefs.h"
6100 if { (eval echo configure
:6101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6102 glibcpp_cv_func___builtin_sinl_use
=yes
6104 echo "configure: failed program was:" >&5
6105 cat conftest.
$ac_ext >&5
6107 glibcpp_cv_func___builtin_sinl_use
=no
6111 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6112 ac_cpp
='$CPP $CPPFLAGS'
6113 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6114 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6115 cross_compiling
=$ac_cv_prog_cc_cross
6121 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
6122 if test x
$glibcpp_cv_func___builtin_sinl_use = x
"yes"; then
6123 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
6124 echo "configure:6125: checking for __builtin_sinl linkage" >&5
6125 if test x
${glibcpp_cv_func___builtin_sinl_link+set} != xset
; then
6126 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
6127 echo $ac_n "(cached) $ac_c" 1>&6
6130 cat > conftest.
$ac_ext <<EOF
6131 #line 6132 "configure"
6132 #include "confdefs.h"
6138 if { (eval echo configure
:6139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6140 glibcpp_cv_func___builtin_sinl_link
=yes
6142 echo "configure: failed program was:" >&5
6143 cat conftest.
$ac_ext >&5
6145 glibcpp_cv_func___builtin_sinl_link
=no
6152 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
6153 if test x
$glibcpp_cv_func___builtin_sinl_link = x
"yes"; then
6154 ac_tr_func
=HAVE_
`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6155 cat >> confdefs.h
<<EOF
6156 #define ${ac_tr_func} 1
6164 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
6165 echo "configure:6166: checking for __builtin_cosf declaration" >&5
6166 if test x
${glibcpp_cv_func___builtin_cosf_use+set} != xset
; then
6167 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
6168 echo $ac_n "(cached) $ac_c" 1>&6
6173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6174 ac_cpp
='$CXXCPP $CPPFLAGS'
6175 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6176 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6177 cross_compiling
=$ac_cv_prog_cxx_cross
6179 cat > conftest.
$ac_ext <<EOF
6180 #line 6181 "configure"
6181 #include "confdefs.h"
6187 if { (eval echo configure
:6188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6189 glibcpp_cv_func___builtin_cosf_use
=yes
6191 echo "configure: failed program was:" >&5
6192 cat conftest.
$ac_ext >&5
6194 glibcpp_cv_func___builtin_cosf_use
=no
6198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6199 ac_cpp
='$CPP $CPPFLAGS'
6200 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6201 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6202 cross_compiling
=$ac_cv_prog_cc_cross
6208 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6209 if test x
$glibcpp_cv_func___builtin_cosf_use = x
"yes"; then
6210 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
6211 echo "configure:6212: checking for __builtin_cosf linkage" >&5
6212 if test x
${glibcpp_cv_func___builtin_cosf_link+set} != xset
; then
6213 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6214 echo $ac_n "(cached) $ac_c" 1>&6
6217 cat > conftest.
$ac_ext <<EOF
6218 #line 6219 "configure"
6219 #include "confdefs.h"
6225 if { (eval echo configure
:6226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6227 glibcpp_cv_func___builtin_cosf_link
=yes
6229 echo "configure: failed program was:" >&5
6230 cat conftest.
$ac_ext >&5
6232 glibcpp_cv_func___builtin_cosf_link
=no
6239 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6240 if test x
$glibcpp_cv_func___builtin_cosf_link = x
"yes"; then
6241 ac_tr_func
=HAVE_
`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6242 cat >> confdefs.h
<<EOF
6243 #define ${ac_tr_func} 1
6250 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
6251 echo "configure:6252: checking for __builtin_cos declaration" >&5
6252 if test x
${glibcpp_cv_func___builtin_cos_use+set} != xset
; then
6253 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6254 echo $ac_n "(cached) $ac_c" 1>&6
6259 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6260 ac_cpp
='$CXXCPP $CPPFLAGS'
6261 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6262 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6263 cross_compiling
=$ac_cv_prog_cxx_cross
6265 cat > conftest.
$ac_ext <<EOF
6266 #line 6267 "configure"
6267 #include "confdefs.h"
6273 if { (eval echo configure
:6274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6275 glibcpp_cv_func___builtin_cos_use
=yes
6277 echo "configure: failed program was:" >&5
6278 cat conftest.
$ac_ext >&5
6280 glibcpp_cv_func___builtin_cos_use
=no
6284 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6285 ac_cpp
='$CPP $CPPFLAGS'
6286 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6287 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6288 cross_compiling
=$ac_cv_prog_cc_cross
6294 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6295 if test x
$glibcpp_cv_func___builtin_cos_use = x
"yes"; then
6296 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
6297 echo "configure:6298: checking for __builtin_cos linkage" >&5
6298 if test x
${glibcpp_cv_func___builtin_cos_link+set} != xset
; then
6299 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6300 echo $ac_n "(cached) $ac_c" 1>&6
6303 cat > conftest.
$ac_ext <<EOF
6304 #line 6305 "configure"
6305 #include "confdefs.h"
6311 if { (eval echo configure
:6312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6313 glibcpp_cv_func___builtin_cos_link
=yes
6315 echo "configure: failed program was:" >&5
6316 cat conftest.
$ac_ext >&5
6318 glibcpp_cv_func___builtin_cos_link
=no
6325 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6326 if test x
$glibcpp_cv_func___builtin_cos_link = x
"yes"; then
6327 ac_tr_func
=HAVE_
`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6328 cat >> confdefs.h
<<EOF
6329 #define ${ac_tr_func} 1
6336 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
6337 echo "configure:6338: checking for __builtin_cosl declaration" >&5
6338 if test x
${glibcpp_cv_func___builtin_cosl_use+set} != xset
; then
6339 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6340 echo $ac_n "(cached) $ac_c" 1>&6
6345 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6346 ac_cpp
='$CXXCPP $CPPFLAGS'
6347 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6348 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6349 cross_compiling
=$ac_cv_prog_cxx_cross
6351 cat > conftest.
$ac_ext <<EOF
6352 #line 6353 "configure"
6353 #include "confdefs.h"
6359 if { (eval echo configure
:6360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6361 glibcpp_cv_func___builtin_cosl_use
=yes
6363 echo "configure: failed program was:" >&5
6364 cat conftest.
$ac_ext >&5
6366 glibcpp_cv_func___builtin_cosl_use
=no
6370 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6371 ac_cpp
='$CPP $CPPFLAGS'
6372 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6373 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6374 cross_compiling
=$ac_cv_prog_cc_cross
6380 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6381 if test x
$glibcpp_cv_func___builtin_cosl_use = x
"yes"; then
6382 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
6383 echo "configure:6384: checking for __builtin_cosl linkage" >&5
6384 if test x
${glibcpp_cv_func___builtin_cosl_link+set} != xset
; then
6385 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6386 echo $ac_n "(cached) $ac_c" 1>&6
6389 cat > conftest.
$ac_ext <<EOF
6390 #line 6391 "configure"
6391 #include "confdefs.h"
6397 if { (eval echo configure
:6398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6399 glibcpp_cv_func___builtin_cosl_link
=yes
6401 echo "configure: failed program was:" >&5
6402 cat conftest.
$ac_ext >&5
6404 glibcpp_cv_func___builtin_cosl_link
=no
6411 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6412 if test x
$glibcpp_cv_func___builtin_cosl_link = x
"yes"; then
6413 ac_tr_func
=HAVE_
`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6414 cat >> confdefs.h
<<EOF
6415 #define ${ac_tr_func} 1
6423 if test x
$dummyvar = x
"yes"; then
6424 cat >> confdefs.h
<<\EOF
6425 #define HAVE___BUILTIN_ABS 1
6428 cat >> confdefs.h
<<\EOF
6429 #define HAVE___BUILTIN_LABS 1
6432 cat >> confdefs.h
<<\EOF
6433 #define HAVE___BUILTIN_COS 1
6436 cat >> confdefs.h
<<\EOF
6437 #define HAVE___BUILTIN_COSF 1
6440 cat >> confdefs.h
<<\EOF
6441 #define HAVE___BUILTIN_COSL 1
6444 cat >> confdefs.h
<<\EOF
6445 #define HAVE___BUILTIN_FABS 1
6448 cat >> confdefs.h
<<\EOF
6449 #define HAVE___BUILTIN_FABSF 1
6452 cat >> confdefs.h
<<\EOF
6453 #define HAVE___BUILTIN_FABSL 1
6456 cat >> confdefs.h
<<\EOF
6457 #define HAVE___BUILTIN_SIN 1
6460 cat >> confdefs.h
<<\EOF
6461 #define HAVE___BUILTIN_SINF 1
6464 cat >> confdefs.h
<<\EOF
6465 #define HAVE___BUILTIN_SINL 1
6468 cat >> confdefs.h
<<\EOF
6469 #define HAVE___BUILTIN_FSQRT 1
6472 cat >> confdefs.h
<<\EOF
6473 #define HAVE___BUILTIN_SQRTF 1
6476 cat >> confdefs.h
<<\EOF
6477 #define HAVE___BUILTIN_SQRTL 1
6483 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6484 ac_save_CXXFLAGS
="$CXXFLAGS"
6485 CXXFLAGS
='-fno-builtins -D_GNU_SOURCE'
6487 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
6488 echo "configure:6489: checking for sin in -lm" >&5
6489 ac_lib_var
=`echo m'_'sin | sed 'y%./+-%__p_%'`
6490 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6491 echo $ac_n "(cached) $ac_c" 1>&6
6493 ac_save_LIBS
="$LIBS"
6495 cat > conftest.
$ac_ext <<EOF
6496 #line 6497 "configure"
6497 #include "confdefs.h"
6498 /* Override any gcc2 internal prototype to avoid an error. */
6499 /* We use char because int might match the return type of a gcc2
6500 builtin and then its argument prototype would still apply. */
6507 if { (eval echo configure
:6508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6509 eval "ac_cv_lib_$ac_lib_var=yes"
6511 echo "configure: failed program was:" >&5
6512 cat conftest.
$ac_ext >&5
6514 eval "ac_cv_lib_$ac_lib_var=no"
6517 LIBS
="$ac_save_LIBS"
6520 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6521 echo "$ac_t""yes" 1>&6
6524 echo "$ac_t""no" 1>&6
6527 ac_save_LIBS
="$LIBS"
6532 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
6533 echo "configure:6534: checking for isinf declaration" >&5
6534 if test x
${glibcpp_cv_func_isinf_use+set} != xset
; then
6535 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6536 echo $ac_n "(cached) $ac_c" 1>&6
6541 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6542 ac_cpp
='$CXXCPP $CPPFLAGS'
6543 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6544 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6545 cross_compiling
=$ac_cv_prog_cxx_cross
6547 cat > conftest.
$ac_ext <<EOF
6548 #line 6549 "configure"
6549 #include "confdefs.h"
6551 #ifdef HAVE_IEEEFP_H
6559 if { (eval echo configure
:6560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6561 glibcpp_cv_func_isinf_use
=yes
6563 echo "configure: failed program was:" >&5
6564 cat conftest.
$ac_ext >&5
6566 glibcpp_cv_func_isinf_use
=no
6570 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6571 ac_cpp
='$CPP $CPPFLAGS'
6572 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6573 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6574 cross_compiling
=$ac_cv_prog_cc_cross
6580 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6582 if test x
$glibcpp_cv_func_isinf_use = x
"yes"; then
6583 for ac_func
in isinf
6585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6586 echo "configure:6587: checking for $ac_func" >&5
6587 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6588 echo $ac_n "(cached) $ac_c" 1>&6
6590 cat > conftest.
$ac_ext <<EOF
6591 #line 6592 "configure"
6592 #include "confdefs.h"
6593 /* System header to define __stub macros and hopefully few prototypes,
6594 which can conflict with char $ac_func(); below. */
6596 /* Override any gcc2 internal prototype to avoid an error. */
6597 /* We use char because int might match the return type of a gcc2
6598 builtin and then its argument prototype would still apply. */
6603 /* The GNU C library defines this for functions which it implements
6604 to always fail with ENOSYS. Some functions are actually named
6605 something starting with __ and the normal name is an alias. */
6606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6614 if { (eval echo configure
:6615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6616 eval "ac_cv_func_$ac_func=yes"
6618 echo "configure: failed program was:" >&5
6619 cat conftest.
$ac_ext >&5
6621 eval "ac_cv_func_$ac_func=no"
6626 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6627 echo "$ac_t""yes" 1>&6
6628 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6629 cat >> confdefs.h
<<EOF
6630 #define $ac_tr_func 1
6634 echo "$ac_t""no" 1>&6
6640 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6641 echo "configure:6642: checking for _isinf declaration" >&5
6642 if test x
${glibcpp_cv_func__isinf_use+set} != xset
; then
6643 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6644 echo $ac_n "(cached) $ac_c" 1>&6
6649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6650 ac_cpp
='$CXXCPP $CPPFLAGS'
6651 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6652 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6653 cross_compiling
=$ac_cv_prog_cxx_cross
6655 cat > conftest.
$ac_ext <<EOF
6656 #line 6657 "configure"
6657 #include "confdefs.h"
6659 #ifdef HAVE_IEEEFP_H
6667 if { (eval echo configure
:6668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6669 glibcpp_cv_func__isinf_use
=yes
6671 echo "configure: failed program was:" >&5
6672 cat conftest.
$ac_ext >&5
6674 glibcpp_cv_func__isinf_use
=no
6678 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6679 ac_cpp
='$CPP $CPPFLAGS'
6680 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6681 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6682 cross_compiling
=$ac_cv_prog_cc_cross
6688 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6690 if test x
$glibcpp_cv_func__isinf_use = x
"yes"; then
6691 for ac_func
in _isinf
6693 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6694 echo "configure:6695: checking for $ac_func" >&5
6695 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6696 echo $ac_n "(cached) $ac_c" 1>&6
6698 cat > conftest.
$ac_ext <<EOF
6699 #line 6700 "configure"
6700 #include "confdefs.h"
6701 /* System header to define __stub macros and hopefully few prototypes,
6702 which can conflict with char $ac_func(); below. */
6704 /* Override any gcc2 internal prototype to avoid an error. */
6705 /* We use char because int might match the return type of a gcc2
6706 builtin and then its argument prototype would still apply. */
6711 /* The GNU C library defines this for functions which it implements
6712 to always fail with ENOSYS. Some functions are actually named
6713 something starting with __ and the normal name is an alias. */
6714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6722 if { (eval echo configure
:6723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6724 eval "ac_cv_func_$ac_func=yes"
6726 echo "configure: failed program was:" >&5
6727 cat conftest.
$ac_ext >&5
6729 eval "ac_cv_func_$ac_func=no"
6734 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6735 echo "$ac_t""yes" 1>&6
6736 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6737 cat >> confdefs.h
<<EOF
6738 #define $ac_tr_func 1
6742 echo "$ac_t""no" 1>&6
6751 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6752 echo "configure:6753: checking for isnan declaration" >&5
6753 if test x
${glibcpp_cv_func_isnan_use+set} != xset
; then
6754 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6755 echo $ac_n "(cached) $ac_c" 1>&6
6760 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6761 ac_cpp
='$CXXCPP $CPPFLAGS'
6762 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6763 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6764 cross_compiling
=$ac_cv_prog_cxx_cross
6766 cat > conftest.
$ac_ext <<EOF
6767 #line 6768 "configure"
6768 #include "confdefs.h"
6770 #ifdef HAVE_IEEEFP_H
6778 if { (eval echo configure
:6779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6780 glibcpp_cv_func_isnan_use
=yes
6782 echo "configure: failed program was:" >&5
6783 cat conftest.
$ac_ext >&5
6785 glibcpp_cv_func_isnan_use
=no
6789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6790 ac_cpp
='$CPP $CPPFLAGS'
6791 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6792 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6793 cross_compiling
=$ac_cv_prog_cc_cross
6799 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6801 if test x
$glibcpp_cv_func_isnan_use = x
"yes"; then
6802 for ac_func
in isnan
6804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6805 echo "configure:6806: checking for $ac_func" >&5
6806 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6807 echo $ac_n "(cached) $ac_c" 1>&6
6809 cat > conftest.
$ac_ext <<EOF
6810 #line 6811 "configure"
6811 #include "confdefs.h"
6812 /* System header to define __stub macros and hopefully few prototypes,
6813 which can conflict with char $ac_func(); below. */
6815 /* Override any gcc2 internal prototype to avoid an error. */
6816 /* We use char because int might match the return type of a gcc2
6817 builtin and then its argument prototype would still apply. */
6822 /* The GNU C library defines this for functions which it implements
6823 to always fail with ENOSYS. Some functions are actually named
6824 something starting with __ and the normal name is an alias. */
6825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6833 if { (eval echo configure
:6834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6835 eval "ac_cv_func_$ac_func=yes"
6837 echo "configure: failed program was:" >&5
6838 cat conftest.
$ac_ext >&5
6840 eval "ac_cv_func_$ac_func=no"
6845 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6846 echo "$ac_t""yes" 1>&6
6847 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6848 cat >> confdefs.h
<<EOF
6849 #define $ac_tr_func 1
6853 echo "$ac_t""no" 1>&6
6859 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6860 echo "configure:6861: checking for _isnan declaration" >&5
6861 if test x
${glibcpp_cv_func__isnan_use+set} != xset
; then
6862 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6863 echo $ac_n "(cached) $ac_c" 1>&6
6868 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6869 ac_cpp
='$CXXCPP $CPPFLAGS'
6870 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6871 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6872 cross_compiling
=$ac_cv_prog_cxx_cross
6874 cat > conftest.
$ac_ext <<EOF
6875 #line 6876 "configure"
6876 #include "confdefs.h"
6878 #ifdef HAVE_IEEEFP_H
6886 if { (eval echo configure
:6887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6888 glibcpp_cv_func__isnan_use
=yes
6890 echo "configure: failed program was:" >&5
6891 cat conftest.
$ac_ext >&5
6893 glibcpp_cv_func__isnan_use
=no
6897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6898 ac_cpp
='$CPP $CPPFLAGS'
6899 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6900 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6901 cross_compiling
=$ac_cv_prog_cc_cross
6907 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6909 if test x
$glibcpp_cv_func__isnan_use = x
"yes"; then
6910 for ac_func
in _isnan
6912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6913 echo "configure:6914: checking for $ac_func" >&5
6914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6915 echo $ac_n "(cached) $ac_c" 1>&6
6917 cat > conftest.
$ac_ext <<EOF
6918 #line 6919 "configure"
6919 #include "confdefs.h"
6920 /* System header to define __stub macros and hopefully few prototypes,
6921 which can conflict with char $ac_func(); below. */
6923 /* Override any gcc2 internal prototype to avoid an error. */
6924 /* We use char because int might match the return type of a gcc2
6925 builtin and then its argument prototype would still apply. */
6930 /* The GNU C library defines this for functions which it implements
6931 to always fail with ENOSYS. Some functions are actually named
6932 something starting with __ and the normal name is an alias. */
6933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6941 if { (eval echo configure
:6942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6943 eval "ac_cv_func_$ac_func=yes"
6945 echo "configure: failed program was:" >&5
6946 cat conftest.
$ac_ext >&5
6948 eval "ac_cv_func_$ac_func=no"
6953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6954 echo "$ac_t""yes" 1>&6
6955 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6956 cat >> confdefs.h
<<EOF
6957 #define $ac_tr_func 1
6961 echo "$ac_t""no" 1>&6
6970 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
6971 echo "configure:6972: checking for finite declaration" >&5
6972 if test x
${glibcpp_cv_func_finite_use+set} != xset
; then
6973 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6974 echo $ac_n "(cached) $ac_c" 1>&6
6979 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6980 ac_cpp
='$CXXCPP $CPPFLAGS'
6981 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6982 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6983 cross_compiling
=$ac_cv_prog_cxx_cross
6985 cat > conftest.
$ac_ext <<EOF
6986 #line 6987 "configure"
6987 #include "confdefs.h"
6989 #ifdef HAVE_IEEEFP_H
6997 if { (eval echo configure
:6998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6999 glibcpp_cv_func_finite_use
=yes
7001 echo "configure: failed program was:" >&5
7002 cat conftest.
$ac_ext >&5
7004 glibcpp_cv_func_finite_use
=no
7008 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7009 ac_cpp
='$CPP $CPPFLAGS'
7010 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7011 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7012 cross_compiling
=$ac_cv_prog_cc_cross
7018 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
7020 if test x
$glibcpp_cv_func_finite_use = x
"yes"; then
7021 for ac_func
in finite
7023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7024 echo "configure:7025: checking for $ac_func" >&5
7025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7026 echo $ac_n "(cached) $ac_c" 1>&6
7028 cat > conftest.
$ac_ext <<EOF
7029 #line 7030 "configure"
7030 #include "confdefs.h"
7031 /* System header to define __stub macros and hopefully few prototypes,
7032 which can conflict with char $ac_func(); below. */
7034 /* Override any gcc2 internal prototype to avoid an error. */
7035 /* We use char because int might match the return type of a gcc2
7036 builtin and then its argument prototype would still apply. */
7041 /* The GNU C library defines this for functions which it implements
7042 to always fail with ENOSYS. Some functions are actually named
7043 something starting with __ and the normal name is an alias. */
7044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7052 if { (eval echo configure
:7053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7054 eval "ac_cv_func_$ac_func=yes"
7056 echo "configure: failed program was:" >&5
7057 cat conftest.
$ac_ext >&5
7059 eval "ac_cv_func_$ac_func=no"
7064 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7065 echo "$ac_t""yes" 1>&6
7066 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7067 cat >> confdefs.h
<<EOF
7068 #define $ac_tr_func 1
7072 echo "$ac_t""no" 1>&6
7078 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
7079 echo "configure:7080: checking for _finite declaration" >&5
7080 if test x
${glibcpp_cv_func__finite_use+set} != xset
; then
7081 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
7082 echo $ac_n "(cached) $ac_c" 1>&6
7087 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7088 ac_cpp
='$CXXCPP $CPPFLAGS'
7089 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7090 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7091 cross_compiling
=$ac_cv_prog_cxx_cross
7093 cat > conftest.
$ac_ext <<EOF
7094 #line 7095 "configure"
7095 #include "confdefs.h"
7097 #ifdef HAVE_IEEEFP_H
7105 if { (eval echo configure
:7106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7107 glibcpp_cv_func__finite_use
=yes
7109 echo "configure: failed program was:" >&5
7110 cat conftest.
$ac_ext >&5
7112 glibcpp_cv_func__finite_use
=no
7116 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7117 ac_cpp
='$CPP $CPPFLAGS'
7118 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7119 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7120 cross_compiling
=$ac_cv_prog_cc_cross
7126 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
7128 if test x
$glibcpp_cv_func__finite_use = x
"yes"; then
7129 for ac_func
in _finite
7131 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7132 echo "configure:7133: checking for $ac_func" >&5
7133 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7134 echo $ac_n "(cached) $ac_c" 1>&6
7136 cat > conftest.
$ac_ext <<EOF
7137 #line 7138 "configure"
7138 #include "confdefs.h"
7139 /* System header to define __stub macros and hopefully few prototypes,
7140 which can conflict with char $ac_func(); below. */
7142 /* Override any gcc2 internal prototype to avoid an error. */
7143 /* We use char because int might match the return type of a gcc2
7144 builtin and then its argument prototype would still apply. */
7149 /* The GNU C library defines this for functions which it implements
7150 to always fail with ENOSYS. Some functions are actually named
7151 something starting with __ and the normal name is an alias. */
7152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7160 if { (eval echo configure
:7161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7162 eval "ac_cv_func_$ac_func=yes"
7164 echo "configure: failed program was:" >&5
7165 cat conftest.
$ac_ext >&5
7167 eval "ac_cv_func_$ac_func=no"
7172 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7173 echo "$ac_t""yes" 1>&6
7174 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7175 cat >> confdefs.h
<<EOF
7176 #define $ac_tr_func 1
7180 echo "$ac_t""no" 1>&6
7189 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
7190 echo "configure:7191: checking for copysign declaration" >&5
7191 if test x
${glibcpp_cv_func_copysign_use+set} != xset
; then
7192 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7193 echo $ac_n "(cached) $ac_c" 1>&6
7198 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7199 ac_cpp
='$CXXCPP $CPPFLAGS'
7200 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7201 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7202 cross_compiling
=$ac_cv_prog_cxx_cross
7204 cat > conftest.
$ac_ext <<EOF
7205 #line 7206 "configure"
7206 #include "confdefs.h"
7212 if { (eval echo configure
:7213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7214 glibcpp_cv_func_copysign_use
=yes
7216 echo "configure: failed program was:" >&5
7217 cat conftest.
$ac_ext >&5
7219 glibcpp_cv_func_copysign_use
=no
7223 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7224 ac_cpp
='$CPP $CPPFLAGS'
7225 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7226 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7227 cross_compiling
=$ac_cv_prog_cc_cross
7233 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7235 if test x
$glibcpp_cv_func_copysign_use = x
"yes"; then
7236 for ac_func
in copysign
7238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7239 echo "configure:7240: checking for $ac_func" >&5
7240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7241 echo $ac_n "(cached) $ac_c" 1>&6
7243 cat > conftest.
$ac_ext <<EOF
7244 #line 7245 "configure"
7245 #include "confdefs.h"
7246 /* System header to define __stub macros and hopefully few prototypes,
7247 which can conflict with char $ac_func(); below. */
7249 /* Override any gcc2 internal prototype to avoid an error. */
7250 /* We use char because int might match the return type of a gcc2
7251 builtin and then its argument prototype would still apply. */
7256 /* The GNU C library defines this for functions which it implements
7257 to always fail with ENOSYS. Some functions are actually named
7258 something starting with __ and the normal name is an alias. */
7259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7267 if { (eval echo configure
:7268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7269 eval "ac_cv_func_$ac_func=yes"
7271 echo "configure: failed program was:" >&5
7272 cat conftest.
$ac_ext >&5
7274 eval "ac_cv_func_$ac_func=no"
7279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7280 echo "$ac_t""yes" 1>&6
7281 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7282 cat >> confdefs.h
<<EOF
7283 #define $ac_tr_func 1
7287 echo "$ac_t""no" 1>&6
7293 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
7294 echo "configure:7295: checking for _copysign declaration" >&5
7295 if test x
${glibcpp_cv_func__copysign_use+set} != xset
; then
7296 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7297 echo $ac_n "(cached) $ac_c" 1>&6
7302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7303 ac_cpp
='$CXXCPP $CPPFLAGS'
7304 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7305 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7306 cross_compiling
=$ac_cv_prog_cxx_cross
7308 cat > conftest.
$ac_ext <<EOF
7309 #line 7310 "configure"
7310 #include "confdefs.h"
7316 if { (eval echo configure
:7317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7318 glibcpp_cv_func__copysign_use
=yes
7320 echo "configure: failed program was:" >&5
7321 cat conftest.
$ac_ext >&5
7323 glibcpp_cv_func__copysign_use
=no
7327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7328 ac_cpp
='$CPP $CPPFLAGS'
7329 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7330 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7331 cross_compiling
=$ac_cv_prog_cc_cross
7337 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7339 if test x
$glibcpp_cv_func__copysign_use = x
"yes"; then
7340 for ac_func
in _copysign
7342 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7343 echo "configure:7344: checking for $ac_func" >&5
7344 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7345 echo $ac_n "(cached) $ac_c" 1>&6
7347 cat > conftest.
$ac_ext <<EOF
7348 #line 7349 "configure"
7349 #include "confdefs.h"
7350 /* System header to define __stub macros and hopefully few prototypes,
7351 which can conflict with char $ac_func(); below. */
7353 /* Override any gcc2 internal prototype to avoid an error. */
7354 /* We use char because int might match the return type of a gcc2
7355 builtin and then its argument prototype would still apply. */
7360 /* The GNU C library defines this for functions which it implements
7361 to always fail with ENOSYS. Some functions are actually named
7362 something starting with __ and the normal name is an alias. */
7363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7371 if { (eval echo configure
:7372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7373 eval "ac_cv_func_$ac_func=yes"
7375 echo "configure: failed program was:" >&5
7376 cat conftest.
$ac_ext >&5
7378 eval "ac_cv_func_$ac_func=no"
7383 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7384 echo "$ac_t""yes" 1>&6
7385 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7386 cat >> confdefs.h
<<EOF
7387 #define $ac_tr_func 1
7391 echo "$ac_t""no" 1>&6
7400 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
7401 echo "configure:7402: checking for sincos declaration" >&5
7402 if test x
${glibcpp_cv_func_sincos_use+set} != xset
; then
7403 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7404 echo $ac_n "(cached) $ac_c" 1>&6
7409 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7410 ac_cpp
='$CXXCPP $CPPFLAGS'
7411 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7412 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7413 cross_compiling
=$ac_cv_prog_cxx_cross
7415 cat > conftest.
$ac_ext <<EOF
7416 #line 7417 "configure"
7417 #include "confdefs.h"
7423 if { (eval echo configure
:7424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7425 glibcpp_cv_func_sincos_use
=yes
7427 echo "configure: failed program was:" >&5
7428 cat conftest.
$ac_ext >&5
7430 glibcpp_cv_func_sincos_use
=no
7434 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7435 ac_cpp
='$CPP $CPPFLAGS'
7436 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7437 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7438 cross_compiling
=$ac_cv_prog_cc_cross
7444 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7446 if test x
$glibcpp_cv_func_sincos_use = x
"yes"; then
7447 for ac_func
in sincos
7449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7450 echo "configure:7451: checking for $ac_func" >&5
7451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7452 echo $ac_n "(cached) $ac_c" 1>&6
7454 cat > conftest.
$ac_ext <<EOF
7455 #line 7456 "configure"
7456 #include "confdefs.h"
7457 /* System header to define __stub macros and hopefully few prototypes,
7458 which can conflict with char $ac_func(); below. */
7460 /* Override any gcc2 internal prototype to avoid an error. */
7461 /* We use char because int might match the return type of a gcc2
7462 builtin and then its argument prototype would still apply. */
7467 /* The GNU C library defines this for functions which it implements
7468 to always fail with ENOSYS. Some functions are actually named
7469 something starting with __ and the normal name is an alias. */
7470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7478 if { (eval echo configure
:7479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7480 eval "ac_cv_func_$ac_func=yes"
7482 echo "configure: failed program was:" >&5
7483 cat conftest.
$ac_ext >&5
7485 eval "ac_cv_func_$ac_func=no"
7490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7491 echo "$ac_t""yes" 1>&6
7492 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7493 cat >> confdefs.h
<<EOF
7494 #define $ac_tr_func 1
7498 echo "$ac_t""no" 1>&6
7504 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
7505 echo "configure:7506: checking for _sincos declaration" >&5
7506 if test x
${glibcpp_cv_func__sincos_use+set} != xset
; then
7507 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7508 echo $ac_n "(cached) $ac_c" 1>&6
7513 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7514 ac_cpp
='$CXXCPP $CPPFLAGS'
7515 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7516 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7517 cross_compiling
=$ac_cv_prog_cxx_cross
7519 cat > conftest.
$ac_ext <<EOF
7520 #line 7521 "configure"
7521 #include "confdefs.h"
7527 if { (eval echo configure
:7528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7529 glibcpp_cv_func__sincos_use
=yes
7531 echo "configure: failed program was:" >&5
7532 cat conftest.
$ac_ext >&5
7534 glibcpp_cv_func__sincos_use
=no
7538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7539 ac_cpp
='$CPP $CPPFLAGS'
7540 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7541 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7542 cross_compiling
=$ac_cv_prog_cc_cross
7548 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7550 if test x
$glibcpp_cv_func__sincos_use = x
"yes"; then
7551 for ac_func
in _sincos
7553 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7554 echo "configure:7555: checking for $ac_func" >&5
7555 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7556 echo $ac_n "(cached) $ac_c" 1>&6
7558 cat > conftest.
$ac_ext <<EOF
7559 #line 7560 "configure"
7560 #include "confdefs.h"
7561 /* System header to define __stub macros and hopefully few prototypes,
7562 which can conflict with char $ac_func(); below. */
7564 /* Override any gcc2 internal prototype to avoid an error. */
7565 /* We use char because int might match the return type of a gcc2
7566 builtin and then its argument prototype would still apply. */
7571 /* The GNU C library defines this for functions which it implements
7572 to always fail with ENOSYS. Some functions are actually named
7573 something starting with __ and the normal name is an alias. */
7574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7582 if { (eval echo configure
:7583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7584 eval "ac_cv_func_$ac_func=yes"
7586 echo "configure: failed program was:" >&5
7587 cat conftest.
$ac_ext >&5
7589 eval "ac_cv_func_$ac_func=no"
7594 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7595 echo "$ac_t""yes" 1>&6
7596 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7597 cat >> confdefs.h
<<EOF
7598 #define $ac_tr_func 1
7602 echo "$ac_t""no" 1>&6
7611 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7612 echo "configure:7613: checking for fpclass declaration" >&5
7613 if test x
${glibcpp_cv_func_fpclass_use+set} != xset
; then
7614 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7615 echo $ac_n "(cached) $ac_c" 1>&6
7620 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7621 ac_cpp
='$CXXCPP $CPPFLAGS'
7622 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7623 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7624 cross_compiling
=$ac_cv_prog_cxx_cross
7626 cat > conftest.
$ac_ext <<EOF
7627 #line 7628 "configure"
7628 #include "confdefs.h"
7630 #ifdef HAVE_IEEEFP_H
7638 if { (eval echo configure
:7639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7640 glibcpp_cv_func_fpclass_use
=yes
7642 echo "configure: failed program was:" >&5
7643 cat conftest.
$ac_ext >&5
7645 glibcpp_cv_func_fpclass_use
=no
7649 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7650 ac_cpp
='$CPP $CPPFLAGS'
7651 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7652 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7653 cross_compiling
=$ac_cv_prog_cc_cross
7659 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7661 if test x
$glibcpp_cv_func_fpclass_use = x
"yes"; then
7662 for ac_func
in fpclass
7664 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7665 echo "configure:7666: checking for $ac_func" >&5
7666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7667 echo $ac_n "(cached) $ac_c" 1>&6
7669 cat > conftest.
$ac_ext <<EOF
7670 #line 7671 "configure"
7671 #include "confdefs.h"
7672 /* System header to define __stub macros and hopefully few prototypes,
7673 which can conflict with char $ac_func(); below. */
7675 /* Override any gcc2 internal prototype to avoid an error. */
7676 /* We use char because int might match the return type of a gcc2
7677 builtin and then its argument prototype would still apply. */
7682 /* The GNU C library defines this for functions which it implements
7683 to always fail with ENOSYS. Some functions are actually named
7684 something starting with __ and the normal name is an alias. */
7685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7693 if { (eval echo configure
:7694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7695 eval "ac_cv_func_$ac_func=yes"
7697 echo "configure: failed program was:" >&5
7698 cat conftest.
$ac_ext >&5
7700 eval "ac_cv_func_$ac_func=no"
7705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7706 echo "$ac_t""yes" 1>&6
7707 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7708 cat >> confdefs.h
<<EOF
7709 #define $ac_tr_func 1
7713 echo "$ac_t""no" 1>&6
7719 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7720 echo "configure:7721: checking for _fpclass declaration" >&5
7721 if test x
${glibcpp_cv_func__fpclass_use+set} != xset
; then
7722 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7723 echo $ac_n "(cached) $ac_c" 1>&6
7728 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7729 ac_cpp
='$CXXCPP $CPPFLAGS'
7730 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7731 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7732 cross_compiling
=$ac_cv_prog_cxx_cross
7734 cat > conftest.
$ac_ext <<EOF
7735 #line 7736 "configure"
7736 #include "confdefs.h"
7738 #ifdef HAVE_IEEEFP_H
7746 if { (eval echo configure
:7747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7748 glibcpp_cv_func__fpclass_use
=yes
7750 echo "configure: failed program was:" >&5
7751 cat conftest.
$ac_ext >&5
7753 glibcpp_cv_func__fpclass_use
=no
7757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7758 ac_cpp
='$CPP $CPPFLAGS'
7759 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7760 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7761 cross_compiling
=$ac_cv_prog_cc_cross
7767 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7769 if test x
$glibcpp_cv_func__fpclass_use = x
"yes"; then
7770 for ac_func
in _fpclass
7772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7773 echo "configure:7774: checking for $ac_func" >&5
7774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7775 echo $ac_n "(cached) $ac_c" 1>&6
7777 cat > conftest.
$ac_ext <<EOF
7778 #line 7779 "configure"
7779 #include "confdefs.h"
7780 /* System header to define __stub macros and hopefully few prototypes,
7781 which can conflict with char $ac_func(); below. */
7783 /* Override any gcc2 internal prototype to avoid an error. */
7784 /* We use char because int might match the return type of a gcc2
7785 builtin and then its argument prototype would still apply. */
7790 /* The GNU C library defines this for functions which it implements
7791 to always fail with ENOSYS. Some functions are actually named
7792 something starting with __ and the normal name is an alias. */
7793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7801 if { (eval echo configure
:7802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7803 eval "ac_cv_func_$ac_func=yes"
7805 echo "configure: failed program was:" >&5
7806 cat conftest.
$ac_ext >&5
7808 eval "ac_cv_func_$ac_func=no"
7813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7814 echo "$ac_t""yes" 1>&6
7815 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7816 cat >> confdefs.h
<<EOF
7817 #define $ac_tr_func 1
7821 echo "$ac_t""no" 1>&6
7830 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7831 echo "configure:7832: checking for qfpclass declaration" >&5
7832 if test x
${glibcpp_cv_func_qfpclass_use+set} != xset
; then
7833 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7834 echo $ac_n "(cached) $ac_c" 1>&6
7839 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7840 ac_cpp
='$CXXCPP $CPPFLAGS'
7841 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7842 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7843 cross_compiling
=$ac_cv_prog_cxx_cross
7845 cat > conftest.
$ac_ext <<EOF
7846 #line 7847 "configure"
7847 #include "confdefs.h"
7849 #ifdef HAVE_IEEEFP_H
7857 if { (eval echo configure
:7858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7859 glibcpp_cv_func_qfpclass_use
=yes
7861 echo "configure: failed program was:" >&5
7862 cat conftest.
$ac_ext >&5
7864 glibcpp_cv_func_qfpclass_use
=no
7868 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7869 ac_cpp
='$CPP $CPPFLAGS'
7870 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7871 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7872 cross_compiling
=$ac_cv_prog_cc_cross
7878 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7880 if test x
$glibcpp_cv_func_qfpclass_use = x
"yes"; then
7881 for ac_func
in qfpclass
7883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7884 echo "configure:7885: checking for $ac_func" >&5
7885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7886 echo $ac_n "(cached) $ac_c" 1>&6
7888 cat > conftest.
$ac_ext <<EOF
7889 #line 7890 "configure"
7890 #include "confdefs.h"
7891 /* System header to define __stub macros and hopefully few prototypes,
7892 which can conflict with char $ac_func(); below. */
7894 /* Override any gcc2 internal prototype to avoid an error. */
7895 /* We use char because int might match the return type of a gcc2
7896 builtin and then its argument prototype would still apply. */
7901 /* The GNU C library defines this for functions which it implements
7902 to always fail with ENOSYS. Some functions are actually named
7903 something starting with __ and the normal name is an alias. */
7904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7912 if { (eval echo configure
:7913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7914 eval "ac_cv_func_$ac_func=yes"
7916 echo "configure: failed program was:" >&5
7917 cat conftest.
$ac_ext >&5
7919 eval "ac_cv_func_$ac_func=no"
7924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7925 echo "$ac_t""yes" 1>&6
7926 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7927 cat >> confdefs.h
<<EOF
7928 #define $ac_tr_func 1
7932 echo "$ac_t""no" 1>&6
7938 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
7939 echo "configure:7940: checking for _qfpclass declaration" >&5
7940 if test x
${glibcpp_cv_func__qfpclass_use+set} != xset
; then
7941 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7942 echo $ac_n "(cached) $ac_c" 1>&6
7947 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7948 ac_cpp
='$CXXCPP $CPPFLAGS'
7949 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7950 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7951 cross_compiling
=$ac_cv_prog_cxx_cross
7953 cat > conftest.
$ac_ext <<EOF
7954 #line 7955 "configure"
7955 #include "confdefs.h"
7957 #ifdef HAVE_IEEEFP_H
7965 if { (eval echo configure
:7966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7967 glibcpp_cv_func__qfpclass_use
=yes
7969 echo "configure: failed program was:" >&5
7970 cat conftest.
$ac_ext >&5
7972 glibcpp_cv_func__qfpclass_use
=no
7976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7977 ac_cpp
='$CPP $CPPFLAGS'
7978 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7979 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7980 cross_compiling
=$ac_cv_prog_cc_cross
7986 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7988 if test x
$glibcpp_cv_func__qfpclass_use = x
"yes"; then
7989 for ac_func
in _qfpclass
7991 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7992 echo "configure:7993: checking for $ac_func" >&5
7993 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7994 echo $ac_n "(cached) $ac_c" 1>&6
7996 cat > conftest.
$ac_ext <<EOF
7997 #line 7998 "configure"
7998 #include "confdefs.h"
7999 /* System header to define __stub macros and hopefully few prototypes,
8000 which can conflict with char $ac_func(); below. */
8002 /* Override any gcc2 internal prototype to avoid an error. */
8003 /* We use char because int might match the return type of a gcc2
8004 builtin and then its argument prototype would still apply. */
8009 /* The GNU C library defines this for functions which it implements
8010 to always fail with ENOSYS. Some functions are actually named
8011 something starting with __ and the normal name is an alias. */
8012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8020 if { (eval echo configure
:8021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8022 eval "ac_cv_func_$ac_func=yes"
8024 echo "configure: failed program was:" >&5
8025 cat conftest.
$ac_ext >&5
8027 eval "ac_cv_func_$ac_func=no"
8032 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8033 echo "$ac_t""yes" 1>&6
8034 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8035 cat >> confdefs.h
<<EOF
8036 #define $ac_tr_func 1
8040 echo "$ac_t""no" 1>&6
8049 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
8050 echo "configure:8051: checking for float trig functions" >&5
8051 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
8052 echo $ac_n "(cached) $ac_c" 1>&6
8057 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8058 ac_cpp
='$CXXCPP $CPPFLAGS'
8059 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8060 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8061 cross_compiling
=$ac_cv_prog_cxx_cross
8063 cat > conftest.
$ac_ext <<EOF
8064 #line 8065 "configure"
8065 #include "confdefs.h"
8068 `for x in acosf asinf atanf \
8070 coshf sinhf tanhf; do echo "$x (0);"; done`
8073 if { (eval echo configure
:8074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8075 glibcpp_cv_func_float_trig_use
=yes
8077 echo "configure: failed program was:" >&5
8078 cat conftest.
$ac_ext >&5
8080 glibcpp_cv_func_float_trig_use
=no
8084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8085 ac_cpp
='$CPP $CPPFLAGS'
8086 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8087 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8088 cross_compiling
=$ac_cv_prog_cc_cross
8092 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
8093 if test x
$glibcpp_cv_func_float_trig_use = x
"yes"; then
8094 for ac_func
in acosf asinf atanf \
8098 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8099 echo "configure:8100: checking for $ac_func" >&5
8100 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8101 echo $ac_n "(cached) $ac_c" 1>&6
8103 cat > conftest.
$ac_ext <<EOF
8104 #line 8105 "configure"
8105 #include "confdefs.h"
8106 /* System header to define __stub macros and hopefully few prototypes,
8107 which can conflict with char $ac_func(); below. */
8109 /* Override any gcc2 internal prototype to avoid an error. */
8110 /* We use char because int might match the return type of a gcc2
8111 builtin and then its argument prototype would still apply. */
8116 /* The GNU C library defines this for functions which it implements
8117 to always fail with ENOSYS. Some functions are actually named
8118 something starting with __ and the normal name is an alias. */
8119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8127 if { (eval echo configure
:8128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8129 eval "ac_cv_func_$ac_func=yes"
8131 echo "configure: failed program was:" >&5
8132 cat conftest.
$ac_ext >&5
8134 eval "ac_cv_func_$ac_func=no"
8139 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8140 echo "$ac_t""yes" 1>&6
8141 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8142 cat >> confdefs.h
<<EOF
8143 #define $ac_tr_func 1
8147 echo "$ac_t""no" 1>&6
8154 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
8155 echo "configure:8156: checking for float round functions" >&5
8156 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
8157 echo $ac_n "(cached) $ac_c" 1>&6
8162 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8163 ac_cpp
='$CXXCPP $CPPFLAGS'
8164 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8165 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8166 cross_compiling
=$ac_cv_prog_cxx_cross
8168 cat > conftest.
$ac_ext <<EOF
8169 #line 8170 "configure"
8170 #include "confdefs.h"
8173 `for x in ceilf floorf; do echo "$x (0);"; done`
8176 if { (eval echo configure
:8177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8178 glibcpp_cv_func_float_round_use
=yes
8180 echo "configure: failed program was:" >&5
8181 cat conftest.
$ac_ext >&5
8183 glibcpp_cv_func_float_round_use
=no
8187 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8188 ac_cpp
='$CPP $CPPFLAGS'
8189 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8190 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8191 cross_compiling
=$ac_cv_prog_cc_cross
8195 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8196 if test x
$glibcpp_cv_func_float_round_use = x
"yes"; then
8197 for ac_func
in ceilf floorf
8199 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8200 echo "configure:8201: checking for $ac_func" >&5
8201 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8202 echo $ac_n "(cached) $ac_c" 1>&6
8204 cat > conftest.
$ac_ext <<EOF
8205 #line 8206 "configure"
8206 #include "confdefs.h"
8207 /* System header to define __stub macros and hopefully few prototypes,
8208 which can conflict with char $ac_func(); below. */
8210 /* Override any gcc2 internal prototype to avoid an error. */
8211 /* We use char because int might match the return type of a gcc2
8212 builtin and then its argument prototype would still apply. */
8217 /* The GNU C library defines this for functions which it implements
8218 to always fail with ENOSYS. Some functions are actually named
8219 something starting with __ and the normal name is an alias. */
8220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8228 if { (eval echo configure
:8229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8230 eval "ac_cv_func_$ac_func=yes"
8232 echo "configure: failed program was:" >&5
8233 cat conftest.
$ac_ext >&5
8235 eval "ac_cv_func_$ac_func=no"
8240 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8241 echo "$ac_t""yes" 1>&6
8242 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8243 cat >> confdefs.h
<<EOF
8244 #define $ac_tr_func 1
8248 echo "$ac_t""no" 1>&6
8256 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
8257 echo "configure:8258: checking for isnanf declaration" >&5
8258 if test x
${glibcpp_cv_func_isnanf_use+set} != xset
; then
8259 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8260 echo $ac_n "(cached) $ac_c" 1>&6
8265 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8266 ac_cpp
='$CXXCPP $CPPFLAGS'
8267 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8268 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8269 cross_compiling
=$ac_cv_prog_cxx_cross
8271 cat > conftest.
$ac_ext <<EOF
8272 #line 8273 "configure"
8273 #include "confdefs.h"
8275 #ifdef HAVE_IEEEFP_H
8283 if { (eval echo configure
:8284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8285 glibcpp_cv_func_isnanf_use
=yes
8287 echo "configure: failed program was:" >&5
8288 cat conftest.
$ac_ext >&5
8290 glibcpp_cv_func_isnanf_use
=no
8294 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8295 ac_cpp
='$CPP $CPPFLAGS'
8296 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8297 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8298 cross_compiling
=$ac_cv_prog_cc_cross
8304 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8306 if test x
$glibcpp_cv_func_isnanf_use = x
"yes"; then
8307 for ac_func
in isnanf
8309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8310 echo "configure:8311: checking for $ac_func" >&5
8311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8312 echo $ac_n "(cached) $ac_c" 1>&6
8314 cat > conftest.
$ac_ext <<EOF
8315 #line 8316 "configure"
8316 #include "confdefs.h"
8317 /* System header to define __stub macros and hopefully few prototypes,
8318 which can conflict with char $ac_func(); below. */
8320 /* Override any gcc2 internal prototype to avoid an error. */
8321 /* We use char because int might match the return type of a gcc2
8322 builtin and then its argument prototype would still apply. */
8327 /* The GNU C library defines this for functions which it implements
8328 to always fail with ENOSYS. Some functions are actually named
8329 something starting with __ and the normal name is an alias. */
8330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8338 if { (eval echo configure
:8339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8340 eval "ac_cv_func_$ac_func=yes"
8342 echo "configure: failed program was:" >&5
8343 cat conftest.
$ac_ext >&5
8345 eval "ac_cv_func_$ac_func=no"
8350 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8351 echo "$ac_t""yes" 1>&6
8352 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8353 cat >> confdefs.h
<<EOF
8354 #define $ac_tr_func 1
8358 echo "$ac_t""no" 1>&6
8364 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
8365 echo "configure:8366: checking for _isnanf declaration" >&5
8366 if test x
${glibcpp_cv_func__isnanf_use+set} != xset
; then
8367 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8368 echo $ac_n "(cached) $ac_c" 1>&6
8373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8374 ac_cpp
='$CXXCPP $CPPFLAGS'
8375 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8376 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8377 cross_compiling
=$ac_cv_prog_cxx_cross
8379 cat > conftest.
$ac_ext <<EOF
8380 #line 8381 "configure"
8381 #include "confdefs.h"
8383 #ifdef HAVE_IEEEFP_H
8391 if { (eval echo configure
:8392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8393 glibcpp_cv_func__isnanf_use
=yes
8395 echo "configure: failed program was:" >&5
8396 cat conftest.
$ac_ext >&5
8398 glibcpp_cv_func__isnanf_use
=no
8402 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8403 ac_cpp
='$CPP $CPPFLAGS'
8404 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8405 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8406 cross_compiling
=$ac_cv_prog_cc_cross
8412 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8414 if test x
$glibcpp_cv_func__isnanf_use = x
"yes"; then
8415 for ac_func
in _isnanf
8417 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8418 echo "configure:8419: checking for $ac_func" >&5
8419 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8420 echo $ac_n "(cached) $ac_c" 1>&6
8422 cat > conftest.
$ac_ext <<EOF
8423 #line 8424 "configure"
8424 #include "confdefs.h"
8425 /* System header to define __stub macros and hopefully few prototypes,
8426 which can conflict with char $ac_func(); below. */
8428 /* Override any gcc2 internal prototype to avoid an error. */
8429 /* We use char because int might match the return type of a gcc2
8430 builtin and then its argument prototype would still apply. */
8435 /* The GNU C library defines this for functions which it implements
8436 to always fail with ENOSYS. Some functions are actually named
8437 something starting with __ and the normal name is an alias. */
8438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8446 if { (eval echo configure
:8447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8448 eval "ac_cv_func_$ac_func=yes"
8450 echo "configure: failed program was:" >&5
8451 cat conftest.
$ac_ext >&5
8453 eval "ac_cv_func_$ac_func=no"
8458 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8459 echo "$ac_t""yes" 1>&6
8460 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8461 cat >> confdefs.h
<<EOF
8462 #define $ac_tr_func 1
8466 echo "$ac_t""no" 1>&6
8475 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
8476 echo "configure:8477: checking for isinff declaration" >&5
8477 if test x
${glibcpp_cv_func_isinff_use+set} != xset
; then
8478 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8479 echo $ac_n "(cached) $ac_c" 1>&6
8484 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8485 ac_cpp
='$CXXCPP $CPPFLAGS'
8486 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8487 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8488 cross_compiling
=$ac_cv_prog_cxx_cross
8490 cat > conftest.
$ac_ext <<EOF
8491 #line 8492 "configure"
8492 #include "confdefs.h"
8494 #ifdef HAVE_IEEEFP_H
8502 if { (eval echo configure
:8503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8504 glibcpp_cv_func_isinff_use
=yes
8506 echo "configure: failed program was:" >&5
8507 cat conftest.
$ac_ext >&5
8509 glibcpp_cv_func_isinff_use
=no
8513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8514 ac_cpp
='$CPP $CPPFLAGS'
8515 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8516 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8517 cross_compiling
=$ac_cv_prog_cc_cross
8523 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8525 if test x
$glibcpp_cv_func_isinff_use = x
"yes"; then
8526 for ac_func
in isinff
8528 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8529 echo "configure:8530: checking for $ac_func" >&5
8530 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8531 echo $ac_n "(cached) $ac_c" 1>&6
8533 cat > conftest.
$ac_ext <<EOF
8534 #line 8535 "configure"
8535 #include "confdefs.h"
8536 /* System header to define __stub macros and hopefully few prototypes,
8537 which can conflict with char $ac_func(); below. */
8539 /* Override any gcc2 internal prototype to avoid an error. */
8540 /* We use char because int might match the return type of a gcc2
8541 builtin and then its argument prototype would still apply. */
8546 /* The GNU C library defines this for functions which it implements
8547 to always fail with ENOSYS. Some functions are actually named
8548 something starting with __ and the normal name is an alias. */
8549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8557 if { (eval echo configure
:8558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8559 eval "ac_cv_func_$ac_func=yes"
8561 echo "configure: failed program was:" >&5
8562 cat conftest.
$ac_ext >&5
8564 eval "ac_cv_func_$ac_func=no"
8569 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8570 echo "$ac_t""yes" 1>&6
8571 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8572 cat >> confdefs.h
<<EOF
8573 #define $ac_tr_func 1
8577 echo "$ac_t""no" 1>&6
8583 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
8584 echo "configure:8585: checking for _isinff declaration" >&5
8585 if test x
${glibcpp_cv_func__isinff_use+set} != xset
; then
8586 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
8587 echo $ac_n "(cached) $ac_c" 1>&6
8592 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8593 ac_cpp
='$CXXCPP $CPPFLAGS'
8594 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8595 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8596 cross_compiling
=$ac_cv_prog_cxx_cross
8598 cat > conftest.
$ac_ext <<EOF
8599 #line 8600 "configure"
8600 #include "confdefs.h"
8602 #ifdef HAVE_IEEEFP_H
8610 if { (eval echo configure
:8611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8612 glibcpp_cv_func__isinff_use
=yes
8614 echo "configure: failed program was:" >&5
8615 cat conftest.
$ac_ext >&5
8617 glibcpp_cv_func__isinff_use
=no
8621 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8622 ac_cpp
='$CPP $CPPFLAGS'
8623 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8624 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8625 cross_compiling
=$ac_cv_prog_cc_cross
8631 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8633 if test x
$glibcpp_cv_func__isinff_use = x
"yes"; then
8634 for ac_func
in _isinff
8636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8637 echo "configure:8638: checking for $ac_func" >&5
8638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8639 echo $ac_n "(cached) $ac_c" 1>&6
8641 cat > conftest.
$ac_ext <<EOF
8642 #line 8643 "configure"
8643 #include "confdefs.h"
8644 /* System header to define __stub macros and hopefully few prototypes,
8645 which can conflict with char $ac_func(); below. */
8647 /* Override any gcc2 internal prototype to avoid an error. */
8648 /* We use char because int might match the return type of a gcc2
8649 builtin and then its argument prototype would still apply. */
8654 /* The GNU C library defines this for functions which it implements
8655 to always fail with ENOSYS. Some functions are actually named
8656 something starting with __ and the normal name is an alias. */
8657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8665 if { (eval echo configure
:8666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8667 eval "ac_cv_func_$ac_func=yes"
8669 echo "configure: failed program was:" >&5
8670 cat conftest.
$ac_ext >&5
8672 eval "ac_cv_func_$ac_func=no"
8677 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8678 echo "$ac_t""yes" 1>&6
8679 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8680 cat >> confdefs.h
<<EOF
8681 #define $ac_tr_func 1
8685 echo "$ac_t""no" 1>&6
8694 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
8695 echo "configure:8696: checking for fabsf declaration" >&5
8696 if test x
${glibcpp_cv_func_fabsf_use+set} != xset
; then
8697 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8698 echo $ac_n "(cached) $ac_c" 1>&6
8703 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8704 ac_cpp
='$CXXCPP $CPPFLAGS'
8705 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8706 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8707 cross_compiling
=$ac_cv_prog_cxx_cross
8709 cat > conftest.
$ac_ext <<EOF
8710 #line 8711 "configure"
8711 #include "confdefs.h"
8713 #ifdef HAVE_IEEEFP_H
8721 if { (eval echo configure
:8722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8723 glibcpp_cv_func_fabsf_use
=yes
8725 echo "configure: failed program was:" >&5
8726 cat conftest.
$ac_ext >&5
8728 glibcpp_cv_func_fabsf_use
=no
8732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8733 ac_cpp
='$CPP $CPPFLAGS'
8734 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8735 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8736 cross_compiling
=$ac_cv_prog_cc_cross
8742 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8744 if test x
$glibcpp_cv_func_fabsf_use = x
"yes"; then
8745 for ac_func
in fabsf
8747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8748 echo "configure:8749: checking for $ac_func" >&5
8749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8750 echo $ac_n "(cached) $ac_c" 1>&6
8752 cat > conftest.
$ac_ext <<EOF
8753 #line 8754 "configure"
8754 #include "confdefs.h"
8755 /* System header to define __stub macros and hopefully few prototypes,
8756 which can conflict with char $ac_func(); below. */
8758 /* Override any gcc2 internal prototype to avoid an error. */
8759 /* We use char because int might match the return type of a gcc2
8760 builtin and then its argument prototype would still apply. */
8765 /* The GNU C library defines this for functions which it implements
8766 to always fail with ENOSYS. Some functions are actually named
8767 something starting with __ and the normal name is an alias. */
8768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8776 if { (eval echo configure
:8777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8778 eval "ac_cv_func_$ac_func=yes"
8780 echo "configure: failed program was:" >&5
8781 cat conftest.
$ac_ext >&5
8783 eval "ac_cv_func_$ac_func=no"
8788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8789 echo "$ac_t""yes" 1>&6
8790 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8791 cat >> confdefs.h
<<EOF
8792 #define $ac_tr_func 1
8796 echo "$ac_t""no" 1>&6
8802 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
8803 echo "configure:8804: checking for _fabsf declaration" >&5
8804 if test x
${glibcpp_cv_func__fabsf_use+set} != xset
; then
8805 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
8806 echo $ac_n "(cached) $ac_c" 1>&6
8811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8812 ac_cpp
='$CXXCPP $CPPFLAGS'
8813 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8814 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8815 cross_compiling
=$ac_cv_prog_cxx_cross
8817 cat > conftest.
$ac_ext <<EOF
8818 #line 8819 "configure"
8819 #include "confdefs.h"
8821 #ifdef HAVE_IEEEFP_H
8829 if { (eval echo configure
:8830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8831 glibcpp_cv_func__fabsf_use
=yes
8833 echo "configure: failed program was:" >&5
8834 cat conftest.
$ac_ext >&5
8836 glibcpp_cv_func__fabsf_use
=no
8840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8841 ac_cpp
='$CPP $CPPFLAGS'
8842 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8843 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8844 cross_compiling
=$ac_cv_prog_cc_cross
8850 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
8852 if test x
$glibcpp_cv_func__fabsf_use = x
"yes"; then
8853 for ac_func
in _fabsf
8855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8856 echo "configure:8857: checking for $ac_func" >&5
8857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8858 echo $ac_n "(cached) $ac_c" 1>&6
8860 cat > conftest.
$ac_ext <<EOF
8861 #line 8862 "configure"
8862 #include "confdefs.h"
8863 /* System header to define __stub macros and hopefully few prototypes,
8864 which can conflict with char $ac_func(); below. */
8866 /* Override any gcc2 internal prototype to avoid an error. */
8867 /* We use char because int might match the return type of a gcc2
8868 builtin and then its argument prototype would still apply. */
8873 /* The GNU C library defines this for functions which it implements
8874 to always fail with ENOSYS. Some functions are actually named
8875 something starting with __ and the normal name is an alias. */
8876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8884 if { (eval echo configure
:8885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8886 eval "ac_cv_func_$ac_func=yes"
8888 echo "configure: failed program was:" >&5
8889 cat conftest.
$ac_ext >&5
8891 eval "ac_cv_func_$ac_func=no"
8896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8897 echo "$ac_t""yes" 1>&6
8898 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8899 cat >> confdefs.h
<<EOF
8900 #define $ac_tr_func 1
8904 echo "$ac_t""no" 1>&6
8913 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
8914 echo "configure:8915: checking for fmodf declaration" >&5
8915 if test x
${glibcpp_cv_func_fmodf_use+set} != xset
; then
8916 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
8917 echo $ac_n "(cached) $ac_c" 1>&6
8922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8923 ac_cpp
='$CXXCPP $CPPFLAGS'
8924 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8925 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8926 cross_compiling
=$ac_cv_prog_cxx_cross
8928 cat > conftest.
$ac_ext <<EOF
8929 #line 8930 "configure"
8930 #include "confdefs.h"
8936 if { (eval echo configure
:8937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8938 glibcpp_cv_func_fmodf_use
=yes
8940 echo "configure: failed program was:" >&5
8941 cat conftest.
$ac_ext >&5
8943 glibcpp_cv_func_fmodf_use
=no
8947 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8948 ac_cpp
='$CPP $CPPFLAGS'
8949 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8950 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8951 cross_compiling
=$ac_cv_prog_cc_cross
8957 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
8959 if test x
$glibcpp_cv_func_fmodf_use = x
"yes"; then
8960 for ac_func
in fmodf
8962 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8963 echo "configure:8964: checking for $ac_func" >&5
8964 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8965 echo $ac_n "(cached) $ac_c" 1>&6
8967 cat > conftest.
$ac_ext <<EOF
8968 #line 8969 "configure"
8969 #include "confdefs.h"
8970 /* System header to define __stub macros and hopefully few prototypes,
8971 which can conflict with char $ac_func(); below. */
8973 /* Override any gcc2 internal prototype to avoid an error. */
8974 /* We use char because int might match the return type of a gcc2
8975 builtin and then its argument prototype would still apply. */
8980 /* The GNU C library defines this for functions which it implements
8981 to always fail with ENOSYS. Some functions are actually named
8982 something starting with __ and the normal name is an alias. */
8983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8991 if { (eval echo configure
:8992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8993 eval "ac_cv_func_$ac_func=yes"
8995 echo "configure: failed program was:" >&5
8996 cat conftest.
$ac_ext >&5
8998 eval "ac_cv_func_$ac_func=no"
9003 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9004 echo "$ac_t""yes" 1>&6
9005 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9006 cat >> confdefs.h
<<EOF
9007 #define $ac_tr_func 1
9011 echo "$ac_t""no" 1>&6
9017 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
9018 echo "configure:9019: checking for _fmodf declaration" >&5
9019 if test x
${glibcpp_cv_func__fmodf_use+set} != xset
; then
9020 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
9021 echo $ac_n "(cached) $ac_c" 1>&6
9026 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9027 ac_cpp
='$CXXCPP $CPPFLAGS'
9028 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9029 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9030 cross_compiling
=$ac_cv_prog_cxx_cross
9032 cat > conftest.
$ac_ext <<EOF
9033 #line 9034 "configure"
9034 #include "confdefs.h"
9040 if { (eval echo configure
:9041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9042 glibcpp_cv_func__fmodf_use
=yes
9044 echo "configure: failed program was:" >&5
9045 cat conftest.
$ac_ext >&5
9047 glibcpp_cv_func__fmodf_use
=no
9051 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9052 ac_cpp
='$CPP $CPPFLAGS'
9053 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9054 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9055 cross_compiling
=$ac_cv_prog_cc_cross
9061 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
9063 if test x
$glibcpp_cv_func__fmodf_use = x
"yes"; then
9064 for ac_func
in _fmodf
9066 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9067 echo "configure:9068: checking for $ac_func" >&5
9068 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9069 echo $ac_n "(cached) $ac_c" 1>&6
9071 cat > conftest.
$ac_ext <<EOF
9072 #line 9073 "configure"
9073 #include "confdefs.h"
9074 /* System header to define __stub macros and hopefully few prototypes,
9075 which can conflict with char $ac_func(); below. */
9077 /* Override any gcc2 internal prototype to avoid an error. */
9078 /* We use char because int might match the return type of a gcc2
9079 builtin and then its argument prototype would still apply. */
9084 /* The GNU C library defines this for functions which it implements
9085 to always fail with ENOSYS. Some functions are actually named
9086 something starting with __ and the normal name is an alias. */
9087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9095 if { (eval echo configure
:9096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9097 eval "ac_cv_func_$ac_func=yes"
9099 echo "configure: failed program was:" >&5
9100 cat conftest.
$ac_ext >&5
9102 eval "ac_cv_func_$ac_func=no"
9107 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9108 echo "$ac_t""yes" 1>&6
9109 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9110 cat >> confdefs.h
<<EOF
9111 #define $ac_tr_func 1
9115 echo "$ac_t""no" 1>&6
9124 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
9125 echo "configure:9126: checking for frexpf declaration" >&5
9126 if test x
${glibcpp_cv_func_frexpf_use+set} != xset
; then
9127 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
9128 echo $ac_n "(cached) $ac_c" 1>&6
9133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9134 ac_cpp
='$CXXCPP $CPPFLAGS'
9135 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9136 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9137 cross_compiling
=$ac_cv_prog_cxx_cross
9139 cat > conftest.
$ac_ext <<EOF
9140 #line 9141 "configure"
9141 #include "confdefs.h"
9147 if { (eval echo configure
:9148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9149 glibcpp_cv_func_frexpf_use
=yes
9151 echo "configure: failed program was:" >&5
9152 cat conftest.
$ac_ext >&5
9154 glibcpp_cv_func_frexpf_use
=no
9158 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9159 ac_cpp
='$CPP $CPPFLAGS'
9160 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9161 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9162 cross_compiling
=$ac_cv_prog_cc_cross
9168 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
9170 if test x
$glibcpp_cv_func_frexpf_use = x
"yes"; then
9171 for ac_func
in frexpf
9173 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9174 echo "configure:9175: checking for $ac_func" >&5
9175 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9176 echo $ac_n "(cached) $ac_c" 1>&6
9178 cat > conftest.
$ac_ext <<EOF
9179 #line 9180 "configure"
9180 #include "confdefs.h"
9181 /* System header to define __stub macros and hopefully few prototypes,
9182 which can conflict with char $ac_func(); below. */
9184 /* Override any gcc2 internal prototype to avoid an error. */
9185 /* We use char because int might match the return type of a gcc2
9186 builtin and then its argument prototype would still apply. */
9191 /* The GNU C library defines this for functions which it implements
9192 to always fail with ENOSYS. Some functions are actually named
9193 something starting with __ and the normal name is an alias. */
9194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9202 if { (eval echo configure
:9203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9204 eval "ac_cv_func_$ac_func=yes"
9206 echo "configure: failed program was:" >&5
9207 cat conftest.
$ac_ext >&5
9209 eval "ac_cv_func_$ac_func=no"
9214 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9215 echo "$ac_t""yes" 1>&6
9216 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9217 cat >> confdefs.h
<<EOF
9218 #define $ac_tr_func 1
9222 echo "$ac_t""no" 1>&6
9228 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
9229 echo "configure:9230: checking for _frexpf declaration" >&5
9230 if test x
${glibcpp_cv_func__frexpf_use+set} != xset
; then
9231 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9232 echo $ac_n "(cached) $ac_c" 1>&6
9237 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9238 ac_cpp
='$CXXCPP $CPPFLAGS'
9239 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9240 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9241 cross_compiling
=$ac_cv_prog_cxx_cross
9243 cat > conftest.
$ac_ext <<EOF
9244 #line 9245 "configure"
9245 #include "confdefs.h"
9251 if { (eval echo configure
:9252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9253 glibcpp_cv_func__frexpf_use
=yes
9255 echo "configure: failed program was:" >&5
9256 cat conftest.
$ac_ext >&5
9258 glibcpp_cv_func__frexpf_use
=no
9262 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9263 ac_cpp
='$CPP $CPPFLAGS'
9264 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9265 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9266 cross_compiling
=$ac_cv_prog_cc_cross
9272 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9274 if test x
$glibcpp_cv_func__frexpf_use = x
"yes"; then
9275 for ac_func
in _frexpf
9277 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9278 echo "configure:9279: checking for $ac_func" >&5
9279 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9280 echo $ac_n "(cached) $ac_c" 1>&6
9282 cat > conftest.
$ac_ext <<EOF
9283 #line 9284 "configure"
9284 #include "confdefs.h"
9285 /* System header to define __stub macros and hopefully few prototypes,
9286 which can conflict with char $ac_func(); below. */
9288 /* Override any gcc2 internal prototype to avoid an error. */
9289 /* We use char because int might match the return type of a gcc2
9290 builtin and then its argument prototype would still apply. */
9295 /* The GNU C library defines this for functions which it implements
9296 to always fail with ENOSYS. Some functions are actually named
9297 something starting with __ and the normal name is an alias. */
9298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9306 if { (eval echo configure
:9307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9308 eval "ac_cv_func_$ac_func=yes"
9310 echo "configure: failed program was:" >&5
9311 cat conftest.
$ac_ext >&5
9313 eval "ac_cv_func_$ac_func=no"
9318 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9319 echo "$ac_t""yes" 1>&6
9320 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9321 cat >> confdefs.h
<<EOF
9322 #define $ac_tr_func 1
9326 echo "$ac_t""no" 1>&6
9335 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
9336 echo "configure:9337: checking for ldexpf declaration" >&5
9337 if test x
${glibcpp_cv_func_ldexpf_use+set} != xset
; then
9338 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
9339 echo $ac_n "(cached) $ac_c" 1>&6
9344 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9345 ac_cpp
='$CXXCPP $CPPFLAGS'
9346 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9347 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9348 cross_compiling
=$ac_cv_prog_cxx_cross
9350 cat > conftest.
$ac_ext <<EOF
9351 #line 9352 "configure"
9352 #include "confdefs.h"
9358 if { (eval echo configure
:9359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9360 glibcpp_cv_func_ldexpf_use
=yes
9362 echo "configure: failed program was:" >&5
9363 cat conftest.
$ac_ext >&5
9365 glibcpp_cv_func_ldexpf_use
=no
9369 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9370 ac_cpp
='$CPP $CPPFLAGS'
9371 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9372 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9373 cross_compiling
=$ac_cv_prog_cc_cross
9379 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
9381 if test x
$glibcpp_cv_func_ldexpf_use = x
"yes"; then
9382 for ac_func
in ldexpf
9384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9385 echo "configure:9386: checking for $ac_func" >&5
9386 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9387 echo $ac_n "(cached) $ac_c" 1>&6
9389 cat > conftest.
$ac_ext <<EOF
9390 #line 9391 "configure"
9391 #include "confdefs.h"
9392 /* System header to define __stub macros and hopefully few prototypes,
9393 which can conflict with char $ac_func(); below. */
9395 /* Override any gcc2 internal prototype to avoid an error. */
9396 /* We use char because int might match the return type of a gcc2
9397 builtin and then its argument prototype would still apply. */
9402 /* The GNU C library defines this for functions which it implements
9403 to always fail with ENOSYS. Some functions are actually named
9404 something starting with __ and the normal name is an alias. */
9405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9413 if { (eval echo configure
:9414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9415 eval "ac_cv_func_$ac_func=yes"
9417 echo "configure: failed program was:" >&5
9418 cat conftest.
$ac_ext >&5
9420 eval "ac_cv_func_$ac_func=no"
9425 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9426 echo "$ac_t""yes" 1>&6
9427 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9428 cat >> confdefs.h
<<EOF
9429 #define $ac_tr_func 1
9433 echo "$ac_t""no" 1>&6
9439 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
9440 echo "configure:9441: checking for _ldexpf declaration" >&5
9441 if test x
${glibcpp_cv_func__ldexpf_use+set} != xset
; then
9442 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
9443 echo $ac_n "(cached) $ac_c" 1>&6
9448 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9449 ac_cpp
='$CXXCPP $CPPFLAGS'
9450 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9451 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9452 cross_compiling
=$ac_cv_prog_cxx_cross
9454 cat > conftest.
$ac_ext <<EOF
9455 #line 9456 "configure"
9456 #include "confdefs.h"
9462 if { (eval echo configure
:9463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9464 glibcpp_cv_func__ldexpf_use
=yes
9466 echo "configure: failed program was:" >&5
9467 cat conftest.
$ac_ext >&5
9469 glibcpp_cv_func__ldexpf_use
=no
9473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9474 ac_cpp
='$CPP $CPPFLAGS'
9475 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9476 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9477 cross_compiling
=$ac_cv_prog_cc_cross
9483 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
9485 if test x
$glibcpp_cv_func__ldexpf_use = x
"yes"; then
9486 for ac_func
in _ldexpf
9488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9489 echo "configure:9490: checking for $ac_func" >&5
9490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9491 echo $ac_n "(cached) $ac_c" 1>&6
9493 cat > conftest.
$ac_ext <<EOF
9494 #line 9495 "configure"
9495 #include "confdefs.h"
9496 /* System header to define __stub macros and hopefully few prototypes,
9497 which can conflict with char $ac_func(); below. */
9499 /* Override any gcc2 internal prototype to avoid an error. */
9500 /* We use char because int might match the return type of a gcc2
9501 builtin and then its argument prototype would still apply. */
9506 /* The GNU C library defines this for functions which it implements
9507 to always fail with ENOSYS. Some functions are actually named
9508 something starting with __ and the normal name is an alias. */
9509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9517 if { (eval echo configure
:9518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9519 eval "ac_cv_func_$ac_func=yes"
9521 echo "configure: failed program was:" >&5
9522 cat conftest.
$ac_ext >&5
9524 eval "ac_cv_func_$ac_func=no"
9529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9530 echo "$ac_t""yes" 1>&6
9531 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9532 cat >> confdefs.h
<<EOF
9533 #define $ac_tr_func 1
9537 echo "$ac_t""no" 1>&6
9546 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
9547 echo "configure:9548: checking for logf declaration" >&5
9548 if test x
${glibcpp_cv_func_logf_use+set} != xset
; then
9549 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
9550 echo $ac_n "(cached) $ac_c" 1>&6
9555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9556 ac_cpp
='$CXXCPP $CPPFLAGS'
9557 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9558 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9559 cross_compiling
=$ac_cv_prog_cxx_cross
9561 cat > conftest.
$ac_ext <<EOF
9562 #line 9563 "configure"
9563 #include "confdefs.h"
9565 #ifdef HAVE_IEEEFP_H
9573 if { (eval echo configure
:9574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9575 glibcpp_cv_func_logf_use
=yes
9577 echo "configure: failed program was:" >&5
9578 cat conftest.
$ac_ext >&5
9580 glibcpp_cv_func_logf_use
=no
9584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9585 ac_cpp
='$CPP $CPPFLAGS'
9586 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9587 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9588 cross_compiling
=$ac_cv_prog_cc_cross
9594 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
9596 if test x
$glibcpp_cv_func_logf_use = x
"yes"; then
9599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9600 echo "configure:9601: checking for $ac_func" >&5
9601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9602 echo $ac_n "(cached) $ac_c" 1>&6
9604 cat > conftest.
$ac_ext <<EOF
9605 #line 9606 "configure"
9606 #include "confdefs.h"
9607 /* System header to define __stub macros and hopefully few prototypes,
9608 which can conflict with char $ac_func(); below. */
9610 /* Override any gcc2 internal prototype to avoid an error. */
9611 /* We use char because int might match the return type of a gcc2
9612 builtin and then its argument prototype would still apply. */
9617 /* The GNU C library defines this for functions which it implements
9618 to always fail with ENOSYS. Some functions are actually named
9619 something starting with __ and the normal name is an alias. */
9620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9628 if { (eval echo configure
:9629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9630 eval "ac_cv_func_$ac_func=yes"
9632 echo "configure: failed program was:" >&5
9633 cat conftest.
$ac_ext >&5
9635 eval "ac_cv_func_$ac_func=no"
9640 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9641 echo "$ac_t""yes" 1>&6
9642 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9643 cat >> confdefs.h
<<EOF
9644 #define $ac_tr_func 1
9648 echo "$ac_t""no" 1>&6
9654 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
9655 echo "configure:9656: checking for _logf declaration" >&5
9656 if test x
${glibcpp_cv_func__logf_use+set} != xset
; then
9657 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
9658 echo $ac_n "(cached) $ac_c" 1>&6
9663 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9664 ac_cpp
='$CXXCPP $CPPFLAGS'
9665 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9666 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9667 cross_compiling
=$ac_cv_prog_cxx_cross
9669 cat > conftest.
$ac_ext <<EOF
9670 #line 9671 "configure"
9671 #include "confdefs.h"
9673 #ifdef HAVE_IEEEFP_H
9681 if { (eval echo configure
:9682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9683 glibcpp_cv_func__logf_use
=yes
9685 echo "configure: failed program was:" >&5
9686 cat conftest.
$ac_ext >&5
9688 glibcpp_cv_func__logf_use
=no
9692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9693 ac_cpp
='$CPP $CPPFLAGS'
9694 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9695 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9696 cross_compiling
=$ac_cv_prog_cc_cross
9702 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
9704 if test x
$glibcpp_cv_func__logf_use = x
"yes"; then
9705 for ac_func
in _logf
9707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9708 echo "configure:9709: checking for $ac_func" >&5
9709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9710 echo $ac_n "(cached) $ac_c" 1>&6
9712 cat > conftest.
$ac_ext <<EOF
9713 #line 9714 "configure"
9714 #include "confdefs.h"
9715 /* System header to define __stub macros and hopefully few prototypes,
9716 which can conflict with char $ac_func(); below. */
9718 /* Override any gcc2 internal prototype to avoid an error. */
9719 /* We use char because int might match the return type of a gcc2
9720 builtin and then its argument prototype would still apply. */
9725 /* The GNU C library defines this for functions which it implements
9726 to always fail with ENOSYS. Some functions are actually named
9727 something starting with __ and the normal name is an alias. */
9728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9736 if { (eval echo configure
:9737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9738 eval "ac_cv_func_$ac_func=yes"
9740 echo "configure: failed program was:" >&5
9741 cat conftest.
$ac_ext >&5
9743 eval "ac_cv_func_$ac_func=no"
9748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9749 echo "$ac_t""yes" 1>&6
9750 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9751 cat >> confdefs.h
<<EOF
9752 #define $ac_tr_func 1
9756 echo "$ac_t""no" 1>&6
9765 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
9766 echo "configure:9767: checking for log10f declaration" >&5
9767 if test x
${glibcpp_cv_func_log10f_use+set} != xset
; then
9768 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
9769 echo $ac_n "(cached) $ac_c" 1>&6
9774 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9775 ac_cpp
='$CXXCPP $CPPFLAGS'
9776 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9777 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9778 cross_compiling
=$ac_cv_prog_cxx_cross
9780 cat > conftest.
$ac_ext <<EOF
9781 #line 9782 "configure"
9782 #include "confdefs.h"
9784 #ifdef HAVE_IEEEFP_H
9792 if { (eval echo configure
:9793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9794 glibcpp_cv_func_log10f_use
=yes
9796 echo "configure: failed program was:" >&5
9797 cat conftest.
$ac_ext >&5
9799 glibcpp_cv_func_log10f_use
=no
9803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9804 ac_cpp
='$CPP $CPPFLAGS'
9805 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9806 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9807 cross_compiling
=$ac_cv_prog_cc_cross
9813 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
9815 if test x
$glibcpp_cv_func_log10f_use = x
"yes"; then
9816 for ac_func
in log10f
9818 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9819 echo "configure:9820: checking for $ac_func" >&5
9820 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9821 echo $ac_n "(cached) $ac_c" 1>&6
9823 cat > conftest.
$ac_ext <<EOF
9824 #line 9825 "configure"
9825 #include "confdefs.h"
9826 /* System header to define __stub macros and hopefully few prototypes,
9827 which can conflict with char $ac_func(); below. */
9829 /* Override any gcc2 internal prototype to avoid an error. */
9830 /* We use char because int might match the return type of a gcc2
9831 builtin and then its argument prototype would still apply. */
9836 /* The GNU C library defines this for functions which it implements
9837 to always fail with ENOSYS. Some functions are actually named
9838 something starting with __ and the normal name is an alias. */
9839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9847 if { (eval echo configure
:9848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9849 eval "ac_cv_func_$ac_func=yes"
9851 echo "configure: failed program was:" >&5
9852 cat conftest.
$ac_ext >&5
9854 eval "ac_cv_func_$ac_func=no"
9859 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9860 echo "$ac_t""yes" 1>&6
9861 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9862 cat >> confdefs.h
<<EOF
9863 #define $ac_tr_func 1
9867 echo "$ac_t""no" 1>&6
9873 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
9874 echo "configure:9875: checking for _log10f declaration" >&5
9875 if test x
${glibcpp_cv_func__log10f_use+set} != xset
; then
9876 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
9877 echo $ac_n "(cached) $ac_c" 1>&6
9882 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9883 ac_cpp
='$CXXCPP $CPPFLAGS'
9884 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9885 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9886 cross_compiling
=$ac_cv_prog_cxx_cross
9888 cat > conftest.
$ac_ext <<EOF
9889 #line 9890 "configure"
9890 #include "confdefs.h"
9892 #ifdef HAVE_IEEEFP_H
9900 if { (eval echo configure
:9901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9902 glibcpp_cv_func__log10f_use
=yes
9904 echo "configure: failed program was:" >&5
9905 cat conftest.
$ac_ext >&5
9907 glibcpp_cv_func__log10f_use
=no
9911 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9912 ac_cpp
='$CPP $CPPFLAGS'
9913 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9914 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9915 cross_compiling
=$ac_cv_prog_cc_cross
9921 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
9923 if test x
$glibcpp_cv_func__log10f_use = x
"yes"; then
9924 for ac_func
in _log10f
9926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9927 echo "configure:9928: checking for $ac_func" >&5
9928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9929 echo $ac_n "(cached) $ac_c" 1>&6
9931 cat > conftest.
$ac_ext <<EOF
9932 #line 9933 "configure"
9933 #include "confdefs.h"
9934 /* System header to define __stub macros and hopefully few prototypes,
9935 which can conflict with char $ac_func(); below. */
9937 /* Override any gcc2 internal prototype to avoid an error. */
9938 /* We use char because int might match the return type of a gcc2
9939 builtin and then its argument prototype would still apply. */
9944 /* The GNU C library defines this for functions which it implements
9945 to always fail with ENOSYS. Some functions are actually named
9946 something starting with __ and the normal name is an alias. */
9947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9955 if { (eval echo configure
:9956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9957 eval "ac_cv_func_$ac_func=yes"
9959 echo "configure: failed program was:" >&5
9960 cat conftest.
$ac_ext >&5
9962 eval "ac_cv_func_$ac_func=no"
9967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9968 echo "$ac_t""yes" 1>&6
9969 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9970 cat >> confdefs.h
<<EOF
9971 #define $ac_tr_func 1
9975 echo "$ac_t""no" 1>&6
9984 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
9985 echo "configure:9986: checking for modff declaration" >&5
9986 if test x
${glibcpp_cv_func_modff_use+set} != xset
; then
9987 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
9988 echo $ac_n "(cached) $ac_c" 1>&6
9993 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9994 ac_cpp
='$CXXCPP $CPPFLAGS'
9995 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9996 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9997 cross_compiling
=$ac_cv_prog_cxx_cross
9999 cat > conftest.
$ac_ext <<EOF
10000 #line 10001 "configure"
10001 #include "confdefs.h"
10007 if { (eval echo configure
:10008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10009 glibcpp_cv_func_modff_use
=yes
10011 echo "configure: failed program was:" >&5
10012 cat conftest.
$ac_ext >&5
10014 glibcpp_cv_func_modff_use
=no
10018 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10019 ac_cpp
='$CPP $CPPFLAGS'
10020 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10021 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10022 cross_compiling
=$ac_cv_prog_cc_cross
10028 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
10030 if test x
$glibcpp_cv_func_modff_use = x
"yes"; then
10031 for ac_func
in modff
10033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10034 echo "configure:10035: checking for $ac_func" >&5
10035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10036 echo $ac_n "(cached) $ac_c" 1>&6
10038 cat > conftest.
$ac_ext <<EOF
10039 #line 10040 "configure"
10040 #include "confdefs.h"
10041 /* System header to define __stub macros and hopefully few prototypes,
10042 which can conflict with char $ac_func(); below. */
10043 #include <assert.h>
10044 /* Override any gcc2 internal prototype to avoid an error. */
10045 /* We use char because int might match the return type of a gcc2
10046 builtin and then its argument prototype would still apply. */
10051 /* The GNU C library defines this for functions which it implements
10052 to always fail with ENOSYS. Some functions are actually named
10053 something starting with __ and the normal name is an alias. */
10054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10062 if { (eval echo configure
:10063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10064 eval "ac_cv_func_$ac_func=yes"
10066 echo "configure: failed program was:" >&5
10067 cat conftest.
$ac_ext >&5
10069 eval "ac_cv_func_$ac_func=no"
10074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10075 echo "$ac_t""yes" 1>&6
10076 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10077 cat >> confdefs.h
<<EOF
10078 #define $ac_tr_func 1
10082 echo "$ac_t""no" 1>&6
10088 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
10089 echo "configure:10090: checking for _modff declaration" >&5
10090 if test x
${glibcpp_cv_func__modff_use+set} != xset
; then
10091 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
10092 echo $ac_n "(cached) $ac_c" 1>&6
10097 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10098 ac_cpp
='$CXXCPP $CPPFLAGS'
10099 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10100 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10101 cross_compiling
=$ac_cv_prog_cxx_cross
10103 cat > conftest.
$ac_ext <<EOF
10104 #line 10105 "configure"
10105 #include "confdefs.h"
10111 if { (eval echo configure
:10112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10113 glibcpp_cv_func__modff_use
=yes
10115 echo "configure: failed program was:" >&5
10116 cat conftest.
$ac_ext >&5
10118 glibcpp_cv_func__modff_use
=no
10122 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10123 ac_cpp
='$CPP $CPPFLAGS'
10124 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10125 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10126 cross_compiling
=$ac_cv_prog_cc_cross
10132 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
10134 if test x
$glibcpp_cv_func__modff_use = x
"yes"; then
10135 for ac_func
in _modff
10137 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10138 echo "configure:10139: checking for $ac_func" >&5
10139 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10140 echo $ac_n "(cached) $ac_c" 1>&6
10142 cat > conftest.
$ac_ext <<EOF
10143 #line 10144 "configure"
10144 #include "confdefs.h"
10145 /* System header to define __stub macros and hopefully few prototypes,
10146 which can conflict with char $ac_func(); below. */
10147 #include <assert.h>
10148 /* Override any gcc2 internal prototype to avoid an error. */
10149 /* We use char because int might match the return type of a gcc2
10150 builtin and then its argument prototype would still apply. */
10155 /* The GNU C library defines this for functions which it implements
10156 to always fail with ENOSYS. Some functions are actually named
10157 something starting with __ and the normal name is an alias. */
10158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10166 if { (eval echo configure
:10167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10168 eval "ac_cv_func_$ac_func=yes"
10170 echo "configure: failed program was:" >&5
10171 cat conftest.
$ac_ext >&5
10173 eval "ac_cv_func_$ac_func=no"
10178 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10179 echo "$ac_t""yes" 1>&6
10180 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10181 cat >> confdefs.h
<<EOF
10182 #define $ac_tr_func 1
10186 echo "$ac_t""no" 1>&6
10195 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
10196 echo "configure:10197: checking for powf declaration" >&5
10197 if test x
${glibcpp_cv_func_powf_use+set} != xset
; then
10198 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10199 echo $ac_n "(cached) $ac_c" 1>&6
10204 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10205 ac_cpp
='$CXXCPP $CPPFLAGS'
10206 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10207 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10208 cross_compiling
=$ac_cv_prog_cxx_cross
10210 cat > conftest.
$ac_ext <<EOF
10211 #line 10212 "configure"
10212 #include "confdefs.h"
10218 if { (eval echo configure
:10219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10220 glibcpp_cv_func_powf_use
=yes
10222 echo "configure: failed program was:" >&5
10223 cat conftest.
$ac_ext >&5
10225 glibcpp_cv_func_powf_use
=no
10229 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10230 ac_cpp
='$CPP $CPPFLAGS'
10231 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10232 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10233 cross_compiling
=$ac_cv_prog_cc_cross
10239 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10241 if test x
$glibcpp_cv_func_powf_use = x
"yes"; then
10242 for ac_func
in powf
10244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10245 echo "configure:10246: checking for $ac_func" >&5
10246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10247 echo $ac_n "(cached) $ac_c" 1>&6
10249 cat > conftest.
$ac_ext <<EOF
10250 #line 10251 "configure"
10251 #include "confdefs.h"
10252 /* System header to define __stub macros and hopefully few prototypes,
10253 which can conflict with char $ac_func(); below. */
10254 #include <assert.h>
10255 /* Override any gcc2 internal prototype to avoid an error. */
10256 /* We use char because int might match the return type of a gcc2
10257 builtin and then its argument prototype would still apply. */
10262 /* The GNU C library defines this for functions which it implements
10263 to always fail with ENOSYS. Some functions are actually named
10264 something starting with __ and the normal name is an alias. */
10265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10273 if { (eval echo configure
:10274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10275 eval "ac_cv_func_$ac_func=yes"
10277 echo "configure: failed program was:" >&5
10278 cat conftest.
$ac_ext >&5
10280 eval "ac_cv_func_$ac_func=no"
10285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10286 echo "$ac_t""yes" 1>&6
10287 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10288 cat >> confdefs.h
<<EOF
10289 #define $ac_tr_func 1
10293 echo "$ac_t""no" 1>&6
10299 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
10300 echo "configure:10301: checking for _powf declaration" >&5
10301 if test x
${glibcpp_cv_func__powf_use+set} != xset
; then
10302 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10303 echo $ac_n "(cached) $ac_c" 1>&6
10308 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10309 ac_cpp
='$CXXCPP $CPPFLAGS'
10310 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10311 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10312 cross_compiling
=$ac_cv_prog_cxx_cross
10314 cat > conftest.
$ac_ext <<EOF
10315 #line 10316 "configure"
10316 #include "confdefs.h"
10322 if { (eval echo configure
:10323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10324 glibcpp_cv_func__powf_use
=yes
10326 echo "configure: failed program was:" >&5
10327 cat conftest.
$ac_ext >&5
10329 glibcpp_cv_func__powf_use
=no
10333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10334 ac_cpp
='$CPP $CPPFLAGS'
10335 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10336 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10337 cross_compiling
=$ac_cv_prog_cc_cross
10343 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
10345 if test x
$glibcpp_cv_func__powf_use = x
"yes"; then
10346 for ac_func
in _powf
10348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10349 echo "configure:10350: checking for $ac_func" >&5
10350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10351 echo $ac_n "(cached) $ac_c" 1>&6
10353 cat > conftest.
$ac_ext <<EOF
10354 #line 10355 "configure"
10355 #include "confdefs.h"
10356 /* System header to define __stub macros and hopefully few prototypes,
10357 which can conflict with char $ac_func(); below. */
10358 #include <assert.h>
10359 /* Override any gcc2 internal prototype to avoid an error. */
10360 /* We use char because int might match the return type of a gcc2
10361 builtin and then its argument prototype would still apply. */
10366 /* The GNU C library defines this for functions which it implements
10367 to always fail with ENOSYS. Some functions are actually named
10368 something starting with __ and the normal name is an alias. */
10369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10377 if { (eval echo configure
:10378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10379 eval "ac_cv_func_$ac_func=yes"
10381 echo "configure: failed program was:" >&5
10382 cat conftest.
$ac_ext >&5
10384 eval "ac_cv_func_$ac_func=no"
10389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10390 echo "$ac_t""yes" 1>&6
10391 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10392 cat >> confdefs.h
<<EOF
10393 #define $ac_tr_func 1
10397 echo "$ac_t""no" 1>&6
10406 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
10407 echo "configure:10408: checking for sqrtf declaration" >&5
10408 if test x
${glibcpp_cv_func_sqrtf_use+set} != xset
; then
10409 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
10410 echo $ac_n "(cached) $ac_c" 1>&6
10415 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10416 ac_cpp
='$CXXCPP $CPPFLAGS'
10417 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10418 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10419 cross_compiling
=$ac_cv_prog_cxx_cross
10421 cat > conftest.
$ac_ext <<EOF
10422 #line 10423 "configure"
10423 #include "confdefs.h"
10425 #ifdef HAVE_IEEEFP_H
10426 #include <ieeefp.h>
10433 if { (eval echo configure
:10434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10435 glibcpp_cv_func_sqrtf_use
=yes
10437 echo "configure: failed program was:" >&5
10438 cat conftest.
$ac_ext >&5
10440 glibcpp_cv_func_sqrtf_use
=no
10444 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10445 ac_cpp
='$CPP $CPPFLAGS'
10446 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10447 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10448 cross_compiling
=$ac_cv_prog_cc_cross
10454 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
10456 if test x
$glibcpp_cv_func_sqrtf_use = x
"yes"; then
10457 for ac_func
in sqrtf
10459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10460 echo "configure:10461: checking for $ac_func" >&5
10461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10462 echo $ac_n "(cached) $ac_c" 1>&6
10464 cat > conftest.
$ac_ext <<EOF
10465 #line 10466 "configure"
10466 #include "confdefs.h"
10467 /* System header to define __stub macros and hopefully few prototypes,
10468 which can conflict with char $ac_func(); below. */
10469 #include <assert.h>
10470 /* Override any gcc2 internal prototype to avoid an error. */
10471 /* We use char because int might match the return type of a gcc2
10472 builtin and then its argument prototype would still apply. */
10477 /* The GNU C library defines this for functions which it implements
10478 to always fail with ENOSYS. Some functions are actually named
10479 something starting with __ and the normal name is an alias. */
10480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10488 if { (eval echo configure
:10489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10490 eval "ac_cv_func_$ac_func=yes"
10492 echo "configure: failed program was:" >&5
10493 cat conftest.
$ac_ext >&5
10495 eval "ac_cv_func_$ac_func=no"
10500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10501 echo "$ac_t""yes" 1>&6
10502 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10503 cat >> confdefs.h
<<EOF
10504 #define $ac_tr_func 1
10508 echo "$ac_t""no" 1>&6
10514 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
10515 echo "configure:10516: checking for _sqrtf declaration" >&5
10516 if test x
${glibcpp_cv_func__sqrtf_use+set} != xset
; then
10517 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
10518 echo $ac_n "(cached) $ac_c" 1>&6
10523 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10524 ac_cpp
='$CXXCPP $CPPFLAGS'
10525 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10526 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10527 cross_compiling
=$ac_cv_prog_cxx_cross
10529 cat > conftest.
$ac_ext <<EOF
10530 #line 10531 "configure"
10531 #include "confdefs.h"
10533 #ifdef HAVE_IEEEFP_H
10534 #include <ieeefp.h>
10541 if { (eval echo configure
:10542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10543 glibcpp_cv_func__sqrtf_use
=yes
10545 echo "configure: failed program was:" >&5
10546 cat conftest.
$ac_ext >&5
10548 glibcpp_cv_func__sqrtf_use
=no
10552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10553 ac_cpp
='$CPP $CPPFLAGS'
10554 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10555 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10556 cross_compiling
=$ac_cv_prog_cc_cross
10562 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
10564 if test x
$glibcpp_cv_func__sqrtf_use = x
"yes"; then
10565 for ac_func
in _sqrtf
10567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10568 echo "configure:10569: checking for $ac_func" >&5
10569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10570 echo $ac_n "(cached) $ac_c" 1>&6
10572 cat > conftest.
$ac_ext <<EOF
10573 #line 10574 "configure"
10574 #include "confdefs.h"
10575 /* System header to define __stub macros and hopefully few prototypes,
10576 which can conflict with char $ac_func(); below. */
10577 #include <assert.h>
10578 /* Override any gcc2 internal prototype to avoid an error. */
10579 /* We use char because int might match the return type of a gcc2
10580 builtin and then its argument prototype would still apply. */
10585 /* The GNU C library defines this for functions which it implements
10586 to always fail with ENOSYS. Some functions are actually named
10587 something starting with __ and the normal name is an alias. */
10588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10596 if { (eval echo configure
:10597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10598 eval "ac_cv_func_$ac_func=yes"
10600 echo "configure: failed program was:" >&5
10601 cat conftest.
$ac_ext >&5
10603 eval "ac_cv_func_$ac_func=no"
10608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10609 echo "$ac_t""yes" 1>&6
10610 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10611 cat >> confdefs.h
<<EOF
10612 #define $ac_tr_func 1
10616 echo "$ac_t""no" 1>&6
10625 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
10626 echo "configure:10627: checking for sincosf declaration" >&5
10627 if test x
${glibcpp_cv_func_sincosf_use+set} != xset
; then
10628 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
10629 echo $ac_n "(cached) $ac_c" 1>&6
10634 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10635 ac_cpp
='$CXXCPP $CPPFLAGS'
10636 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10637 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10638 cross_compiling
=$ac_cv_prog_cxx_cross
10640 cat > conftest.
$ac_ext <<EOF
10641 #line 10642 "configure"
10642 #include "confdefs.h"
10648 if { (eval echo configure
:10649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10650 glibcpp_cv_func_sincosf_use
=yes
10652 echo "configure: failed program was:" >&5
10653 cat conftest.
$ac_ext >&5
10655 glibcpp_cv_func_sincosf_use
=no
10659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10660 ac_cpp
='$CPP $CPPFLAGS'
10661 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10662 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10663 cross_compiling
=$ac_cv_prog_cc_cross
10669 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
10671 if test x
$glibcpp_cv_func_sincosf_use = x
"yes"; then
10672 for ac_func
in sincosf
10674 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10675 echo "configure:10676: checking for $ac_func" >&5
10676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10677 echo $ac_n "(cached) $ac_c" 1>&6
10679 cat > conftest.
$ac_ext <<EOF
10680 #line 10681 "configure"
10681 #include "confdefs.h"
10682 /* System header to define __stub macros and hopefully few prototypes,
10683 which can conflict with char $ac_func(); below. */
10684 #include <assert.h>
10685 /* Override any gcc2 internal prototype to avoid an error. */
10686 /* We use char because int might match the return type of a gcc2
10687 builtin and then its argument prototype would still apply. */
10692 /* The GNU C library defines this for functions which it implements
10693 to always fail with ENOSYS. Some functions are actually named
10694 something starting with __ and the normal name is an alias. */
10695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10703 if { (eval echo configure
:10704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10705 eval "ac_cv_func_$ac_func=yes"
10707 echo "configure: failed program was:" >&5
10708 cat conftest.
$ac_ext >&5
10710 eval "ac_cv_func_$ac_func=no"
10715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10716 echo "$ac_t""yes" 1>&6
10717 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10718 cat >> confdefs.h
<<EOF
10719 #define $ac_tr_func 1
10723 echo "$ac_t""no" 1>&6
10729 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
10730 echo "configure:10731: checking for _sincosf declaration" >&5
10731 if test x
${glibcpp_cv_func__sincosf_use+set} != xset
; then
10732 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
10733 echo $ac_n "(cached) $ac_c" 1>&6
10738 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10739 ac_cpp
='$CXXCPP $CPPFLAGS'
10740 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10741 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10742 cross_compiling
=$ac_cv_prog_cxx_cross
10744 cat > conftest.
$ac_ext <<EOF
10745 #line 10746 "configure"
10746 #include "confdefs.h"
10752 if { (eval echo configure
:10753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10754 glibcpp_cv_func__sincosf_use
=yes
10756 echo "configure: failed program was:" >&5
10757 cat conftest.
$ac_ext >&5
10759 glibcpp_cv_func__sincosf_use
=no
10763 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10764 ac_cpp
='$CPP $CPPFLAGS'
10765 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10766 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10767 cross_compiling
=$ac_cv_prog_cc_cross
10773 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
10775 if test x
$glibcpp_cv_func__sincosf_use = x
"yes"; then
10776 for ac_func
in _sincosf
10778 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10779 echo "configure:10780: checking for $ac_func" >&5
10780 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10781 echo $ac_n "(cached) $ac_c" 1>&6
10783 cat > conftest.
$ac_ext <<EOF
10784 #line 10785 "configure"
10785 #include "confdefs.h"
10786 /* System header to define __stub macros and hopefully few prototypes,
10787 which can conflict with char $ac_func(); below. */
10788 #include <assert.h>
10789 /* Override any gcc2 internal prototype to avoid an error. */
10790 /* We use char because int might match the return type of a gcc2
10791 builtin and then its argument prototype would still apply. */
10796 /* The GNU C library defines this for functions which it implements
10797 to always fail with ENOSYS. Some functions are actually named
10798 something starting with __ and the normal name is an alias. */
10799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10807 if { (eval echo configure
:10808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10809 eval "ac_cv_func_$ac_func=yes"
10811 echo "configure: failed program was:" >&5
10812 cat conftest.
$ac_ext >&5
10814 eval "ac_cv_func_$ac_func=no"
10819 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10820 echo "$ac_t""yes" 1>&6
10821 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10822 cat >> confdefs.h
<<EOF
10823 #define $ac_tr_func 1
10827 echo "$ac_t""no" 1>&6
10836 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
10837 echo "configure:10838: checking for finitef declaration" >&5
10838 if test x
${glibcpp_cv_func_finitef_use+set} != xset
; then
10839 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
10840 echo $ac_n "(cached) $ac_c" 1>&6
10845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10846 ac_cpp
='$CXXCPP $CPPFLAGS'
10847 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10848 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10849 cross_compiling
=$ac_cv_prog_cxx_cross
10851 cat > conftest.
$ac_ext <<EOF
10852 #line 10853 "configure"
10853 #include "confdefs.h"
10855 #ifdef HAVE_IEEEFP_H
10856 #include <ieeefp.h>
10863 if { (eval echo configure
:10864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10865 glibcpp_cv_func_finitef_use
=yes
10867 echo "configure: failed program was:" >&5
10868 cat conftest.
$ac_ext >&5
10870 glibcpp_cv_func_finitef_use
=no
10874 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10875 ac_cpp
='$CPP $CPPFLAGS'
10876 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10877 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10878 cross_compiling
=$ac_cv_prog_cc_cross
10884 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
10886 if test x
$glibcpp_cv_func_finitef_use = x
"yes"; then
10887 for ac_func
in finitef
10889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10890 echo "configure:10891: checking for $ac_func" >&5
10891 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10892 echo $ac_n "(cached) $ac_c" 1>&6
10894 cat > conftest.
$ac_ext <<EOF
10895 #line 10896 "configure"
10896 #include "confdefs.h"
10897 /* System header to define __stub macros and hopefully few prototypes,
10898 which can conflict with char $ac_func(); below. */
10899 #include <assert.h>
10900 /* Override any gcc2 internal prototype to avoid an error. */
10901 /* We use char because int might match the return type of a gcc2
10902 builtin and then its argument prototype would still apply. */
10907 /* The GNU C library defines this for functions which it implements
10908 to always fail with ENOSYS. Some functions are actually named
10909 something starting with __ and the normal name is an alias. */
10910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10918 if { (eval echo configure
:10919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10920 eval "ac_cv_func_$ac_func=yes"
10922 echo "configure: failed program was:" >&5
10923 cat conftest.
$ac_ext >&5
10925 eval "ac_cv_func_$ac_func=no"
10930 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10931 echo "$ac_t""yes" 1>&6
10932 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10933 cat >> confdefs.h
<<EOF
10934 #define $ac_tr_func 1
10938 echo "$ac_t""no" 1>&6
10944 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
10945 echo "configure:10946: checking for _finitef declaration" >&5
10946 if test x
${glibcpp_cv_func__finitef_use+set} != xset
; then
10947 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
10948 echo $ac_n "(cached) $ac_c" 1>&6
10953 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10954 ac_cpp
='$CXXCPP $CPPFLAGS'
10955 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10956 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10957 cross_compiling
=$ac_cv_prog_cxx_cross
10959 cat > conftest.
$ac_ext <<EOF
10960 #line 10961 "configure"
10961 #include "confdefs.h"
10963 #ifdef HAVE_IEEEFP_H
10964 #include <ieeefp.h>
10971 if { (eval echo configure
:10972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10973 glibcpp_cv_func__finitef_use
=yes
10975 echo "configure: failed program was:" >&5
10976 cat conftest.
$ac_ext >&5
10978 glibcpp_cv_func__finitef_use
=no
10982 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10983 ac_cpp
='$CPP $CPPFLAGS'
10984 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10985 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10986 cross_compiling
=$ac_cv_prog_cc_cross
10992 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
10994 if test x
$glibcpp_cv_func__finitef_use = x
"yes"; then
10995 for ac_func
in _finitef
10997 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10998 echo "configure:10999: checking for $ac_func" >&5
10999 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11000 echo $ac_n "(cached) $ac_c" 1>&6
11002 cat > conftest.
$ac_ext <<EOF
11003 #line 11004 "configure"
11004 #include "confdefs.h"
11005 /* System header to define __stub macros and hopefully few prototypes,
11006 which can conflict with char $ac_func(); below. */
11007 #include <assert.h>
11008 /* Override any gcc2 internal prototype to avoid an error. */
11009 /* We use char because int might match the return type of a gcc2
11010 builtin and then its argument prototype would still apply. */
11015 /* The GNU C library defines this for functions which it implements
11016 to always fail with ENOSYS. Some functions are actually named
11017 something starting with __ and the normal name is an alias. */
11018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11026 if { (eval echo configure
:11027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11028 eval "ac_cv_func_$ac_func=yes"
11030 echo "configure: failed program was:" >&5
11031 cat conftest.
$ac_ext >&5
11033 eval "ac_cv_func_$ac_func=no"
11038 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11039 echo "$ac_t""yes" 1>&6
11040 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11041 cat >> confdefs.h
<<EOF
11042 #define $ac_tr_func 1
11046 echo "$ac_t""no" 1>&6
11055 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
11056 echo "configure:11057: checking for long double trig functions" >&5
11057 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
11058 echo $ac_n "(cached) $ac_c" 1>&6
11063 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11064 ac_cpp
='$CXXCPP $CPPFLAGS'
11065 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11066 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11067 cross_compiling
=$ac_cv_prog_cxx_cross
11069 cat > conftest.
$ac_ext <<EOF
11070 #line 11071 "configure"
11071 #include "confdefs.h"
11074 `for x in acosl asinl atanl \
11076 coshl sinhl tanhl; do echo "$x (0);"; done`
11079 if { (eval echo configure
:11080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11081 glibcpp_cv_func_long_double_trig_use
=yes
11083 echo "configure: failed program was:" >&5
11084 cat conftest.
$ac_ext >&5
11086 glibcpp_cv_func_long_double_trig_use
=no
11090 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11091 ac_cpp
='$CPP $CPPFLAGS'
11092 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11093 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11094 cross_compiling
=$ac_cv_prog_cc_cross
11098 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
11099 if test x
$glibcpp_cv_func_long_double_trig_use = x
"yes"; then
11100 for ac_func
in acosl asinl atanl \
11104 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11105 echo "configure:11106: checking for $ac_func" >&5
11106 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11107 echo $ac_n "(cached) $ac_c" 1>&6
11109 cat > conftest.
$ac_ext <<EOF
11110 #line 11111 "configure"
11111 #include "confdefs.h"
11112 /* System header to define __stub macros and hopefully few prototypes,
11113 which can conflict with char $ac_func(); below. */
11114 #include <assert.h>
11115 /* Override any gcc2 internal prototype to avoid an error. */
11116 /* We use char because int might match the return type of a gcc2
11117 builtin and then its argument prototype would still apply. */
11122 /* The GNU C library defines this for functions which it implements
11123 to always fail with ENOSYS. Some functions are actually named
11124 something starting with __ and the normal name is an alias. */
11125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11133 if { (eval echo configure
:11134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11135 eval "ac_cv_func_$ac_func=yes"
11137 echo "configure: failed program was:" >&5
11138 cat conftest.
$ac_ext >&5
11140 eval "ac_cv_func_$ac_func=no"
11145 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11146 echo "$ac_t""yes" 1>&6
11147 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11148 cat >> confdefs.h
<<EOF
11149 #define $ac_tr_func 1
11153 echo "$ac_t""no" 1>&6
11160 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
11161 echo "configure:11162: checking for long double round functions" >&5
11162 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
11163 echo $ac_n "(cached) $ac_c" 1>&6
11168 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11169 ac_cpp
='$CXXCPP $CPPFLAGS'
11170 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11171 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11172 cross_compiling
=$ac_cv_prog_cxx_cross
11174 cat > conftest.
$ac_ext <<EOF
11175 #line 11176 "configure"
11176 #include "confdefs.h"
11179 `for x in ceill floorl; do echo "$x (0);"; done`
11182 if { (eval echo configure
:11183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11184 glibcpp_cv_func_long_double_round_use
=yes
11186 echo "configure: failed program was:" >&5
11187 cat conftest.
$ac_ext >&5
11189 glibcpp_cv_func_long_double_round_use
=no
11193 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11194 ac_cpp
='$CPP $CPPFLAGS'
11195 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11196 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11197 cross_compiling
=$ac_cv_prog_cc_cross
11201 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11202 if test x
$glibcpp_cv_func_long_double_round_use = x
"yes"; then
11203 for ac_func
in ceill floorl
11205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11206 echo "configure:11207: checking for $ac_func" >&5
11207 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11208 echo $ac_n "(cached) $ac_c" 1>&6
11210 cat > conftest.
$ac_ext <<EOF
11211 #line 11212 "configure"
11212 #include "confdefs.h"
11213 /* System header to define __stub macros and hopefully few prototypes,
11214 which can conflict with char $ac_func(); below. */
11215 #include <assert.h>
11216 /* Override any gcc2 internal prototype to avoid an error. */
11217 /* We use char because int might match the return type of a gcc2
11218 builtin and then its argument prototype would still apply. */
11223 /* The GNU C library defines this for functions which it implements
11224 to always fail with ENOSYS. Some functions are actually named
11225 something starting with __ and the normal name is an alias. */
11226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11234 if { (eval echo configure
:11235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11236 eval "ac_cv_func_$ac_func=yes"
11238 echo "configure: failed program was:" >&5
11239 cat conftest.
$ac_ext >&5
11241 eval "ac_cv_func_$ac_func=no"
11246 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11247 echo "$ac_t""yes" 1>&6
11248 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11249 cat >> confdefs.h
<<EOF
11250 #define $ac_tr_func 1
11254 echo "$ac_t""no" 1>&6
11262 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
11263 echo "configure:11264: checking for isnanl declaration" >&5
11264 if test x
${glibcpp_cv_func_isnanl_use+set} != xset
; then
11265 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11266 echo $ac_n "(cached) $ac_c" 1>&6
11271 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11272 ac_cpp
='$CXXCPP $CPPFLAGS'
11273 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11274 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11275 cross_compiling
=$ac_cv_prog_cxx_cross
11277 cat > conftest.
$ac_ext <<EOF
11278 #line 11279 "configure"
11279 #include "confdefs.h"
11281 #ifdef HAVE_IEEEFP_H
11282 #include <ieeefp.h>
11289 if { (eval echo configure
:11290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11291 glibcpp_cv_func_isnanl_use
=yes
11293 echo "configure: failed program was:" >&5
11294 cat conftest.
$ac_ext >&5
11296 glibcpp_cv_func_isnanl_use
=no
11300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11301 ac_cpp
='$CPP $CPPFLAGS'
11302 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11303 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11304 cross_compiling
=$ac_cv_prog_cc_cross
11310 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11312 if test x
$glibcpp_cv_func_isnanl_use = x
"yes"; then
11313 for ac_func
in isnanl
11315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11316 echo "configure:11317: checking for $ac_func" >&5
11317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11318 echo $ac_n "(cached) $ac_c" 1>&6
11320 cat > conftest.
$ac_ext <<EOF
11321 #line 11322 "configure"
11322 #include "confdefs.h"
11323 /* System header to define __stub macros and hopefully few prototypes,
11324 which can conflict with char $ac_func(); below. */
11325 #include <assert.h>
11326 /* Override any gcc2 internal prototype to avoid an error. */
11327 /* We use char because int might match the return type of a gcc2
11328 builtin and then its argument prototype would still apply. */
11333 /* The GNU C library defines this for functions which it implements
11334 to always fail with ENOSYS. Some functions are actually named
11335 something starting with __ and the normal name is an alias. */
11336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11344 if { (eval echo configure
:11345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11346 eval "ac_cv_func_$ac_func=yes"
11348 echo "configure: failed program was:" >&5
11349 cat conftest.
$ac_ext >&5
11351 eval "ac_cv_func_$ac_func=no"
11356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11357 echo "$ac_t""yes" 1>&6
11358 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11359 cat >> confdefs.h
<<EOF
11360 #define $ac_tr_func 1
11364 echo "$ac_t""no" 1>&6
11370 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
11371 echo "configure:11372: checking for _isnanl declaration" >&5
11372 if test x
${glibcpp_cv_func__isnanl_use+set} != xset
; then
11373 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
11374 echo $ac_n "(cached) $ac_c" 1>&6
11379 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11380 ac_cpp
='$CXXCPP $CPPFLAGS'
11381 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11382 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11383 cross_compiling
=$ac_cv_prog_cxx_cross
11385 cat > conftest.
$ac_ext <<EOF
11386 #line 11387 "configure"
11387 #include "confdefs.h"
11389 #ifdef HAVE_IEEEFP_H
11390 #include <ieeefp.h>
11397 if { (eval echo configure
:11398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11399 glibcpp_cv_func__isnanl_use
=yes
11401 echo "configure: failed program was:" >&5
11402 cat conftest.
$ac_ext >&5
11404 glibcpp_cv_func__isnanl_use
=no
11408 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11409 ac_cpp
='$CPP $CPPFLAGS'
11410 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11411 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11412 cross_compiling
=$ac_cv_prog_cc_cross
11418 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
11420 if test x
$glibcpp_cv_func__isnanl_use = x
"yes"; then
11421 for ac_func
in _isnanl
11423 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11424 echo "configure:11425: checking for $ac_func" >&5
11425 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11426 echo $ac_n "(cached) $ac_c" 1>&6
11428 cat > conftest.
$ac_ext <<EOF
11429 #line 11430 "configure"
11430 #include "confdefs.h"
11431 /* System header to define __stub macros and hopefully few prototypes,
11432 which can conflict with char $ac_func(); below. */
11433 #include <assert.h>
11434 /* Override any gcc2 internal prototype to avoid an error. */
11435 /* We use char because int might match the return type of a gcc2
11436 builtin and then its argument prototype would still apply. */
11441 /* The GNU C library defines this for functions which it implements
11442 to always fail with ENOSYS. Some functions are actually named
11443 something starting with __ and the normal name is an alias. */
11444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11452 if { (eval echo configure
:11453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11454 eval "ac_cv_func_$ac_func=yes"
11456 echo "configure: failed program was:" >&5
11457 cat conftest.
$ac_ext >&5
11459 eval "ac_cv_func_$ac_func=no"
11464 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11465 echo "$ac_t""yes" 1>&6
11466 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11467 cat >> confdefs.h
<<EOF
11468 #define $ac_tr_func 1
11472 echo "$ac_t""no" 1>&6
11481 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
11482 echo "configure:11483: checking for isinfl declaration" >&5
11483 if test x
${glibcpp_cv_func_isinfl_use+set} != xset
; then
11484 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
11485 echo $ac_n "(cached) $ac_c" 1>&6
11490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11491 ac_cpp
='$CXXCPP $CPPFLAGS'
11492 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11493 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11494 cross_compiling
=$ac_cv_prog_cxx_cross
11496 cat > conftest.
$ac_ext <<EOF
11497 #line 11498 "configure"
11498 #include "confdefs.h"
11500 #ifdef HAVE_IEEEFP_H
11501 #include <ieeefp.h>
11508 if { (eval echo configure
:11509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11510 glibcpp_cv_func_isinfl_use
=yes
11512 echo "configure: failed program was:" >&5
11513 cat conftest.
$ac_ext >&5
11515 glibcpp_cv_func_isinfl_use
=no
11519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11520 ac_cpp
='$CPP $CPPFLAGS'
11521 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11522 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11523 cross_compiling
=$ac_cv_prog_cc_cross
11529 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
11531 if test x
$glibcpp_cv_func_isinfl_use = x
"yes"; then
11532 for ac_func
in isinfl
11534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11535 echo "configure:11536: checking for $ac_func" >&5
11536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11537 echo $ac_n "(cached) $ac_c" 1>&6
11539 cat > conftest.
$ac_ext <<EOF
11540 #line 11541 "configure"
11541 #include "confdefs.h"
11542 /* System header to define __stub macros and hopefully few prototypes,
11543 which can conflict with char $ac_func(); below. */
11544 #include <assert.h>
11545 /* Override any gcc2 internal prototype to avoid an error. */
11546 /* We use char because int might match the return type of a gcc2
11547 builtin and then its argument prototype would still apply. */
11552 /* The GNU C library defines this for functions which it implements
11553 to always fail with ENOSYS. Some functions are actually named
11554 something starting with __ and the normal name is an alias. */
11555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11563 if { (eval echo configure
:11564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11565 eval "ac_cv_func_$ac_func=yes"
11567 echo "configure: failed program was:" >&5
11568 cat conftest.
$ac_ext >&5
11570 eval "ac_cv_func_$ac_func=no"
11575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11576 echo "$ac_t""yes" 1>&6
11577 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11578 cat >> confdefs.h
<<EOF
11579 #define $ac_tr_func 1
11583 echo "$ac_t""no" 1>&6
11589 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
11590 echo "configure:11591: checking for _isinfl declaration" >&5
11591 if test x
${glibcpp_cv_func__isinfl_use+set} != xset
; then
11592 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
11593 echo $ac_n "(cached) $ac_c" 1>&6
11598 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11599 ac_cpp
='$CXXCPP $CPPFLAGS'
11600 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11601 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11602 cross_compiling
=$ac_cv_prog_cxx_cross
11604 cat > conftest.
$ac_ext <<EOF
11605 #line 11606 "configure"
11606 #include "confdefs.h"
11608 #ifdef HAVE_IEEEFP_H
11609 #include <ieeefp.h>
11616 if { (eval echo configure
:11617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11618 glibcpp_cv_func__isinfl_use
=yes
11620 echo "configure: failed program was:" >&5
11621 cat conftest.
$ac_ext >&5
11623 glibcpp_cv_func__isinfl_use
=no
11627 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11628 ac_cpp
='$CPP $CPPFLAGS'
11629 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11630 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11631 cross_compiling
=$ac_cv_prog_cc_cross
11637 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
11639 if test x
$glibcpp_cv_func__isinfl_use = x
"yes"; then
11640 for ac_func
in _isinfl
11642 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11643 echo "configure:11644: checking for $ac_func" >&5
11644 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11645 echo $ac_n "(cached) $ac_c" 1>&6
11647 cat > conftest.
$ac_ext <<EOF
11648 #line 11649 "configure"
11649 #include "confdefs.h"
11650 /* System header to define __stub macros and hopefully few prototypes,
11651 which can conflict with char $ac_func(); below. */
11652 #include <assert.h>
11653 /* Override any gcc2 internal prototype to avoid an error. */
11654 /* We use char because int might match the return type of a gcc2
11655 builtin and then its argument prototype would still apply. */
11660 /* The GNU C library defines this for functions which it implements
11661 to always fail with ENOSYS. Some functions are actually named
11662 something starting with __ and the normal name is an alias. */
11663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11671 if { (eval echo configure
:11672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11673 eval "ac_cv_func_$ac_func=yes"
11675 echo "configure: failed program was:" >&5
11676 cat conftest.
$ac_ext >&5
11678 eval "ac_cv_func_$ac_func=no"
11683 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11684 echo "$ac_t""yes" 1>&6
11685 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11686 cat >> confdefs.h
<<EOF
11687 #define $ac_tr_func 1
11691 echo "$ac_t""no" 1>&6
11700 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
11701 echo "configure:11702: checking for copysignl declaration" >&5
11702 if test x
${glibcpp_cv_func_copysignl_use+set} != xset
; then
11703 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
11704 echo $ac_n "(cached) $ac_c" 1>&6
11709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11710 ac_cpp
='$CXXCPP $CPPFLAGS'
11711 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11712 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11713 cross_compiling
=$ac_cv_prog_cxx_cross
11715 cat > conftest.
$ac_ext <<EOF
11716 #line 11717 "configure"
11717 #include "confdefs.h"
11723 if { (eval echo configure
:11724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11725 glibcpp_cv_func_copysignl_use
=yes
11727 echo "configure: failed program was:" >&5
11728 cat conftest.
$ac_ext >&5
11730 glibcpp_cv_func_copysignl_use
=no
11734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11735 ac_cpp
='$CPP $CPPFLAGS'
11736 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11737 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11738 cross_compiling
=$ac_cv_prog_cc_cross
11744 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
11746 if test x
$glibcpp_cv_func_copysignl_use = x
"yes"; then
11747 for ac_func
in copysignl
11749 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11750 echo "configure:11751: checking for $ac_func" >&5
11751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11752 echo $ac_n "(cached) $ac_c" 1>&6
11754 cat > conftest.
$ac_ext <<EOF
11755 #line 11756 "configure"
11756 #include "confdefs.h"
11757 /* System header to define __stub macros and hopefully few prototypes,
11758 which can conflict with char $ac_func(); below. */
11759 #include <assert.h>
11760 /* Override any gcc2 internal prototype to avoid an error. */
11761 /* We use char because int might match the return type of a gcc2
11762 builtin and then its argument prototype would still apply. */
11767 /* The GNU C library defines this for functions which it implements
11768 to always fail with ENOSYS. Some functions are actually named
11769 something starting with __ and the normal name is an alias. */
11770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11778 if { (eval echo configure
:11779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11780 eval "ac_cv_func_$ac_func=yes"
11782 echo "configure: failed program was:" >&5
11783 cat conftest.
$ac_ext >&5
11785 eval "ac_cv_func_$ac_func=no"
11790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11791 echo "$ac_t""yes" 1>&6
11792 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11793 cat >> confdefs.h
<<EOF
11794 #define $ac_tr_func 1
11798 echo "$ac_t""no" 1>&6
11804 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
11805 echo "configure:11806: checking for _copysignl declaration" >&5
11806 if test x
${glibcpp_cv_func__copysignl_use+set} != xset
; then
11807 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
11808 echo $ac_n "(cached) $ac_c" 1>&6
11813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11814 ac_cpp
='$CXXCPP $CPPFLAGS'
11815 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11816 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11817 cross_compiling
=$ac_cv_prog_cxx_cross
11819 cat > conftest.
$ac_ext <<EOF
11820 #line 11821 "configure"
11821 #include "confdefs.h"
11827 if { (eval echo configure
:11828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11829 glibcpp_cv_func__copysignl_use
=yes
11831 echo "configure: failed program was:" >&5
11832 cat conftest.
$ac_ext >&5
11834 glibcpp_cv_func__copysignl_use
=no
11838 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11839 ac_cpp
='$CPP $CPPFLAGS'
11840 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11841 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11842 cross_compiling
=$ac_cv_prog_cc_cross
11848 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
11850 if test x
$glibcpp_cv_func__copysignl_use = x
"yes"; then
11851 for ac_func
in _copysignl
11853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11854 echo "configure:11855: checking for $ac_func" >&5
11855 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11856 echo $ac_n "(cached) $ac_c" 1>&6
11858 cat > conftest.
$ac_ext <<EOF
11859 #line 11860 "configure"
11860 #include "confdefs.h"
11861 /* System header to define __stub macros and hopefully few prototypes,
11862 which can conflict with char $ac_func(); below. */
11863 #include <assert.h>
11864 /* Override any gcc2 internal prototype to avoid an error. */
11865 /* We use char because int might match the return type of a gcc2
11866 builtin and then its argument prototype would still apply. */
11871 /* The GNU C library defines this for functions which it implements
11872 to always fail with ENOSYS. Some functions are actually named
11873 something starting with __ and the normal name is an alias. */
11874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11882 if { (eval echo configure
:11883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11884 eval "ac_cv_func_$ac_func=yes"
11886 echo "configure: failed program was:" >&5
11887 cat conftest.
$ac_ext >&5
11889 eval "ac_cv_func_$ac_func=no"
11894 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11895 echo "$ac_t""yes" 1>&6
11896 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11897 cat >> confdefs.h
<<EOF
11898 #define $ac_tr_func 1
11902 echo "$ac_t""no" 1>&6
11911 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
11912 echo "configure:11913: checking for atan2l declaration" >&5
11913 if test x
${glibcpp_cv_func_atan2l_use+set} != xset
; then
11914 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
11915 echo $ac_n "(cached) $ac_c" 1>&6
11920 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11921 ac_cpp
='$CXXCPP $CPPFLAGS'
11922 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11923 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11924 cross_compiling
=$ac_cv_prog_cxx_cross
11926 cat > conftest.
$ac_ext <<EOF
11927 #line 11928 "configure"
11928 #include "confdefs.h"
11934 if { (eval echo configure
:11935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11936 glibcpp_cv_func_atan2l_use
=yes
11938 echo "configure: failed program was:" >&5
11939 cat conftest.
$ac_ext >&5
11941 glibcpp_cv_func_atan2l_use
=no
11945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11946 ac_cpp
='$CPP $CPPFLAGS'
11947 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11948 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11949 cross_compiling
=$ac_cv_prog_cc_cross
11955 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
11957 if test x
$glibcpp_cv_func_atan2l_use = x
"yes"; then
11958 for ac_func
in atan2l
11960 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11961 echo "configure:11962: checking for $ac_func" >&5
11962 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11963 echo $ac_n "(cached) $ac_c" 1>&6
11965 cat > conftest.
$ac_ext <<EOF
11966 #line 11967 "configure"
11967 #include "confdefs.h"
11968 /* System header to define __stub macros and hopefully few prototypes,
11969 which can conflict with char $ac_func(); below. */
11970 #include <assert.h>
11971 /* Override any gcc2 internal prototype to avoid an error. */
11972 /* We use char because int might match the return type of a gcc2
11973 builtin and then its argument prototype would still apply. */
11978 /* The GNU C library defines this for functions which it implements
11979 to always fail with ENOSYS. Some functions are actually named
11980 something starting with __ and the normal name is an alias. */
11981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11989 if { (eval echo configure
:11990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11991 eval "ac_cv_func_$ac_func=yes"
11993 echo "configure: failed program was:" >&5
11994 cat conftest.
$ac_ext >&5
11996 eval "ac_cv_func_$ac_func=no"
12001 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12002 echo "$ac_t""yes" 1>&6
12003 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12004 cat >> confdefs.h
<<EOF
12005 #define $ac_tr_func 1
12009 echo "$ac_t""no" 1>&6
12015 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
12016 echo "configure:12017: checking for _atan2l declaration" >&5
12017 if test x
${glibcpp_cv_func__atan2l_use+set} != xset
; then
12018 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
12019 echo $ac_n "(cached) $ac_c" 1>&6
12024 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12025 ac_cpp
='$CXXCPP $CPPFLAGS'
12026 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12027 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12028 cross_compiling
=$ac_cv_prog_cxx_cross
12030 cat > conftest.
$ac_ext <<EOF
12031 #line 12032 "configure"
12032 #include "confdefs.h"
12038 if { (eval echo configure
:12039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12040 glibcpp_cv_func__atan2l_use
=yes
12042 echo "configure: failed program was:" >&5
12043 cat conftest.
$ac_ext >&5
12045 glibcpp_cv_func__atan2l_use
=no
12049 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12050 ac_cpp
='$CPP $CPPFLAGS'
12051 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12052 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12053 cross_compiling
=$ac_cv_prog_cc_cross
12059 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
12061 if test x
$glibcpp_cv_func__atan2l_use = x
"yes"; then
12062 for ac_func
in _atan2l
12064 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12065 echo "configure:12066: checking for $ac_func" >&5
12066 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12067 echo $ac_n "(cached) $ac_c" 1>&6
12069 cat > conftest.
$ac_ext <<EOF
12070 #line 12071 "configure"
12071 #include "confdefs.h"
12072 /* System header to define __stub macros and hopefully few prototypes,
12073 which can conflict with char $ac_func(); below. */
12074 #include <assert.h>
12075 /* Override any gcc2 internal prototype to avoid an error. */
12076 /* We use char because int might match the return type of a gcc2
12077 builtin and then its argument prototype would still apply. */
12082 /* The GNU C library defines this for functions which it implements
12083 to always fail with ENOSYS. Some functions are actually named
12084 something starting with __ and the normal name is an alias. */
12085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12093 if { (eval echo configure
:12094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12095 eval "ac_cv_func_$ac_func=yes"
12097 echo "configure: failed program was:" >&5
12098 cat conftest.
$ac_ext >&5
12100 eval "ac_cv_func_$ac_func=no"
12105 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12106 echo "$ac_t""yes" 1>&6
12107 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12108 cat >> confdefs.h
<<EOF
12109 #define $ac_tr_func 1
12113 echo "$ac_t""no" 1>&6
12122 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
12123 echo "configure:12124: checking for expl declaration" >&5
12124 if test x
${glibcpp_cv_func_expl_use+set} != xset
; then
12125 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
12126 echo $ac_n "(cached) $ac_c" 1>&6
12131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12132 ac_cpp
='$CXXCPP $CPPFLAGS'
12133 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12134 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12135 cross_compiling
=$ac_cv_prog_cxx_cross
12137 cat > conftest.
$ac_ext <<EOF
12138 #line 12139 "configure"
12139 #include "confdefs.h"
12141 #ifdef HAVE_IEEEFP_H
12142 #include <ieeefp.h>
12149 if { (eval echo configure
:12150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12151 glibcpp_cv_func_expl_use
=yes
12153 echo "configure: failed program was:" >&5
12154 cat conftest.
$ac_ext >&5
12156 glibcpp_cv_func_expl_use
=no
12160 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12161 ac_cpp
='$CPP $CPPFLAGS'
12162 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12163 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12164 cross_compiling
=$ac_cv_prog_cc_cross
12170 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
12172 if test x
$glibcpp_cv_func_expl_use = x
"yes"; then
12173 for ac_func
in expl
12175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12176 echo "configure:12177: checking for $ac_func" >&5
12177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12178 echo $ac_n "(cached) $ac_c" 1>&6
12180 cat > conftest.
$ac_ext <<EOF
12181 #line 12182 "configure"
12182 #include "confdefs.h"
12183 /* System header to define __stub macros and hopefully few prototypes,
12184 which can conflict with char $ac_func(); below. */
12185 #include <assert.h>
12186 /* Override any gcc2 internal prototype to avoid an error. */
12187 /* We use char because int might match the return type of a gcc2
12188 builtin and then its argument prototype would still apply. */
12193 /* The GNU C library defines this for functions which it implements
12194 to always fail with ENOSYS. Some functions are actually named
12195 something starting with __ and the normal name is an alias. */
12196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12204 if { (eval echo configure
:12205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12206 eval "ac_cv_func_$ac_func=yes"
12208 echo "configure: failed program was:" >&5
12209 cat conftest.
$ac_ext >&5
12211 eval "ac_cv_func_$ac_func=no"
12216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12217 echo "$ac_t""yes" 1>&6
12218 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12219 cat >> confdefs.h
<<EOF
12220 #define $ac_tr_func 1
12224 echo "$ac_t""no" 1>&6
12230 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
12231 echo "configure:12232: checking for _expl declaration" >&5
12232 if test x
${glibcpp_cv_func__expl_use+set} != xset
; then
12233 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12234 echo $ac_n "(cached) $ac_c" 1>&6
12239 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12240 ac_cpp
='$CXXCPP $CPPFLAGS'
12241 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12242 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12243 cross_compiling
=$ac_cv_prog_cxx_cross
12245 cat > conftest.
$ac_ext <<EOF
12246 #line 12247 "configure"
12247 #include "confdefs.h"
12249 #ifdef HAVE_IEEEFP_H
12250 #include <ieeefp.h>
12257 if { (eval echo configure
:12258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12259 glibcpp_cv_func__expl_use
=yes
12261 echo "configure: failed program was:" >&5
12262 cat conftest.
$ac_ext >&5
12264 glibcpp_cv_func__expl_use
=no
12268 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12269 ac_cpp
='$CPP $CPPFLAGS'
12270 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12271 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12272 cross_compiling
=$ac_cv_prog_cc_cross
12278 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12280 if test x
$glibcpp_cv_func__expl_use = x
"yes"; then
12281 for ac_func
in _expl
12283 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12284 echo "configure:12285: checking for $ac_func" >&5
12285 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12286 echo $ac_n "(cached) $ac_c" 1>&6
12288 cat > conftest.
$ac_ext <<EOF
12289 #line 12290 "configure"
12290 #include "confdefs.h"
12291 /* System header to define __stub macros and hopefully few prototypes,
12292 which can conflict with char $ac_func(); below. */
12293 #include <assert.h>
12294 /* Override any gcc2 internal prototype to avoid an error. */
12295 /* We use char because int might match the return type of a gcc2
12296 builtin and then its argument prototype would still apply. */
12301 /* The GNU C library defines this for functions which it implements
12302 to always fail with ENOSYS. Some functions are actually named
12303 something starting with __ and the normal name is an alias. */
12304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12312 if { (eval echo configure
:12313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12314 eval "ac_cv_func_$ac_func=yes"
12316 echo "configure: failed program was:" >&5
12317 cat conftest.
$ac_ext >&5
12319 eval "ac_cv_func_$ac_func=no"
12324 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12325 echo "$ac_t""yes" 1>&6
12326 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12327 cat >> confdefs.h
<<EOF
12328 #define $ac_tr_func 1
12332 echo "$ac_t""no" 1>&6
12341 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
12342 echo "configure:12343: checking for fabsl declaration" >&5
12343 if test x
${glibcpp_cv_func_fabsl_use+set} != xset
; then
12344 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
12345 echo $ac_n "(cached) $ac_c" 1>&6
12350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12351 ac_cpp
='$CXXCPP $CPPFLAGS'
12352 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12353 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12354 cross_compiling
=$ac_cv_prog_cxx_cross
12356 cat > conftest.
$ac_ext <<EOF
12357 #line 12358 "configure"
12358 #include "confdefs.h"
12360 #ifdef HAVE_IEEEFP_H
12361 #include <ieeefp.h>
12368 if { (eval echo configure
:12369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12370 glibcpp_cv_func_fabsl_use
=yes
12372 echo "configure: failed program was:" >&5
12373 cat conftest.
$ac_ext >&5
12375 glibcpp_cv_func_fabsl_use
=no
12379 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12380 ac_cpp
='$CPP $CPPFLAGS'
12381 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12382 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12383 cross_compiling
=$ac_cv_prog_cc_cross
12389 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
12391 if test x
$glibcpp_cv_func_fabsl_use = x
"yes"; then
12392 for ac_func
in fabsl
12394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12395 echo "configure:12396: checking for $ac_func" >&5
12396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12397 echo $ac_n "(cached) $ac_c" 1>&6
12399 cat > conftest.
$ac_ext <<EOF
12400 #line 12401 "configure"
12401 #include "confdefs.h"
12402 /* System header to define __stub macros and hopefully few prototypes,
12403 which can conflict with char $ac_func(); below. */
12404 #include <assert.h>
12405 /* Override any gcc2 internal prototype to avoid an error. */
12406 /* We use char because int might match the return type of a gcc2
12407 builtin and then its argument prototype would still apply. */
12412 /* The GNU C library defines this for functions which it implements
12413 to always fail with ENOSYS. Some functions are actually named
12414 something starting with __ and the normal name is an alias. */
12415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12423 if { (eval echo configure
:12424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12425 eval "ac_cv_func_$ac_func=yes"
12427 echo "configure: failed program was:" >&5
12428 cat conftest.
$ac_ext >&5
12430 eval "ac_cv_func_$ac_func=no"
12435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12436 echo "$ac_t""yes" 1>&6
12437 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12438 cat >> confdefs.h
<<EOF
12439 #define $ac_tr_func 1
12443 echo "$ac_t""no" 1>&6
12449 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
12450 echo "configure:12451: checking for _fabsl declaration" >&5
12451 if test x
${glibcpp_cv_func__fabsl_use+set} != xset
; then
12452 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
12453 echo $ac_n "(cached) $ac_c" 1>&6
12458 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12459 ac_cpp
='$CXXCPP $CPPFLAGS'
12460 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12461 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12462 cross_compiling
=$ac_cv_prog_cxx_cross
12464 cat > conftest.
$ac_ext <<EOF
12465 #line 12466 "configure"
12466 #include "confdefs.h"
12468 #ifdef HAVE_IEEEFP_H
12469 #include <ieeefp.h>
12476 if { (eval echo configure
:12477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12478 glibcpp_cv_func__fabsl_use
=yes
12480 echo "configure: failed program was:" >&5
12481 cat conftest.
$ac_ext >&5
12483 glibcpp_cv_func__fabsl_use
=no
12487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12488 ac_cpp
='$CPP $CPPFLAGS'
12489 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12490 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12491 cross_compiling
=$ac_cv_prog_cc_cross
12497 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
12499 if test x
$glibcpp_cv_func__fabsl_use = x
"yes"; then
12500 for ac_func
in _fabsl
12502 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12503 echo "configure:12504: checking for $ac_func" >&5
12504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12505 echo $ac_n "(cached) $ac_c" 1>&6
12507 cat > conftest.
$ac_ext <<EOF
12508 #line 12509 "configure"
12509 #include "confdefs.h"
12510 /* System header to define __stub macros and hopefully few prototypes,
12511 which can conflict with char $ac_func(); below. */
12512 #include <assert.h>
12513 /* Override any gcc2 internal prototype to avoid an error. */
12514 /* We use char because int might match the return type of a gcc2
12515 builtin and then its argument prototype would still apply. */
12520 /* The GNU C library defines this for functions which it implements
12521 to always fail with ENOSYS. Some functions are actually named
12522 something starting with __ and the normal name is an alias. */
12523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12531 if { (eval echo configure
:12532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12533 eval "ac_cv_func_$ac_func=yes"
12535 echo "configure: failed program was:" >&5
12536 cat conftest.
$ac_ext >&5
12538 eval "ac_cv_func_$ac_func=no"
12543 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12544 echo "$ac_t""yes" 1>&6
12545 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12546 cat >> confdefs.h
<<EOF
12547 #define $ac_tr_func 1
12551 echo "$ac_t""no" 1>&6
12560 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
12561 echo "configure:12562: checking for fmodl declaration" >&5
12562 if test x
${glibcpp_cv_func_fmodl_use+set} != xset
; then
12563 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
12564 echo $ac_n "(cached) $ac_c" 1>&6
12569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12570 ac_cpp
='$CXXCPP $CPPFLAGS'
12571 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12572 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12573 cross_compiling
=$ac_cv_prog_cxx_cross
12575 cat > conftest.
$ac_ext <<EOF
12576 #line 12577 "configure"
12577 #include "confdefs.h"
12583 if { (eval echo configure
:12584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12585 glibcpp_cv_func_fmodl_use
=yes
12587 echo "configure: failed program was:" >&5
12588 cat conftest.
$ac_ext >&5
12590 glibcpp_cv_func_fmodl_use
=no
12594 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12595 ac_cpp
='$CPP $CPPFLAGS'
12596 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12597 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12598 cross_compiling
=$ac_cv_prog_cc_cross
12604 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
12606 if test x
$glibcpp_cv_func_fmodl_use = x
"yes"; then
12607 for ac_func
in fmodl
12609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12610 echo "configure:12611: checking for $ac_func" >&5
12611 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12612 echo $ac_n "(cached) $ac_c" 1>&6
12614 cat > conftest.
$ac_ext <<EOF
12615 #line 12616 "configure"
12616 #include "confdefs.h"
12617 /* System header to define __stub macros and hopefully few prototypes,
12618 which can conflict with char $ac_func(); below. */
12619 #include <assert.h>
12620 /* Override any gcc2 internal prototype to avoid an error. */
12621 /* We use char because int might match the return type of a gcc2
12622 builtin and then its argument prototype would still apply. */
12627 /* The GNU C library defines this for functions which it implements
12628 to always fail with ENOSYS. Some functions are actually named
12629 something starting with __ and the normal name is an alias. */
12630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12638 if { (eval echo configure
:12639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12640 eval "ac_cv_func_$ac_func=yes"
12642 echo "configure: failed program was:" >&5
12643 cat conftest.
$ac_ext >&5
12645 eval "ac_cv_func_$ac_func=no"
12650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12651 echo "$ac_t""yes" 1>&6
12652 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12653 cat >> confdefs.h
<<EOF
12654 #define $ac_tr_func 1
12658 echo "$ac_t""no" 1>&6
12664 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
12665 echo "configure:12666: checking for _fmodl declaration" >&5
12666 if test x
${glibcpp_cv_func__fmodl_use+set} != xset
; then
12667 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
12668 echo $ac_n "(cached) $ac_c" 1>&6
12673 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12674 ac_cpp
='$CXXCPP $CPPFLAGS'
12675 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12676 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12677 cross_compiling
=$ac_cv_prog_cxx_cross
12679 cat > conftest.
$ac_ext <<EOF
12680 #line 12681 "configure"
12681 #include "confdefs.h"
12687 if { (eval echo configure
:12688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12689 glibcpp_cv_func__fmodl_use
=yes
12691 echo "configure: failed program was:" >&5
12692 cat conftest.
$ac_ext >&5
12694 glibcpp_cv_func__fmodl_use
=no
12698 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12699 ac_cpp
='$CPP $CPPFLAGS'
12700 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12701 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12702 cross_compiling
=$ac_cv_prog_cc_cross
12708 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
12710 if test x
$glibcpp_cv_func__fmodl_use = x
"yes"; then
12711 for ac_func
in _fmodl
12713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12714 echo "configure:12715: checking for $ac_func" >&5
12715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12716 echo $ac_n "(cached) $ac_c" 1>&6
12718 cat > conftest.
$ac_ext <<EOF
12719 #line 12720 "configure"
12720 #include "confdefs.h"
12721 /* System header to define __stub macros and hopefully few prototypes,
12722 which can conflict with char $ac_func(); below. */
12723 #include <assert.h>
12724 /* Override any gcc2 internal prototype to avoid an error. */
12725 /* We use char because int might match the return type of a gcc2
12726 builtin and then its argument prototype would still apply. */
12731 /* The GNU C library defines this for functions which it implements
12732 to always fail with ENOSYS. Some functions are actually named
12733 something starting with __ and the normal name is an alias. */
12734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12742 if { (eval echo configure
:12743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12744 eval "ac_cv_func_$ac_func=yes"
12746 echo "configure: failed program was:" >&5
12747 cat conftest.
$ac_ext >&5
12749 eval "ac_cv_func_$ac_func=no"
12754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12755 echo "$ac_t""yes" 1>&6
12756 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12757 cat >> confdefs.h
<<EOF
12758 #define $ac_tr_func 1
12762 echo "$ac_t""no" 1>&6
12771 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
12772 echo "configure:12773: checking for frexpl declaration" >&5
12773 if test x
${glibcpp_cv_func_frexpl_use+set} != xset
; then
12774 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
12775 echo $ac_n "(cached) $ac_c" 1>&6
12780 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12781 ac_cpp
='$CXXCPP $CPPFLAGS'
12782 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12783 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12784 cross_compiling
=$ac_cv_prog_cxx_cross
12786 cat > conftest.
$ac_ext <<EOF
12787 #line 12788 "configure"
12788 #include "confdefs.h"
12794 if { (eval echo configure
:12795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12796 glibcpp_cv_func_frexpl_use
=yes
12798 echo "configure: failed program was:" >&5
12799 cat conftest.
$ac_ext >&5
12801 glibcpp_cv_func_frexpl_use
=no
12805 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12806 ac_cpp
='$CPP $CPPFLAGS'
12807 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12808 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12809 cross_compiling
=$ac_cv_prog_cc_cross
12815 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
12817 if test x
$glibcpp_cv_func_frexpl_use = x
"yes"; then
12818 for ac_func
in frexpl
12820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12821 echo "configure:12822: checking for $ac_func" >&5
12822 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12823 echo $ac_n "(cached) $ac_c" 1>&6
12825 cat > conftest.
$ac_ext <<EOF
12826 #line 12827 "configure"
12827 #include "confdefs.h"
12828 /* System header to define __stub macros and hopefully few prototypes,
12829 which can conflict with char $ac_func(); below. */
12830 #include <assert.h>
12831 /* Override any gcc2 internal prototype to avoid an error. */
12832 /* We use char because int might match the return type of a gcc2
12833 builtin and then its argument prototype would still apply. */
12838 /* The GNU C library defines this for functions which it implements
12839 to always fail with ENOSYS. Some functions are actually named
12840 something starting with __ and the normal name is an alias. */
12841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12849 if { (eval echo configure
:12850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12851 eval "ac_cv_func_$ac_func=yes"
12853 echo "configure: failed program was:" >&5
12854 cat conftest.
$ac_ext >&5
12856 eval "ac_cv_func_$ac_func=no"
12861 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12862 echo "$ac_t""yes" 1>&6
12863 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12864 cat >> confdefs.h
<<EOF
12865 #define $ac_tr_func 1
12869 echo "$ac_t""no" 1>&6
12875 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
12876 echo "configure:12877: checking for _frexpl declaration" >&5
12877 if test x
${glibcpp_cv_func__frexpl_use+set} != xset
; then
12878 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
12879 echo $ac_n "(cached) $ac_c" 1>&6
12884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12885 ac_cpp
='$CXXCPP $CPPFLAGS'
12886 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12887 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12888 cross_compiling
=$ac_cv_prog_cxx_cross
12890 cat > conftest.
$ac_ext <<EOF
12891 #line 12892 "configure"
12892 #include "confdefs.h"
12898 if { (eval echo configure
:12899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12900 glibcpp_cv_func__frexpl_use
=yes
12902 echo "configure: failed program was:" >&5
12903 cat conftest.
$ac_ext >&5
12905 glibcpp_cv_func__frexpl_use
=no
12909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12910 ac_cpp
='$CPP $CPPFLAGS'
12911 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12912 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12913 cross_compiling
=$ac_cv_prog_cc_cross
12919 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
12921 if test x
$glibcpp_cv_func__frexpl_use = x
"yes"; then
12922 for ac_func
in _frexpl
12924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12925 echo "configure:12926: checking for $ac_func" >&5
12926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12927 echo $ac_n "(cached) $ac_c" 1>&6
12929 cat > conftest.
$ac_ext <<EOF
12930 #line 12931 "configure"
12931 #include "confdefs.h"
12932 /* System header to define __stub macros and hopefully few prototypes,
12933 which can conflict with char $ac_func(); below. */
12934 #include <assert.h>
12935 /* Override any gcc2 internal prototype to avoid an error. */
12936 /* We use char because int might match the return type of a gcc2
12937 builtin and then its argument prototype would still apply. */
12942 /* The GNU C library defines this for functions which it implements
12943 to always fail with ENOSYS. Some functions are actually named
12944 something starting with __ and the normal name is an alias. */
12945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12953 if { (eval echo configure
:12954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12955 eval "ac_cv_func_$ac_func=yes"
12957 echo "configure: failed program was:" >&5
12958 cat conftest.
$ac_ext >&5
12960 eval "ac_cv_func_$ac_func=no"
12965 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12966 echo "$ac_t""yes" 1>&6
12967 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12968 cat >> confdefs.h
<<EOF
12969 #define $ac_tr_func 1
12973 echo "$ac_t""no" 1>&6
12982 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
12983 echo "configure:12984: checking for ldexpl declaration" >&5
12984 if test x
${glibcpp_cv_func_ldexpl_use+set} != xset
; then
12985 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
12986 echo $ac_n "(cached) $ac_c" 1>&6
12991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12992 ac_cpp
='$CXXCPP $CPPFLAGS'
12993 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12994 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12995 cross_compiling
=$ac_cv_prog_cxx_cross
12997 cat > conftest.
$ac_ext <<EOF
12998 #line 12999 "configure"
12999 #include "confdefs.h"
13005 if { (eval echo configure
:13006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13007 glibcpp_cv_func_ldexpl_use
=yes
13009 echo "configure: failed program was:" >&5
13010 cat conftest.
$ac_ext >&5
13012 glibcpp_cv_func_ldexpl_use
=no
13016 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13017 ac_cpp
='$CPP $CPPFLAGS'
13018 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13019 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13020 cross_compiling
=$ac_cv_prog_cc_cross
13026 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
13028 if test x
$glibcpp_cv_func_ldexpl_use = x
"yes"; then
13029 for ac_func
in ldexpl
13031 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13032 echo "configure:13033: checking for $ac_func" >&5
13033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13034 echo $ac_n "(cached) $ac_c" 1>&6
13036 cat > conftest.
$ac_ext <<EOF
13037 #line 13038 "configure"
13038 #include "confdefs.h"
13039 /* System header to define __stub macros and hopefully few prototypes,
13040 which can conflict with char $ac_func(); below. */
13041 #include <assert.h>
13042 /* Override any gcc2 internal prototype to avoid an error. */
13043 /* We use char because int might match the return type of a gcc2
13044 builtin and then its argument prototype would still apply. */
13049 /* The GNU C library defines this for functions which it implements
13050 to always fail with ENOSYS. Some functions are actually named
13051 something starting with __ and the normal name is an alias. */
13052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13060 if { (eval echo configure
:13061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13062 eval "ac_cv_func_$ac_func=yes"
13064 echo "configure: failed program was:" >&5
13065 cat conftest.
$ac_ext >&5
13067 eval "ac_cv_func_$ac_func=no"
13072 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13073 echo "$ac_t""yes" 1>&6
13074 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13075 cat >> confdefs.h
<<EOF
13076 #define $ac_tr_func 1
13080 echo "$ac_t""no" 1>&6
13086 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
13087 echo "configure:13088: checking for _ldexpl declaration" >&5
13088 if test x
${glibcpp_cv_func__ldexpl_use+set} != xset
; then
13089 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
13090 echo $ac_n "(cached) $ac_c" 1>&6
13095 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13096 ac_cpp
='$CXXCPP $CPPFLAGS'
13097 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13098 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13099 cross_compiling
=$ac_cv_prog_cxx_cross
13101 cat > conftest.
$ac_ext <<EOF
13102 #line 13103 "configure"
13103 #include "confdefs.h"
13109 if { (eval echo configure
:13110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13111 glibcpp_cv_func__ldexpl_use
=yes
13113 echo "configure: failed program was:" >&5
13114 cat conftest.
$ac_ext >&5
13116 glibcpp_cv_func__ldexpl_use
=no
13120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13121 ac_cpp
='$CPP $CPPFLAGS'
13122 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13123 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13124 cross_compiling
=$ac_cv_prog_cc_cross
13130 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
13132 if test x
$glibcpp_cv_func__ldexpl_use = x
"yes"; then
13133 for ac_func
in _ldexpl
13135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13136 echo "configure:13137: checking for $ac_func" >&5
13137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13138 echo $ac_n "(cached) $ac_c" 1>&6
13140 cat > conftest.
$ac_ext <<EOF
13141 #line 13142 "configure"
13142 #include "confdefs.h"
13143 /* System header to define __stub macros and hopefully few prototypes,
13144 which can conflict with char $ac_func(); below. */
13145 #include <assert.h>
13146 /* Override any gcc2 internal prototype to avoid an error. */
13147 /* We use char because int might match the return type of a gcc2
13148 builtin and then its argument prototype would still apply. */
13153 /* The GNU C library defines this for functions which it implements
13154 to always fail with ENOSYS. Some functions are actually named
13155 something starting with __ and the normal name is an alias. */
13156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13164 if { (eval echo configure
:13165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13166 eval "ac_cv_func_$ac_func=yes"
13168 echo "configure: failed program was:" >&5
13169 cat conftest.
$ac_ext >&5
13171 eval "ac_cv_func_$ac_func=no"
13176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13177 echo "$ac_t""yes" 1>&6
13178 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13179 cat >> confdefs.h
<<EOF
13180 #define $ac_tr_func 1
13184 echo "$ac_t""no" 1>&6
13193 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
13194 echo "configure:13195: checking for logl declaration" >&5
13195 if test x
${glibcpp_cv_func_logl_use+set} != xset
; then
13196 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
13197 echo $ac_n "(cached) $ac_c" 1>&6
13202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13203 ac_cpp
='$CXXCPP $CPPFLAGS'
13204 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13205 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13206 cross_compiling
=$ac_cv_prog_cxx_cross
13208 cat > conftest.
$ac_ext <<EOF
13209 #line 13210 "configure"
13210 #include "confdefs.h"
13212 #ifdef HAVE_IEEEFP_H
13213 #include <ieeefp.h>
13220 if { (eval echo configure
:13221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13222 glibcpp_cv_func_logl_use
=yes
13224 echo "configure: failed program was:" >&5
13225 cat conftest.
$ac_ext >&5
13227 glibcpp_cv_func_logl_use
=no
13231 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13232 ac_cpp
='$CPP $CPPFLAGS'
13233 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13234 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13235 cross_compiling
=$ac_cv_prog_cc_cross
13241 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
13243 if test x
$glibcpp_cv_func_logl_use = x
"yes"; then
13244 for ac_func
in logl
13246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13247 echo "configure:13248: checking for $ac_func" >&5
13248 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13249 echo $ac_n "(cached) $ac_c" 1>&6
13251 cat > conftest.
$ac_ext <<EOF
13252 #line 13253 "configure"
13253 #include "confdefs.h"
13254 /* System header to define __stub macros and hopefully few prototypes,
13255 which can conflict with char $ac_func(); below. */
13256 #include <assert.h>
13257 /* Override any gcc2 internal prototype to avoid an error. */
13258 /* We use char because int might match the return type of a gcc2
13259 builtin and then its argument prototype would still apply. */
13264 /* The GNU C library defines this for functions which it implements
13265 to always fail with ENOSYS. Some functions are actually named
13266 something starting with __ and the normal name is an alias. */
13267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13275 if { (eval echo configure
:13276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13277 eval "ac_cv_func_$ac_func=yes"
13279 echo "configure: failed program was:" >&5
13280 cat conftest.
$ac_ext >&5
13282 eval "ac_cv_func_$ac_func=no"
13287 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13288 echo "$ac_t""yes" 1>&6
13289 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13290 cat >> confdefs.h
<<EOF
13291 #define $ac_tr_func 1
13295 echo "$ac_t""no" 1>&6
13301 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
13302 echo "configure:13303: checking for _logl declaration" >&5
13303 if test x
${glibcpp_cv_func__logl_use+set} != xset
; then
13304 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
13305 echo $ac_n "(cached) $ac_c" 1>&6
13310 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13311 ac_cpp
='$CXXCPP $CPPFLAGS'
13312 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13313 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13314 cross_compiling
=$ac_cv_prog_cxx_cross
13316 cat > conftest.
$ac_ext <<EOF
13317 #line 13318 "configure"
13318 #include "confdefs.h"
13320 #ifdef HAVE_IEEEFP_H
13321 #include <ieeefp.h>
13328 if { (eval echo configure
:13329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13330 glibcpp_cv_func__logl_use
=yes
13332 echo "configure: failed program was:" >&5
13333 cat conftest.
$ac_ext >&5
13335 glibcpp_cv_func__logl_use
=no
13339 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13340 ac_cpp
='$CPP $CPPFLAGS'
13341 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13342 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13343 cross_compiling
=$ac_cv_prog_cc_cross
13349 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
13351 if test x
$glibcpp_cv_func__logl_use = x
"yes"; then
13352 for ac_func
in _logl
13354 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13355 echo "configure:13356: checking for $ac_func" >&5
13356 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13357 echo $ac_n "(cached) $ac_c" 1>&6
13359 cat > conftest.
$ac_ext <<EOF
13360 #line 13361 "configure"
13361 #include "confdefs.h"
13362 /* System header to define __stub macros and hopefully few prototypes,
13363 which can conflict with char $ac_func(); below. */
13364 #include <assert.h>
13365 /* Override any gcc2 internal prototype to avoid an error. */
13366 /* We use char because int might match the return type of a gcc2
13367 builtin and then its argument prototype would still apply. */
13372 /* The GNU C library defines this for functions which it implements
13373 to always fail with ENOSYS. Some functions are actually named
13374 something starting with __ and the normal name is an alias. */
13375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13383 if { (eval echo configure
:13384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13385 eval "ac_cv_func_$ac_func=yes"
13387 echo "configure: failed program was:" >&5
13388 cat conftest.
$ac_ext >&5
13390 eval "ac_cv_func_$ac_func=no"
13395 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13396 echo "$ac_t""yes" 1>&6
13397 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13398 cat >> confdefs.h
<<EOF
13399 #define $ac_tr_func 1
13403 echo "$ac_t""no" 1>&6
13412 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
13413 echo "configure:13414: checking for log10l declaration" >&5
13414 if test x
${glibcpp_cv_func_log10l_use+set} != xset
; then
13415 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
13416 echo $ac_n "(cached) $ac_c" 1>&6
13421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13422 ac_cpp
='$CXXCPP $CPPFLAGS'
13423 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13424 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13425 cross_compiling
=$ac_cv_prog_cxx_cross
13427 cat > conftest.
$ac_ext <<EOF
13428 #line 13429 "configure"
13429 #include "confdefs.h"
13431 #ifdef HAVE_IEEEFP_H
13432 #include <ieeefp.h>
13439 if { (eval echo configure
:13440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13441 glibcpp_cv_func_log10l_use
=yes
13443 echo "configure: failed program was:" >&5
13444 cat conftest.
$ac_ext >&5
13446 glibcpp_cv_func_log10l_use
=no
13450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13451 ac_cpp
='$CPP $CPPFLAGS'
13452 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13453 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13454 cross_compiling
=$ac_cv_prog_cc_cross
13460 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
13462 if test x
$glibcpp_cv_func_log10l_use = x
"yes"; then
13463 for ac_func
in log10l
13465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13466 echo "configure:13467: checking for $ac_func" >&5
13467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13468 echo $ac_n "(cached) $ac_c" 1>&6
13470 cat > conftest.
$ac_ext <<EOF
13471 #line 13472 "configure"
13472 #include "confdefs.h"
13473 /* System header to define __stub macros and hopefully few prototypes,
13474 which can conflict with char $ac_func(); below. */
13475 #include <assert.h>
13476 /* Override any gcc2 internal prototype to avoid an error. */
13477 /* We use char because int might match the return type of a gcc2
13478 builtin and then its argument prototype would still apply. */
13483 /* The GNU C library defines this for functions which it implements
13484 to always fail with ENOSYS. Some functions are actually named
13485 something starting with __ and the normal name is an alias. */
13486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13494 if { (eval echo configure
:13495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13496 eval "ac_cv_func_$ac_func=yes"
13498 echo "configure: failed program was:" >&5
13499 cat conftest.
$ac_ext >&5
13501 eval "ac_cv_func_$ac_func=no"
13506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13507 echo "$ac_t""yes" 1>&6
13508 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13509 cat >> confdefs.h
<<EOF
13510 #define $ac_tr_func 1
13514 echo "$ac_t""no" 1>&6
13520 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
13521 echo "configure:13522: checking for _log10l declaration" >&5
13522 if test x
${glibcpp_cv_func__log10l_use+set} != xset
; then
13523 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
13524 echo $ac_n "(cached) $ac_c" 1>&6
13529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13530 ac_cpp
='$CXXCPP $CPPFLAGS'
13531 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13532 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13533 cross_compiling
=$ac_cv_prog_cxx_cross
13535 cat > conftest.
$ac_ext <<EOF
13536 #line 13537 "configure"
13537 #include "confdefs.h"
13539 #ifdef HAVE_IEEEFP_H
13540 #include <ieeefp.h>
13547 if { (eval echo configure
:13548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13549 glibcpp_cv_func__log10l_use
=yes
13551 echo "configure: failed program was:" >&5
13552 cat conftest.
$ac_ext >&5
13554 glibcpp_cv_func__log10l_use
=no
13558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13559 ac_cpp
='$CPP $CPPFLAGS'
13560 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13561 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13562 cross_compiling
=$ac_cv_prog_cc_cross
13568 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
13570 if test x
$glibcpp_cv_func__log10l_use = x
"yes"; then
13571 for ac_func
in _log10l
13573 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13574 echo "configure:13575: checking for $ac_func" >&5
13575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13576 echo $ac_n "(cached) $ac_c" 1>&6
13578 cat > conftest.
$ac_ext <<EOF
13579 #line 13580 "configure"
13580 #include "confdefs.h"
13581 /* System header to define __stub macros and hopefully few prototypes,
13582 which can conflict with char $ac_func(); below. */
13583 #include <assert.h>
13584 /* Override any gcc2 internal prototype to avoid an error. */
13585 /* We use char because int might match the return type of a gcc2
13586 builtin and then its argument prototype would still apply. */
13591 /* The GNU C library defines this for functions which it implements
13592 to always fail with ENOSYS. Some functions are actually named
13593 something starting with __ and the normal name is an alias. */
13594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13602 if { (eval echo configure
:13603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13604 eval "ac_cv_func_$ac_func=yes"
13606 echo "configure: failed program was:" >&5
13607 cat conftest.
$ac_ext >&5
13609 eval "ac_cv_func_$ac_func=no"
13614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13615 echo "$ac_t""yes" 1>&6
13616 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13617 cat >> confdefs.h
<<EOF
13618 #define $ac_tr_func 1
13622 echo "$ac_t""no" 1>&6
13631 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
13632 echo "configure:13633: checking for modfl declaration" >&5
13633 if test x
${glibcpp_cv_func_modfl_use+set} != xset
; then
13634 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
13635 echo $ac_n "(cached) $ac_c" 1>&6
13640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13641 ac_cpp
='$CXXCPP $CPPFLAGS'
13642 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13643 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13644 cross_compiling
=$ac_cv_prog_cxx_cross
13646 cat > conftest.
$ac_ext <<EOF
13647 #line 13648 "configure"
13648 #include "confdefs.h"
13654 if { (eval echo configure
:13655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13656 glibcpp_cv_func_modfl_use
=yes
13658 echo "configure: failed program was:" >&5
13659 cat conftest.
$ac_ext >&5
13661 glibcpp_cv_func_modfl_use
=no
13665 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13666 ac_cpp
='$CPP $CPPFLAGS'
13667 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13668 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13669 cross_compiling
=$ac_cv_prog_cc_cross
13675 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
13677 if test x
$glibcpp_cv_func_modfl_use = x
"yes"; then
13678 for ac_func
in modfl
13680 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13681 echo "configure:13682: checking for $ac_func" >&5
13682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13683 echo $ac_n "(cached) $ac_c" 1>&6
13685 cat > conftest.
$ac_ext <<EOF
13686 #line 13687 "configure"
13687 #include "confdefs.h"
13688 /* System header to define __stub macros and hopefully few prototypes,
13689 which can conflict with char $ac_func(); below. */
13690 #include <assert.h>
13691 /* Override any gcc2 internal prototype to avoid an error. */
13692 /* We use char because int might match the return type of a gcc2
13693 builtin and then its argument prototype would still apply. */
13698 /* The GNU C library defines this for functions which it implements
13699 to always fail with ENOSYS. Some functions are actually named
13700 something starting with __ and the normal name is an alias. */
13701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13709 if { (eval echo configure
:13710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13711 eval "ac_cv_func_$ac_func=yes"
13713 echo "configure: failed program was:" >&5
13714 cat conftest.
$ac_ext >&5
13716 eval "ac_cv_func_$ac_func=no"
13721 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13722 echo "$ac_t""yes" 1>&6
13723 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13724 cat >> confdefs.h
<<EOF
13725 #define $ac_tr_func 1
13729 echo "$ac_t""no" 1>&6
13735 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
13736 echo "configure:13737: checking for _modfl declaration" >&5
13737 if test x
${glibcpp_cv_func__modfl_use+set} != xset
; then
13738 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13739 echo $ac_n "(cached) $ac_c" 1>&6
13744 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13745 ac_cpp
='$CXXCPP $CPPFLAGS'
13746 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13747 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13748 cross_compiling
=$ac_cv_prog_cxx_cross
13750 cat > conftest.
$ac_ext <<EOF
13751 #line 13752 "configure"
13752 #include "confdefs.h"
13758 if { (eval echo configure
:13759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13760 glibcpp_cv_func__modfl_use
=yes
13762 echo "configure: failed program was:" >&5
13763 cat conftest.
$ac_ext >&5
13765 glibcpp_cv_func__modfl_use
=no
13769 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13770 ac_cpp
='$CPP $CPPFLAGS'
13771 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13772 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13773 cross_compiling
=$ac_cv_prog_cc_cross
13779 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13781 if test x
$glibcpp_cv_func__modfl_use = x
"yes"; then
13782 for ac_func
in _modfl
13784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13785 echo "configure:13786: checking for $ac_func" >&5
13786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13787 echo $ac_n "(cached) $ac_c" 1>&6
13789 cat > conftest.
$ac_ext <<EOF
13790 #line 13791 "configure"
13791 #include "confdefs.h"
13792 /* System header to define __stub macros and hopefully few prototypes,
13793 which can conflict with char $ac_func(); below. */
13794 #include <assert.h>
13795 /* Override any gcc2 internal prototype to avoid an error. */
13796 /* We use char because int might match the return type of a gcc2
13797 builtin and then its argument prototype would still apply. */
13802 /* The GNU C library defines this for functions which it implements
13803 to always fail with ENOSYS. Some functions are actually named
13804 something starting with __ and the normal name is an alias. */
13805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13813 if { (eval echo configure
:13814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13815 eval "ac_cv_func_$ac_func=yes"
13817 echo "configure: failed program was:" >&5
13818 cat conftest.
$ac_ext >&5
13820 eval "ac_cv_func_$ac_func=no"
13825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13826 echo "$ac_t""yes" 1>&6
13827 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13828 cat >> confdefs.h
<<EOF
13829 #define $ac_tr_func 1
13833 echo "$ac_t""no" 1>&6
13842 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
13843 echo "configure:13844: checking for powl declaration" >&5
13844 if test x
${glibcpp_cv_func_powl_use+set} != xset
; then
13845 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
13846 echo $ac_n "(cached) $ac_c" 1>&6
13851 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13852 ac_cpp
='$CXXCPP $CPPFLAGS'
13853 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13854 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13855 cross_compiling
=$ac_cv_prog_cxx_cross
13857 cat > conftest.
$ac_ext <<EOF
13858 #line 13859 "configure"
13859 #include "confdefs.h"
13865 if { (eval echo configure
:13866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13867 glibcpp_cv_func_powl_use
=yes
13869 echo "configure: failed program was:" >&5
13870 cat conftest.
$ac_ext >&5
13872 glibcpp_cv_func_powl_use
=no
13876 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13877 ac_cpp
='$CPP $CPPFLAGS'
13878 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13879 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13880 cross_compiling
=$ac_cv_prog_cc_cross
13886 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
13888 if test x
$glibcpp_cv_func_powl_use = x
"yes"; then
13889 for ac_func
in powl
13891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13892 echo "configure:13893: checking for $ac_func" >&5
13893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13894 echo $ac_n "(cached) $ac_c" 1>&6
13896 cat > conftest.
$ac_ext <<EOF
13897 #line 13898 "configure"
13898 #include "confdefs.h"
13899 /* System header to define __stub macros and hopefully few prototypes,
13900 which can conflict with char $ac_func(); below. */
13901 #include <assert.h>
13902 /* Override any gcc2 internal prototype to avoid an error. */
13903 /* We use char because int might match the return type of a gcc2
13904 builtin and then its argument prototype would still apply. */
13909 /* The GNU C library defines this for functions which it implements
13910 to always fail with ENOSYS. Some functions are actually named
13911 something starting with __ and the normal name is an alias. */
13912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13920 if { (eval echo configure
:13921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13922 eval "ac_cv_func_$ac_func=yes"
13924 echo "configure: failed program was:" >&5
13925 cat conftest.
$ac_ext >&5
13927 eval "ac_cv_func_$ac_func=no"
13932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13933 echo "$ac_t""yes" 1>&6
13934 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13935 cat >> confdefs.h
<<EOF
13936 #define $ac_tr_func 1
13940 echo "$ac_t""no" 1>&6
13946 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
13947 echo "configure:13948: checking for _powl declaration" >&5
13948 if test x
${glibcpp_cv_func__powl_use+set} != xset
; then
13949 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
13950 echo $ac_n "(cached) $ac_c" 1>&6
13955 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13956 ac_cpp
='$CXXCPP $CPPFLAGS'
13957 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13958 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13959 cross_compiling
=$ac_cv_prog_cxx_cross
13961 cat > conftest.
$ac_ext <<EOF
13962 #line 13963 "configure"
13963 #include "confdefs.h"
13969 if { (eval echo configure
:13970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13971 glibcpp_cv_func__powl_use
=yes
13973 echo "configure: failed program was:" >&5
13974 cat conftest.
$ac_ext >&5
13976 glibcpp_cv_func__powl_use
=no
13980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13981 ac_cpp
='$CPP $CPPFLAGS'
13982 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13983 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13984 cross_compiling
=$ac_cv_prog_cc_cross
13990 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
13992 if test x
$glibcpp_cv_func__powl_use = x
"yes"; then
13993 for ac_func
in _powl
13995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13996 echo "configure:13997: checking for $ac_func" >&5
13997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13998 echo $ac_n "(cached) $ac_c" 1>&6
14000 cat > conftest.
$ac_ext <<EOF
14001 #line 14002 "configure"
14002 #include "confdefs.h"
14003 /* System header to define __stub macros and hopefully few prototypes,
14004 which can conflict with char $ac_func(); below. */
14005 #include <assert.h>
14006 /* Override any gcc2 internal prototype to avoid an error. */
14007 /* We use char because int might match the return type of a gcc2
14008 builtin and then its argument prototype would still apply. */
14013 /* The GNU C library defines this for functions which it implements
14014 to always fail with ENOSYS. Some functions are actually named
14015 something starting with __ and the normal name is an alias. */
14016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14024 if { (eval echo configure
:14025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14026 eval "ac_cv_func_$ac_func=yes"
14028 echo "configure: failed program was:" >&5
14029 cat conftest.
$ac_ext >&5
14031 eval "ac_cv_func_$ac_func=no"
14036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14037 echo "$ac_t""yes" 1>&6
14038 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14039 cat >> confdefs.h
<<EOF
14040 #define $ac_tr_func 1
14044 echo "$ac_t""no" 1>&6
14053 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
14054 echo "configure:14055: checking for sqrtl declaration" >&5
14055 if test x
${glibcpp_cv_func_sqrtl_use+set} != xset
; then
14056 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
14057 echo $ac_n "(cached) $ac_c" 1>&6
14062 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14063 ac_cpp
='$CXXCPP $CPPFLAGS'
14064 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14065 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14066 cross_compiling
=$ac_cv_prog_cxx_cross
14068 cat > conftest.
$ac_ext <<EOF
14069 #line 14070 "configure"
14070 #include "confdefs.h"
14072 #ifdef HAVE_IEEEFP_H
14073 #include <ieeefp.h>
14080 if { (eval echo configure
:14081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14082 glibcpp_cv_func_sqrtl_use
=yes
14084 echo "configure: failed program was:" >&5
14085 cat conftest.
$ac_ext >&5
14087 glibcpp_cv_func_sqrtl_use
=no
14091 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14092 ac_cpp
='$CPP $CPPFLAGS'
14093 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14094 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14095 cross_compiling
=$ac_cv_prog_cc_cross
14101 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
14103 if test x
$glibcpp_cv_func_sqrtl_use = x
"yes"; then
14104 for ac_func
in sqrtl
14106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14107 echo "configure:14108: checking for $ac_func" >&5
14108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14109 echo $ac_n "(cached) $ac_c" 1>&6
14111 cat > conftest.
$ac_ext <<EOF
14112 #line 14113 "configure"
14113 #include "confdefs.h"
14114 /* System header to define __stub macros and hopefully few prototypes,
14115 which can conflict with char $ac_func(); below. */
14116 #include <assert.h>
14117 /* Override any gcc2 internal prototype to avoid an error. */
14118 /* We use char because int might match the return type of a gcc2
14119 builtin and then its argument prototype would still apply. */
14124 /* The GNU C library defines this for functions which it implements
14125 to always fail with ENOSYS. Some functions are actually named
14126 something starting with __ and the normal name is an alias. */
14127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14135 if { (eval echo configure
:14136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14137 eval "ac_cv_func_$ac_func=yes"
14139 echo "configure: failed program was:" >&5
14140 cat conftest.
$ac_ext >&5
14142 eval "ac_cv_func_$ac_func=no"
14147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14148 echo "$ac_t""yes" 1>&6
14149 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14150 cat >> confdefs.h
<<EOF
14151 #define $ac_tr_func 1
14155 echo "$ac_t""no" 1>&6
14161 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
14162 echo "configure:14163: checking for _sqrtl declaration" >&5
14163 if test x
${glibcpp_cv_func__sqrtl_use+set} != xset
; then
14164 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
14165 echo $ac_n "(cached) $ac_c" 1>&6
14170 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14171 ac_cpp
='$CXXCPP $CPPFLAGS'
14172 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14173 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14174 cross_compiling
=$ac_cv_prog_cxx_cross
14176 cat > conftest.
$ac_ext <<EOF
14177 #line 14178 "configure"
14178 #include "confdefs.h"
14180 #ifdef HAVE_IEEEFP_H
14181 #include <ieeefp.h>
14188 if { (eval echo configure
:14189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14190 glibcpp_cv_func__sqrtl_use
=yes
14192 echo "configure: failed program was:" >&5
14193 cat conftest.
$ac_ext >&5
14195 glibcpp_cv_func__sqrtl_use
=no
14199 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14200 ac_cpp
='$CPP $CPPFLAGS'
14201 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14202 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14203 cross_compiling
=$ac_cv_prog_cc_cross
14209 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
14211 if test x
$glibcpp_cv_func__sqrtl_use = x
"yes"; then
14212 for ac_func
in _sqrtl
14214 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14215 echo "configure:14216: checking for $ac_func" >&5
14216 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14217 echo $ac_n "(cached) $ac_c" 1>&6
14219 cat > conftest.
$ac_ext <<EOF
14220 #line 14221 "configure"
14221 #include "confdefs.h"
14222 /* System header to define __stub macros and hopefully few prototypes,
14223 which can conflict with char $ac_func(); below. */
14224 #include <assert.h>
14225 /* Override any gcc2 internal prototype to avoid an error. */
14226 /* We use char because int might match the return type of a gcc2
14227 builtin and then its argument prototype would still apply. */
14232 /* The GNU C library defines this for functions which it implements
14233 to always fail with ENOSYS. Some functions are actually named
14234 something starting with __ and the normal name is an alias. */
14235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14243 if { (eval echo configure
:14244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14245 eval "ac_cv_func_$ac_func=yes"
14247 echo "configure: failed program was:" >&5
14248 cat conftest.
$ac_ext >&5
14250 eval "ac_cv_func_$ac_func=no"
14255 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14256 echo "$ac_t""yes" 1>&6
14257 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14258 cat >> confdefs.h
<<EOF
14259 #define $ac_tr_func 1
14263 echo "$ac_t""no" 1>&6
14272 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
14273 echo "configure:14274: checking for sincosl declaration" >&5
14274 if test x
${glibcpp_cv_func_sincosl_use+set} != xset
; then
14275 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
14276 echo $ac_n "(cached) $ac_c" 1>&6
14281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14282 ac_cpp
='$CXXCPP $CPPFLAGS'
14283 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14284 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14285 cross_compiling
=$ac_cv_prog_cxx_cross
14287 cat > conftest.
$ac_ext <<EOF
14288 #line 14289 "configure"
14289 #include "confdefs.h"
14295 if { (eval echo configure
:14296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14297 glibcpp_cv_func_sincosl_use
=yes
14299 echo "configure: failed program was:" >&5
14300 cat conftest.
$ac_ext >&5
14302 glibcpp_cv_func_sincosl_use
=no
14306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14307 ac_cpp
='$CPP $CPPFLAGS'
14308 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14309 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14310 cross_compiling
=$ac_cv_prog_cc_cross
14316 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
14318 if test x
$glibcpp_cv_func_sincosl_use = x
"yes"; then
14319 for ac_func
in sincosl
14321 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14322 echo "configure:14323: checking for $ac_func" >&5
14323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14324 echo $ac_n "(cached) $ac_c" 1>&6
14326 cat > conftest.
$ac_ext <<EOF
14327 #line 14328 "configure"
14328 #include "confdefs.h"
14329 /* System header to define __stub macros and hopefully few prototypes,
14330 which can conflict with char $ac_func(); below. */
14331 #include <assert.h>
14332 /* Override any gcc2 internal prototype to avoid an error. */
14333 /* We use char because int might match the return type of a gcc2
14334 builtin and then its argument prototype would still apply. */
14339 /* The GNU C library defines this for functions which it implements
14340 to always fail with ENOSYS. Some functions are actually named
14341 something starting with __ and the normal name is an alias. */
14342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14350 if { (eval echo configure
:14351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14352 eval "ac_cv_func_$ac_func=yes"
14354 echo "configure: failed program was:" >&5
14355 cat conftest.
$ac_ext >&5
14357 eval "ac_cv_func_$ac_func=no"
14362 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14363 echo "$ac_t""yes" 1>&6
14364 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14365 cat >> confdefs.h
<<EOF
14366 #define $ac_tr_func 1
14370 echo "$ac_t""no" 1>&6
14376 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
14377 echo "configure:14378: checking for _sincosl declaration" >&5
14378 if test x
${glibcpp_cv_func__sincosl_use+set} != xset
; then
14379 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
14380 echo $ac_n "(cached) $ac_c" 1>&6
14385 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14386 ac_cpp
='$CXXCPP $CPPFLAGS'
14387 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14388 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14389 cross_compiling
=$ac_cv_prog_cxx_cross
14391 cat > conftest.
$ac_ext <<EOF
14392 #line 14393 "configure"
14393 #include "confdefs.h"
14399 if { (eval echo configure
:14400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14401 glibcpp_cv_func__sincosl_use
=yes
14403 echo "configure: failed program was:" >&5
14404 cat conftest.
$ac_ext >&5
14406 glibcpp_cv_func__sincosl_use
=no
14410 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14411 ac_cpp
='$CPP $CPPFLAGS'
14412 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14413 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14414 cross_compiling
=$ac_cv_prog_cc_cross
14420 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
14422 if test x
$glibcpp_cv_func__sincosl_use = x
"yes"; then
14423 for ac_func
in _sincosl
14425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14426 echo "configure:14427: checking for $ac_func" >&5
14427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14428 echo $ac_n "(cached) $ac_c" 1>&6
14430 cat > conftest.
$ac_ext <<EOF
14431 #line 14432 "configure"
14432 #include "confdefs.h"
14433 /* System header to define __stub macros and hopefully few prototypes,
14434 which can conflict with char $ac_func(); below. */
14435 #include <assert.h>
14436 /* Override any gcc2 internal prototype to avoid an error. */
14437 /* We use char because int might match the return type of a gcc2
14438 builtin and then its argument prototype would still apply. */
14443 /* The GNU C library defines this for functions which it implements
14444 to always fail with ENOSYS. Some functions are actually named
14445 something starting with __ and the normal name is an alias. */
14446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14454 if { (eval echo configure
:14455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14456 eval "ac_cv_func_$ac_func=yes"
14458 echo "configure: failed program was:" >&5
14459 cat conftest.
$ac_ext >&5
14461 eval "ac_cv_func_$ac_func=no"
14466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14467 echo "$ac_t""yes" 1>&6
14468 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14469 cat >> confdefs.h
<<EOF
14470 #define $ac_tr_func 1
14474 echo "$ac_t""no" 1>&6
14483 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
14484 echo "configure:14485: checking for finitel declaration" >&5
14485 if test x
${glibcpp_cv_func_finitel_use+set} != xset
; then
14486 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
14487 echo $ac_n "(cached) $ac_c" 1>&6
14492 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14493 ac_cpp
='$CXXCPP $CPPFLAGS'
14494 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14495 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14496 cross_compiling
=$ac_cv_prog_cxx_cross
14498 cat > conftest.
$ac_ext <<EOF
14499 #line 14500 "configure"
14500 #include "confdefs.h"
14502 #ifdef HAVE_IEEEFP_H
14503 #include <ieeefp.h>
14510 if { (eval echo configure
:14511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14512 glibcpp_cv_func_finitel_use
=yes
14514 echo "configure: failed program was:" >&5
14515 cat conftest.
$ac_ext >&5
14517 glibcpp_cv_func_finitel_use
=no
14521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14522 ac_cpp
='$CPP $CPPFLAGS'
14523 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14524 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14525 cross_compiling
=$ac_cv_prog_cc_cross
14531 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
14533 if test x
$glibcpp_cv_func_finitel_use = x
"yes"; then
14534 for ac_func
in finitel
14536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14537 echo "configure:14538: checking for $ac_func" >&5
14538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14539 echo $ac_n "(cached) $ac_c" 1>&6
14541 cat > conftest.
$ac_ext <<EOF
14542 #line 14543 "configure"
14543 #include "confdefs.h"
14544 /* System header to define __stub macros and hopefully few prototypes,
14545 which can conflict with char $ac_func(); below. */
14546 #include <assert.h>
14547 /* Override any gcc2 internal prototype to avoid an error. */
14548 /* We use char because int might match the return type of a gcc2
14549 builtin and then its argument prototype would still apply. */
14554 /* The GNU C library defines this for functions which it implements
14555 to always fail with ENOSYS. Some functions are actually named
14556 something starting with __ and the normal name is an alias. */
14557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14565 if { (eval echo configure
:14566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14567 eval "ac_cv_func_$ac_func=yes"
14569 echo "configure: failed program was:" >&5
14570 cat conftest.
$ac_ext >&5
14572 eval "ac_cv_func_$ac_func=no"
14577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14578 echo "$ac_t""yes" 1>&6
14579 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14580 cat >> confdefs.h
<<EOF
14581 #define $ac_tr_func 1
14585 echo "$ac_t""no" 1>&6
14591 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
14592 echo "configure:14593: checking for _finitel declaration" >&5
14593 if test x
${glibcpp_cv_func__finitel_use+set} != xset
; then
14594 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
14595 echo $ac_n "(cached) $ac_c" 1>&6
14600 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14601 ac_cpp
='$CXXCPP $CPPFLAGS'
14602 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14603 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14604 cross_compiling
=$ac_cv_prog_cxx_cross
14606 cat > conftest.
$ac_ext <<EOF
14607 #line 14608 "configure"
14608 #include "confdefs.h"
14610 #ifdef HAVE_IEEEFP_H
14611 #include <ieeefp.h>
14618 if { (eval echo configure
:14619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14620 glibcpp_cv_func__finitel_use
=yes
14622 echo "configure: failed program was:" >&5
14623 cat conftest.
$ac_ext >&5
14625 glibcpp_cv_func__finitel_use
=no
14629 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14630 ac_cpp
='$CPP $CPPFLAGS'
14631 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14632 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14633 cross_compiling
=$ac_cv_prog_cc_cross
14639 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14641 if test x
$glibcpp_cv_func__finitel_use = x
"yes"; then
14642 for ac_func
in _finitel
14644 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14645 echo "configure:14646: checking for $ac_func" >&5
14646 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14647 echo $ac_n "(cached) $ac_c" 1>&6
14649 cat > conftest.
$ac_ext <<EOF
14650 #line 14651 "configure"
14651 #include "confdefs.h"
14652 /* System header to define __stub macros and hopefully few prototypes,
14653 which can conflict with char $ac_func(); below. */
14654 #include <assert.h>
14655 /* Override any gcc2 internal prototype to avoid an error. */
14656 /* We use char because int might match the return type of a gcc2
14657 builtin and then its argument prototype would still apply. */
14662 /* The GNU C library defines this for functions which it implements
14663 to always fail with ENOSYS. Some functions are actually named
14664 something starting with __ and the normal name is an alias. */
14665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14673 if { (eval echo configure
:14674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14675 eval "ac_cv_func_$ac_func=yes"
14677 echo "configure: failed program was:" >&5
14678 cat conftest.
$ac_ext >&5
14680 eval "ac_cv_func_$ac_func=no"
14685 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14686 echo "$ac_t""yes" 1>&6
14687 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14688 cat >> confdefs.h
<<EOF
14689 #define $ac_tr_func 1
14693 echo "$ac_t""no" 1>&6
14703 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
14704 echo "configure:14705: checking for _float trig functions" >&5
14705 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
14706 echo $ac_n "(cached) $ac_c" 1>&6
14711 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14712 ac_cpp
='$CXXCPP $CPPFLAGS'
14713 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14714 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14715 cross_compiling
=$ac_cv_prog_cxx_cross
14717 cat > conftest.
$ac_ext <<EOF
14718 #line 14719 "configure"
14719 #include "confdefs.h"
14722 `for x in _acosf _asinf _atanf \
14723 _cosf _sinf _tanf \
14724 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
14727 if { (eval echo configure
:14728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14729 glibcpp_cv_func__float_trig_use
=yes
14731 echo "configure: failed program was:" >&5
14732 cat conftest.
$ac_ext >&5
14734 glibcpp_cv_func__float_trig_use
=no
14738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14739 ac_cpp
='$CPP $CPPFLAGS'
14740 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14741 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14742 cross_compiling
=$ac_cv_prog_cc_cross
14746 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
14747 if test x
$glibcpp_cv_func__float_trig_use = x
"yes"; then
14748 for ac_func
in _acosf _asinf _atanf \
14749 _cosf _sinf _tanf \
14750 _coshf _sinhf _tanhf
14752 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14753 echo "configure:14754: checking for $ac_func" >&5
14754 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14755 echo $ac_n "(cached) $ac_c" 1>&6
14757 cat > conftest.
$ac_ext <<EOF
14758 #line 14759 "configure"
14759 #include "confdefs.h"
14760 /* System header to define __stub macros and hopefully few prototypes,
14761 which can conflict with char $ac_func(); below. */
14762 #include <assert.h>
14763 /* Override any gcc2 internal prototype to avoid an error. */
14764 /* We use char because int might match the return type of a gcc2
14765 builtin and then its argument prototype would still apply. */
14770 /* The GNU C library defines this for functions which it implements
14771 to always fail with ENOSYS. Some functions are actually named
14772 something starting with __ and the normal name is an alias. */
14773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14781 if { (eval echo configure
:14782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14783 eval "ac_cv_func_$ac_func=yes"
14785 echo "configure: failed program was:" >&5
14786 cat conftest.
$ac_ext >&5
14788 eval "ac_cv_func_$ac_func=no"
14793 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14794 echo "$ac_t""yes" 1>&6
14795 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14796 cat >> confdefs.h
<<EOF
14797 #define $ac_tr_func 1
14801 echo "$ac_t""no" 1>&6
14808 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
14809 echo "configure:14810: checking for _float round functions" >&5
14810 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
14811 echo $ac_n "(cached) $ac_c" 1>&6
14816 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14817 ac_cpp
='$CXXCPP $CPPFLAGS'
14818 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14819 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14820 cross_compiling
=$ac_cv_prog_cxx_cross
14822 cat > conftest.
$ac_ext <<EOF
14823 #line 14824 "configure"
14824 #include "confdefs.h"
14827 `for x in _ceilf _floorf; do echo "$x (0);"; done`
14830 if { (eval echo configure
:14831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14832 glibcpp_cv_func__float_round_use
=yes
14834 echo "configure: failed program was:" >&5
14835 cat conftest.
$ac_ext >&5
14837 glibcpp_cv_func__float_round_use
=no
14841 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14842 ac_cpp
='$CPP $CPPFLAGS'
14843 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14844 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14845 cross_compiling
=$ac_cv_prog_cc_cross
14849 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
14850 if test x
$glibcpp_cv_func__float_round_use = x
"yes"; then
14851 for ac_func
in _ceilf _floorf
14853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14854 echo "configure:14855: checking for $ac_func" >&5
14855 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14856 echo $ac_n "(cached) $ac_c" 1>&6
14858 cat > conftest.
$ac_ext <<EOF
14859 #line 14860 "configure"
14860 #include "confdefs.h"
14861 /* System header to define __stub macros and hopefully few prototypes,
14862 which can conflict with char $ac_func(); below. */
14863 #include <assert.h>
14864 /* Override any gcc2 internal prototype to avoid an error. */
14865 /* We use char because int might match the return type of a gcc2
14866 builtin and then its argument prototype would still apply. */
14871 /* The GNU C library defines this for functions which it implements
14872 to always fail with ENOSYS. Some functions are actually named
14873 something starting with __ and the normal name is an alias. */
14874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14882 if { (eval echo configure
:14883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14884 eval "ac_cv_func_$ac_func=yes"
14886 echo "configure: failed program was:" >&5
14887 cat conftest.
$ac_ext >&5
14889 eval "ac_cv_func_$ac_func=no"
14894 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14895 echo "$ac_t""yes" 1>&6
14896 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14897 cat >> confdefs.h
<<EOF
14898 #define $ac_tr_func 1
14902 echo "$ac_t""no" 1>&6
14910 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
14911 echo "configure:14912: checking for _long double trig functions" >&5
14912 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
14913 echo $ac_n "(cached) $ac_c" 1>&6
14918 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14919 ac_cpp
='$CXXCPP $CPPFLAGS'
14920 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14921 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14922 cross_compiling
=$ac_cv_prog_cxx_cross
14924 cat > conftest.
$ac_ext <<EOF
14925 #line 14926 "configure"
14926 #include "confdefs.h"
14929 `for x in _acosl _asinl _atanl \
14930 _cosl _sinl _tanl \
14931 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
14934 if { (eval echo configure
:14935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14936 glibcpp_cv_func__long_double_trig_use
=yes
14938 echo "configure: failed program was:" >&5
14939 cat conftest.
$ac_ext >&5
14941 glibcpp_cv_func__long_double_trig_use
=no
14945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14946 ac_cpp
='$CPP $CPPFLAGS'
14947 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14948 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14949 cross_compiling
=$ac_cv_prog_cc_cross
14953 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
14954 if test x
$glibcpp_cv_func__long_double_trig_use = x
"yes"; then
14955 for ac_func
in _acosl _asinl _atanl \
14956 _cosl _sinl _tanl \
14957 _coshl _sinhl _tanhl
14959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14960 echo "configure:14961: checking for $ac_func" >&5
14961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14962 echo $ac_n "(cached) $ac_c" 1>&6
14964 cat > conftest.
$ac_ext <<EOF
14965 #line 14966 "configure"
14966 #include "confdefs.h"
14967 /* System header to define __stub macros and hopefully few prototypes,
14968 which can conflict with char $ac_func(); below. */
14969 #include <assert.h>
14970 /* Override any gcc2 internal prototype to avoid an error. */
14971 /* We use char because int might match the return type of a gcc2
14972 builtin and then its argument prototype would still apply. */
14977 /* The GNU C library defines this for functions which it implements
14978 to always fail with ENOSYS. Some functions are actually named
14979 something starting with __ and the normal name is an alias. */
14980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14988 if { (eval echo configure
:14989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14990 eval "ac_cv_func_$ac_func=yes"
14992 echo "configure: failed program was:" >&5
14993 cat conftest.
$ac_ext >&5
14995 eval "ac_cv_func_$ac_func=no"
15000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15001 echo "$ac_t""yes" 1>&6
15002 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15003 cat >> confdefs.h
<<EOF
15004 #define $ac_tr_func 1
15008 echo "$ac_t""no" 1>&6
15015 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
15016 echo "configure:15017: checking for _long double round functions" >&5
15017 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
15018 echo $ac_n "(cached) $ac_c" 1>&6
15023 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15024 ac_cpp
='$CXXCPP $CPPFLAGS'
15025 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15026 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15027 cross_compiling
=$ac_cv_prog_cxx_cross
15029 cat > conftest.
$ac_ext <<EOF
15030 #line 15031 "configure"
15031 #include "confdefs.h"
15034 `for x in _ceill _floorl; do echo "$x (0);"; done`
15037 if { (eval echo configure
:15038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15039 glibcpp_cv_func__long_double_round_use
=yes
15041 echo "configure: failed program was:" >&5
15042 cat conftest.
$ac_ext >&5
15044 glibcpp_cv_func__long_double_round_use
=no
15048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15049 ac_cpp
='$CPP $CPPFLAGS'
15050 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15051 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15052 cross_compiling
=$ac_cv_prog_cc_cross
15056 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
15057 if test x
$glibcpp_cv_func__long_double_round_use = x
"yes"; then
15058 for ac_func
in _ceill _floorl
15060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15061 echo "configure:15062: checking for $ac_func" >&5
15062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15063 echo $ac_n "(cached) $ac_c" 1>&6
15065 cat > conftest.
$ac_ext <<EOF
15066 #line 15067 "configure"
15067 #include "confdefs.h"
15068 /* System header to define __stub macros and hopefully few prototypes,
15069 which can conflict with char $ac_func(); below. */
15070 #include <assert.h>
15071 /* Override any gcc2 internal prototype to avoid an error. */
15072 /* We use char because int might match the return type of a gcc2
15073 builtin and then its argument prototype would still apply. */
15078 /* The GNU C library defines this for functions which it implements
15079 to always fail with ENOSYS. Some functions are actually named
15080 something starting with __ and the normal name is an alias. */
15081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15089 if { (eval echo configure
:15090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15091 eval "ac_cv_func_$ac_func=yes"
15093 echo "configure: failed program was:" >&5
15094 cat conftest.
$ac_ext >&5
15096 eval "ac_cv_func_$ac_func=no"
15101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15102 echo "$ac_t""yes" 1>&6
15103 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15104 cat >> confdefs.h
<<EOF
15105 #define $ac_tr_func 1
15109 echo "$ac_t""no" 1>&6
15116 LIBS
="$ac_save_LIBS"
15117 CXXFLAGS
="$ac_save_CXXFLAGS"
15120 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
15121 echo "configure:15122: checking for main in -lm" >&5
15122 ac_lib_var
=`echo m'_'main | sed 'y%./+-%__p_%'`
15123 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15124 echo $ac_n "(cached) $ac_c" 1>&6
15126 ac_save_LIBS
="$LIBS"
15128 cat > conftest.
$ac_ext <<EOF
15129 #line 15130 "configure"
15130 #include "confdefs.h"
15136 if { (eval echo configure
:15137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15138 eval "ac_cv_lib_$ac_lib_var=yes"
15140 echo "configure: failed program was:" >&5
15141 cat conftest.
$ac_ext >&5
15143 eval "ac_cv_lib_$ac_lib_var=no"
15146 LIBS
="$ac_save_LIBS"
15149 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15150 echo "$ac_t""yes" 1>&6
15151 ac_tr_lib
=HAVE_LIB
`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
15152 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
15153 cat >> confdefs.h
<<EOF
15154 #define $ac_tr_lib 1
15160 echo "$ac_t""no" 1>&6
15163 for ac_func
in nan hypot hypotf atan2f expf copysignf
15165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15166 echo "configure:15167: checking for $ac_func" >&5
15167 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15168 echo $ac_n "(cached) $ac_c" 1>&6
15170 cat > conftest.
$ac_ext <<EOF
15171 #line 15172 "configure"
15172 #include "confdefs.h"
15173 /* System header to define __stub macros and hopefully few prototypes,
15174 which can conflict with char $ac_func(); below. */
15175 #include <assert.h>
15176 /* Override any gcc2 internal prototype to avoid an error. */
15177 /* We use char because int might match the return type of a gcc2
15178 builtin and then its argument prototype would still apply. */
15183 /* The GNU C library defines this for functions which it implements
15184 to always fail with ENOSYS. Some functions are actually named
15185 something starting with __ and the normal name is an alias. */
15186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15194 if { (eval echo configure
:15195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15196 eval "ac_cv_func_$ac_func=yes"
15198 echo "configure: failed program was:" >&5
15199 cat conftest.
$ac_ext >&5
15201 eval "ac_cv_func_$ac_func=no"
15206 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15207 echo "$ac_t""yes" 1>&6
15208 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15209 cat >> confdefs.h
<<EOF
15210 #define $ac_tr_func 1
15214 echo "$ac_t""no" 1>&6
15215 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
15221 USE_COMPLEX_LONG_DOUBLE
=no
15222 if test x
$ac_cv_func_atan2l = x
"yes" \
15223 && test x
$ac_cv_func_copysignl = x
"yes"; then
15224 USE_COMPLEX_LONG_DOUBLE
=yes
15225 for ac_func
in hypotl signbitl
15227 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15228 echo "configure:15229: checking for $ac_func" >&5
15229 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15230 echo $ac_n "(cached) $ac_c" 1>&6
15232 cat > conftest.
$ac_ext <<EOF
15233 #line 15234 "configure"
15234 #include "confdefs.h"
15235 /* System header to define __stub macros and hopefully few prototypes,
15236 which can conflict with char $ac_func(); below. */
15237 #include <assert.h>
15238 /* Override any gcc2 internal prototype to avoid an error. */
15239 /* We use char because int might match the return type of a gcc2
15240 builtin and then its argument prototype would still apply. */
15245 /* The GNU C library defines this for functions which it implements
15246 to always fail with ENOSYS. Some functions are actually named
15247 something starting with __ and the normal name is an alias. */
15248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15256 if { (eval echo configure
:15257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15258 eval "ac_cv_func_$ac_func=yes"
15260 echo "configure: failed program was:" >&5
15261 cat conftest.
$ac_ext >&5
15263 eval "ac_cv_func_$ac_func=no"
15268 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15269 echo "$ac_t""yes" 1>&6
15270 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15271 cat >> confdefs.h
<<EOF
15272 #define $ac_tr_func 1
15276 echo "$ac_t""no" 1>&6
15277 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
15289 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
15290 echo "configure:15291: checking for GNU C++ __complex__ support" >&5
15291 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
15292 echo $ac_n "(cached) $ac_c" 1>&6
15297 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15298 ac_cpp
='$CXXCPP $CPPFLAGS'
15299 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15300 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15301 cross_compiling
=$ac_cv_prog_cxx_cross
15303 cat > conftest.
$ac_ext <<EOF
15304 #line 15305 "configure"
15305 #include "confdefs.h"
15306 struct dcomplex { __complex__ double x; }; \
15307 dcomplex f(const dcomplex& x) { return dcomplex(x); }
15313 if { (eval echo configure
:15314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15315 glibcpp_cv_complex
=ok
15317 echo "configure: failed program was:" >&5
15318 cat conftest.
$ac_ext >&5
15320 glibcpp_cv_complex
=buggy
15325 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15326 ac_cpp
='$CPP $CPPFLAGS'
15327 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15328 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15329 cross_compiling
=$ac_cv_prog_cc_cross
15334 echo "$ac_t""$glibcpp_cv_complex" 1>&6
15335 if test $glibcpp_cv_complex = buggy
; then
15336 cat >> confdefs.h
<<\EOF
15337 #define _GLIBCPP_BUGGY_COMPLEX 1
15342 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
15343 echo "configure:15344: checking for GNU C++ __complex__ float support" >&5
15344 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
15345 echo $ac_n "(cached) $ac_c" 1>&6
15350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15351 ac_cpp
='$CXXCPP $CPPFLAGS'
15352 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15353 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15354 cross_compiling
=$ac_cv_prog_cxx_cross
15357 cat > conftest.h
<<EOB
15359 // Check for buggy __complex__ that causes ICE in most versions of egcs
15360 // and gcc-2.95.x on certain platforms (eg., x86-win32).
15362 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
15363 // more info on the bug itself.
15368 __complex__ float m_value;
15369 float_complex (float = 0.0f, float = 0.0f);
15370 float_complex (__complex__ float val) : m_value (val) {}
15371 float_complex foo (const float_complex &val)
15372 { return float_complex (~val.m_value); }
15375 cat > conftest.
$ac_ext <<EOF
15376 #line 15377 "configure"
15377 #include "confdefs.h"
15378 #include "conftest.h"
15383 if { (eval echo configure
:15384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15385 glibcpp_cv_float_complex
=ok
15387 echo "configure: failed program was:" >&5
15388 cat conftest.
$ac_ext >&5
15390 glibcpp_cv_float_complex
=buggy
15395 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15396 ac_cpp
='$CPP $CPPFLAGS'
15397 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15398 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15399 cross_compiling
=$ac_cv_prog_cc_cross
15404 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
15405 if test $glibcpp_cv_float_complex = buggy
; then
15406 cat >> confdefs.h
<<\EOF
15407 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
15414 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
15415 echo "configure:15416: checking for mbstate_t" >&5
15416 cat > conftest.
$ac_ext <<EOF
15417 #line 15418 "configure"
15418 #include "confdefs.h"
15421 mbstate_t teststate;
15424 if { (eval echo configure
:15425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15428 echo "configure: failed program was:" >&5
15429 cat conftest.
$ac_ext >&5
15434 echo "$ac_t""$have_mbstate_t" 1>&6
15435 if test x
"$have_mbstate_t" = xyes
; then
15436 cat >> confdefs.h
<<\EOF
15437 #define HAVE_MBSTATE_T 1
15442 for ac_hdr
in wchar.h
15444 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15445 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15446 echo "configure:15447: checking for $ac_hdr" >&5
15447 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15448 echo $ac_n "(cached) $ac_c" 1>&6
15450 cat > conftest.
$ac_ext <<EOF
15451 #line 15452 "configure"
15452 #include "confdefs.h"
15455 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15456 { (eval echo configure
:15457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15457 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15458 if test -z "$ac_err"; then
15460 eval "ac_cv_header_$ac_safe=yes"
15463 echo "configure: failed program was:" >&5
15464 cat conftest.
$ac_ext >&5
15466 eval "ac_cv_header_$ac_safe=no"
15470 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15471 echo "$ac_t""yes" 1>&6
15472 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15473 cat >> confdefs.h
<<EOF
15474 #define $ac_tr_hdr 1
15478 echo "$ac_t""no" 1>&6
15483 ac_safe
=`echo "wctype.h" | sed 'y%./+-%__p_%'`
15484 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
15485 echo "configure:15486: checking for wctype.h" >&5
15486 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15487 echo $ac_n "(cached) $ac_c" 1>&6
15489 cat > conftest.
$ac_ext <<EOF
15490 #line 15491 "configure"
15491 #include "confdefs.h"
15492 #include <wctype.h>
15494 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15495 { (eval echo configure
:15496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15496 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15497 if test -z "$ac_err"; then
15499 eval "ac_cv_header_$ac_safe=yes"
15502 echo "configure: failed program was:" >&5
15503 cat conftest.
$ac_ext >&5
15505 eval "ac_cv_header_$ac_safe=no"
15509 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15510 echo "$ac_t""yes" 1>&6
15511 ac_has_wctype_h
=yes
15513 echo "$ac_t""no" 1>&6
15518 if test x
"$ac_has_wchar_h" = xyes
&& test x
"$ac_has_wctype_h" = xyes \
15519 && test x
"$enable_c_mbchar" != xno
; then
15521 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
15522 echo "configure:15523: checking for WCHAR_MIN and WCHAR_MAX" >&5
15523 cat > conftest.
$ac_ext <<EOF
15524 #line 15525 "configure"
15525 #include "confdefs.h"
15528 int i = WCHAR_MIN; int j = WCHAR_MAX;
15531 if { (eval echo configure
:15532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15533 has_wchar_minmax
=yes
15535 echo "configure: failed program was:" >&5
15536 cat conftest.
$ac_ext >&5
15538 has_wchar_minmax
=no
15541 echo "$ac_t""$has_wchar_minmax" 1>&6
15543 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
15544 echo "configure:15545: checking for WEOF" >&5
15545 cat > conftest.
$ac_ext <<EOF
15546 #line 15547 "configure"
15547 #include "confdefs.h"
15550 #include <stddef.h>
15555 if { (eval echo configure
:15556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15559 echo "configure: failed program was:" >&5
15560 cat conftest.
$ac_ext >&5
15565 echo "$ac_t""$has_weof" 1>&6
15567 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
15568 wcsrtombs mbsrtowcs
15570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15571 echo "configure:15572: checking for $ac_func" >&5
15572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15573 echo $ac_n "(cached) $ac_c" 1>&6
15575 cat > conftest.
$ac_ext <<EOF
15576 #line 15577 "configure"
15577 #include "confdefs.h"
15578 /* System header to define __stub macros and hopefully few prototypes,
15579 which can conflict with char $ac_func(); below. */
15580 #include <assert.h>
15581 /* Override any gcc2 internal prototype to avoid an error. */
15582 /* We use char because int might match the return type of a gcc2
15583 builtin and then its argument prototype would still apply. */
15588 /* The GNU C library defines this for functions which it implements
15589 to always fail with ENOSYS. Some functions are actually named
15590 something starting with __ and the normal name is an alias. */
15591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15599 if { (eval echo configure
:15600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15601 eval "ac_cv_func_$ac_func=yes"
15603 echo "configure: failed program was:" >&5
15604 cat conftest.
$ac_ext >&5
15606 eval "ac_cv_func_$ac_func=no"
15611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15612 echo "$ac_t""yes" 1>&6
15613 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15614 cat >> confdefs.h
<<EOF
15615 #define $ac_tr_func 1
15619 echo "$ac_t""no" 1>&6
15625 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
15626 echo "configure:15627: checking for ISO C99 wchar_t support" >&5
15627 if test x
"$has_weof" = xyes
&& test x
"$has_wchar_minmax" = xyes \
15628 && test x
"$ac_wfuncs" = xyes
; then
15629 ac_isoC99_wchar_t
=yes
15631 ac_isoC99_wchar_t
=no
15633 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
15635 ac_safe
=`echo "iconv.h" | sed 'y%./+-%__p_%'`
15636 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
15637 echo "configure:15638: checking for iconv.h" >&5
15638 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15639 echo $ac_n "(cached) $ac_c" 1>&6
15641 cat > conftest.
$ac_ext <<EOF
15642 #line 15643 "configure"
15643 #include "confdefs.h"
15646 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15647 { (eval echo configure
:15648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15648 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15649 if test -z "$ac_err"; then
15651 eval "ac_cv_header_$ac_safe=yes"
15654 echo "configure: failed program was:" >&5
15655 cat conftest.
$ac_ext >&5
15657 eval "ac_cv_header_$ac_safe=no"
15661 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15662 echo "$ac_t""yes" 1>&6
15665 echo "$ac_t""no" 1>&6
15669 ac_safe
=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
15670 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
15671 echo "configure:15672: checking for langinfo.h" >&5
15672 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15673 echo $ac_n "(cached) $ac_c" 1>&6
15675 cat > conftest.
$ac_ext <<EOF
15676 #line 15677 "configure"
15677 #include "confdefs.h"
15678 #include <langinfo.h>
15680 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15681 { (eval echo configure
:15682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15682 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15683 if test -z "$ac_err"; then
15685 eval "ac_cv_header_$ac_safe=yes"
15688 echo "configure: failed program was:" >&5
15689 cat conftest.
$ac_ext >&5
15691 eval "ac_cv_header_$ac_safe=no"
15695 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15696 echo "$ac_t""yes" 1>&6
15697 ac_has_langinfo_h
=yes
15699 echo "$ac_t""no" 1>&6
15700 ac_has_langinfo_h
=no
15704 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
15705 echo "configure:15706: checking for iconv in -liconv" >&5
15706 ac_lib_var
=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
15707 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15708 echo $ac_n "(cached) $ac_c" 1>&6
15710 ac_save_LIBS
="$LIBS"
15711 LIBS
="-liconv $LIBS"
15712 cat > conftest.
$ac_ext <<EOF
15713 #line 15714 "configure"
15714 #include "confdefs.h"
15715 /* Override any gcc2 internal prototype to avoid an error. */
15716 /* We use char because int might match the return type of a gcc2
15717 builtin and then its argument prototype would still apply. */
15724 if { (eval echo configure
:15725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15726 eval "ac_cv_lib_$ac_lib_var=yes"
15728 echo "configure: failed program was:" >&5
15729 cat conftest.
$ac_ext >&5
15731 eval "ac_cv_lib_$ac_lib_var=no"
15734 LIBS
="$ac_save_LIBS"
15737 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15738 echo "$ac_t""yes" 1>&6
15741 echo "$ac_t""no" 1>&6
15744 ac_save_LIBS
="$LIBS"
15745 LIBS
="$LIBS $libiconv"
15747 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
15749 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15750 echo "configure:15751: checking for $ac_func" >&5
15751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15752 echo $ac_n "(cached) $ac_c" 1>&6
15754 cat > conftest.
$ac_ext <<EOF
15755 #line 15756 "configure"
15756 #include "confdefs.h"
15757 /* System header to define __stub macros and hopefully few prototypes,
15758 which can conflict with char $ac_func(); below. */
15759 #include <assert.h>
15760 /* Override any gcc2 internal prototype to avoid an error. */
15761 /* We use char because int might match the return type of a gcc2
15762 builtin and then its argument prototype would still apply. */
15767 /* The GNU C library defines this for functions which it implements
15768 to always fail with ENOSYS. Some functions are actually named
15769 something starting with __ and the normal name is an alias. */
15770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15778 if { (eval echo configure
:15779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15780 eval "ac_cv_func_$ac_func=yes"
15782 echo "configure: failed program was:" >&5
15783 cat conftest.
$ac_ext >&5
15785 eval "ac_cv_func_$ac_func=no"
15790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15791 echo "$ac_t""yes" 1>&6
15792 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15793 cat >> confdefs.h
<<EOF
15794 #define $ac_tr_func 1
15799 echo "$ac_t""no" 1>&6
15805 LIBS
="$ac_save_LIBS"
15807 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
15808 echo "configure:15809: checking for XPG2 wchar_t support" >&5
15809 if test x
"$ac_has_iconv_h" = xyes
&& test x
"$ac_has_langinfo_h" = xyes \
15810 && test x
"$ac_XPG2funcs" = xyes
; then
15811 ac_XPG2_wchar_t
=yes
15815 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
15817 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
15818 echo "configure:15819: checking for enabled wchar_t specializations" >&5
15819 if test x
"$ac_isoC99_wchar_t" = xyes \
15820 && test x
"$ac_XPG2_wchar_t" = xyes
; then
15821 cat >> confdefs.h
<<\EOF
15822 #define _GLIBCPP_USE_WCHAR_T 1
15825 echo "$ac_t"""yes"" 1>&6
15827 echo "$ac_t"""no
"" 1>&6
15830 echo "configure: warning: wchar_t support disabled." 1>&2
15834 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
15835 ac_save_CXXFLAGS
="$CXXFLAGS"
15836 CXXFLAGS
='-fno-builtins -D_GNU_SOURCE'
15838 for ac_func
in strtof
15840 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15841 echo "configure:15842: checking for $ac_func" >&5
15842 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15843 echo $ac_n "(cached) $ac_c" 1>&6
15845 cat > conftest.
$ac_ext <<EOF
15846 #line 15847 "configure"
15847 #include "confdefs.h"
15848 /* System header to define __stub macros and hopefully few prototypes,
15849 which can conflict with char $ac_func(); below. */
15850 #include <assert.h>
15851 /* Override any gcc2 internal prototype to avoid an error. */
15852 /* We use char because int might match the return type of a gcc2
15853 builtin and then its argument prototype would still apply. */
15858 /* The GNU C library defines this for functions which it implements
15859 to always fail with ENOSYS. Some functions are actually named
15860 something starting with __ and the normal name is an alias. */
15861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15869 if { (eval echo configure
:15870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15871 eval "ac_cv_func_$ac_func=yes"
15873 echo "configure: failed program was:" >&5
15874 cat conftest.
$ac_ext >&5
15876 eval "ac_cv_func_$ac_func=no"
15881 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15882 echo "$ac_t""yes" 1>&6
15883 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15884 cat >> confdefs.h
<<EOF
15885 #define $ac_tr_func 1
15889 echo "$ac_t""no" 1>&6
15894 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
15895 echo "configure:15896: checking for strtold declaration" >&5
15896 if test x
${glibcpp_cv_func_strtold_use+set} != xset
; then
15897 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
15898 echo $ac_n "(cached) $ac_c" 1>&6
15903 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15904 ac_cpp
='$CXXCPP $CPPFLAGS'
15905 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15906 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15907 cross_compiling
=$ac_cv_prog_cxx_cross
15909 cat > conftest.
$ac_ext <<EOF
15910 #line 15911 "configure"
15911 #include "confdefs.h"
15912 #include <stdlib.h>
15917 if { (eval echo configure
:15918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15919 glibcpp_cv_func_strtold_use
=yes
15921 echo "configure: failed program was:" >&5
15922 cat conftest.
$ac_ext >&5
15924 glibcpp_cv_func_strtold_use
=no
15928 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15929 ac_cpp
='$CPP $CPPFLAGS'
15930 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15931 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15932 cross_compiling
=$ac_cv_prog_cc_cross
15938 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
15939 if test x
$glibcpp_cv_func_strtold_use = x
"yes"; then
15940 for ac_func
in strtold
15942 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15943 echo "configure:15944: checking for $ac_func" >&5
15944 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15945 echo $ac_n "(cached) $ac_c" 1>&6
15947 cat > conftest.
$ac_ext <<EOF
15948 #line 15949 "configure"
15949 #include "confdefs.h"
15950 /* System header to define __stub macros and hopefully few prototypes,
15951 which can conflict with char $ac_func(); below. */
15952 #include <assert.h>
15953 /* Override any gcc2 internal prototype to avoid an error. */
15954 /* We use char because int might match the return type of a gcc2
15955 builtin and then its argument prototype would still apply. */
15960 /* The GNU C library defines this for functions which it implements
15961 to always fail with ENOSYS. Some functions are actually named
15962 something starting with __ and the normal name is an alias. */
15963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15971 if { (eval echo configure
:15972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15973 eval "ac_cv_func_$ac_func=yes"
15975 echo "configure: failed program was:" >&5
15976 cat conftest.
$ac_ext >&5
15978 eval "ac_cv_func_$ac_func=no"
15983 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15984 echo "$ac_t""yes" 1>&6
15985 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15986 cat >> confdefs.h
<<EOF
15987 #define $ac_tr_func 1
15991 echo "$ac_t""no" 1>&6
15997 for ac_func
in drand48
15999 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16000 echo "configure:16001: checking for $ac_func" >&5
16001 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16002 echo $ac_n "(cached) $ac_c" 1>&6
16004 cat > conftest.
$ac_ext <<EOF
16005 #line 16006 "configure"
16006 #include "confdefs.h"
16007 /* System header to define __stub macros and hopefully few prototypes,
16008 which can conflict with char $ac_func(); below. */
16009 #include <assert.h>
16010 /* Override any gcc2 internal prototype to avoid an error. */
16011 /* We use char because int might match the return type of a gcc2
16012 builtin and then its argument prototype would still apply. */
16017 /* The GNU C library defines this for functions which it implements
16018 to always fail with ENOSYS. Some functions are actually named
16019 something starting with __ and the normal name is an alias. */
16020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16028 if { (eval echo configure
:16029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16030 eval "ac_cv_func_$ac_func=yes"
16032 echo "configure: failed program was:" >&5
16033 cat conftest.
$ac_ext >&5
16035 eval "ac_cv_func_$ac_func=no"
16040 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16041 echo "$ac_t""yes" 1>&6
16042 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16043 cat >> confdefs.h
<<EOF
16044 #define $ac_tr_func 1
16048 echo "$ac_t""no" 1>&6
16053 CXXFLAGS
="$ac_save_CXXFLAGS"
16056 cat > conftest.
$ac_ext <<EOF
16057 #line 16058 "configure"
16058 #include "confdefs.h"
16060 #include <setjmp.h>
16063 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
16066 if { (eval echo configure
:16067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16068 cat >> confdefs.h
<<\EOF
16069 #define HAVE_SIGSETJMP 1
16073 echo "configure: failed program was:" >&5
16074 cat conftest.
$ac_ext >&5
16078 for ac_hdr
in unistd.h
16080 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16081 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16082 echo "configure:16083: checking for $ac_hdr" >&5
16083 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16084 echo $ac_n "(cached) $ac_c" 1>&6
16086 cat > conftest.
$ac_ext <<EOF
16087 #line 16088 "configure"
16088 #include "confdefs.h"
16091 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16092 { (eval echo configure
:16093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16093 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16094 if test -z "$ac_err"; then
16096 eval "ac_cv_header_$ac_safe=yes"
16099 echo "configure: failed program was:" >&5
16100 cat conftest.
$ac_ext >&5
16102 eval "ac_cv_header_$ac_safe=no"
16106 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16107 echo "$ac_t""yes" 1>&6
16108 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16109 cat >> confdefs.h
<<EOF
16110 #define $ac_tr_hdr 1
16114 echo "$ac_t""no" 1>&6
16118 for ac_func
in getpagesize
16120 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16121 echo "configure:16122: checking for $ac_func" >&5
16122 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16123 echo $ac_n "(cached) $ac_c" 1>&6
16125 cat > conftest.
$ac_ext <<EOF
16126 #line 16127 "configure"
16127 #include "confdefs.h"
16128 /* System header to define __stub macros and hopefully few prototypes,
16129 which can conflict with char $ac_func(); below. */
16130 #include <assert.h>
16131 /* Override any gcc2 internal prototype to avoid an error. */
16132 /* We use char because int might match the return type of a gcc2
16133 builtin and then its argument prototype would still apply. */
16138 /* The GNU C library defines this for functions which it implements
16139 to always fail with ENOSYS. Some functions are actually named
16140 something starting with __ and the normal name is an alias. */
16141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16149 if { (eval echo configure
:16150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16151 eval "ac_cv_func_$ac_func=yes"
16153 echo "configure: failed program was:" >&5
16154 cat conftest.
$ac_ext >&5
16156 eval "ac_cv_func_$ac_func=no"
16161 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16162 echo "$ac_t""yes" 1>&6
16163 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16164 cat >> confdefs.h
<<EOF
16165 #define $ac_tr_func 1
16169 echo "$ac_t""no" 1>&6
16173 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
16174 echo "configure:16175: checking for working mmap" >&5
16175 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
16176 echo $ac_n "(cached) $ac_c" 1>&6
16178 if test "$cross_compiling" = yes; then
16179 ac_cv_func_mmap_fixed_mapped
=no
16181 cat > conftest.
$ac_ext <<EOF
16182 #line 16183 "configure"
16183 #include "confdefs.h"
16185 /* Thanks to Mike Haertel and Jim Avera for this test.
16186 Here is a matrix of mmap possibilities:
16187 mmap private not fixed
16188 mmap private fixed at somewhere currently unmapped
16189 mmap private fixed at somewhere already mapped
16190 mmap shared not fixed
16191 mmap shared fixed at somewhere currently unmapped
16192 mmap shared fixed at somewhere already mapped
16193 For private mappings, we should verify that changes cannot be read()
16194 back from the file, nor mmap's back from the file at a different
16195 address. (There have been systems where private was not correctly
16196 implemented like the infamous i386 svr4.0, and systems where the
16197 VM page cache was not coherent with the filesystem buffer cache
16198 like early versions of FreeBSD and possibly contemporary NetBSD.)
16199 For shared mappings, we should conversely verify that changes get
16200 propogated back to all the places they're supposed to be.
16202 Grep wants private fixed already mapped.
16203 The main things grep needs to know about mmap are:
16204 * does it exist and is it safe to write into the mmap'd area
16205 * how to use it (BSD variants) */
16206 #include <sys/types.h>
16208 #include <sys/mman.h>
16210 /* This mess was copied from the GNU getpagesize.h. */
16211 #ifndef HAVE_GETPAGESIZE
16212 # ifdef HAVE_UNISTD_H
16213 # include <unistd.h>
16216 /* Assume that all systems that can run configure have sys/param.h. */
16217 # ifndef HAVE_SYS_PARAM_H
16218 # define HAVE_SYS_PARAM_H 1
16221 # ifdef _SC_PAGESIZE
16222 # define getpagesize() sysconf(_SC_PAGESIZE)
16223 # else /* no _SC_PAGESIZE */
16224 # ifdef HAVE_SYS_PARAM_H
16225 # include <sys/param.h>
16226 # ifdef EXEC_PAGESIZE
16227 # define getpagesize() EXEC_PAGESIZE
16228 # else /* no EXEC_PAGESIZE */
16230 # define getpagesize() NBPG * CLSIZE
16233 # endif /* no CLSIZE */
16234 # else /* no NBPG */
16236 # define getpagesize() NBPC
16237 # else /* no NBPC */
16239 # define getpagesize() PAGESIZE
16240 # endif /* PAGESIZE */
16241 # endif /* no NBPC */
16242 # endif /* no NBPG */
16243 # endif /* no EXEC_PAGESIZE */
16244 # else /* no HAVE_SYS_PARAM_H */
16245 # define getpagesize() 8192 /* punt totally */
16246 # endif /* no HAVE_SYS_PARAM_H */
16247 # endif /* no _SC_PAGESIZE */
16249 #endif /* no HAVE_GETPAGESIZE */
16252 extern "C" { void *malloc(unsigned); }
16260 char *data, *data2, *data3;
16264 pagesize = getpagesize();
16267 * First, make a file with some known garbage in it.
16269 data = malloc(pagesize);
16272 for (i = 0; i < pagesize; ++i)
16273 *(data + i) = rand();
16275 fd = creat("conftestmmap", 0600);
16278 if (write(fd, data, pagesize) != pagesize)
16283 * Next, try to mmap the file at a fixed address which
16284 * already has something else allocated at it. If we can,
16285 * also make sure that we see the same garbage.
16287 fd = open("conftestmmap", O_RDWR);
16290 data2 = malloc(2 * pagesize);
16293 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
16294 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
16295 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16297 for (i = 0; i < pagesize; ++i)
16298 if (*(data + i) != *(data2 + i))
16302 * Finally, make sure that changes to the mapped area
16303 * do not percolate back to the file as seen by read().
16304 * (This is a bug on some variants of i386 svr4.0.)
16306 for (i = 0; i < pagesize; ++i)
16307 *(data2 + i) = *(data2 + i) + 1;
16308 data3 = malloc(pagesize);
16311 if (read(fd, data3, pagesize) != pagesize)
16313 for (i = 0; i < pagesize; ++i)
16314 if (*(data + i) != *(data3 + i))
16317 unlink("conftestmmap");
16322 if { (eval echo configure
:16323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16324 ac_cv_func_mmap_fixed_mapped
=yes
16326 echo "configure: failed program was:" >&5
16327 cat conftest.
$ac_ext >&5
16329 ac_cv_func_mmap_fixed_mapped
=no
16336 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
16337 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16338 cat >> confdefs.h
<<\EOF
16339 #define HAVE_MMAP 1
16346 # Now that ctype is determined for all possible targets, we can do this...
16354 if test "$NULL_TARGET" = yes; then
16356 NULL_TARGET_FALSE
='#'
16358 NULL_TARGET_TRUE
='#'
16363 if test "$NATIVE" = yes ||
test "$NULL_TARGET" = yes; then
16372 if test "$CANADIAN" = yes; then
16380 cat > confcache
<<\EOF
16381 # This file is a shell script that caches the results of configure
16382 # tests run on this system so they can be shared between configure
16383 # scripts and configure runs. It is not useful on other systems.
16384 # If it contains results you don't want to keep, you may remove or edit it.
16386 # By default, configure uses ./config.cache as the cache file,
16387 # creating it if it does not exist already. You can give configure
16388 # the --cache-file=FILE option to use a different cache file; that is
16389 # what configure does when it calls configure scripts in
16390 # subdirectories, so they share the cache.
16391 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16392 # config.status only pays attention to the cache file if you give it the
16393 # --recheck option to rerun configure.
16396 # The following way of writing the cache mishandles newlines in values,
16397 # but we know of no workaround that is simple, portable, and efficient.
16398 # So, don't put newlines in cache variables' values.
16399 # Ultrix sh set writes to stderr and can't be redirected directly,
16400 # and sets the high bit in the cache file unless we assign to the vars.
16402 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16404 # `set' does not quote correctly, so add quotes (double-quote substitution
16405 # turns \\\\ into \\, and sed turns \\ into \).
16407 -e "s/'/'\\\\''/g" \
16408 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16411 # `set' quotes correctly as required by POSIX, so do not add quotes.
16412 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16415 if cmp -s $cache_file confcache
; then
16418 if test -w $cache_file; then
16419 echo "updating cache $cache_file"
16420 cat confcache
> $cache_file
16422 echo "not updating unwritable cache $cache_file"
16428 ac_safe
=`echo "locale.h" | sed 'y%./+-%__p_%'`
16429 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
16430 echo "configure:16431: checking for locale.h" >&5
16431 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16432 echo $ac_n "(cached) $ac_c" 1>&6
16434 cat > conftest.
$ac_ext <<EOF
16435 #line 16436 "configure"
16436 #include "confdefs.h"
16437 #include <locale.h>
16439 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16440 { (eval echo configure
:16441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16441 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16442 if test -z "$ac_err"; then
16444 eval "ac_cv_header_$ac_safe=yes"
16447 echo "configure: failed program was:" >&5
16448 cat conftest.
$ac_ext >&5
16450 eval "ac_cv_header_$ac_safe=no"
16454 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16455 echo "$ac_t""yes" 1>&6
16457 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
16458 echo "configure:16459: checking for LC_MESSAGES" >&5
16459 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16460 echo $ac_n "(cached) $ac_c" 1>&6
16462 cat > conftest.
$ac_ext <<EOF
16463 #line 16464 "configure"
16464 #include "confdefs.h"
16465 #include <locale.h>
16470 if { (eval echo configure
:16471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16472 ac_cv_val_LC_MESSAGES
=yes
16474 echo "configure: failed program was:" >&5
16475 cat conftest.
$ac_ext >&5
16477 ac_cv_val_LC_MESSAGES
=no
16482 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16483 if test $ac_cv_val_LC_MESSAGES = yes; then
16484 cat >> confdefs.h
<<\EOF
16485 #define HAVE_LC_MESSAGES 1
16491 echo "$ac_t""no" 1>&6
16496 if test "${multilib}" = "yes"; then
16497 multilib_arg
="--enable-multilib"
16503 # Generate the various Makefiles, include files, and scripts.
16505 # Needed so that g++ can find the correct include subdir automatically.
16508 # Export all the install information
16511 glibcpp_toolexecdir
=no
16512 glibcpp_toolexeclibdir
=no
16514 # Export build and source directories.
16515 # These need to be absolute paths, thus the use of pwd.
16516 glibcpp_builddir
=`pwd`
16517 glibcpp_srcdir
=`cd ${srcdir} && pwd`
16518 glibcpp_prefixdir
=`cd ${prefix} && pwd`
16520 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
16521 echo "configure:16522: checking for interface version number" >&5
16522 libstdcxx_interface
=$INTERFACE
16523 echo "$ac_t""$libstdcxx_interface" 1>&6
16525 # Process the option --with-gxx-include-dir=<path to include-files directory>
16526 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
16527 echo "configure:16528: checking for --with-gxx-include-dir" >&5
16528 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
16529 if test "${with_gxx_include_dir+set}" = set; then
16530 withval
="$with_gxx_include_dir"
16531 case "${withval}" in
16533 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
16540 gxx_include_dir
=${withval}
16547 echo "$ac_t""$gxx_include_dir" 1>&6
16549 # Process the option "--enable-version-specific-runtime-libs"
16550 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
16551 echo "configure:16552: checking for --enable-version-specific-runtime-libs" >&5
16552 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
16553 if test "${enable_version_specific_runtime_libs+set}" = set; then
16554 enableval
="$enable_version_specific_runtime_libs"
16555 version_specific_libs
=yes
16556 # Need the gcc compiler version to know where to install libraries
16557 # and header files if --enable-version-specific-runtime-libs option
16559 gcc_version_trigger
=${srcdir}/..
/gcc
/version.c
16560 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
16561 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
16562 gxx_include_dir
='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include
/g
++
16563 glibcpp_toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
16564 glibcpp_toolexeclibdir
='$(toolexecdir)/'${gcc_version}
16567 version_specific_libs
=no
16570 echo "$ac_t""$version_specific_libs" 1>&6
16572 # Default case for install directory for include files.
16573 if test x
"$version_specific_libs" = x
"no" \
16574 && test x
"$gxx_include_dir" = x
"no"; then
16575 gxx_include_dir
='$(prefix)'/include
/g
++-${libstdcxx_interface}
16578 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
16579 # Install a library built with a cross compiler in tooldir, not libdir.
16580 if test x
"$glibcpp_toolexecdir" = x
"no"; then
16581 if test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
16582 glibcpp_toolexecdir
='$(exec_prefix)/$(target_alias)'
16583 glibcpp_toolexeclibdir
='$(toolexecdir)/lib$(MULTISUBDIR)'
16585 glibcpp_toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
16586 glibcpp_toolexeclibdir
='$(libdir)$(MULTISUBDIR)'
16590 echo $ac_n "checking for install location""... $ac_c" 1>&6
16591 echo "configure:16592: checking for install location" >&5
16592 echo "$ac_t""$gxx_include_dir" 1>&6
16602 # Export all the include and flag information to makefiles.
16604 # Root level of the include sources.
16605 GLIBCPP_INCLUDE_DIR
='$(top_srcdir)/include'
16607 # Can either use include/c or include/c_std to grab "C" headers. This
16608 # variable is set to the include directory currently in use.
16609 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_CHEADERS
16611 # Passed down for canadian crosses.
16612 if test x
"$CANADIAN" = xyes
; then
16613 TOPLEVEL_INCLUDES
='-I$(includedir)'
16616 LIBMATH_INCLUDES
='-I$(top_srcdir)/libmath'
16618 LIBSUPCXX_INCLUDES
='-I$(top_srcdir)/libsupc++'
16620 #if GLIBCPP_NEED_LIBIO
16621 LIBIO_INCLUDES
='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
16623 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
16626 #if GLIBCPP_USE_CSHADOW
16627 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
16628 # -I$(top_blddir)/cshadow'
16630 CSTD_INCLUDES
='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
16633 # Now, export this to all the little Makefiles....
16642 # Optimization flags that are probably a good idea for thrill-seekers. Just
16643 # uncomment the lines below and make, everything else is ready to go...
16644 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
16648 WARN_FLAGS
='-Wall -Wno-format -W -Wwrite-strings -Winline'
16652 if ${CONFIG_SHELL-/bin/sh} .
/libtool
--tag CXX
--features |
16653 grep "enable shared" > /dev
/null
; then
16654 LIBSUPCXX_PICFLAGS
=-prefer-pic
16656 LIBSUPCXX_PICFLAGS
=
16660 # This should be done by mkincludedir, but hack around it now.
16662 echo "checking for $blddir/include"
16664 if test ! -d "$blddir/include"; then
16665 mkdir
"$blddir/include"
16668 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
16669 # and libsupc++/Makefile.am so that multilib installs will end up
16670 # installed in the correct place. To work around this not being passed
16671 # down from config-ml.in -> top_srcdir/Makefile.am ->
16672 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
16674 cat > confcache
<<\EOF
16675 # This file is a shell script that caches the results of configure
16676 # tests run on this system so they can be shared between configure
16677 # scripts and configure runs. It is not useful on other systems.
16678 # If it contains results you don't want to keep, you may remove or edit it.
16680 # By default, configure uses ./config.cache as the cache file,
16681 # creating it if it does not exist already. You can give configure
16682 # the --cache-file=FILE option to use a different cache file; that is
16683 # what configure does when it calls configure scripts in
16684 # subdirectories, so they share the cache.
16685 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16686 # config.status only pays attention to the cache file if you give it the
16687 # --recheck option to rerun configure.
16690 # The following way of writing the cache mishandles newlines in values,
16691 # but we know of no workaround that is simple, portable, and efficient.
16692 # So, don't put newlines in cache variables' values.
16693 # Ultrix sh set writes to stderr and can't be redirected directly,
16694 # and sets the high bit in the cache file unless we assign to the vars.
16696 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16698 # `set' does not quote correctly, so add quotes (double-quote substitution
16699 # turns \\\\ into \\, and sed turns \\ into \).
16701 -e "s/'/'\\\\''/g" \
16702 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16705 # `set' quotes correctly as required by POSIX, so do not add quotes.
16706 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16709 if cmp -s $cache_file confcache
; then
16712 if test -w $cache_file; then
16713 echo "updating cache $cache_file"
16714 cat confcache
> $cache_file
16716 echo "not updating unwritable cache $cache_file"
16721 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16723 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16724 # Let make expand exec_prefix.
16725 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16727 # Any assignment to VPATH causes Sun make to only execute
16728 # the first set of double-colon rules, so remove it if not needed.
16729 # If there is a colon in the path, we need to keep it.
16730 if test "x$srcdir" = x.
; then
16731 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
16734 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16736 DEFS
=-DHAVE_CONFIG_H
16738 # Without the "./", some shells look in PATH for config.status.
16739 : ${CONFIG_STATUS=./config.status}
16741 echo creating
$CONFIG_STATUS
16742 rm -f $CONFIG_STATUS
16743 cat > $CONFIG_STATUS <<EOF
16745 # Generated automatically by configure.
16746 # Run this file to recreate the current configuration.
16747 # This directory was configured as follows,
16748 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16750 # $0 $ac_configure_args
16752 # Compiler output produced by configure, useful for debugging
16753 # configure, is in ./config.log if it exists.
16755 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
16758 case "\$ac_option" in
16759 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16760 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16761 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16762 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16763 echo "$CONFIG_STATUS generated by autoconf version 2.13"
16765 -help | --help | --hel | --he | --h)
16766 echo "\$ac_cs_usage"; exit 0 ;;
16767 *) echo "\$ac_cs_usage"; exit 1 ;;
16771 ac_given_srcdir=$srcdir
16772 ac_given_INSTALL="$INSTALL"
16774 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
16776 cat >> $CONFIG_STATUS <<EOF
16778 # Protect against being on the right side of a sed subst in config.status.
16779 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16780 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16784 s%@CFLAGS@%$CFLAGS%g
16785 s%@CPPFLAGS@%$CPPFLAGS%g
16786 s%@CXXFLAGS@%$CXXFLAGS%g
16787 s%@FFLAGS@%$FFLAGS%g
16789 s%@LDFLAGS@%$LDFLAGS%g
16791 s%@exec_prefix@%$exec_prefix%g
16792 s%@prefix@%$prefix%g
16793 s%@program_transform_name@%$program_transform_name%g
16794 s%@bindir@%$bindir%g
16795 s%@sbindir@%$sbindir%g
16796 s%@libexecdir@%$libexecdir%g
16797 s%@datadir@%$datadir%g
16798 s%@sysconfdir@%$sysconfdir%g
16799 s%@sharedstatedir@%$sharedstatedir%g
16800 s%@localstatedir@%$localstatedir%g
16801 s%@libdir@%$libdir%g
16802 s%@includedir@%$includedir%g
16803 s%@oldincludedir@%$oldincludedir%g
16804 s%@infodir@%$infodir%g
16805 s%@mandir@%$mandir%g
16806 s%@toplevel_srcdir@%$toplevel_srcdir%g
16808 s%@host_alias@%$host_alias%g
16809 s%@host_cpu@%$host_cpu%g
16810 s%@host_vendor@%$host_vendor%g
16811 s%@host_os@%$host_os%g
16812 s%@target@%$target%g
16813 s%@target_alias@%$target_alias%g
16814 s%@target_cpu@%$target_cpu%g
16815 s%@target_vendor@%$target_vendor%g
16816 s%@target_os@%$target_os%g
16818 s%@build_alias@%$build_alias%g
16819 s%@build_cpu@%$build_cpu%g
16820 s%@build_vendor@%$build_vendor%g
16821 s%@build_os@%$build_os%g
16822 s%@glibcpp_basedir@%$glibcpp_basedir%g
16823 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16824 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16825 s%@INSTALL_DATA@%$INSTALL_DATA%g
16826 s%@PACKAGE@%$PACKAGE%g
16827 s%@VERSION@%$VERSION%g
16828 s%@ACLOCAL@%$ACLOCAL%g
16829 s%@AUTOCONF@%$AUTOCONF%g
16830 s%@AUTOMAKE@%$AUTOMAKE%g
16831 s%@AUTOHEADER@%$AUTOHEADER%g
16832 s%@MAKEINFO@%$MAKEINFO%g
16833 s%@SET_MAKE@%$SET_MAKE%g
16835 s%@glibcpp_CXX@%$glibcpp_CXX%g
16838 s%@RANLIB@%$RANLIB%g
16839 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
16840 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
16842 s%@EXEEXT@%$EXEEXT%g
16844 s%@OBJEXT@%$OBJEXT%g
16846 s%@LIBTOOL@%$LIBTOOL%g
16847 s%@CXXCPP@%$CXXCPP%g
16848 s%@enable_shared@%$enable_shared%g
16849 s%@enable_static@%$enable_static%g
16850 s%@ifGNUmake@%$ifGNUmake%g
16851 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
16853 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
16854 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
16855 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
16856 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
16857 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
16858 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
16859 s%@libio_la@%$libio_la%g
16860 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
16861 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
16862 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
16863 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
16864 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
16865 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
16866 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
16867 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
16868 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
16869 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
16870 s%@WERROR@%$WERROR%g
16871 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
16872 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
16873 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
16874 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
16875 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
16876 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
16877 s%@glibcpp_builddir@%$glibcpp_builddir%g
16878 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
16879 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
16880 s%@gxx_include_dir@%$gxx_include_dir%g
16881 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
16882 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
16883 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
16884 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
16885 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
16886 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
16887 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
16888 s%@CSTD_INCLUDES@%$CSTD_INCLUDES%g
16889 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
16890 s%@WARN_FLAGS@%$WARN_FLAGS%g
16891 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
16896 cat >> $CONFIG_STATUS <<\EOF
16898 # Split the substitutions into bite-sized pieces for seds with
16899 # small command number limits, like on Digital OSF/1 and HP-UX.
16900 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
16901 ac_file
=1 # Number of current file.
16902 ac_beg
=1 # First line for current file.
16903 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
16906 while $ac_more_lines; do
16907 if test $ac_beg -gt 1; then
16908 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
16910 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
16912 if test ! -s conftest.s
$ac_file; then
16913 ac_more_lines
=false
16914 rm -f conftest.s
$ac_file
16916 if test -z "$ac_sed_cmds"; then
16917 ac_sed_cmds
="sed -f conftest.s$ac_file"
16919 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
16921 ac_file
=`expr $ac_file + 1`
16923 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
16926 if test -z "$ac_sed_cmds"; then
16931 cat >> $CONFIG_STATUS <<EOF
16933 CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile testsuite/Makefile mkcheck testsuite_flags"}
16935 cat >> $CONFIG_STATUS <<\EOF
16936 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
16937 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16939 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
16940 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16941 *) ac_file_in
="${ac_file}.in" ;;
16944 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
16946 # Remove last slash and all that follows it. Not all systems have dirname.
16947 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16948 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
16949 # The file is in a subdirectory.
16950 test ! -d "$ac_dir" && mkdir
"$ac_dir"
16951 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
16952 # A "../" for each directory in $ac_dir_suffix.
16953 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
16955 ac_dir_suffix
= ac_dots
=
16958 case "$ac_given_srcdir" in
16960 if test -z "$ac_dots"; then top_srcdir
=.
16961 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
16962 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
16963 *) # Relative path.
16964 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16965 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16968 case "$ac_given_INSTALL" in
16969 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
16970 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
16973 echo creating
"$ac_file"
16975 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
16977 *Makefile
*) ac_comsub
="1i\\
16978 # $configure_input" ;;
16982 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16984 s%@configure_input@%$configure_input%g
16985 s%@srcdir@%$srcdir%g
16986 s%@top_srcdir@%$top_srcdir%g
16987 s%@INSTALL@%$INSTALL%g
16988 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
16992 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16993 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16995 # ac_d sets the value in "#define NAME VALUE" lines.
16996 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16997 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
17000 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17001 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17002 ac_uB
='\([ ]\)%\1#\2define\3'
17005 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17006 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17007 ac_eB
='$%\1#\2define\3'
17011 if test "${CONFIG_HEADERS+set}" != set; then
17013 cat >> $CONFIG_STATUS <<EOF
17014 CONFIG_HEADERS="config.h"
17016 cat >> $CONFIG_STATUS <<\EOF
17018 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
17019 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17021 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17022 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17023 *) ac_file_in
="${ac_file}.in" ;;
17026 echo creating
$ac_file
17028 rm -f conftest.frag conftest.
in conftest.out
17029 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17030 cat $ac_file_inputs > conftest.
in
17034 # Transform confdefs.h into a sed script conftest.vals that substitutes
17035 # the proper values into config.h.in to produce config.h. And first:
17036 # Protect against being on the right side of a sed subst in config.status.
17037 # Protect against being in an unquoted here document in config.status.
17038 rm -f conftest.vals
17039 cat > conftest.hdr
<<\EOF
17042 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17046 sed -n -f conftest.hdr confdefs.h > conftest.vals
17049 # This sed command replaces #undef with comments. This is necessary, for
17050 # example, in the case of _POSIX_SOURCE, which is predefined and required
17051 # on some systems where configure will not decide to define it.
17052 cat >> conftest.vals <<\EOF
17053 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17056 # Break up conftest.vals because some shells have a limit on
17057 # the size of here documents, and old seds have small limits too.
17059 rm -f conftest.tail
17062 ac_lines=`grep -c . conftest.vals
`
17063 # grep -c gives empty output for an empty file on some AIX systems.
17064 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17065 # Write a limited-size here document to conftest.frag.
17066 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17067 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17069 sed -f conftest.frag conftest.in > conftest.out
17071 mv conftest.out conftest.in
17072 ' >> $CONFIG_STATUS
17073 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17074 rm -f conftest.vals
17075 mv conftest.tail conftest.vals
17077 rm -f conftest.vals
17079 cat >> $CONFIG_STATUS <<\EOF
17080 rm -f conftest.frag conftest.h
17081 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17082 cat conftest.in >> conftest.h
17084 if cmp -s $ac_file conftest.h 2>/dev/null; then
17085 echo "$ac_file is unchanged"
17088 # Remove last slash and all that follows it. Not all systems have dirname.
17089 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
17090 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17091 # The file is in a subdirectory.
17092 test ! -d "$ac_dir" && mkdir "$ac_dir"
17095 mv conftest.h $ac_file
17101 cat >> $CONFIG_STATUS <<EOF
17102 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"
17103 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 \
17104 include/bits/ctype_base.h \
17105 include/bits/ctype_inline.h \
17106 include/bits/ctype_noninline.h include/bits/atomicity.h"
17109 cat >> $CONFIG_STATUS <<\EOF
17110 srcdir=$ac_given_srcdir
17111 while test -n "$ac_sources"; do
17112 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
17113 set $ac_sources; ac_source=$1; shift; ac_sources=$*
17115 echo "linking $srcdir/$ac_source to $ac_dest"
17117 if test ! -r $srcdir/$ac_source; then
17118 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
17122 # Make relative symlinks.
17123 # Remove last slash and all that follows it. Not all systems have dirname.
17124 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
17125 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
17126 # The dest file is in a subdirectory.
17127 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
17128 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
17129 # A "../" for each directory in $ac_dest_dir_suffix.
17130 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
17132 ac_dest_dir_suffix= ac_dots=
17136 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
17137 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
17140 # Make a symlink if possible; otherwise try a hard link.
17141 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
17142 ln $srcdir/$ac_source $ac_dest; then :
17144 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
17148 cat >> $CONFIG_STATUS <<EOF
17153 with_multisubdir=${with_multisubdir}
17154 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17155 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17156 glibcpp_basedir=${glibcpp_basedir}
17161 cat >> $CONFIG_STATUS <<\EOF
17162 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
17163 if test -n "$CONFIG_FILES"; then
17164 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
17165 grep '^MULTISUBDIR =' Makefile >> src/Makefile
17166 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
17169 chmod +x testsuite_flags
17173 chmod +x $CONFIG_STATUS
17174 rm -fr confdefs* $ac_clean_files
17175 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17179 # Generate bits/c++config.h
17180 # NB: This must be the first generated file as others include it. . .
17181 $srcdir/mkc++config $blddir $srcdir
17183 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
17184 if test ! -f stamp-limits; then
17185 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
17186 if test ! -f include/bits/std_limits.h; then
17187 echo "mknumeric_limits failed to execute properly: exiting"
17195 # Sanity checking & User-visible messages.
17196 # Checks down here, otherwise they get scrolled off before
17197 # the user will notice.
17199 # Trying to get more people to read documentation. Possibly remove
17200 # check and warn all the time. There is no "informational" AC_MSG_
17201 # macro, so these are going to be printed even when --quiet/--silent
17203 if test ! -f stamp-sanity-warned; then
17204 touch stamp-sanity-warned
17206 echo "Please make certain that you read the installation information here:"
17207 echo " faster => ${srcdir}/docs/install.html"
17208 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
17210 echo "and the configuration information here:"
17211 echo " faster => ${srcdir}/docs/configopts.html"
17212 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
17214 echo "before proceeding with ${_cv_gnu_make_command}."