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 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
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-nls use Native Language Support (default)"
49 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
51 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
53 --enable-long-long turns on 'long long' [default=yes]"
55 --enable-cheaders construct "C
" header files for g++ [default=c_std]"
57 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
60 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
62 --enable-libunwind-exceptions force use of libunwind for exceptions"
64 --enable-concept-checks use Boost-derived template checks [default=no]"
66 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
68 --with-gxx-include-dir the installation directory for include files"
70 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
72 # Initialize some variables set by options.
73 # The variables have the same names as the options, with
74 # dashes changed to underlines.
76 cache_file
=.
/config.cache
85 program_transform_name
=s
,x
,x
,
93 bindir
='${exec_prefix}/bin'
94 sbindir
='${exec_prefix}/sbin'
95 libexecdir
='${exec_prefix}/libexec'
96 datadir
='${prefix}/share'
97 sysconfdir
='${prefix}/etc'
98 sharedstatedir
='${prefix}/com'
99 localstatedir
='${prefix}/var'
100 libdir
='${exec_prefix}/lib'
101 includedir
='${prefix}/include'
102 oldincludedir
='/usr/include'
103 infodir
='${prefix}/info'
104 mandir
='${prefix}/man'
106 # Initialize some other variables.
109 SHELL
=${CONFIG_SHELL-/bin/sh}
110 # Maximum number of lines to put in a shell here document.
117 # If the previous option needs an argument, assign it.
118 if test -n "$ac_prev"; then
119 eval "$ac_prev=\$ac_option"
125 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
129 # Accept the important Cygnus configure options, so we can diagnose typos.
133 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
135 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
136 bindir
="$ac_optarg" ;;
138 -build |
--build |
--buil |
--bui |
--bu)
140 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
141 build
="$ac_optarg" ;;
143 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
144 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
145 ac_prev
=cache_file
;;
146 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
147 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
148 cache_file
="$ac_optarg" ;;
150 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
152 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
154 datadir
="$ac_optarg" ;;
156 -disable-* |
--disable-*)
157 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
158 # Reject names that are not valid shell variable names.
159 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
160 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
162 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
163 eval "enable_${ac_feature}=no" ;;
165 -enable-* |
--enable-*)
166 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
167 # Reject names that are not valid shell variable names.
168 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
169 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
171 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
176 eval "enable_${ac_feature}='$ac_optarg'" ;;
178 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
179 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
180 |
--exec |
--exe |
--ex)
181 ac_prev
=exec_prefix
;;
182 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
183 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
184 |
--exec=* |
--exe=* |
--ex=*)
185 exec_prefix
="$ac_optarg" ;;
187 -gas |
--gas |
--ga |
--g)
188 # Obsolete; use --with-gas.
191 -help |
--help |
--hel |
--he)
192 # Omit some internal or obsolete options to make the list less imposing.
193 # This message is too long to be a string in the A/UX 3.1 sh.
195 Usage: configure [options] [host]
196 Options: [defaults in brackets after descriptions]
198 --cache-file=FILE cache test results in FILE
199 --help print this message
200 --no-create do not create output files
201 --quiet, --silent do not print \`checking...' messages
202 --version print the version of autoconf that created configure
203 Directory and file names:
204 --prefix=PREFIX install architecture-independent files in PREFIX
206 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
208 --bindir=DIR user executables in DIR [EPREFIX/bin]
209 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
210 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
211 --datadir=DIR read-only architecture-independent data in DIR
213 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
214 --sharedstatedir=DIR modifiable architecture-independent data in DIR
216 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
217 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
218 --includedir=DIR C header files in DIR [PREFIX/include]
219 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
220 --infodir=DIR info documentation in DIR [PREFIX/info]
221 --mandir=DIR man documentation in DIR [PREFIX/man]
222 --srcdir=DIR find the sources in DIR [configure dir or ..]
223 --program-prefix=PREFIX prepend PREFIX to installed program names
224 --program-suffix=SUFFIX append SUFFIX to installed program names
225 --program-transform-name=PROGRAM
226 run sed PROGRAM on installed program names
230 --build=BUILD configure for building on BUILD [BUILD=HOST]
231 --host=HOST configure for HOST [guessed]
232 --target=TARGET configure for TARGET [TARGET=HOST]
233 Features and packages:
234 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
235 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
236 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
237 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
238 --x-includes=DIR X include files are in DIR
239 --x-libraries=DIR X library files are in DIR
241 if test -n "$ac_help"; then
242 echo "--enable and --with options recognized:$ac_help"
246 -host |
--host |
--hos |
--ho)
248 -host=* |
--host=* |
--hos=* |
--ho=*)
251 -includedir |
--includedir |
--includedi |
--included |
--include \
252 |
--includ |
--inclu |
--incl |
--inc)
253 ac_prev
=includedir
;;
254 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
255 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
256 includedir
="$ac_optarg" ;;
258 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
260 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
261 infodir
="$ac_optarg" ;;
263 -libdir |
--libdir |
--libdi |
--libd)
265 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
266 libdir
="$ac_optarg" ;;
268 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
269 |
--libexe |
--libex |
--libe)
270 ac_prev
=libexecdir
;;
271 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
272 |
--libexe=* |
--libex=* |
--libe=*)
273 libexecdir
="$ac_optarg" ;;
275 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
276 |
--localstate |
--localstat |
--localsta |
--localst \
277 |
--locals |
--local |
--loca |
--loc |
--lo)
278 ac_prev
=localstatedir
;;
279 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
280 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
281 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
282 localstatedir
="$ac_optarg" ;;
284 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
286 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
287 mandir
="$ac_optarg" ;;
290 # Obsolete; use --without-fp.
293 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
297 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
298 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
301 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
302 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
303 |
--oldin |
--oldi |
--old |
--ol |
--o)
304 ac_prev
=oldincludedir
;;
305 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
306 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
307 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
308 oldincludedir
="$ac_optarg" ;;
310 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
312 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
313 prefix
="$ac_optarg" ;;
315 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
316 |
--program-pre |
--program-pr |
--program-p)
317 ac_prev
=program_prefix
;;
318 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
319 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
320 program_prefix
="$ac_optarg" ;;
322 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
323 |
--program-suf |
--program-su |
--program-s)
324 ac_prev
=program_suffix
;;
325 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
326 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
327 program_suffix
="$ac_optarg" ;;
329 -program-transform-name |
--program-transform-name \
330 |
--program-transform-nam |
--program-transform-na \
331 |
--program-transform-n |
--program-transform- \
332 |
--program-transform |
--program-transfor \
333 |
--program-transfo |
--program-transf \
334 |
--program-trans |
--program-tran \
335 |
--progr-tra |
--program-tr |
--program-t)
336 ac_prev
=program_transform_name
;;
337 -program-transform-name=* |
--program-transform-name=* \
338 |
--program-transform-nam=* |
--program-transform-na=* \
339 |
--program-transform-n=* |
--program-transform-=* \
340 |
--program-transform=* |
--program-transfor=* \
341 |
--program-transfo=* |
--program-transf=* \
342 |
--program-trans=* |
--program-tran=* \
343 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
344 program_transform_name
="$ac_optarg" ;;
346 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
347 |
-silent |
--silent |
--silen |
--sile |
--sil)
350 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
352 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
354 sbindir
="$ac_optarg" ;;
356 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
357 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
358 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
360 ac_prev
=sharedstatedir
;;
361 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
362 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
363 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
365 sharedstatedir
="$ac_optarg" ;;
367 -site |
--site |
--sit)
369 -site=* |
--site=* |
--sit=*)
372 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
374 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
375 srcdir
="$ac_optarg" ;;
377 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
378 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
379 ac_prev
=sysconfdir
;;
380 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
381 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
382 sysconfdir
="$ac_optarg" ;;
384 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
386 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
387 target
="$ac_optarg" ;;
389 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
392 -version |
--version |
--versio |
--versi |
--vers)
393 echo "configure generated by autoconf version 2.13"
397 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
398 # Reject names that are not valid shell variable names.
399 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
400 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
402 ac_package
=`echo $ac_package| sed 's/-/_/g'`
407 eval "with_${ac_package}='$ac_optarg'" ;;
409 -without-* |
--without-*)
410 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
411 # Reject names that are not valid shell variable names.
412 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
413 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
415 ac_package
=`echo $ac_package| sed 's/-/_/g'`
416 eval "with_${ac_package}=no" ;;
419 # Obsolete; use --with-x.
422 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
423 |
--x-incl |
--x-inc |
--x-in |
--x-i)
424 ac_prev
=x_includes
;;
425 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
426 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
427 x_includes
="$ac_optarg" ;;
429 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
430 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
431 ac_prev
=x_libraries
;;
432 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
433 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
434 x_libraries
="$ac_optarg" ;;
436 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
440 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
441 echo "configure: warning: $ac_option: invalid host type" 1>&2
443 if test "x$nonopt" != xNONE
; then
444 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
452 if test -n "$ac_prev"; then
453 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
456 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
458 # File descriptor usage:
461 # 2 errors and warnings
462 # 3 some systems may open it to /dev/tty
463 # 4 used on the Kubota Titan
464 # 6 checking for... messages and results
465 # 5 compiler messages saved in config.log
466 if test "$silent" = yes; then
474 This file contains any messages produced by compilers while
475 running configure, to aid debugging if configure makes a mistake.
478 # Strip out --no-create and --no-recursion so they do not pile up.
479 # Also quote any args containing shell metacharacters.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c) ;;
486 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
487 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
488 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
489 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
490 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
495 # Only set these to C if already set. These must not be set unconditionally
496 # because not all systems understand e.g. LANG=C (notably SCO).
497 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
498 # Non-C LC_CTYPE values break the ctype check.
499 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
500 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
501 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
502 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
504 # confdefs.h avoids OS command line length limits that DEFS can exceed.
505 rm -rf conftest
* confdefs.h
506 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
509 # A filename unique to this package, relative to the directory that
510 # configure is in, which we can look for to find out if srcdir is correct.
511 ac_unique_file
=src
/ios.cc
513 # Find the source files, if location was not specified.
514 if test -z "$srcdir"; then
515 ac_srcdir_defaulted
=yes
516 # Try the directory containing this script, then its parent.
518 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
519 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
521 if test ! -r $srcdir/$ac_unique_file; then
525 ac_srcdir_defaulted
=no
527 if test ! -r $srcdir/$ac_unique_file; then
528 if test "$ac_srcdir_defaulted" = yes; then
529 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
531 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
534 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
536 # Prefer explicitly selected file to automatically selected ones.
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"
544 for ac_site_file
in $CONFIG_SITE; do
545 if test -r "$ac_site_file"; then
546 echo "loading site script $ac_site_file"
551 if test -r "$cache_file"; then
552 echo "loading cache $cache_file"
555 echo "creating cache $cache_file"
560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
561 ac_cpp
='$CPP $CPPFLAGS'
562 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
563 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
564 cross_compiling
=$ac_cv_prog_cc_cross
568 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
569 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
570 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
577 ac_n
= ac_c
='\c' ac_t
=
582 # This works around the fact that libtool configuration may change LD
583 # for this particular configuration, but some shells, instead of
584 # keeping the changes in LD private, export them just because LD is
585 # exported. Only used at the end of this file.
586 ORIGINAL_LD_FOR_MULTILIBS
=$LD
590 # For libtool versioning info, format is CURRENT:REVISION:AGE
591 libtool_VERSION
=4:1:0
595 # Check whether --enable-multilib or --disable-multilib was given.
596 if test "${enable_multilib+set}" = set; then
597 enableval
="$enable_multilib"
598 case "${enableval}" in
601 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
607 # When building with srcdir == objdir, links to the source files will
608 # be created in directories within the target_subdir. We have to
609 # adjust toplevel_srcdir accordingly, so that configure finds
610 # install-sh and other auxiliary files that live in the top-level
612 if test "${srcdir}" = "."; then
613 if test -z "${with_target_subdir}"; then
616 if test "${with_target_subdir}" != "."; then
617 toprel
="${with_multisrctop}../.."
619 toprel
="${with_multisrctop}.."
626 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
627 if test -f $ac_dir/install-sh
; then
629 ac_install_sh
="$ac_aux_dir/install-sh -c"
631 elif test -f $ac_dir/install.sh
; then
633 ac_install_sh
="$ac_aux_dir/install.sh -c"
637 if test -z "$ac_aux_dir"; then
638 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
640 ac_config_guess=$ac_aux_dir/config.guess
641 ac_config_sub=$ac_aux_dir/config.sub
642 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
644 toplevel_srcdir=\${top_srcdir}/$toprel
648 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
650 # You will slowly go insane if you do not grok the following fact: when
651 # building v3 as part of the compiler, the top-level /target/ becomes the
652 # library's /host/. `configure' then causes --target to default to --host,
653 # exactly like any other package using autoconf. Therefore, 'target' and
654 # 'host' will always be the same. This makes sense both for native and
655 # cross compilers, just think about it for a little while. :-)
657 # Also, if v3 is being configured as part of a cross compiler, the top-level
658 # configure script will pass the "real
" host as $with_cross_host.
660 # AC 2.5x sets target_alias iff the user specified --target, but we use it
661 # everywhere, so we set it here just to be sure. In AC 2.13
662 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
664 # Do some error checking and defaulting for the host and target type.
666 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
669 # 1. You are not allowed to specify --host, --target, and nonopt at the
671 # 2. Host defaults to nonopt.
672 # 3. If nonopt is not specified, then host defaults to the current host,
673 # as determined by config.guess.
674 # 4. Target and build default to nonopt.
675 # 5. If nonopt is not specified, then target and build default to host.
677 # The aliases save the names the user supplied, while $host etc.
678 # will get canonicalized.
679 case $host---$target---$nonopt in
680 NONE---*---* | *---NONE---* | *---*---NONE) ;;
681 *) { echo "configure
: error
: can only configure
for one
host and one target
at a
time" 1>&2; exit 1; } ;;
685 # Make sure we can run config.sub.
686 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
687 else { echo "configure
: error
: can not run
$ac_config_sub" 1>&2; exit 1; }
690 echo $ac_n "checking
host system
type""...
$ac_c" 1>&6
691 echo "configure
:692: checking
host system
type" >&5
694 case "$host_alias" in
698 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
699 else { echo "configure
: error
: can not guess
host type; you must specify one
" 1>&2; exit 1; }
701 *) host_alias=$nonopt ;;
705 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
706 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
707 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
708 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
709 echo "$ac_t""$host" 1>&6
711 echo $ac_n "checking target system
type""...
$ac_c" 1>&6
712 echo "configure
:713: checking target system
type" >&5
715 case "$target_alias" in
718 NONE) target_alias=$host_alias ;;
719 *) target_alias=$nonopt ;;
723 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
724 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
725 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
726 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
727 echo "$ac_t""$target" 1>&6
729 echo $ac_n "checking build system
type""...
$ac_c" 1>&6
730 echo "configure
:731: checking build system
type" >&5
733 case "$build_alias" in
736 NONE) build_alias=$host_alias ;;
737 *) build_alias=$nonopt ;;
741 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
742 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
743 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
744 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
745 echo "$ac_t""$build" 1>&6
747 test "$host_alias" != "$target_alias" &&
748 test "$program_prefix$program_suffix$program_transform_name" = \
750 program_prefix=${target_alias}-
752 target_alias=${target_alias-$target}
755 # Find a good install program. We prefer a C program (faster),
756 # so one script is as good as another. But avoid the broken or
757 # incompatible versions:
758 # SysV /etc/install, /usr/sbin/install
759 # SunOS /usr/etc/install
762 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
763 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
764 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
765 # ./install, which can be erroneously created by make from ./install.sh.
766 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
767 echo "configure
:768: checking
for a BSD compatible
install" >&5
768 if test -z "$INSTALL"; then
769 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
770 echo $ac_n "(cached
) $ac_c" 1>&6
772 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
773 for ac_dir in $PATH; do
774 # Account for people who put trailing slashes in PATH elements.
776 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
778 # OSF1 and SCO ODT 3.0 have their own names for install.
779 # Don't use installbsd from OSF since it installs stuff as root
781 for ac_prog in ginstall scoinst install; do
782 if test -f $ac_dir/$ac_prog; then
783 if test $ac_prog = install &&
784 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
785 # AIX install. It has an incompatible calling convention.
788 ac_cv_path_install="$ac_dir/$ac_prog -c"
799 if test "${ac_cv_path_install+set}" = set; then
800 INSTALL="$ac_cv_path_install"
802 # As a last resort, use the slow shell script. We don't cache a
803 # path for INSTALL within a source directory, because that will
804 # break other packages using the cache if that directory is
805 # removed, or if the path is relative.
806 INSTALL="$ac_install_sh"
809 echo "$ac_t""$INSTALL" 1>&6
811 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
812 # It thinks the first close brace ends the variable substitution.
813 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
815 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
817 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
819 echo $ac_n "checking whether build environment is sane
""...
$ac_c" 1>&6
820 echo "configure
:821: checking whether build environment is sane
" >&5
823 echo timestamp > conftestfile
824 # Do `set' in a subshell so we don't clobber the current shell's
825 # arguments. Must try -L first in case configure is actually a
826 # symlink; some systems play weird games with the mod time of symlinks
827 # (eg FreeBSD returns the mod time of the symlink's containing
830 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
831 if test "$
*" = "X
"; then
833 set X `ls -t $srcdir/configure conftestfile`
835 if test "$
*" != "X
$srcdir/configure conftestfile
" \
836 && test "$
*" != "X conftestfile
$srcdir/configure
"; then
838 # If neither matched, then we have a broken ls. This can happen
839 # if, for instance, CONFIG_SHELL is bash and it inherits a
840 # broken ls alias from the environment. This has actually
841 # happened. Such a system could not be considered "sane
".
842 { echo "configure
: error
: ls -t appears to fail. Make sure there is not a broken
843 alias in your environment
" 1>&2; exit 1; }
846 test "$2" = conftestfile
852 { echo "configure
: error
: newly created
file is older than distributed files
!
853 Check your system
clock" 1>&2; exit 1; }
856 echo "$ac_t""yes" 1>&6
857 if test "$program_transform_name" = s,x,x,; then
858 program_transform_name=
860 # Double any \ or $. echo might interpret backslashes.
861 cat <<\EOF_SED > conftestsed
862 s,\\,\\\\,g; s,\$,$$,g
864 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
867 test "$program_prefix" != NONE &&
868 program_transform_name="s
,^
,${program_prefix},; $program_transform_name"
869 # Use a double $ so make ignores it.
870 test "$program_suffix" != NONE &&
871 program_transform_name="s
,\$\$
,${program_suffix},; $program_transform_name"
873 # sed with no file args requires a program.
874 test "$program_transform_name" = "" && program_transform_name="s
,x
,x
,"
876 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
877 echo "configure
:878: checking whether
${MAKE-make} sets \
${MAKE}" >&5
878 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
879 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
880 echo $ac_n "(cached
) $ac_c" 1>&6
882 cat > conftestmake <<\EOF
884 @echo 'ac_maketemp="${MAKE}"'
886 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
887 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
888 if test -n "$ac_maketemp"; then
889 eval ac_cv_prog_make_${ac_make}_set=yes
891 eval ac_cv_prog_make_${ac_make}_set=no
895 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
896 echo "$ac_t""yes" 1>&6
899 echo "$ac_t""no
" 1>&6
900 SET_MAKE="MAKE
=${MAKE-make}"
906 VERSION=$release_VERSION
908 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
909 { echo "configure
: error
: source directory already configured
; run
"make distclean" there first
" 1>&2; exit 1; }
911 cat >> confdefs.h <<EOF
912 #define PACKAGE "$PACKAGE"
915 cat >> confdefs.h <<EOF
916 #define VERSION "$VERSION"
921 missing_dir=`cd $ac_aux_dir && pwd`
922 echo $ac_n "checking
for working aclocal
""...
$ac_c" 1>&6
923 echo "configure
:924: checking
for working aclocal
" >&5
924 # Run test in a subshell; some versions of sh will print an error if
925 # an executable is not found, even if stderr is redirected.
926 # Redirect stdin to placate older versions of autoconf. Sigh.
927 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
929 echo "$ac_t""found
" 1>&6
931 ACLOCAL="$missing_dir/missing aclocal
"
932 echo "$ac_t""missing
" 1>&6
935 echo $ac_n "checking
for working autoconf
""...
$ac_c" 1>&6
936 echo "configure
:937: checking
for working autoconf
" >&5
937 # Run test in a subshell; some versions of sh will print an error if
938 # an executable is not found, even if stderr is redirected.
939 # Redirect stdin to placate older versions of autoconf. Sigh.
940 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
942 echo "$ac_t""found
" 1>&6
944 AUTOCONF="$missing_dir/missing autoconf
"
945 echo "$ac_t""missing
" 1>&6
948 echo $ac_n "checking
for working automake
""...
$ac_c" 1>&6
949 echo "configure
:950: checking
for working automake
" >&5
950 # Run test in a subshell; some versions of sh will print an error if
951 # an executable is not found, even if stderr is redirected.
952 # Redirect stdin to placate older versions of autoconf. Sigh.
953 if (automake --version) < /dev/null > /dev/null 2>&1; then
955 echo "$ac_t""found
" 1>&6
957 AUTOMAKE="$missing_dir/missing automake
"
958 echo "$ac_t""missing
" 1>&6
961 echo $ac_n "checking
for working autoheader
""...
$ac_c" 1>&6
962 echo "configure
:963: checking
for working autoheader
" >&5
963 # Run test in a subshell; some versions of sh will print an error if
964 # an executable is not found, even if stderr is redirected.
965 # Redirect stdin to placate older versions of autoconf. Sigh.
966 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
967 AUTOHEADER=autoheader
968 echo "$ac_t""found
" 1>&6
970 AUTOHEADER="$missing_dir/missing autoheader
"
971 echo "$ac_t""missing
" 1>&6
974 echo $ac_n "checking
for working makeinfo
""...
$ac_c" 1>&6
975 echo "configure
:976: checking
for working makeinfo
" >&5
976 # Run test in a subshell; some versions of sh will print an error if
977 # an executable is not found, even if stderr is redirected.
978 # Redirect stdin to placate older versions of autoconf. Sigh.
979 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
981 echo "$ac_t""found
" 1>&6
983 MAKEINFO="$missing_dir/missing makeinfo
"
984 echo "$ac_t""missing
" 1>&6
992 # Runs configure.target, finds CC, CXX and assorted other critical bits.
993 # Must run this before the GLIBCPP_ENABLE_* macros below.
994 if test $host != $build; then
995 ac_tool_prefix=${host_alias}-
1000 echo $ac_n "checking
for Cygwin environment
""...
$ac_c" 1>&6
1001 echo "configure
:1002: checking
for Cygwin environment
" >&5
1002 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
1003 echo $ac_n "(cached
) $ac_c" 1>&6
1005 cat > conftest.$ac_ext <<EOF
1006 #line 1007 "configure
"
1007 #include "confdefs.h
"
1012 #define __CYGWIN__ __CYGWIN32__
1017 if { (eval echo configure:1018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1021 echo "configure
: failed program was
:" >&5
1022 cat conftest.$ac_ext >&5
1030 echo "$ac_t""$ac_cv_cygwin" 1>&6
1032 test "$ac_cv_cygwin" = yes && CYGWIN=yes
1033 echo $ac_n "checking
for mingw32 environment
""...
$ac_c" 1>&6
1034 echo "configure
:1035: checking
for mingw32 environment
" >&5
1035 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1036 echo $ac_n "(cached
) $ac_c" 1>&6
1038 cat > conftest.$ac_ext <<EOF
1039 #line 1040 "configure
"
1040 #include "confdefs.h
"
1046 if { (eval echo configure:1047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1050 echo "configure
: failed program was
:" >&5
1051 cat conftest.$ac_ext >&5
1059 echo "$ac_t""$ac_cv_mingw32" 1>&6
1061 test "$ac_cv_mingw32" = yes && MINGW32=yes
1064 #possibly test for the presence of the compiler sources here?
1066 # Export build and source directories.
1067 # These need to be absolute paths, yet at the same time need to
1068 # canonicalize only relative paths, because then amd will not unmount
1069 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1070 glibcpp_builddir=`${PWDCMD-pwd}`
1072 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1073 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1080 for ac_prog in gawk mawk nawk awk
1082 # Extract the first word of "$ac_prog", so it can be a program name with args.
1083 set dummy $ac_prog; ac_word=$2
1084 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1085 echo "configure
:1086: checking
for $ac_word" >&5
1086 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1087 echo $ac_n "(cached
) $ac_c" 1>&6
1089 if test -n "$AWK"; then
1090 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1094 for ac_dir in $ac_dummy; do
1095 test -z "$ac_dir" && ac_dir=.
1096 if test -f $ac_dir/$ac_word; then
1097 ac_cv_prog_AWK="$ac_prog"
1104 AWK="$ac_cv_prog_AWK"
1105 if test -n "$AWK"; then
1106 echo "$ac_t""$AWK" 1>&6
1108 echo "$ac_t""no
" 1>&6
1111 test -n "$AWK" && break
1114 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
1115 # be 'cp -p' if linking isn't available. Uncomment the next line to
1116 # force a particular method.
1117 #ac_cv_prog_LN_S='cp -p'
1118 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
1119 echo "configure
:1120: checking whether
ln -s works
" >&5
1120 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1121 echo $ac_n "(cached
) $ac_c" 1>&6
1124 if ln -s X conftestdata 2>/dev/null
1127 ac_cv_prog_LN_S="ln -s"
1132 LN_S="$ac_cv_prog_LN_S"
1133 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1134 echo "$ac_t""yes" 1>&6
1136 echo "$ac_t""no
" 1>&6
1140 # We use these options to decide which functions to include.
1141 # Check whether --with-target-subdir or --without-target-subdir was given.
1142 if test "${with_target_subdir+set}" = set; then
1143 withval="$with_target_subdir"
1147 # Check whether --with-cross-host or --without-cross-host was given.
1148 if test "${with_cross_host+set}" = set; then
1149 withval="$with_cross_host"
1154 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1157 # Never versions of autoconf add an underscore to these functions.
1158 # Prevent future problems ...
1165 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1166 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1167 # are probably using a cross compiler, which will not be able to fully
1168 # link an executable. This is addressed in later versions of autoconf.
1173 # Extract the first word of "gcc
", so it can be a program name with args.
1174 set dummy gcc; ac_word=$2
1175 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1176 echo "configure
:1177: checking
for $ac_word" >&5
1177 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1178 echo $ac_n "(cached
) $ac_c" 1>&6
1180 if test -n "$CC"; then
1181 ac_cv_prog_CC="$CC" # Let the user override the test.
1183 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1185 for ac_dir in $ac_dummy; do
1186 test -z "$ac_dir" && ac_dir=.
1187 if test -f $ac_dir/$ac_word; then
1196 if test -n "$CC"; then
1197 echo "$ac_t""$CC" 1>&6
1199 echo "$ac_t""no
" 1>&6
1202 if test -z "$CC"; then
1203 # Extract the first word of "cc
", so it can be a program name with args.
1204 set dummy cc; ac_word=$2
1205 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1206 echo "configure
:1207: checking
for $ac_word" >&5
1207 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1208 echo $ac_n "(cached
) $ac_c" 1>&6
1210 if test -n "$CC"; then
1211 ac_cv_prog_CC="$CC" # Let the user override the test.
1213 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1216 for ac_dir in $ac_dummy; do
1217 test -z "$ac_dir" && ac_dir=.
1218 if test -f $ac_dir/$ac_word; then
1219 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
1220 ac_prog_rejected=yes
1228 if test $ac_prog_rejected = yes; then
1229 # We found a bogon in the path, so make sure we never use it.
1230 set dummy $ac_cv_prog_CC
1232 if test $# -gt 0; then
1233 # We chose a different compiler from the bogus one.
1234 # However, it has the same basename, so the bogon will be chosen
1235 # first if we set CC to just the basename; use the full file name.
1237 set dummy "$ac_dir/$ac_word" "$@
"
1245 if test -n "$CC"; then
1246 echo "$ac_t""$CC" 1>&6
1248 echo "$ac_t""no
" 1>&6
1251 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
1254 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
1255 echo "configure
:1256: checking whether we are using GNU C
" >&5
1256 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1257 echo $ac_n "(cached
) $ac_c" 1>&6
1259 cat > conftest.c <<EOF
1264 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1271 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1273 if test $ac_cv_prog_gcc = yes; then
1275 ac_test_CFLAGS="${CFLAGS+set}"
1276 ac_save_CFLAGS="$CFLAGS"
1278 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
1279 echo "configure
:1280: checking whether
${CC-cc} accepts
-g" >&5
1280 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1281 echo $ac_n "(cached
) $ac_c" 1>&6
1283 echo 'void f(){}' > conftest.c
1284 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1293 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1294 if test "$ac_test_CFLAGS" = set; then
1295 CFLAGS="$ac_save_CFLAGS"
1296 elif test $ac_cv_prog_cc_g = yes; then
1303 test "${CFLAGS+set}" = set || CFLAGS="-g"
1307 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1308 # will try to link in libstdc++.
1312 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1313 # flags that come in CXX while configuring libstdc++. They're different
1314 # from those used for all other target libraries. If CXX is set in
1315 # the environment, respect that here.
1317 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1319 # Extract the first word of "$ac_prog", so it can be a program name with args.
1320 set dummy $ac_prog; ac_word=$2
1321 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1322 echo "configure
:1323: checking
for $ac_word" >&5
1323 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1324 echo $ac_n "(cached
) $ac_c" 1>&6
1326 if test -n "$glibcpp_CXX"; then
1327 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1331 for ac_dir in $ac_dummy; do
1332 test -z "$ac_dir" && ac_dir=.
1333 if test -f $ac_dir/$ac_word; then
1334 ac_cv_prog_glibcpp_CXX="$ac_prog"
1341 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1342 if test -n "$glibcpp_CXX"; then
1343 echo "$ac_t""$glibcpp_CXX" 1>&6
1345 echo "$ac_t""no
" 1>&6
1348 test -n "$glibcpp_CXX" && break
1350 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc
"
1354 test -z "$glibcpp_CXX" && { echo "configure
: error
: no acceptable c
++ found
in \
$PATH" 1>&2; exit 1; }
1356 echo $ac_n "checking whether we are using GNU C
++""...
$ac_c" 1>&6
1357 echo "configure
:1358: checking whether we are using GNU C
++" >&5
1358 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1359 echo $ac_n "(cached
) $ac_c" 1>&6
1361 cat > conftest.C <<EOF
1366 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1373 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1375 if test $ac_cv_prog_gxx = yes; then
1377 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1378 ac_save_CXXFLAGS="$CXXFLAGS"
1380 echo $ac_n "checking whether
${CXX-g++} accepts
-g""...
$ac_c" 1>&6
1381 echo "configure
:1382: checking whether
${CXX-g++} accepts
-g" >&5
1382 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1383 echo $ac_n "(cached
) $ac_c" 1>&6
1385 echo 'void f(){}' > conftest.cc
1386 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1387 ac_cv_prog_cxx_g=yes
1395 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1396 if test "$ac_test_CXXFLAGS" = set; then
1397 CXXFLAGS="$ac_save_CXXFLAGS"
1398 elif test $ac_cv_prog_cxx_g = yes; then
1405 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1409 # For some reason, gettext needs this.
1411 echo $ac_n "checking
for strerror
in -lcposix""...
$ac_c" 1>&6
1412 echo "configure
:1413: checking
for strerror
in -lcposix" >&5
1413 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1414 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1415 echo $ac_n "(cached
) $ac_c" 1>&6
1417 ac_save_LIBS="$LIBS"
1418 LIBS="-lcposix $LIBS"
1419 cat > conftest.$ac_ext <<EOF
1420 #line 1421 "configure
"
1421 #include "confdefs.h
"
1422 /* Override any gcc2 internal prototype to avoid an error. */
1423 /* We use char because int might match the return type of a gcc2
1424 builtin and then its argument prototype would still apply. */
1431 if { (eval echo configure:1432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1433 eval "ac_cv_lib_
$ac_lib_var=yes"
1435 echo "configure
: failed program was
:" >&5
1436 cat conftest.$ac_ext >&5
1438 eval "ac_cv_lib_
$ac_lib_var=no
"
1441 LIBS="$ac_save_LIBS"
1444 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1445 echo "$ac_t""yes" 1>&6
1446 LIBS="$LIBS -lcposix"
1448 echo "$ac_t""no
" 1>&6
1454 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1455 set dummy ${ac_tool_prefix}as; ac_word=$2
1456 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1457 echo "configure
:1458: checking
for $ac_word" >&5
1458 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1459 echo $ac_n "(cached
) $ac_c" 1>&6
1461 if test -n "$AS"; then
1462 ac_cv_prog_AS="$AS" # Let the user override the test.
1464 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1466 for ac_dir in $ac_dummy; do
1467 test -z "$ac_dir" && ac_dir=.
1468 if test -f $ac_dir/$ac_word; then
1469 ac_cv_prog_AS="${ac_tool_prefix}as
"
1474 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1478 if test -n "$AS"; then
1479 echo "$ac_t""$AS" 1>&6
1481 echo "$ac_t""no
" 1>&6
1486 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1487 set dummy ${ac_tool_prefix}ar; ac_word=$2
1488 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1489 echo "configure
:1490: checking
for $ac_word" >&5
1490 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1491 echo $ac_n "(cached
) $ac_c" 1>&6
1493 if test -n "$AR"; then
1494 ac_cv_prog_AR="$AR" # Let the user override the test.
1496 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1498 for ac_dir in $ac_dummy; do
1499 test -z "$ac_dir" && ac_dir=.
1500 if test -f $ac_dir/$ac_word; then
1501 ac_cv_prog_AR="${ac_tool_prefix}ar"
1506 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1510 if test -n "$AR"; then
1511 echo "$ac_t""$AR" 1>&6
1513 echo "$ac_t""no
" 1>&6
1518 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1519 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1520 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1521 echo "configure
:1522: checking
for $ac_word" >&5
1522 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1523 echo $ac_n "(cached
) $ac_c" 1>&6
1525 if test -n "$RANLIB"; then
1526 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1528 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1530 for ac_dir in $ac_dummy; do
1531 test -z "$ac_dir" && ac_dir=.
1532 if test -f $ac_dir/$ac_word; then
1533 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1540 RANLIB="$ac_cv_prog_RANLIB"
1541 if test -n "$RANLIB"; then
1542 echo "$ac_t""$RANLIB" 1>&6
1544 echo "$ac_t""no
" 1>&6
1548 if test -z "$ac_cv_prog_RANLIB"; then
1549 if test -n "$ac_tool_prefix"; then
1550 # Extract the first word of "ranlib
", so it can be a program name with args.
1551 set dummy ranlib; ac_word=$2
1552 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1553 echo "configure
:1554: checking
for $ac_word" >&5
1554 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1555 echo $ac_n "(cached
) $ac_c" 1>&6
1557 if test -n "$RANLIB"; then
1558 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1560 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1562 for ac_dir in $ac_dummy; do
1563 test -z "$ac_dir" && ac_dir=.
1564 if test -f $ac_dir/$ac_word; then
1565 ac_cv_prog_RANLIB="ranlib
"
1570 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1573 RANLIB="$ac_cv_prog_RANLIB"
1574 if test -n "$RANLIB"; then
1575 echo "$ac_t""$RANLIB" 1>&6
1577 echo "$ac_t""no
" 1>&6
1581 RANLIB="ranlib-not-found-in-path-error
"
1585 # Find a good install program. We prefer a C program (faster),
1586 # so one script is as good as another. But avoid the broken or
1587 # incompatible versions:
1588 # SysV /etc/install, /usr/sbin/install
1589 # SunOS /usr/etc/install
1590 # IRIX /sbin/install
1592 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1593 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1594 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1595 # ./install, which can be erroneously created by make from ./install.sh.
1596 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1597 echo "configure
:1598: checking
for a BSD compatible
install" >&5
1598 if test -z "$INSTALL"; then
1599 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1600 echo $ac_n "(cached
) $ac_c" 1>&6
1602 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1603 for ac_dir in $PATH; do
1604 # Account for people who put trailing slashes in PATH elements.
1606 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1608 # OSF1 and SCO ODT 3.0 have their own names for install.
1609 # Don't use installbsd from OSF since it installs stuff as root
1611 for ac_prog in ginstall scoinst install; do
1612 if test -f $ac_dir/$ac_prog; then
1613 if test $ac_prog = install &&
1614 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1615 # AIX install. It has an incompatible calling convention.
1618 ac_cv_path_install="$ac_dir/$ac_prog -c"
1629 if test "${ac_cv_path_install+set}" = set; then
1630 INSTALL="$ac_cv_path_install"
1632 # As a last resort, use the slow shell script. We don't cache a
1633 # path for INSTALL within a source directory, because that will
1634 # break other packages using the cache if that directory is
1635 # removed, or if the path is relative.
1636 INSTALL="$ac_install_sh"
1639 echo "$ac_t""$INSTALL" 1>&6
1641 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1642 # It thinks the first close brace ends the variable substitution.
1643 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1645 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1647 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1650 echo $ac_n "checking whether to
enable maintainer-specific portions of Makefiles
""...
$ac_c" 1>&6
1651 echo "configure
:1652: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
1652 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1653 if test "${enable_maintainer_mode+set}" = set; then
1654 enableval="$enable_maintainer_mode"
1655 USE_MAINTAINER_MODE=$enableval
1657 USE_MAINTAINER_MODE=no
1660 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1663 if test $USE_MAINTAINER_MODE = yes; then
1664 MAINTAINER_MODE_TRUE=
1665 MAINTAINER_MODE_FALSE='#'
1667 MAINTAINER_MODE_TRUE='#'
1668 MAINTAINER_MODE_FALSE=
1670 MAINT=$MAINTAINER_MODE_TRUE
1674 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1675 # at least currently, we never actually build a program, so we never
1676 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1677 # fails, because we are probably configuring with a cross compiler
1678 # which can't create executables. So we include AC_EXEEXT to keep
1679 # automake happy, but we don't execute it, since we don't care about
1682 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1683 # to nothing, so nothing would remain between `then' and `fi' if it
1684 # were not for the `:' below.
1688 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1689 echo "configure
:1690: checking
for executable suffix
" >&5
1690 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1691 echo $ac_n "(cached
) $ac_c" 1>&6
1693 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1697 echo 'int main () { return 0; }' > conftest.$ac_ext
1699 if { (eval echo configure:1700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1700 for file in conftest.*; do
1702 *.c | *.o | *.obj) ;;
1703 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1707 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1710 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1715 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1716 echo "$ac_t""${ac_cv_exeext}" 1>&6
1721 case ${glibcpp_basedir} in
1722 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1723 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1726 # Find platform-specific directories containing configuration info. In
1727 # addition to possibly modifying the same flags, it also sets up symlinks.
1729 . ${glibcpp_basedir}/configure.target
1730 echo "$ac_t""CPU config directory is
$cpu_include_dir" 1>&6
1731 echo "$ac_t""OS config directory is
$os_include_dir" 1>&6
1737 # Check whether --enable-shared or --disable-shared was given.
1738 if test "${enable_shared+set}" = set; then
1739 enableval="$enable_shared"
1740 p=${PACKAGE-default}
1742 yes) enable_shared=yes ;;
1743 no) enable_shared=no ;;
1746 # Look at the argument we got. We use all the common list separators.
1747 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1748 for pkg in $enableval; do
1749 if test "X
$pkg" = "X
$p"; then
1760 # Check whether --enable-static or --disable-static was given.
1761 if test "${enable_static+set}" = set; then
1762 enableval="$enable_static"
1763 p=${PACKAGE-default}
1765 yes) enable_static=yes ;;
1766 no) enable_static=no ;;
1769 # Look at the argument we got. We use all the common list separators.
1770 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1771 for pkg in $enableval; do
1772 if test "X
$pkg" = "X
$p"; then
1783 # Check whether --enable-fast-install or --disable-fast-install was given.
1784 if test "${enable_fast_install+set}" = set; then
1785 enableval="$enable_fast_install"
1786 p=${PACKAGE-default}
1788 yes) enable_fast_install=yes ;;
1789 no) enable_fast_install=no ;;
1791 enable_fast_install=no
1792 # Look at the argument we got. We use all the common list separators.
1793 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1794 for pkg in $enableval; do
1795 if test "X
$pkg" = "X
$p"; then
1796 enable_fast_install=yes
1803 enable_fast_install=yes
1806 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1807 if test "${with_gnu_ld+set}" = set; then
1808 withval="$with_gnu_ld"
1809 test "$withval" = no || with_gnu_ld=yes
1815 if test "$GCC" = yes; then
1816 # Check if gcc -print-prog-name=ld gives a path.
1817 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1818 echo "configure
:1819: checking
for ld used by GCC
" >&5
1821 # gcc leaves a trailing carriage return which upsets mingw
1822 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1824 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1827 # Accept absolute paths.
1828 [\\/]* | [A-Za-z]:[\\/]*)
1829 re_direlt='/[^/][^/]*/\.\./'
1830 # Canonicalize the path of ld
1831 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1832 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1833 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1835 test -z "$LD" && LD="$ac_prog"
1838 # If it fails, then pretend we aren't using GCC.
1842 # If it is relative, then search for the first ld in PATH.
1846 elif test "$with_gnu_ld" = yes; then
1847 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1848 echo "configure
:1849: checking
for GNU ld
" >&5
1850 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1851 echo "configure
:1852: checking
for non-GNU ld
" >&5
1853 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1854 echo $ac_n "(cached
) $ac_c" 1>&6
1856 if test -z "$LD"; then
1857 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1858 for ac_dir in $PATH; do
1859 test -z "$ac_dir" && ac_dir=.
1860 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1861 lt_cv_path_LD="$ac_dir/$ac_prog"
1862 # Check to see if the program is GNU ld. I'd rather use --version,
1863 # but apparently some GNU ld's only accept -v.
1864 # Break only if it was the GNU/non-GNU ld that we prefer.
1865 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1866 test "$with_gnu_ld" != no && break
1868 test "$with_gnu_ld" != yes && break
1874 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1879 if test -n "$LD"; then
1880 echo "$ac_t""$LD" 1>&6
1882 echo "$ac_t""no
" 1>&6
1884 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1885 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1886 echo "configure
:1887: checking
if the linker
($LD) is GNU ld
" >&5
1887 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1888 echo $ac_n "(cached
) $ac_c" 1>&6
1890 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1891 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1892 lt_cv_prog_gnu_ld=yes
1894 lt_cv_prog_gnu_ld=no
1898 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1899 with_gnu_ld=$lt_cv_prog_gnu_ld
1902 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1903 echo "configure
:1904: checking
for $LD option to reload object files
" >&5
1904 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1905 echo $ac_n "(cached
) $ac_c" 1>&6
1907 lt_cv_ld_reload_flag='-r'
1910 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1911 reload_flag=$lt_cv_ld_reload_flag
1912 test -n "$reload_flag" && reload_flag=" $reload_flag"
1914 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1915 echo "configure
:1916: checking
for BSD-compatible nm
" >&5
1916 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1917 echo $ac_n "(cached
) $ac_c" 1>&6
1919 if test -n "$NM"; then
1920 # Let the user override the test.
1923 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1924 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1925 test -z "$ac_dir" && ac_dir=.
1926 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1927 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1928 # Check to see if the nm accepts a BSD-compat flag.
1929 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1930 # nm: unknown option "B
" ignored
1931 # Tru64's nm complains that /dev/null is an invalid object file
1932 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1933 lt_cv_path_NM="$tmp_nm -B"
1935 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1936 lt_cv_path_NM="$tmp_nm -p"
1939 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1940 continue # so that we can try to find one that supports BSD flags
1945 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1950 echo "$ac_t""$NM" 1>&6
1952 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1953 echo "configure
:1954: checking how to recognise dependant libraries
" >&5
1954 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1955 echo $ac_n "(cached
) $ac_c" 1>&6
1957 lt_cv_file_magic_cmd='$MAGIC_CMD'
1958 lt_cv_file_magic_test_file=
1959 lt_cv_deplibs_check_method='unknown'
1960 # Need to set the preceding variable on all platforms that support
1961 # interlibrary dependencies.
1962 # 'none' -- dependencies not supported.
1963 # `unknown' -- same as none, but documents that we really don't know.
1964 # 'pass_all' -- all dependencies passed with no checks.
1965 # 'test_compile' -- check by making test program.
1966 # 'file_magic [regex]' -- check by looking for files in library path
1967 # which responds to the $file_magic_cmd with a given egrep regex.
1968 # If you have `file' or equivalent on your system and you're not sure
1969 # whether `pass_all' will *always* work, you probably want this one.
1973 lt_cv_deplibs_check_method=pass_all
1977 lt_cv_deplibs_check_method=pass_all
1981 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1982 lt_cv_file_magic_cmd='/usr/bin/file -L'
1983 lt_cv_file_magic_test_file=/shlib/libc.so
1986 cygwin* | mingw* |pw32*)
1987 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1988 lt_cv_file_magic_cmd='$OBJDUMP -f'
1991 darwin* | rhapsody*)
1992 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1993 lt_cv_file_magic_cmd='/usr/bin/file -L'
1995 rhapsody* | darwin1.012)
1996 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1999 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2005 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2008 # Not sure whether the presence of OpenBSD here was a mistake.
2009 # Let's accept both of them until this is cleared up.
2010 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2011 lt_cv_file_magic_cmd=/usr/bin/file
2012 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2016 lt_cv_deplibs_check_method=pass_all
2021 lt_cv_deplibs_check_method=pass_all
2025 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2026 lt_cv_file_magic_cmd=/usr/bin/file
2027 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2033 # this will be overridden with pass_all, but let us keep it just in case
2034 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
2038 *-32|*"-32 ") libmagic=32-bit;;
2039 *-n32|*"-n32 ") libmagic=N32;;
2040 *-64|*"-64 ") libmagic=64-bit;;
2041 *) libmagic=never-match;;
2043 # this will be overridden with pass_all, but let us keep it just in case
2044 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
2047 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2048 lt_cv_deplibs_check_method=pass_all
2051 # This must be Linux ELF.
2054 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2055 lt_cv_deplibs_check_method=pass_all ;;
2057 # glibc up to 2.1.1 does not perform some relocations on ARM
2058 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2060 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2064 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2065 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2067 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2072 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2073 lt_cv_file_magic_cmd=/usr/bin/file
2074 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2077 osf3* | osf4* | osf5*)
2078 # this will be overridden with pass_all, but let us keep it just in case
2079 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2080 lt_cv_file_magic_test_file=/shlib/libc.so
2081 lt_cv_deplibs_check_method=pass_all
2085 lt_cv_deplibs_check_method=pass_all
2089 lt_cv_deplibs_check_method=pass_all
2090 lt_cv_file_magic_test_file=/lib/libc.so
2093 sysv5uw[78]* | sysv4*uw2*)
2094 lt_cv_deplibs_check_method=pass_all
2097 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2098 case $host_vendor in
2100 lt_cv_deplibs_check_method=pass_all
2103 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]'
2104 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2112 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2113 file_magic_cmd=$lt_cv_file_magic_cmd
2114 deplibs_check_method=$lt_cv_deplibs_check_method
2116 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
2117 echo "configure
:2118: checking
for object suffix
" >&5
2118 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2119 echo $ac_n "(cached
) $ac_c" 1>&6
2122 echo 'int i = 1;' > conftest.$ac_ext
2123 if { (eval echo configure:2124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2124 for ac_file in conftest.*; do
2127 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2131 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2136 echo "$ac_t""$ac_cv_objext" 1>&6
2137 OBJEXT=$ac_cv_objext
2138 ac_objext=$ac_cv_objext
2140 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2142 # Only perform the check for file, if the check method requires it
2143 case $deplibs_check_method in
2145 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2146 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2147 echo "configure
:2148: checking
for ${ac_tool_prefix}file" >&5
2148 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2149 echo $ac_n "(cached
) $ac_c" 1>&6
2153 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2156 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2159 ac_save_MAGIC_CMD="$MAGIC_CMD"
2160 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2161 ac_dummy="/usr
/bin
:$PATH"
2162 for ac_dir in $ac_dummy; do
2163 test -z "$ac_dir" && ac_dir=.
2164 if test -f $ac_dir/${ac_tool_prefix}file; then
2165 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2166 if test -n "$file_magic_test_file"; then
2167 case $deplibs_check_method in
2169 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2170 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2171 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2172 egrep "$file_magic_regex" > /dev/null; then
2177 *** Warning: the command libtool uses to detect shared libraries,
2178 *** $file_magic_cmd, produces output that libtool cannot recognize.
2179 *** The result is that libtool may fail to recognize shared libraries
2180 *** as such. This will affect the creation of libtool libraries that
2181 *** depend on shared libraries, but programs linked with such libtool
2182 *** libraries will work regardless of this problem. Nevertheless, you
2183 *** may want to report the problem to your system manager and/or to
2184 *** bug-libtool@gnu.org
2194 MAGIC_CMD="$ac_save_MAGIC_CMD"
2199 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2200 if test -n "$MAGIC_CMD"; then
2201 echo "$ac_t""$MAGIC_CMD" 1>&6
2203 echo "$ac_t""no
" 1>&6
2206 if test -z "$lt_cv_path_MAGIC_CMD"; then
2207 if test -n "$ac_tool_prefix"; then
2208 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2209 echo "configure
:2210: checking
for file" >&5
2210 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2211 echo $ac_n "(cached
) $ac_c" 1>&6
2215 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2218 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2221 ac_save_MAGIC_CMD="$MAGIC_CMD"
2222 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2223 ac_dummy="/usr
/bin
:$PATH"
2224 for ac_dir in $ac_dummy; do
2225 test -z "$ac_dir" && ac_dir=.
2226 if test -f $ac_dir/file; then
2227 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2228 if test -n "$file_magic_test_file"; then
2229 case $deplibs_check_method in
2231 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2232 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2233 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2234 egrep "$file_magic_regex" > /dev/null; then
2239 *** Warning: the command libtool uses to detect shared libraries,
2240 *** $file_magic_cmd, produces output that libtool cannot recognize.
2241 *** The result is that libtool may fail to recognize shared libraries
2242 *** as such. This will affect the creation of libtool libraries that
2243 *** depend on shared libraries, but programs linked with such libtool
2244 *** libraries will work regardless of this problem. Nevertheless, you
2245 *** may want to report the problem to your system manager and/or to
2246 *** bug-libtool@gnu.org
2256 MAGIC_CMD="$ac_save_MAGIC_CMD"
2261 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2262 if test -n "$MAGIC_CMD"; then
2263 echo "$ac_t""$MAGIC_CMD" 1>&6
2265 echo "$ac_t""no
" 1>&6
2277 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2278 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2279 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2280 echo "configure
:2281: checking
for $ac_word" >&5
2281 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2282 echo $ac_n "(cached
) $ac_c" 1>&6
2284 if test -n "$RANLIB"; then
2285 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2287 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2289 for ac_dir in $ac_dummy; do
2290 test -z "$ac_dir" && ac_dir=.
2291 if test -f $ac_dir/$ac_word; then
2292 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2299 RANLIB="$ac_cv_prog_RANLIB"
2300 if test -n "$RANLIB"; then
2301 echo "$ac_t""$RANLIB" 1>&6
2303 echo "$ac_t""no
" 1>&6
2307 if test -z "$ac_cv_prog_RANLIB"; then
2308 if test -n "$ac_tool_prefix"; then
2309 # Extract the first word of "ranlib
", so it can be a program name with args.
2310 set dummy ranlib; ac_word=$2
2311 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2312 echo "configure
:2313: checking
for $ac_word" >&5
2313 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2314 echo $ac_n "(cached
) $ac_c" 1>&6
2316 if test -n "$RANLIB"; then
2317 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2319 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2321 for ac_dir in $ac_dummy; do
2322 test -z "$ac_dir" && ac_dir=.
2323 if test -f $ac_dir/$ac_word; then
2324 ac_cv_prog_RANLIB="ranlib
"
2329 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2332 RANLIB="$ac_cv_prog_RANLIB"
2333 if test -n "$RANLIB"; then
2334 echo "$ac_t""$RANLIB" 1>&6
2336 echo "$ac_t""no
" 1>&6
2344 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2345 set dummy ${ac_tool_prefix}strip; ac_word=$2
2346 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2347 echo "configure
:2348: checking
for $ac_word" >&5
2348 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2349 echo $ac_n "(cached
) $ac_c" 1>&6
2351 if test -n "$STRIP"; then
2352 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2354 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2356 for ac_dir in $ac_dummy; do
2357 test -z "$ac_dir" && ac_dir=.
2358 if test -f $ac_dir/$ac_word; then
2359 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2366 STRIP="$ac_cv_prog_STRIP"
2367 if test -n "$STRIP"; then
2368 echo "$ac_t""$STRIP" 1>&6
2370 echo "$ac_t""no
" 1>&6
2374 if test -z "$ac_cv_prog_STRIP"; then
2375 if test -n "$ac_tool_prefix"; then
2376 # Extract the first word of "strip
", so it can be a program name with args.
2377 set dummy strip; ac_word=$2
2378 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2379 echo "configure
:2380: checking
for $ac_word" >&5
2380 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2381 echo $ac_n "(cached
) $ac_c" 1>&6
2383 if test -n "$STRIP"; then
2384 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2386 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2388 for ac_dir in $ac_dummy; do
2389 test -z "$ac_dir" && ac_dir=.
2390 if test -f $ac_dir/$ac_word; then
2391 ac_cv_prog_STRIP="strip
"
2396 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2399 STRIP="$ac_cv_prog_STRIP"
2400 if test -n "$STRIP"; then
2401 echo "$ac_t""$STRIP" 1>&6
2403 echo "$ac_t""no
" 1>&6
2412 # Check for any special flags to pass to ltconfig.
2413 libtool_flags="--cache-file=$cache_file"
2414 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2415 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2416 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2417 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2418 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2419 libtool_flags="$libtool_flags --enable-dlopen"
2421 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2422 if test "${enable_libtool_lock+set}" = set; then
2423 enableval="$enable_libtool_lock"
2427 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2428 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2430 # Check whether --with-pic or --without-pic was given.
2431 if test "${with_pic+set}" = set; then
2438 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2439 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2441 # Some flags need to be propagated to the compiler or linker for good
2445 # Find out which ABI we are using.
2446 echo '#line 2447 "configure
"' > conftest.$ac_ext
2447 if { (eval echo configure:2448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2448 case `/usr/bin/file conftest.$ac_objext` in
2464 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2465 SAVE_CFLAGS="$CFLAGS"
2466 CFLAGS="$CFLAGS -belf"
2467 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2468 echo "configure
:2469: checking whether the C compiler needs
-belf" >&5
2469 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2470 echo $ac_n "(cached
) $ac_c" 1>&6
2474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2475 ac_cpp='$CPP $CPPFLAGS'
2476 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2477 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2478 cross_compiling=$ac_cv_prog_cc_cross
2480 cat > conftest.$ac_ext <<EOF
2481 #line 2482 "configure
"
2482 #include "confdefs.h
"
2488 if { (eval echo configure:2489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2490 lt_cv_cc_needs_belf=yes
2492 echo "configure
: failed program was
:" >&5
2493 cat conftest.$ac_ext >&5
2495 lt_cv_cc_needs_belf=no
2499 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2500 ac_cpp='$CPP $CPPFLAGS'
2501 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2502 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2503 cross_compiling=$ac_cv_prog_cc_cross
2507 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2508 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2509 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2510 CFLAGS="$SAVE_CFLAGS"
2517 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2518 echo "configure
:2519: checking how to run the C
++ preprocessor
" >&5
2519 if test -z "$CXXCPP"; then
2520 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2521 echo $ac_n "(cached
) $ac_c" 1>&6
2524 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2525 ac_cpp='$CXXCPP $CPPFLAGS'
2526 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2527 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2528 cross_compiling=$ac_cv_prog_cxx_cross
2529 CXXCPP="${CXX-g++} -E"
2530 cat > conftest.$ac_ext <<EOF
2531 #line 2532 "configure
"
2532 #include "confdefs.h
"
2535 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2536 { (eval echo configure:2537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2538 if test -z "$ac_err"; then
2542 echo "configure
: failed program was
:" >&5
2543 cat conftest.$ac_ext >&5
2548 ac_cv_prog_CXXCPP="$CXXCPP"
2550 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2551 ac_cpp='$CPP $CPPFLAGS'
2552 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2553 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2554 cross_compiling=$ac_cv_prog_cc_cross
2557 CXXCPP="$ac_cv_prog_CXXCPP"
2558 echo "$ac_t""$CXXCPP" 1>&6
2561 # Save cache, so that ltconfig can load it
2562 cat > confcache <<\EOF
2563 # This file is a shell script that caches the results of configure
2564 # tests run on this system so they can be shared between configure
2565 # scripts and configure runs. It is not useful on other systems.
2566 # If it contains results you don't want to keep, you may remove or edit it.
2568 # By default, configure uses ./config.cache as the cache file,
2569 # creating it if it does not exist already. You can give configure
2570 # the --cache-file=FILE option to use a different cache file; that is
2571 # what configure does when it calls configure scripts in
2572 # subdirectories, so they share the cache.
2573 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2574 # config.status only pays attention to the cache file if you give it the
2575 # --recheck option to rerun configure.
2578 # The following way of writing the cache mishandles newlines in values,
2579 # but we know of no workaround that is simple, portable, and efficient.
2580 # So, don't put newlines in cache variables' values.
2581 # Ultrix sh set writes to stderr and can't be redirected directly,
2582 # and sets the high bit in the cache file unless we assign to the vars.
2584 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2586 # `set' does not quote correctly, so add quotes (double-quote substitution
2587 # turns \\\\ into \\, and sed turns \\ into \).
2589 -e "s
/'/'\\\\''/g
" \
2590 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2593 # `set' quotes correctly as required by POSIX, so do not add quotes.
2594 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2597 if cmp -s $cache_file confcache; then
2600 if test -w $cache_file; then
2601 echo "updating cache
$cache_file"
2602 cat confcache > $cache_file
2604 echo "not updating unwritable cache
$cache_file"
2610 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2611 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2612 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2613 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2614 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2615 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2616 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2617 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2618 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2619 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2621 # Reload cache, that may have been modified by ltconfig
2622 if test -r "$cache_file"; then
2623 echo "loading cache
$cache_file"
2626 echo "creating cache
$cache_file"
2631 # This can be used to rebuild libtool when needed
2632 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2634 # Always use our own libtool.
2635 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2637 # Redirect the config.log output again, so that the ltconfig log is not
2638 # clobbered by the next message.
2639 exec 5>>./config.log
2643 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2645 lt_save_CFLAGS="$CFLAGS"
2646 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2647 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2648 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2649 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2650 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2651 deplibs_check_method="$deplibs_check_method" \
2652 file_magic_cmd="$file_magic_cmd" \
2653 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2654 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2655 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2657 CFLAGS="$lt_save_CFLAGS"
2659 # Redirect the config.log output again, so that the ltconfig log is not
2660 # clobbered by the next message.
2661 exec 5>>./config.log
2671 # Check for c++ or library specific bits that don't require linking.
2672 #GLIBCPP_CHECK_COMPILER_VERSION
2673 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2674 echo "configure
:2675: checking
for GNU
make" >&5
2675 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2676 echo $ac_n "(cached
) $ac_c" 1>&6
2678 _cv_gnu_make_command='' ;
2679 for a in "${MAKE-make}" make gmake gnumake ; do
2680 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2682 _cv_gnu_make_command=$a ;
2689 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2690 if test "x
$_cv_gnu_make_command" != "x
" ; then
2698 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2699 # Check whether --enable-debug or --disable-debug was given.
2700 if test "${enable_debug+set}" = set; then
2701 enableval="$enable_debug"
2702 case "${enableval}" in
2703 yes) enable_debug=yes ;;
2704 no) enable_debug=no ;;
2705 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
2711 case "${enable_debug}" in
2713 DEBUG_FLAGS='-O0 -ggdb3'
2721 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2722 echo "configure
:2723: checking how to run the C preprocessor
" >&5
2723 # On Suns, sometimes $CPP names a directory.
2724 if test -n "$CPP" && test -d "$CPP"; then
2727 if test -z "$CPP"; then
2728 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2729 echo $ac_n "(cached
) $ac_c" 1>&6
2731 # This must be in double quotes, not single quotes, because CPP may get
2732 # substituted into the Makefile and "${CC-cc}" will confuse make.
2734 # On the NeXT, cc -E runs the code through the compiler's parser,
2735 # not just through cpp.
2736 cat > conftest.$ac_ext <<EOF
2737 #line 2738 "configure
"
2738 #include "confdefs.h
"
2742 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2743 { (eval echo configure:2744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2745 if test -z "$ac_err"; then
2749 echo "configure
: failed program was
:" >&5
2750 cat conftest.$ac_ext >&5
2752 CPP="${CC-cc} -E -traditional-cpp"
2753 cat > conftest.$ac_ext <<EOF
2754 #line 2755 "configure
"
2755 #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
2766 echo "configure
: failed program was
:" >&5
2767 cat conftest.$ac_ext >&5
2769 CPP="${CC-cc} -nologo -E"
2770 cat > conftest.$ac_ext <<EOF
2771 #line 2772 "configure
"
2772 #include "confdefs.h
"
2776 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2777 { (eval echo configure:2778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2778 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2779 if test -z "$ac_err"; then
2783 echo "configure
: failed program was
:" >&5
2784 cat conftest.$ac_ext >&5
2793 ac_cv_prog_CPP="$CPP"
2795 CPP="$ac_cv_prog_CPP"
2797 ac_cv_prog_CPP="$CPP"
2799 echo "$ac_t""$CPP" 1>&6
2802 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2803 echo "configure
:2804: checking
for cstdio to use
" >&5
2804 # Check whether --enable-cstdio or --disable-cstdio was given.
2805 if test "${enable_cstdio+set}" = set; then
2806 enableval="$enable_cstdio"
2807 if test x$enable_cstdio = xno; then
2815 enable_cstdio_flag=$enable_cstdio
2817 case x${enable_cstdio_flag} in
2819 CSTDIO_H=config/io/c_io_libio.h
2820 BASIC_FILE_H=config/io/basic_file_libio.h
2821 BASIC_FILE_CC=config/io/basic_file_libio.cc
2822 echo "$ac_t""libio
" 1>&6
2824 # see if we are on a system with libio native (ie, linux)
2825 ac_safe=`echo "libio.h
" | sed 'y%./+-%__p_%'`
2826 echo $ac_n "checking
for libio.h
""...
$ac_c" 1>&6
2827 echo "configure
:2828: checking
for libio.h
" >&5
2828 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2829 echo $ac_n "(cached
) $ac_c" 1>&6
2831 cat > conftest.$ac_ext <<EOF
2832 #line 2833 "configure
"
2833 #include "confdefs.h
"
2836 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2837 { (eval echo configure:2838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2839 if test -z "$ac_err"; then
2841 eval "ac_cv_header_
$ac_safe=yes"
2844 echo "configure
: failed program was
:" >&5
2845 cat conftest.$ac_ext >&5
2847 eval "ac_cv_header_
$ac_safe=no
"
2851 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2852 echo "$ac_t""yes" 1>&6
2855 echo "$ac_t""no
" 1>&6
2860 # Need to check and see what version of glibc is being used. If
2861 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2862 # compile most of libio for linux systems.
2863 if test x$has_libio = x"yes"; then
2866 echo $ac_n "checking
for glibc version
>= 2.2""...
$ac_c" 1>&6
2867 echo "configure
:2868: checking
for glibc version
>= 2.2" >&5
2868 cat > conftest.$ac_ext <<EOF
2869 #line 2870 "configure
"
2870 #include "confdefs.h
"
2872 #include <features.h>
2873 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2878 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2879 egrep "ok
" >/dev/null 2>&1; then
2881 glibc_satisfactory=yes
2884 glibc_satisfactory=no
2888 echo "$ac_t""$glibc_satisfactory" 1>&6
2892 # XXX at the moment, admit defeat and force the recompilation
2893 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2894 glibc_satisfactory=no
2896 if test x$glibc_satisfactory = x"yes"; then
2901 # bkoz XXX need to add checks to enable this
2902 # pme XXX here's a first pass at such a check
2903 if test x$enable_c_mbchar != xno; then
2911 # Using libio, but <libio.h> doesn't exist on the target system. . .
2913 # bkoz XXX need to add checks to enable this
2914 # pme XXX here's a first pass at such a check
2915 if test x$enable_c_mbchar != xno; then
2922 xstdio | x | xno | xnone | xyes)
2924 CSTDIO_H=config/io/c_io_stdio.h
2925 BASIC_FILE_H=config/io/basic_file_stdio.h
2926 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2927 echo "$ac_t""stdio
" 1>&6
2929 # We're not using stdio.
2934 echo "$enable_cstdio is an unknown io package
" 1>&2
2942 # 2000-08-04 bkoz hack
2943 CCODECVT_C=config/io/c_io_libio_codecvt.c
2945 # 2000-08-04 bkoz hack
2949 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2950 GLIBCPP_BUILD_LIBIO_TRUE=
2951 GLIBCPP_BUILD_LIBIO_FALSE='#'
2953 GLIBCPP_BUILD_LIBIO_TRUE='#'
2954 GLIBCPP_BUILD_LIBIO_FALSE=
2958 if test "$need_libio" = yes; then
2959 GLIBCPP_NEED_LIBIO_TRUE=
2960 GLIBCPP_NEED_LIBIO_FALSE='#'
2962 GLIBCPP_NEED_LIBIO_TRUE='#'
2963 GLIBCPP_NEED_LIBIO_FALSE=
2967 if test "$need_wlibio" = yes; then
2968 GLIBCPP_NEED_WLIBIO_TRUE=
2969 GLIBCPP_NEED_WLIBIO_FALSE='#'
2971 GLIBCPP_NEED_WLIBIO_TRUE='#'
2972 GLIBCPP_NEED_WLIBIO_FALSE=
2974 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2975 libio_la=../libio/libio.la
2982 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
2983 echo "configure
:2984: checking
for clocale to use
" >&5
2984 # Check whether --enable-clocale or --disable-clocale was given.
2985 if test "${enable_clocale+set}" = set; then
2986 enableval="$enable_clocale"
2987 if test x$enable_clocale = xno; then
2995 enable_clocale_flag=$enable_clocale
2997 if test x$enable_clocale_flag = xno; then
2998 case x${target_os} in
3000 cat > conftest.$ac_ext <<EOF
3001 #line 3002 "configure
"
3002 #include "confdefs.h
"
3004 #include <features.h>
3005 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3010 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3011 egrep "_GLIBCPP_ok
" >/dev/null 2>&1; then
3013 enable_clocale_flag=gnu
3016 enable_clocale_flag=generic
3021 # Test for bugs early in glibc-2.2.x series
3022 if test x$enable_clocale_flag = xgnu; then
3023 if test "$cross_compiling" = yes; then
3024 enable_clocale_flag=generic
3026 cat > conftest.$ac_ext <<EOF
3027 #line 3028 "configure
"
3028 #include "confdefs.h
"
3030 #define _GNU_SOURCE 1
3034 const char __one[] = "Äuglein Augmen
";
3035 const char __two[] = "Äuglein
";
3040 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
3041 loc_dup = __duplocale(loc);
3042 i = __strcoll_l(__one, __two, loc);
3043 j = __strcoll_l(__one, __two, loc_dup);
3048 if { (eval echo configure:3049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3050 enable_clocale_flag=gnu
3052 echo "configure
: failed program was
:" >&5
3053 cat conftest.$ac_ext >&5
3055 enable_clocale_flag=generic
3062 # ... at some point put __strxfrm_l tests in as well.
3065 enable_clocale_flag=generic
3070 # Check whether --enable-nls or --disable-nls was given.
3071 if test "${enable_nls+set}" = set; then
3072 enableval="$enable_nls"
3080 case x${enable_clocale_flag} in
3082 echo "$ac_t""generic
" 1>&6
3084 CLOCALE_H=config/locale/generic/c_locale.h
3085 CLOCALE_CC=config/locale/generic/c_locale.cc
3086 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3087 CCOLLATE_CC=config/locale/generic/collate_members.cc
3088 CCTYPE_CC=config/locale/generic/ctype_members.cc
3089 CMESSAGES_H=config/locale/generic/messages_members.h
3090 CMESSAGES_CC=config/locale/generic/messages_members.cc
3091 CMONEY_CC=config/locale/generic/monetary_members.cc
3092 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3093 CTIME_CC=config/locale/generic/time_members.cc
3096 echo "$ac_t""gnu
" 1>&6
3098 # Declare intention to use gettext, and add support for specific
3100 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3103 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3104 # Extract the first word of "msgfmt
", so it can be a program name with args.
3105 set dummy msgfmt; ac_word=$2
3106 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3107 echo "configure
:3108: checking
for $ac_word" >&5
3108 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3109 echo $ac_n "(cached
) $ac_c" 1>&6
3111 if test -n "$check_msgfmt"; then
3112 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3114 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3116 for ac_dir in $ac_dummy; do
3117 test -z "$ac_dir" && ac_dir=.
3118 if test -f $ac_dir/$ac_word; then
3119 ac_cv_prog_check_msgfmt="yes"
3124 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no
"
3127 check_msgfmt="$ac_cv_prog_check_msgfmt"
3128 if test -n "$check_msgfmt"; then
3129 echo "$ac_t""$check_msgfmt" 1>&6
3131 echo "$ac_t""no
" 1>&6
3134 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3137 # Export the build objects.
3138 for ling in $ALL_LINGUAS; do \
3139 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo
"; \
3140 glibcpp_POFILES="$glibcpp_POFILES $ling.po
"; \
3145 CLOCALE_H=config/locale/gnu/c_locale.h
3146 CLOCALE_CC=config/locale/gnu/c_locale.cc
3147 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3148 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3149 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3150 CMESSAGES_H=config/locale/gnu/messages_members.h
3151 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3152 CMONEY_CC=config/locale/gnu/monetary_members.cc
3153 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3154 CTIME_CC=config/locale/gnu/time_members.cc
3157 echo "$ac_t""generic
" 1>&6
3159 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3160 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3161 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3162 CCOLLATE_CC=config/locale/generic/collate_members.cc
3163 CCTYPE_CC=config/locale/generic/ctype_members.cc
3164 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3165 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3166 CMONEY_CC=config/locale/generic/monetary_members.cc
3167 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3168 CTIME_CC=config/locale/generic/time_members.cc
3171 echo "$enable_clocale is an unknown locale package
" 1>&2
3176 # This is where the testsuite looks for locale catalogs, using the
3177 # -DLOCALEDIR define during testsuite compilation.
3178 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3193 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3194 if test "${enable_c_mbchar+set}" = set; then
3195 enableval="$enable_c_mbchar"
3196 case "$enableval" in
3197 yes) enable_c_mbchar=yes ;;
3198 no) enable_c_mbchar=no ;;
3199 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3206 # Check whether --enable-c99 or --disable-c99 was given.
3207 if test "${enable_c99+set}" = set; then
3208 enableval="$enable_c99"
3209 case "$enableval" in
3210 yes) enable_c99=yes ;;
3211 no) enable_c99=no ;;
3212 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3221 ac_cpp='$CXXCPP $CPPFLAGS'
3222 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3223 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3224 cross_compiling=$ac_cv_prog_cxx_cross
3227 # Check for the existence of <math.h> functions used if C99 is enabled.
3229 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3230 echo "configure
:3231: checking
for ISO C99 support
in <math.h
>" >&5
3231 cat > conftest.$ac_ext <<EOF
3232 #line 3233 "configure
"
3233 #include "confdefs.h
"
3239 if { (eval echo configure:3240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3242 echo "configure
: failed program was
:" >&5
3243 cat conftest.$ac_ext >&5
3248 cat > conftest.$ac_ext <<EOF
3249 #line 3250 "configure
"
3250 #include "confdefs.h
"
3256 if { (eval echo configure:3257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3259 echo "configure
: failed program was
:" >&5
3260 cat conftest.$ac_ext >&5
3265 cat > conftest.$ac_ext <<EOF
3266 #line 3267 "configure
"
3267 #include "confdefs.h
"
3273 if { (eval echo configure:3274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3276 echo "configure
: failed program was
:" >&5
3277 cat conftest.$ac_ext >&5
3282 cat > conftest.$ac_ext <<EOF
3283 #line 3284 "configure
"
3284 #include "confdefs.h
"
3290 if { (eval echo configure:3291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3293 echo "configure
: failed program was
:" >&5
3294 cat conftest.$ac_ext >&5
3299 cat > conftest.$ac_ext <<EOF
3300 #line 3301 "configure
"
3301 #include "confdefs.h
"
3307 if { (eval echo configure:3308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3310 echo "configure
: failed program was
:" >&5
3311 cat conftest.$ac_ext >&5
3316 cat > conftest.$ac_ext <<EOF
3317 #line 3318 "configure
"
3318 #include "confdefs.h
"
3324 if { (eval echo configure:3325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3327 echo "configure
: failed program was
:" >&5
3328 cat conftest.$ac_ext >&5
3333 cat > conftest.$ac_ext <<EOF
3334 #line 3335 "configure
"
3335 #include "confdefs.h
"
3341 if { (eval echo configure:3342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3344 echo "configure
: failed program was
:" >&5
3345 cat conftest.$ac_ext >&5
3350 cat > conftest.$ac_ext <<EOF
3351 #line 3352 "configure
"
3352 #include "confdefs.h
"
3355 isgreaterequal(0.0,0.0);
3358 if { (eval echo configure:3359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3361 echo "configure
: failed program was
:" >&5
3362 cat conftest.$ac_ext >&5
3367 cat > conftest.$ac_ext <<EOF
3368 #line 3369 "configure
"
3369 #include "confdefs.h
"
3375 if { (eval echo configure:3376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3378 echo "configure
: failed program was
:" >&5
3379 cat conftest.$ac_ext >&5
3384 cat > conftest.$ac_ext <<EOF
3385 #line 3386 "configure
"
3386 #include "confdefs.h
"
3389 islessequal(0.0,0.0);
3392 if { (eval echo configure:3393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3395 echo "configure
: failed program was
:" >&5
3396 cat conftest.$ac_ext >&5
3401 cat > conftest.$ac_ext <<EOF
3402 #line 3403 "configure
"
3403 #include "confdefs.h
"
3406 islessgreater(0.0,0.0);
3409 if { (eval echo configure:3410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3412 echo "configure
: failed program was
:" >&5
3413 cat conftest.$ac_ext >&5
3418 cat > conftest.$ac_ext <<EOF
3419 #line 3420 "configure
"
3420 #include "confdefs.h
"
3423 isunordered(0.0,0.0);
3426 if { (eval echo configure:3427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3429 echo "configure
: failed program was
:" >&5
3430 cat conftest.$ac_ext >&5
3435 echo "$ac_t""$ac_c99_math" 1>&6
3437 # Check for the existence in <stdio.h> of vscanf, et. al.
3439 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3440 echo "configure
:3441: checking
for ISO C99 support
in <stdio.h
>" >&5
3441 cat > conftest.$ac_ext <<EOF
3442 #line 3443 "configure
"
3443 #include "confdefs.h
"
3446 snprintf("12", 0, "%i
");
3449 if { (eval echo configure:3450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3452 echo "configure
: failed program was
:" >&5
3453 cat conftest.$ac_ext >&5
3458 cat > conftest.$ac_ext <<EOF
3459 #line 3460 "configure
"
3460 #include "confdefs.h
"
3463 void foo(char* fmt, ...)
3464 {va_list args; va_start(args, fmt);
3465 vfscanf(stderr, "%i
", args);}
3470 if { (eval echo configure:3471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3473 echo "configure
: failed program was
:" >&5
3474 cat conftest.$ac_ext >&5
3479 cat > conftest.$ac_ext <<EOF
3480 #line 3481 "configure
"
3481 #include "confdefs.h
"
3484 void foo(char* fmt, ...)
3485 {va_list args; va_start(args, fmt);
3486 vscanf("%i
", args);}
3491 if { (eval echo configure:3492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3494 echo "configure
: failed program was
:" >&5
3495 cat conftest.$ac_ext >&5
3500 cat > conftest.$ac_ext <<EOF
3501 #line 3502 "configure
"
3502 #include "confdefs.h
"
3505 void foo(char* fmt, ...)
3506 {va_list args; va_start(args, fmt);
3507 vsnprintf(fmt, 0, "%i
", args);}
3512 if { (eval echo configure:3513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3515 echo "configure
: failed program was
:" >&5
3516 cat conftest.$ac_ext >&5
3521 cat > conftest.$ac_ext <<EOF
3522 #line 3523 "configure
"
3523 #include "confdefs.h
"
3526 void foo(char* fmt, ...)
3527 {va_list args; va_start(args, fmt);
3528 vsscanf(fmt, "%i
", args);}
3533 if { (eval echo configure:3534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3536 echo "configure
: failed program was
:" >&5
3537 cat conftest.$ac_ext >&5
3542 echo "$ac_t""$ac_c99_stdio" 1>&6
3544 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3546 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3547 echo "configure
:3548: checking
for lldiv_t declaration
" >&5
3548 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3549 echo $ac_n "(cached
) $ac_c" 1>&6
3552 cat > conftest.$ac_ext <<EOF
3553 #line 3554 "configure
"
3554 #include "confdefs.h
"
3560 if { (eval echo configure:3561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3564 echo "configure
: failed program was
:" >&5
3565 cat conftest.$ac_ext >&5
3573 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3575 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3576 echo "configure
:3577: checking
for ISO C99 support
in <stdlib.h
>" >&5
3577 cat > conftest.$ac_ext <<EOF
3578 #line 3579 "configure
"
3579 #include "confdefs.h
"
3582 char* tmp; strtof("gnu
", &tmp);
3585 if { (eval echo configure:3586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3588 echo "configure
: failed program was
:" >&5
3589 cat conftest.$ac_ext >&5
3594 cat > conftest.$ac_ext <<EOF
3595 #line 3596 "configure
"
3596 #include "confdefs.h
"
3599 char* tmp; strtold("gnu
", &tmp);
3602 if { (eval echo configure:3603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3605 echo "configure
: failed program was
:" >&5
3606 cat conftest.$ac_ext >&5
3611 cat > conftest.$ac_ext <<EOF
3612 #line 3613 "configure
"
3613 #include "confdefs.h
"
3619 if { (eval echo configure:3620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3622 echo "configure
: failed program was
:" >&5
3623 cat conftest.$ac_ext >&5
3628 cat > conftest.$ac_ext <<EOF
3629 #line 3630 "configure
"
3630 #include "confdefs.h
"
3636 if { (eval echo configure:3637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3639 echo "configure
: failed program was
:" >&5
3640 cat conftest.$ac_ext >&5
3645 cat > conftest.$ac_ext <<EOF
3646 #line 3647 "configure
"
3647 #include "confdefs.h
"
3653 if { (eval echo configure:3654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3656 echo "configure
: failed program was
:" >&5
3657 cat conftest.$ac_ext >&5
3662 cat > conftest.$ac_ext <<EOF
3663 #line 3664 "configure
"
3664 #include "confdefs.h
"
3670 if { (eval echo configure:3671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3673 echo "configure
: failed program was
:" >&5
3674 cat conftest.$ac_ext >&5
3679 if test x"$ac_c99_lldiv_t" = x"no
"; then
3682 echo "$ac_t""$ac_c99_stdlib" 1>&6
3684 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3685 # XXX the wchar.h checks should be rolled into the general C99 bits.
3687 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3688 echo "configure
:3689: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3689 cat > conftest.$ac_ext <<EOF
3690 #line 3691 "configure
"
3691 #include "confdefs.h
"
3694 wcstold(L"10.0", NULL);
3697 if { (eval echo configure:3698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3700 echo "configure
: failed program was
:" >&5
3701 cat conftest.$ac_ext >&5
3706 cat > conftest.$ac_ext <<EOF
3707 #line 3708 "configure
"
3708 #include "confdefs.h
"
3711 wcstoll(L"10", NULL, 10);
3714 if { (eval echo configure:3715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3717 echo "configure
: failed program was
:" >&5
3718 cat conftest.$ac_ext >&5
3723 cat > conftest.$ac_ext <<EOF
3724 #line 3725 "configure
"
3725 #include "confdefs.h
"
3728 wcstoull(L"10", NULL, 10);
3731 if { (eval echo configure:3732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3734 echo "configure
: failed program was
:" >&5
3735 cat conftest.$ac_ext >&5
3740 echo "$ac_t""$ac_c99_wchar" 1>&6
3742 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3743 echo "configure
:3744: checking
for enabled ISO C99 support
" >&5
3744 if test x"$ac_c99_math" = x"no
" ||
3745 test x"$ac_c99_stdio" = x"no
" ||
3746 test x"$ac_c99_stdlib" = x"no
" ||
3747 test x"$ac_c99_wchar" = x"no
"; then
3750 echo "$ac_t""$enable_c99" 1>&6
3752 # Option parsed, now set things appropriately
3753 if test x"$enable_c99" = x"yes"; then
3754 cat >> confdefs.h <<\EOF
3755 #define _GLIBCPP_USE_C99 1
3761 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3762 ac_cpp='$CPP $CPPFLAGS'
3763 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3764 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3765 cross_compiling=$ac_cv_prog_cc_cross
3769 # Check whether --enable-long-long or --disable-long-long was given.
3770 if test "${enable_long_long+set}" = set; then
3771 enableval="$enable_long_long"
3772 case "$enableval" in
3773 yes) enable_long_long=yes ;;
3774 no) enable_long_long=no ;;
3775 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3778 enable_long_long=yes
3783 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3784 ac_cpp='$CXXCPP $CPPFLAGS'
3785 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3786 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3787 cross_compiling=$ac_cv_prog_cxx_cross
3790 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
3791 echo "configure
:3792: checking
for enabled long long I
/O support
" >&5
3792 # iostreams require strtoll, strtoull to compile
3793 cat > conftest.$ac_ext <<EOF
3794 #line 3795 "configure
"
3795 #include "confdefs.h
"
3798 char* tmp; strtoll("gnu
", &tmp, 10);
3801 if { (eval echo configure:3802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3804 echo "configure
: failed program was
:" >&5
3805 cat conftest.$ac_ext >&5
3810 cat > conftest.$ac_ext <<EOF
3811 #line 3812 "configure
"
3812 #include "confdefs.h
"
3815 char* tmp; strtoull("gnu
", &tmp, 10);
3818 if { (eval echo configure:3819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3821 echo "configure
: failed program was
:" >&5
3822 cat conftest.$ac_ext >&5
3828 # Option parsed, now set things appropriately
3829 if test x"$enable_long_long" = xyes; then
3830 cat >> confdefs.h <<\EOF
3831 #define _GLIBCPP_USE_LONG_LONG 1
3835 echo "$ac_t""$enable_long_long" 1>&6
3838 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3839 ac_cpp='$CPP $CPPFLAGS'
3840 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3841 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3842 cross_compiling=$ac_cv_prog_cc_cross
3845 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3846 echo "configure
:3847: checking
for c header strategy to use
" >&5
3847 # Check whether --enable-cheaders or --disable-cheaders was given.
3848 if test "${enable_cheaders+set}" = set; then
3849 enableval="$enable_cheaders"
3851 case "$enableval" in
3856 enable_cheaders=c_std
3859 enable_cheaders=c_shadow
3861 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3865 enable_cheaders=c_std
3868 echo "$ac_t""$enable_cheaders" 1>&6
3870 case "$enable_cheaders" in
3872 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3875 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3878 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3885 if test "$enable_cheaders" = c; then
3886 GLIBCPP_C_HEADERS_C_TRUE=
3887 GLIBCPP_C_HEADERS_C_FALSE='#'
3889 GLIBCPP_C_HEADERS_C_TRUE='#'
3890 GLIBCPP_C_HEADERS_C_FALSE=
3894 if test "$enable_cheaders" = c_std; then
3895 GLIBCPP_C_HEADERS_C_STD_TRUE=
3896 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3898 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3899 GLIBCPP_C_HEADERS_C_STD_FALSE=
3903 if test "$c_compatibility" = yes; then
3904 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3905 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3907 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3908 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3912 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
3913 echo "configure
:3914: checking
for thread model used by GCC
" >&5
3914 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3915 echo "$ac_t""$target_thread_file" 1>&6
3917 if test $target_thread_file != single; then
3918 cat >> confdefs.h <<\EOF
3919 #define HAVE_GTHR_DEFAULT 1
3922 cat >> confdefs.h <<\EOF
3923 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3928 glibcpp_thread_h=gthr-$target_thread_file.h
3931 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3932 if test "${enable_cxx_flags+set}" = set; then
3933 enableval="$enable_cxx_flags"
3934 case "x
$enableval" in
3936 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
3938 enable_cxx_flags='' ;;
3940 enable_cxx_flags="$enableval" ;;
3943 enable_cxx_flags='none'
3947 if test "$enable_cxx_flags" = "none
"; then
3948 enable_cxx_flags='';
3951 if test -n "$enable_cxx_flags"; then
3952 for f in $enable_cxx_flags; do
3956 *) # and we're trying to pass /what/ exactly?
3957 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
3961 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3965 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
3966 echo "configure
:3967: checking
for exception model to use
" >&5
3969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3970 ac_cpp='$CXXCPP $CPPFLAGS'
3971 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3972 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3973 cross_compiling=$ac_cv_prog_cxx_cross
3975 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3976 if test "${enable_sjlj_exceptions+set}" = set; then
3977 enableval="$enable_sjlj_exceptions"
3980 cat > conftest.$ac_ext << EOF
3981 #line 3982 "configure
"
3990 old_CXXFLAGS="$CXXFLAGS"
3992 if { (eval echo configure:3993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3993 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3994 enable_sjlj_exceptions=yes
3995 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3996 enable_sjlj_exceptions=no
3999 CXXFLAGS="$old_CXXFLAGS"
4003 if test x$enable_sjlj_exceptions = xyes; then
4004 cat >> confdefs.h <<\EOF
4005 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4008 ac_exception_model_name=sjlj
4009 elif test x$enable_sjlj_exceptions = xno; then
4010 ac_exception_model_name="call frame
"
4012 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
4015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4016 ac_cpp='$CPP $CPPFLAGS'
4017 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4018 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4019 cross_compiling=$ac_cv_prog_cc_cross
4021 echo "$ac_t""$ac_exception_model_name" 1>&6
4024 echo $ac_n "checking
for use of libunwind
""...
$ac_c" 1>&6
4025 echo "configure
:4026: checking
for use of libunwind
" >&5
4026 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4027 if test "${enable_libunwind_exceptions+set}" = set; then
4028 enableval="$enable_libunwind_exceptions"
4029 use_libunwind_exceptions=$enableval
4031 use_libunwind_exceptions=no
4034 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4035 if test x"$use_libunwind_exceptions" = xyes; then
4036 LIBUNWIND_FLAG="-lunwind"
4042 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4043 if test "${enable_concept_checks+set}" = set; then
4044 enableval="$enable_concept_checks"
4045 case "$enableval" in
4046 yes) enable_concept_checks=yes ;;
4047 no) enable_concept_checks=no ;;
4048 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
4051 enable_concept_checks=no
4053 if test x"$enable_concept_checks" = xyes; then
4054 cat >> confdefs.h <<\EOF
4055 #define _GLIBCPP_CONCEPT_CHECKS 1
4061 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4062 for ac_hdr in string.h stdlib.h
4064 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4065 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4066 echo "configure
:4067: checking
for $ac_hdr" >&5
4067 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4068 echo $ac_n "(cached
) $ac_c" 1>&6
4070 cat > conftest.$ac_ext <<EOF
4071 #line 4072 "configure
"
4072 #include "confdefs.h
"
4075 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4076 { (eval echo configure:4077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4077 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4078 if test -z "$ac_err"; then
4080 eval "ac_cv_header_
$ac_safe=yes"
4083 echo "configure
: failed program was
:" >&5
4084 cat conftest.$ac_ext >&5
4086 eval "ac_cv_header_
$ac_safe=no
"
4090 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4091 echo "$ac_t""yes" 1>&6
4092 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4093 cat >> confdefs.h <<EOF
4094 #define $ac_tr_hdr 1
4098 echo "$ac_t""no
" 1>&6
4103 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4105 # We are being configured with some form of cross compiler.
4106 GLIBCPP_IS_CROSS_COMPILING=1
4108 # This lets us hard-code the functionality we know we'll have in the cross
4109 # target environment. "Let
" is a sugar-coated word placed on an especially
4110 # dull and tedious hack, actually.
4112 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4113 # that involve linking, can't be used:
4114 # "cannot open sim-crt0.o
"
4115 # "cannot open crt0.o
"
4116 # etc. All this is because there currently exists no unified, consistent
4117 # way for top level CC information to be passed down to target directories:
4118 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4119 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4120 # crosses can be removed.
4122 # If Canadian cross, then don't pick up tools from the build directory.
4123 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4124 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4130 # Construct crosses by hand, eliminating bits that need ld...
4131 # GLIBCPP_CHECK_COMPILER_FEATURES
4132 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4133 # GLIBCPP_CHECK_MATH_SUPPORT
4135 case "$target_alias" in
4137 os_include_dir="os
/gnu-linux
"
4138 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4139 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4140 fp.h locale.h float.h inttypes.h
4142 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4143 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4144 echo "configure
:4145: checking
for $ac_hdr" >&5
4145 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4146 echo $ac_n "(cached
) $ac_c" 1>&6
4148 cat > conftest.$ac_ext <<EOF
4149 #line 4150 "configure
"
4150 #include "confdefs.h
"
4153 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4154 { (eval echo configure:4155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4155 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4156 if test -z "$ac_err"; then
4158 eval "ac_cv_header_
$ac_safe=yes"
4161 echo "configure
: failed program was
:" >&5
4162 cat conftest.$ac_ext >&5
4164 eval "ac_cv_header_
$ac_safe=no
"
4168 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4169 echo "$ac_t""yes" 1>&6
4170 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4171 cat >> confdefs.h <<EOF
4172 #define $ac_tr_hdr 1
4176 echo "$ac_t""no
" 1>&6
4180 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4183 # If we're not using GNU ld, then there's no point in even trying these
4184 # tests. Check for that first. We should have already tested for gld
4185 # by now (in libtool), but require it now just to be safe...
4186 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4187 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4190 # The name set by libtool depends on the version of libtool. Shame on us
4191 # for depending on an impl detail, but c'est la vie. Older versions used
4192 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4193 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4194 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4195 # set (hence we're using an older libtool), then set it.
4196 if test x${with_gnu_ld+set} != xset; then
4197 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4198 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4201 with_gnu_ld=$ac_cv_prog_gnu_ld
4205 # Start by getting the version number. I think the libtool test already
4206 # does some of this, but throws away the result.
4208 ldver=`$LD --version 2>/dev/null | head -1 | \
4209 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4211 glibcpp_gnu_ld_version=`echo $ldver | \
4212 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4214 # Set --gc-sections.
4215 if test "$with_gnu_ld" = "notbroken
"; then
4216 # GNU ld it is! Joy and bunny rabbits!
4218 # All these tests are for C++; save the language and the compiler flags.
4219 # Need to do this so that g++ won't try to link in libstdc++
4220 ac_test_CFLAGS="${CFLAGS+set}"
4221 ac_save_CFLAGS="$CFLAGS"
4222 CFLAGS='-x c++ -Wl,--gc-sections'
4224 # Check for -Wl,--gc-sections
4225 # XXX This test is broken at the moment, as symbols required for
4226 # linking are now in libsupc++ (not built yet.....). In addition,
4227 # this test has cored on solaris in the past. In addition,
4228 # --gc-sections doesn't really work at the moment (keeps on discarding
4229 # used sections, first .eh_frame and now some of the glibc sections for
4230 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4231 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4232 echo "configure
:4233: checking
for ld that supports
-Wl,--gc-sections" >&5
4233 if test "$cross_compiling" = yes; then
4234 ac_sectionLDflags=yes
4236 cat > conftest.$ac_ext <<EOF
4237 #line 4238 "configure
"
4238 #include "confdefs.h
"
4248 if { (eval echo configure:4249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4250 ac_sectionLDflags=yes
4252 echo "configure
: failed program was
:" >&5
4253 cat conftest.$ac_ext >&5
4255 ac_sectionLDflags=no
4260 if test "$ac_test_CFLAGS" = set; then
4261 CFLAGS="$ac_save_CFLAGS"
4263 # this is the suspicious part
4266 if test "$ac_sectionLDflags" = "yes"; then
4267 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4269 echo "$ac_t""$ac_sectionLDflags" 1>&6
4272 # Set linker optimization flags.
4273 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
4274 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4281 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4282 echo "configure
:4283: checking
for main
in -lm" >&5
4283 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4284 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4285 echo $ac_n "(cached
) $ac_c" 1>&6
4287 ac_save_LIBS="$LIBS"
4289 cat > conftest.$ac_ext <<EOF
4290 #line 4291 "configure
"
4291 #include "confdefs.h
"
4297 if { (eval echo configure:4298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4299 eval "ac_cv_lib_
$ac_lib_var=yes"
4301 echo "configure
: failed program was
:" >&5
4302 cat conftest.$ac_ext >&5
4304 eval "ac_cv_lib_
$ac_lib_var=no
"
4307 LIBS="$ac_save_LIBS"
4310 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4311 echo "$ac_t""yes" 1>&6
4312 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4313 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4314 cat >> confdefs.h <<EOF
4315 #define $ac_tr_lib 1
4321 echo "$ac_t""no
" 1>&6
4324 for ac_func in nan copysignf
4326 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4327 echo "configure
:4328: checking
for $ac_func" >&5
4328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4329 echo $ac_n "(cached
) $ac_c" 1>&6
4331 cat > conftest.$ac_ext <<EOF
4332 #line 4333 "configure
"
4333 #include "confdefs.h
"
4334 /* System header to define __stub macros and hopefully few prototypes,
4335 which can conflict with char $ac_func(); below. */
4337 /* Override any gcc2 internal prototype to avoid an error. */
4338 /* We use char because int might match the return type of a gcc2
4339 builtin and then its argument prototype would still apply. */
4344 /* The GNU C library defines this for functions which it implements
4345 to always fail with ENOSYS. Some functions are actually named
4346 something starting with __ and the normal name is an alias. */
4347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4355 if { (eval echo configure:4356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4357 eval "ac_cv_func_
$ac_func=yes"
4359 echo "configure
: failed program was
:" >&5
4360 cat conftest.$ac_ext >&5
4362 eval "ac_cv_func_
$ac_func=no
"
4367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4368 echo "$ac_t""yes" 1>&6
4369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4370 cat >> confdefs.h <<EOF
4371 #define $ac_tr_func 1
4375 echo "$ac_t""no
" 1>&6
4376 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4381 for ac_func in __signbit
4383 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4384 echo "configure
:4385: checking
for $ac_func" >&5
4385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4386 echo $ac_n "(cached
) $ac_c" 1>&6
4388 cat > conftest.$ac_ext <<EOF
4389 #line 4390 "configure
"
4390 #include "confdefs.h
"
4391 /* System header to define __stub macros and hopefully few prototypes,
4392 which can conflict with char $ac_func(); below. */
4394 /* Override any gcc2 internal prototype to avoid an error. */
4395 /* We use char because int might match the return type of a gcc2
4396 builtin and then its argument prototype would still apply. */
4401 /* The GNU C library defines this for functions which it implements
4402 to always fail with ENOSYS. Some functions are actually named
4403 something starting with __ and the normal name is an alias. */
4404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4412 if { (eval echo configure:4413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4414 eval "ac_cv_func_
$ac_func=yes"
4416 echo "configure
: failed program was
:" >&5
4417 cat conftest.$ac_ext >&5
4419 eval "ac_cv_func_
$ac_func=no
"
4424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4425 echo "$ac_t""yes" 1>&6
4426 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4427 cat >> confdefs.h <<EOF
4428 #define $ac_tr_func 1
4432 echo "$ac_t""no
" 1>&6
4433 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
4437 for ac_func in __signbitf
4439 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4440 echo "configure
:4441: checking
for $ac_func" >&5
4441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4442 echo $ac_n "(cached
) $ac_c" 1>&6
4444 cat > conftest.$ac_ext <<EOF
4445 #line 4446 "configure
"
4446 #include "confdefs.h
"
4447 /* System header to define __stub macros and hopefully few prototypes,
4448 which can conflict with char $ac_func(); below. */
4450 /* Override any gcc2 internal prototype to avoid an error. */
4451 /* We use char because int might match the return type of a gcc2
4452 builtin and then its argument prototype would still apply. */
4457 /* The GNU C library defines this for functions which it implements
4458 to always fail with ENOSYS. Some functions are actually named
4459 something starting with __ and the normal name is an alias. */
4460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4468 if { (eval echo configure:4469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4470 eval "ac_cv_func_
$ac_func=yes"
4472 echo "configure
: failed program was
:" >&5
4473 cat conftest.$ac_ext >&5
4475 eval "ac_cv_func_
$ac_func=no
"
4480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4481 echo "$ac_t""yes" 1>&6
4482 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4483 cat >> confdefs.h <<EOF
4484 #define $ac_tr_func 1
4488 echo "$ac_t""no
" 1>&6
4489 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
4494 if test x$ac_cv_func_copysignl = x"yes"; then
4495 for ac_func in __signbitl
4497 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4498 echo "configure
:4499: checking
for $ac_func" >&5
4499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4500 echo $ac_n "(cached
) $ac_c" 1>&6
4502 cat > conftest.$ac_ext <<EOF
4503 #line 4504 "configure
"
4504 #include "confdefs.h
"
4505 /* System header to define __stub macros and hopefully few prototypes,
4506 which can conflict with char $ac_func(); below. */
4508 /* Override any gcc2 internal prototype to avoid an error. */
4509 /* We use char because int might match the return type of a gcc2
4510 builtin and then its argument prototype would still apply. */
4515 /* The GNU C library defines this for functions which it implements
4516 to always fail with ENOSYS. Some functions are actually named
4517 something starting with __ and the normal name is an alias. */
4518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4526 if { (eval echo configure:4527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4528 eval "ac_cv_func_
$ac_func=yes"
4530 echo "configure
: failed program was
:" >&5
4531 cat conftest.$ac_ext >&5
4533 eval "ac_cv_func_
$ac_func=no
"
4538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4539 echo "$ac_t""yes" 1>&6
4540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4541 cat >> confdefs.h <<EOF
4542 #define $ac_tr_func 1
4546 echo "$ac_t""no
" 1>&6
4547 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
4557 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4558 echo "configure
:4559: checking
for mbstate_t
" >&5
4559 cat > conftest.$ac_ext <<EOF
4560 #line 4561 "configure
"
4561 #include "confdefs.h
"
4564 mbstate_t teststate;
4567 if { (eval echo configure:4568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4571 echo "configure
: failed program was
:" >&5
4572 cat conftest.$ac_ext >&5
4577 echo "$ac_t""$have_mbstate_t" 1>&6
4578 if test x"$have_mbstate_t" = xyes; then
4579 cat >> confdefs.h <<\EOF
4580 #define HAVE_MBSTATE_T 1
4585 for ac_hdr in wchar.h
4587 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4588 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4589 echo "configure
:4590: checking
for $ac_hdr" >&5
4590 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4591 echo $ac_n "(cached
) $ac_c" 1>&6
4593 cat > conftest.$ac_ext <<EOF
4594 #line 4595 "configure
"
4595 #include "confdefs.h
"
4598 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4599 { (eval echo configure:4600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4600 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4601 if test -z "$ac_err"; then
4603 eval "ac_cv_header_
$ac_safe=yes"
4606 echo "configure
: failed program was
:" >&5
4607 cat conftest.$ac_ext >&5
4609 eval "ac_cv_header_
$ac_safe=no
"
4613 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4614 echo "$ac_t""yes" 1>&6
4615 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4616 cat >> confdefs.h <<EOF
4617 #define $ac_tr_hdr 1
4621 echo "$ac_t""no
" 1>&6
4626 for ac_hdr in wctype.h
4628 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4629 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4630 echo "configure
:4631: checking
for $ac_hdr" >&5
4631 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4632 echo $ac_n "(cached
) $ac_c" 1>&6
4634 cat > conftest.$ac_ext <<EOF
4635 #line 4636 "configure
"
4636 #include "confdefs.h
"
4639 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4640 { (eval echo configure:4641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4642 if test -z "$ac_err"; then
4644 eval "ac_cv_header_
$ac_safe=yes"
4647 echo "configure
: failed program was
:" >&5
4648 cat conftest.$ac_ext >&5
4650 eval "ac_cv_header_
$ac_safe=no
"
4654 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4655 echo "$ac_t""yes" 1>&6
4656 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4657 cat >> confdefs.h <<EOF
4658 #define $ac_tr_hdr 1
4662 echo "$ac_t""no
" 1>&6
4668 if test x"$ac_has_wchar_h" = xyes &&
4669 test x"$ac_has_wctype_h" = xyes &&
4670 test x"$enable_c_mbchar" != xno; then
4672 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4673 echo "configure
:4674: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4674 cat > conftest.$ac_ext <<EOF
4675 #line 4676 "configure
"
4676 #include "confdefs.h
"
4679 int i = WCHAR_MIN; int j = WCHAR_MAX;
4682 if { (eval echo configure:4683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4684 has_wchar_minmax=yes
4686 echo "configure
: failed program was
:" >&5
4687 cat conftest.$ac_ext >&5
4692 echo "$ac_t""$has_wchar_minmax" 1>&6
4694 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4695 echo "configure
:4696: checking
for WEOF
" >&5
4696 cat > conftest.$ac_ext <<EOF
4697 #line 4698 "configure
"
4698 #include "confdefs.h
"
4706 if { (eval echo configure:4707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4710 echo "configure
: failed program was
:" >&5
4711 cat conftest.$ac_ext >&5
4716 echo "$ac_t""$has_weof" 1>&6
4719 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4721 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4722 echo "configure
:4723: checking
for $ac_func" >&5
4723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4724 echo $ac_n "(cached
) $ac_c" 1>&6
4726 cat > conftest.$ac_ext <<EOF
4727 #line 4728 "configure
"
4728 #include "confdefs.h
"
4729 /* System header to define __stub macros and hopefully few prototypes,
4730 which can conflict with char $ac_func(); below. */
4732 /* Override any gcc2 internal prototype to avoid an error. */
4733 /* We use char because int might match the return type of a gcc2
4734 builtin and then its argument prototype would still apply. */
4739 /* The GNU C library defines this for functions which it implements
4740 to always fail with ENOSYS. Some functions are actually named
4741 something starting with __ and the normal name is an alias. */
4742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4750 if { (eval echo configure:4751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4752 eval "ac_cv_func_
$ac_func=yes"
4754 echo "configure
: failed program was
:" >&5
4755 cat conftest.$ac_ext >&5
4757 eval "ac_cv_func_
$ac_func=no
"
4762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4763 echo "$ac_t""yes" 1>&6
4764 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4765 cat >> confdefs.h <<EOF
4766 #define $ac_tr_func 1
4770 echo "$ac_t""no
" 1>&6
4777 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4778 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4779 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4780 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4781 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4782 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4784 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4785 echo "configure
:4786: checking
for $ac_func" >&5
4786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4787 echo $ac_n "(cached
) $ac_c" 1>&6
4789 cat > conftest.$ac_ext <<EOF
4790 #line 4791 "configure
"
4791 #include "confdefs.h
"
4792 /* System header to define __stub macros and hopefully few prototypes,
4793 which can conflict with char $ac_func(); below. */
4795 /* Override any gcc2 internal prototype to avoid an error. */
4796 /* We use char because int might match the return type of a gcc2
4797 builtin and then its argument prototype would still apply. */
4802 /* The GNU C library defines this for functions which it implements
4803 to always fail with ENOSYS. Some functions are actually named
4804 something starting with __ and the normal name is an alias. */
4805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4813 if { (eval echo configure:4814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4815 eval "ac_cv_func_
$ac_func=yes"
4817 echo "configure
: failed program was
:" >&5
4818 cat conftest.$ac_ext >&5
4820 eval "ac_cv_func_
$ac_func=no
"
4825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4826 echo "$ac_t""yes" 1>&6
4827 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4828 cat >> confdefs.h <<EOF
4829 #define $ac_tr_func 1
4833 echo "$ac_t""no
" 1>&6
4840 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4841 echo "configure
:4842: checking
for ISO C99 wchar_t support
" >&5
4842 if test x"$has_weof" = xyes &&
4843 test x"$has_wchar_minmax" = xyes &&
4844 test x"$ac_wfuncs" = xyes; then
4845 ac_isoC99_wchar_t=yes
4847 ac_isoC99_wchar_t=no
4849 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4851 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4852 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4853 echo "configure
:4854: checking
for iconv.h
" >&5
4854 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4855 echo $ac_n "(cached
) $ac_c" 1>&6
4857 cat > conftest.$ac_ext <<EOF
4858 #line 4859 "configure
"
4859 #include "confdefs.h
"
4862 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4863 { (eval echo configure:4864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4864 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4865 if test -z "$ac_err"; then
4867 eval "ac_cv_header_
$ac_safe=yes"
4870 echo "configure
: failed program was
:" >&5
4871 cat conftest.$ac_ext >&5
4873 eval "ac_cv_header_
$ac_safe=no
"
4877 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4878 echo "$ac_t""yes" 1>&6
4881 echo "$ac_t""no
" 1>&6
4885 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4886 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4887 echo "configure
:4888: checking
for langinfo.h
" >&5
4888 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4889 echo $ac_n "(cached
) $ac_c" 1>&6
4891 cat > conftest.$ac_ext <<EOF
4892 #line 4893 "configure
"
4893 #include "confdefs.h
"
4894 #include <langinfo.h>
4896 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4897 { (eval echo configure:4898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4898 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4899 if test -z "$ac_err"; then
4901 eval "ac_cv_header_
$ac_safe=yes"
4904 echo "configure
: failed program was
:" >&5
4905 cat conftest.$ac_ext >&5
4907 eval "ac_cv_header_
$ac_safe=no
"
4911 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4912 echo "$ac_t""yes" 1>&6
4913 ac_has_langinfo_h=yes
4915 echo "$ac_t""no
" 1>&6
4916 ac_has_langinfo_h=no
4920 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
4921 echo "configure
:4922: checking
for iconv in -liconv" >&5
4922 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4923 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4924 echo $ac_n "(cached
) $ac_c" 1>&6
4926 ac_save_LIBS="$LIBS"
4927 LIBS="-liconv $LIBS"
4928 cat > conftest.$ac_ext <<EOF
4929 #line 4930 "configure
"
4930 #include "confdefs.h
"
4931 /* Override any gcc2 internal prototype to avoid an error. */
4932 /* We use char because int might match the return type of a gcc2
4933 builtin and then its argument prototype would still apply. */
4940 if { (eval echo configure:4941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4942 eval "ac_cv_lib_
$ac_lib_var=yes"
4944 echo "configure
: failed program was
:" >&5
4945 cat conftest.$ac_ext >&5
4947 eval "ac_cv_lib_
$ac_lib_var=no
"
4950 LIBS="$ac_save_LIBS"
4953 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4954 echo "$ac_t""yes" 1>&6
4957 echo "$ac_t""no
" 1>&6
4960 ac_save_LIBS="$LIBS"
4961 LIBS="$LIBS $libiconv"
4963 for ac_func in iconv_open iconv_close iconv nl_langinfo
4965 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4966 echo "configure
:4967: checking
for $ac_func" >&5
4967 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4968 echo $ac_n "(cached
) $ac_c" 1>&6
4970 cat > conftest.$ac_ext <<EOF
4971 #line 4972 "configure
"
4972 #include "confdefs.h
"
4973 /* System header to define __stub macros and hopefully few prototypes,
4974 which can conflict with char $ac_func(); below. */
4976 /* Override any gcc2 internal prototype to avoid an error. */
4977 /* We use char because int might match the return type of a gcc2
4978 builtin and then its argument prototype would still apply. */
4983 /* The GNU C library defines this for functions which it implements
4984 to always fail with ENOSYS. Some functions are actually named
4985 something starting with __ and the normal name is an alias. */
4986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4994 if { (eval echo configure:4995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4996 eval "ac_cv_func_
$ac_func=yes"
4998 echo "configure
: failed program was
:" >&5
4999 cat conftest.$ac_ext >&5
5001 eval "ac_cv_func_
$ac_func=no
"
5006 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5007 echo "$ac_t""yes" 1>&6
5008 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5009 cat >> confdefs.h <<EOF
5010 #define $ac_tr_func 1
5015 echo "$ac_t""no
" 1>&6
5021 LIBS="$ac_save_LIBS"
5023 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5024 echo "configure
:5025: checking
for XPG2 wchar_t support
" >&5
5025 if test x"$ac_has_iconv_h" = xyes &&
5026 test x"$ac_has_langinfo_h" = xyes &&
5027 test x"$ac_XPG2funcs" = xyes; then
5032 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5034 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5035 echo "configure
:5036: checking
for enabled wchar_t specializations
" >&5
5036 if test x"$ac_isoC99_wchar_t" = xyes &&
5037 test x"$ac_XPG2_wchar_t" = xyes; then
5038 cat >> confdefs.h <<\EOF
5039 #define _GLIBCPP_USE_WCHAR_T 1
5042 echo "$ac_t"""yes"" 1>&6
5044 echo "$ac_t"""no"" 1>&6
5047 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
5050 cat >> confdefs.h <<\EOF
5051 #define HAVE_COPYSIGN 1
5054 cat >> confdefs.h <<\EOF
5055 #define HAVE_COPYSIGNF 1
5058 cat >> confdefs.h <<\EOF
5059 #define HAVE_FINITE 1
5062 cat >> confdefs.h <<\EOF
5063 #define HAVE_FINITEF 1
5066 cat >> confdefs.h <<\EOF
5067 #define HAVE_FREXPF 1
5070 cat >> confdefs.h <<\EOF
5071 #define HAVE_HYPOTF 1
5074 cat >> confdefs.h <<\EOF
5075 #define HAVE_ISINF 1
5078 cat >> confdefs.h <<\EOF
5079 #define HAVE_ISINFF 1
5082 cat >> confdefs.h <<\EOF
5083 #define HAVE_ISNAN 1
5086 cat >> confdefs.h <<\EOF
5087 #define HAVE_ISNANF 1
5090 cat >> confdefs.h <<\EOF
5091 #define HAVE_SINCOS 1
5094 cat >> confdefs.h <<\EOF
5095 #define HAVE_SINCOSF 1
5098 if test x"long_double_math_on_this_cpu
" = x"yes"; then
5099 cat >> confdefs.h <<\EOF
5100 #define HAVE_FINITEL 1
5103 cat >> confdefs.h <<\EOF
5104 #define HAVE_HYPOTL 1
5107 cat >> confdefs.h <<\EOF
5108 #define HAVE_ISINFL 1
5111 cat >> confdefs.h <<\EOF
5112 #define HAVE_ISNANL 1
5118 # Check for available headers.
5119 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5120 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5121 fp.h locale.h float.h inttypes.h
5123 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5124 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5125 echo "configure
:5126: checking
for $ac_hdr" >&5
5126 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5127 echo $ac_n "(cached
) $ac_c" 1>&6
5129 cat > conftest.$ac_ext <<EOF
5130 #line 5131 "configure
"
5131 #include "confdefs.h
"
5134 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5135 { (eval echo configure:5136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5136 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5137 if test -z "$ac_err"; then
5139 eval "ac_cv_header_
$ac_safe=yes"
5142 echo "configure
: failed program was
:" >&5
5143 cat conftest.$ac_ext >&5
5145 eval "ac_cv_header_
$ac_safe=no
"
5149 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5150 echo "$ac_t""yes" 1>&6
5151 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5152 cat >> confdefs.h <<EOF
5153 #define $ac_tr_hdr 1
5157 echo "$ac_t""no
" 1>&6
5161 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5164 # If we're not using GNU ld, then there's no point in even trying these
5165 # tests. Check for that first. We should have already tested for gld
5166 # by now (in libtool), but require it now just to be safe...
5167 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5168 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5171 # The name set by libtool depends on the version of libtool. Shame on us
5172 # for depending on an impl detail, but c'est la vie. Older versions used
5173 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5174 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5175 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5176 # set (hence we're using an older libtool), then set it.
5177 if test x${with_gnu_ld+set} != xset; then
5178 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5179 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5182 with_gnu_ld=$ac_cv_prog_gnu_ld
5186 # Start by getting the version number. I think the libtool test already
5187 # does some of this, but throws away the result.
5189 ldver=`$LD --version 2>/dev/null | head -1 | \
5190 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5192 glibcpp_gnu_ld_version=`echo $ldver | \
5193 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5195 # Set --gc-sections.
5196 if test "$with_gnu_ld" = "notbroken
"; then
5197 # GNU ld it is! Joy and bunny rabbits!
5199 # All these tests are for C++; save the language and the compiler flags.
5200 # Need to do this so that g++ won't try to link in libstdc++
5201 ac_test_CFLAGS="${CFLAGS+set}"
5202 ac_save_CFLAGS="$CFLAGS"
5203 CFLAGS='-x c++ -Wl,--gc-sections'
5205 # Check for -Wl,--gc-sections
5206 # XXX This test is broken at the moment, as symbols required for
5207 # linking are now in libsupc++ (not built yet.....). In addition,
5208 # this test has cored on solaris in the past. In addition,
5209 # --gc-sections doesn't really work at the moment (keeps on discarding
5210 # used sections, first .eh_frame and now some of the glibc sections for
5211 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5212 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5213 echo "configure
:5214: checking
for ld that supports
-Wl,--gc-sections" >&5
5214 if test "$cross_compiling" = yes; then
5215 ac_sectionLDflags=yes
5217 cat > conftest.$ac_ext <<EOF
5218 #line 5219 "configure
"
5219 #include "confdefs.h
"
5229 if { (eval echo configure:5230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5231 ac_sectionLDflags=yes
5233 echo "configure
: failed program was
:" >&5
5234 cat conftest.$ac_ext >&5
5236 ac_sectionLDflags=no
5241 if test "$ac_test_CFLAGS" = set; then
5242 CFLAGS="$ac_save_CFLAGS"
5244 # this is the suspicious part
5247 if test "$ac_sectionLDflags" = "yes"; then
5248 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5250 echo "$ac_t""$ac_sectionLDflags" 1>&6
5253 # Set linker optimization flags.
5254 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
5255 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5262 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5263 echo "configure
:5264: checking
for main
in -lm" >&5
5264 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5265 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5266 echo $ac_n "(cached
) $ac_c" 1>&6
5268 ac_save_LIBS="$LIBS"
5270 cat > conftest.$ac_ext <<EOF
5271 #line 5272 "configure
"
5272 #include "confdefs.h
"
5278 if { (eval echo configure:5279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5280 eval "ac_cv_lib_
$ac_lib_var=yes"
5282 echo "configure
: failed program was
:" >&5
5283 cat conftest.$ac_ext >&5
5285 eval "ac_cv_lib_
$ac_lib_var=no
"
5288 LIBS="$ac_save_LIBS"
5291 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5292 echo "$ac_t""yes" 1>&6
5293 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5294 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5295 cat >> confdefs.h <<EOF
5296 #define $ac_tr_lib 1
5302 echo "$ac_t""no
" 1>&6
5305 for ac_func in nan copysignf
5307 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5308 echo "configure
:5309: checking
for $ac_func" >&5
5309 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5310 echo $ac_n "(cached
) $ac_c" 1>&6
5312 cat > conftest.$ac_ext <<EOF
5313 #line 5314 "configure
"
5314 #include "confdefs.h
"
5315 /* System header to define __stub macros and hopefully few prototypes,
5316 which can conflict with char $ac_func(); below. */
5318 /* Override any gcc2 internal prototype to avoid an error. */
5319 /* We use char because int might match the return type of a gcc2
5320 builtin and then its argument prototype would still apply. */
5325 /* The GNU C library defines this for functions which it implements
5326 to always fail with ENOSYS. Some functions are actually named
5327 something starting with __ and the normal name is an alias. */
5328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5336 if { (eval echo configure:5337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5338 eval "ac_cv_func_
$ac_func=yes"
5340 echo "configure
: failed program was
:" >&5
5341 cat conftest.$ac_ext >&5
5343 eval "ac_cv_func_
$ac_func=no
"
5348 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5349 echo "$ac_t""yes" 1>&6
5350 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5351 cat >> confdefs.h <<EOF
5352 #define $ac_tr_func 1
5356 echo "$ac_t""no
" 1>&6
5357 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5362 for ac_func in __signbit
5364 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5365 echo "configure
:5366: checking
for $ac_func" >&5
5366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5367 echo $ac_n "(cached
) $ac_c" 1>&6
5369 cat > conftest.$ac_ext <<EOF
5370 #line 5371 "configure
"
5371 #include "confdefs.h
"
5372 /* System header to define __stub macros and hopefully few prototypes,
5373 which can conflict with char $ac_func(); below. */
5375 /* Override any gcc2 internal prototype to avoid an error. */
5376 /* We use char because int might match the return type of a gcc2
5377 builtin and then its argument prototype would still apply. */
5382 /* The GNU C library defines this for functions which it implements
5383 to always fail with ENOSYS. Some functions are actually named
5384 something starting with __ and the normal name is an alias. */
5385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5393 if { (eval echo configure:5394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5395 eval "ac_cv_func_
$ac_func=yes"
5397 echo "configure
: failed program was
:" >&5
5398 cat conftest.$ac_ext >&5
5400 eval "ac_cv_func_
$ac_func=no
"
5405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5406 echo "$ac_t""yes" 1>&6
5407 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5408 cat >> confdefs.h <<EOF
5409 #define $ac_tr_func 1
5413 echo "$ac_t""no
" 1>&6
5414 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
5418 for ac_func in __signbitf
5420 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5421 echo "configure
:5422: checking
for $ac_func" >&5
5422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5423 echo $ac_n "(cached
) $ac_c" 1>&6
5425 cat > conftest.$ac_ext <<EOF
5426 #line 5427 "configure
"
5427 #include "confdefs.h
"
5428 /* System header to define __stub macros and hopefully few prototypes,
5429 which can conflict with char $ac_func(); below. */
5431 /* Override any gcc2 internal prototype to avoid an error. */
5432 /* We use char because int might match the return type of a gcc2
5433 builtin and then its argument prototype would still apply. */
5438 /* The GNU C library defines this for functions which it implements
5439 to always fail with ENOSYS. Some functions are actually named
5440 something starting with __ and the normal name is an alias. */
5441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5449 if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5451 eval "ac_cv_func_
$ac_func=yes"
5453 echo "configure
: failed program was
:" >&5
5454 cat conftest.$ac_ext >&5
5456 eval "ac_cv_func_
$ac_func=no
"
5461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5462 echo "$ac_t""yes" 1>&6
5463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5464 cat >> confdefs.h <<EOF
5465 #define $ac_tr_func 1
5469 echo "$ac_t""no
" 1>&6
5470 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
5475 if test x$ac_cv_func_copysignl = x"yes"; then
5476 for ac_func in __signbitl
5478 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5479 echo "configure
:5480: checking
for $ac_func" >&5
5480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5481 echo $ac_n "(cached
) $ac_c" 1>&6
5483 cat > conftest.$ac_ext <<EOF
5484 #line 5485 "configure
"
5485 #include "confdefs.h
"
5486 /* System header to define __stub macros and hopefully few prototypes,
5487 which can conflict with char $ac_func(); below. */
5489 /* Override any gcc2 internal prototype to avoid an error. */
5490 /* We use char because int might match the return type of a gcc2
5491 builtin and then its argument prototype would still apply. */
5496 /* The GNU C library defines this for functions which it implements
5497 to always fail with ENOSYS. Some functions are actually named
5498 something starting with __ and the normal name is an alias. */
5499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5507 if { (eval echo configure:5508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5509 eval "ac_cv_func_
$ac_func=yes"
5511 echo "configure
: failed program was
:" >&5
5512 cat conftest.$ac_ext >&5
5514 eval "ac_cv_func_
$ac_func=no
"
5519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5520 echo "$ac_t""yes" 1>&6
5521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5522 cat >> confdefs.h <<EOF
5523 #define $ac_tr_func 1
5527 echo "$ac_t""no
" 1>&6
5528 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
5538 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5539 echo "configure
:5540: checking
for mbstate_t
" >&5
5540 cat > conftest.$ac_ext <<EOF
5541 #line 5542 "configure
"
5542 #include "confdefs.h
"
5545 mbstate_t teststate;
5548 if { (eval echo configure:5549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5552 echo "configure
: failed program was
:" >&5
5553 cat conftest.$ac_ext >&5
5558 echo "$ac_t""$have_mbstate_t" 1>&6
5559 if test x"$have_mbstate_t" = xyes; then
5560 cat >> confdefs.h <<\EOF
5561 #define HAVE_MBSTATE_T 1
5566 for ac_hdr in wchar.h
5568 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5569 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5570 echo "configure
:5571: checking
for $ac_hdr" >&5
5571 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5572 echo $ac_n "(cached
) $ac_c" 1>&6
5574 cat > conftest.$ac_ext <<EOF
5575 #line 5576 "configure
"
5576 #include "confdefs.h
"
5579 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5580 { (eval echo configure:5581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5581 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5582 if test -z "$ac_err"; then
5584 eval "ac_cv_header_
$ac_safe=yes"
5587 echo "configure
: failed program was
:" >&5
5588 cat conftest.$ac_ext >&5
5590 eval "ac_cv_header_
$ac_safe=no
"
5594 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5595 echo "$ac_t""yes" 1>&6
5596 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5597 cat >> confdefs.h <<EOF
5598 #define $ac_tr_hdr 1
5602 echo "$ac_t""no
" 1>&6
5607 for ac_hdr in wctype.h
5609 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5610 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5611 echo "configure
:5612: checking
for $ac_hdr" >&5
5612 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5613 echo $ac_n "(cached
) $ac_c" 1>&6
5615 cat > conftest.$ac_ext <<EOF
5616 #line 5617 "configure
"
5617 #include "confdefs.h
"
5620 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5621 { (eval echo configure:5622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5623 if test -z "$ac_err"; then
5625 eval "ac_cv_header_
$ac_safe=yes"
5628 echo "configure
: failed program was
:" >&5
5629 cat conftest.$ac_ext >&5
5631 eval "ac_cv_header_
$ac_safe=no
"
5635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5636 echo "$ac_t""yes" 1>&6
5637 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5638 cat >> confdefs.h <<EOF
5639 #define $ac_tr_hdr 1
5643 echo "$ac_t""no
" 1>&6
5649 if test x"$ac_has_wchar_h" = xyes &&
5650 test x"$ac_has_wctype_h" = xyes &&
5651 test x"$enable_c_mbchar" != xno; then
5653 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5654 echo "configure
:5655: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5655 cat > conftest.$ac_ext <<EOF
5656 #line 5657 "configure
"
5657 #include "confdefs.h
"
5660 int i = WCHAR_MIN; int j = WCHAR_MAX;
5663 if { (eval echo configure:5664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5665 has_wchar_minmax=yes
5667 echo "configure
: failed program was
:" >&5
5668 cat conftest.$ac_ext >&5
5673 echo "$ac_t""$has_wchar_minmax" 1>&6
5675 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5676 echo "configure
:5677: checking
for WEOF
" >&5
5677 cat > conftest.$ac_ext <<EOF
5678 #line 5679 "configure
"
5679 #include "confdefs.h
"
5687 if { (eval echo configure:5688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5691 echo "configure
: failed program was
:" >&5
5692 cat conftest.$ac_ext >&5
5697 echo "$ac_t""$has_weof" 1>&6
5700 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5702 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5703 echo "configure
:5704: checking
for $ac_func" >&5
5704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5705 echo $ac_n "(cached
) $ac_c" 1>&6
5707 cat > conftest.$ac_ext <<EOF
5708 #line 5709 "configure
"
5709 #include "confdefs.h
"
5710 /* System header to define __stub macros and hopefully few prototypes,
5711 which can conflict with char $ac_func(); below. */
5713 /* Override any gcc2 internal prototype to avoid an error. */
5714 /* We use char because int might match the return type of a gcc2
5715 builtin and then its argument prototype would still apply. */
5720 /* The GNU C library defines this for functions which it implements
5721 to always fail with ENOSYS. Some functions are actually named
5722 something starting with __ and the normal name is an alias. */
5723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5731 if { (eval echo configure:5732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5733 eval "ac_cv_func_
$ac_func=yes"
5735 echo "configure
: failed program was
:" >&5
5736 cat conftest.$ac_ext >&5
5738 eval "ac_cv_func_
$ac_func=no
"
5743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5744 echo "$ac_t""yes" 1>&6
5745 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5746 cat >> confdefs.h <<EOF
5747 #define $ac_tr_func 1
5751 echo "$ac_t""no
" 1>&6
5758 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5759 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5760 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5761 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5762 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5763 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5765 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5766 echo "configure
:5767: checking
for $ac_func" >&5
5767 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5768 echo $ac_n "(cached
) $ac_c" 1>&6
5770 cat > conftest.$ac_ext <<EOF
5771 #line 5772 "configure
"
5772 #include "confdefs.h
"
5773 /* System header to define __stub macros and hopefully few prototypes,
5774 which can conflict with char $ac_func(); below. */
5776 /* Override any gcc2 internal prototype to avoid an error. */
5777 /* We use char because int might match the return type of a gcc2
5778 builtin and then its argument prototype would still apply. */
5783 /* The GNU C library defines this for functions which it implements
5784 to always fail with ENOSYS. Some functions are actually named
5785 something starting with __ and the normal name is an alias. */
5786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5794 if { (eval echo configure:5795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5796 eval "ac_cv_func_
$ac_func=yes"
5798 echo "configure
: failed program was
:" >&5
5799 cat conftest.$ac_ext >&5
5801 eval "ac_cv_func_
$ac_func=no
"
5806 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5807 echo "$ac_t""yes" 1>&6
5808 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5809 cat >> confdefs.h <<EOF
5810 #define $ac_tr_func 1
5814 echo "$ac_t""no
" 1>&6
5821 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
5822 echo "configure
:5823: checking
for ISO C99 wchar_t support
" >&5
5823 if test x"$has_weof" = xyes &&
5824 test x"$has_wchar_minmax" = xyes &&
5825 test x"$ac_wfuncs" = xyes; then
5826 ac_isoC99_wchar_t=yes
5828 ac_isoC99_wchar_t=no
5830 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5832 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
5833 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
5834 echo "configure
:5835: checking
for iconv.h
" >&5
5835 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5836 echo $ac_n "(cached
) $ac_c" 1>&6
5838 cat > conftest.$ac_ext <<EOF
5839 #line 5840 "configure
"
5840 #include "confdefs.h
"
5843 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5844 { (eval echo configure:5845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5846 if test -z "$ac_err"; then
5848 eval "ac_cv_header_
$ac_safe=yes"
5851 echo "configure
: failed program was
:" >&5
5852 cat conftest.$ac_ext >&5
5854 eval "ac_cv_header_
$ac_safe=no
"
5858 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5859 echo "$ac_t""yes" 1>&6
5862 echo "$ac_t""no
" 1>&6
5866 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5867 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5868 echo "configure
:5869: checking
for langinfo.h
" >&5
5869 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5870 echo $ac_n "(cached
) $ac_c" 1>&6
5872 cat > conftest.$ac_ext <<EOF
5873 #line 5874 "configure
"
5874 #include "confdefs.h
"
5875 #include <langinfo.h>
5877 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5878 { (eval echo configure:5879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5880 if test -z "$ac_err"; then
5882 eval "ac_cv_header_
$ac_safe=yes"
5885 echo "configure
: failed program was
:" >&5
5886 cat conftest.$ac_ext >&5
5888 eval "ac_cv_header_
$ac_safe=no
"
5892 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5893 echo "$ac_t""yes" 1>&6
5894 ac_has_langinfo_h=yes
5896 echo "$ac_t""no
" 1>&6
5897 ac_has_langinfo_h=no
5901 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5902 echo "configure
:5903: checking
for iconv in -liconv" >&5
5903 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5904 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5905 echo $ac_n "(cached
) $ac_c" 1>&6
5907 ac_save_LIBS="$LIBS"
5908 LIBS="-liconv $LIBS"
5909 cat > conftest.$ac_ext <<EOF
5910 #line 5911 "configure
"
5911 #include "confdefs.h
"
5912 /* Override any gcc2 internal prototype to avoid an error. */
5913 /* We use char because int might match the return type of a gcc2
5914 builtin and then its argument prototype would still apply. */
5921 if { (eval echo configure:5922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5923 eval "ac_cv_lib_
$ac_lib_var=yes"
5925 echo "configure
: failed program was
:" >&5
5926 cat conftest.$ac_ext >&5
5928 eval "ac_cv_lib_
$ac_lib_var=no
"
5931 LIBS="$ac_save_LIBS"
5934 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5935 echo "$ac_t""yes" 1>&6
5938 echo "$ac_t""no
" 1>&6
5941 ac_save_LIBS="$LIBS"
5942 LIBS="$LIBS $libiconv"
5944 for ac_func in iconv_open iconv_close iconv nl_langinfo
5946 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5947 echo "configure
:5948: checking
for $ac_func" >&5
5948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5949 echo $ac_n "(cached
) $ac_c" 1>&6
5951 cat > conftest.$ac_ext <<EOF
5952 #line 5953 "configure
"
5953 #include "confdefs.h
"
5954 /* System header to define __stub macros and hopefully few prototypes,
5955 which can conflict with char $ac_func(); below. */
5957 /* Override any gcc2 internal prototype to avoid an error. */
5958 /* We use char because int might match the return type of a gcc2
5959 builtin and then its argument prototype would still apply. */
5964 /* The GNU C library defines this for functions which it implements
5965 to always fail with ENOSYS. Some functions are actually named
5966 something starting with __ and the normal name is an alias. */
5967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5975 if { (eval echo configure:5976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5977 eval "ac_cv_func_
$ac_func=yes"
5979 echo "configure
: failed program was
:" >&5
5980 cat conftest.$ac_ext >&5
5982 eval "ac_cv_func_
$ac_func=no
"
5987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5988 echo "$ac_t""yes" 1>&6
5989 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5990 cat >> confdefs.h <<EOF
5991 #define $ac_tr_func 1
5996 echo "$ac_t""no
" 1>&6
6002 LIBS="$ac_save_LIBS"
6004 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6005 echo "configure
:6006: checking
for XPG2 wchar_t support
" >&5
6006 if test x"$ac_has_iconv_h" = xyes &&
6007 test x"$ac_has_langinfo_h" = xyes &&
6008 test x"$ac_XPG2funcs" = xyes; then
6013 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6015 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6016 echo "configure
:6017: checking
for enabled wchar_t specializations
" >&5
6017 if test x"$ac_isoC99_wchar_t" = xyes &&
6018 test x"$ac_XPG2_wchar_t" = xyes; then
6019 cat >> confdefs.h <<\EOF
6020 #define _GLIBCPP_USE_WCHAR_T 1
6023 echo "$ac_t"""yes"" 1>&6
6025 echo "$ac_t"""no"" 1>&6
6028 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
6031 os_include_dir="os
/hpux
"
6032 cat >> confdefs.h <<\EOF
6033 #define HAVE_COPYSIGN 1
6036 cat >> confdefs.h <<\EOF
6037 #define HAVE_COPYSIGNF 1
6040 cat >> confdefs.h <<\EOF
6041 #define HAVE_FREXPF 1
6044 cat >> confdefs.h <<\EOF
6045 #define HAVE_HYPOT 1
6048 case "$target_alias" in
6050 cat >> confdefs.h <<\EOF
6051 #define HAVE_FINITE 1
6054 cat >> confdefs.h <<\EOF
6055 #define HAVE_FINITEF 1
6058 cat >> confdefs.h <<\EOF
6059 #define HAVE_ISINF 1
6062 cat >> confdefs.h <<\EOF
6063 #define HAVE_ISINFF 1
6066 cat >> confdefs.h <<\EOF
6067 #define HAVE_ISNAN 1
6070 cat >> confdefs.h <<\EOF
6071 #define HAVE_ISNANF 1
6079 # Check for available headers.
6080 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6081 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6082 fp.h locale.h float.h inttypes.h
6084 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6085 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6086 echo "configure
:6087: checking
for $ac_hdr" >&5
6087 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6088 echo $ac_n "(cached
) $ac_c" 1>&6
6090 cat > conftest.$ac_ext <<EOF
6091 #line 6092 "configure
"
6092 #include "confdefs.h
"
6095 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6096 { (eval echo configure:6097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6097 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6098 if test -z "$ac_err"; then
6100 eval "ac_cv_header_
$ac_safe=yes"
6103 echo "configure
: failed program was
:" >&5
6104 cat conftest.$ac_ext >&5
6106 eval "ac_cv_header_
$ac_safe=no
"
6110 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6111 echo "$ac_t""yes" 1>&6
6112 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6113 cat >> confdefs.h <<EOF
6114 #define $ac_tr_hdr 1
6118 echo "$ac_t""no
" 1>&6
6122 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6125 # If we're not using GNU ld, then there's no point in even trying these
6126 # tests. Check for that first. We should have already tested for gld
6127 # by now (in libtool), but require it now just to be safe...
6128 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6129 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6132 # The name set by libtool depends on the version of libtool. Shame on us
6133 # for depending on an impl detail, but c'est la vie. Older versions used
6134 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6135 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6136 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6137 # set (hence we're using an older libtool), then set it.
6138 if test x${with_gnu_ld+set} != xset; then
6139 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6140 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6143 with_gnu_ld=$ac_cv_prog_gnu_ld
6147 # Start by getting the version number. I think the libtool test already
6148 # does some of this, but throws away the result.
6150 ldver=`$LD --version 2>/dev/null | head -1 | \
6151 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6153 glibcpp_gnu_ld_version=`echo $ldver | \
6154 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6156 # Set --gc-sections.
6157 if test "$with_gnu_ld" = "notbroken
"; then
6158 # GNU ld it is! Joy and bunny rabbits!
6160 # All these tests are for C++; save the language and the compiler flags.
6161 # Need to do this so that g++ won't try to link in libstdc++
6162 ac_test_CFLAGS="${CFLAGS+set}"
6163 ac_save_CFLAGS="$CFLAGS"
6164 CFLAGS='-x c++ -Wl,--gc-sections'
6166 # Check for -Wl,--gc-sections
6167 # XXX This test is broken at the moment, as symbols required for
6168 # linking are now in libsupc++ (not built yet.....). In addition,
6169 # this test has cored on solaris in the past. In addition,
6170 # --gc-sections doesn't really work at the moment (keeps on discarding
6171 # used sections, first .eh_frame and now some of the glibc sections for
6172 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6173 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6174 echo "configure
:6175: checking
for ld that supports
-Wl,--gc-sections" >&5
6175 if test "$cross_compiling" = yes; then
6176 ac_sectionLDflags=yes
6178 cat > conftest.$ac_ext <<EOF
6179 #line 6180 "configure
"
6180 #include "confdefs.h
"
6190 if { (eval echo configure:6191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6192 ac_sectionLDflags=yes
6194 echo "configure
: failed program was
:" >&5
6195 cat conftest.$ac_ext >&5
6197 ac_sectionLDflags=no
6202 if test "$ac_test_CFLAGS" = set; then
6203 CFLAGS="$ac_save_CFLAGS"
6205 # this is the suspicious part
6208 if test "$ac_sectionLDflags" = "yes"; then
6209 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6211 echo "$ac_t""$ac_sectionLDflags" 1>&6
6214 # Set linker optimization flags.
6215 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
6216 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6223 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6224 echo "configure
:6225: checking
for main
in -lm" >&5
6225 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6226 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6227 echo $ac_n "(cached
) $ac_c" 1>&6
6229 ac_save_LIBS="$LIBS"
6231 cat > conftest.$ac_ext <<EOF
6232 #line 6233 "configure
"
6233 #include "confdefs.h
"
6239 if { (eval echo configure:6240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6241 eval "ac_cv_lib_
$ac_lib_var=yes"
6243 echo "configure
: failed program was
:" >&5
6244 cat conftest.$ac_ext >&5
6246 eval "ac_cv_lib_
$ac_lib_var=no
"
6249 LIBS="$ac_save_LIBS"
6252 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6253 echo "$ac_t""yes" 1>&6
6254 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6255 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6256 cat >> confdefs.h <<EOF
6257 #define $ac_tr_lib 1
6263 echo "$ac_t""no
" 1>&6
6266 for ac_func in nan copysignf
6268 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6269 echo "configure
:6270: checking
for $ac_func" >&5
6270 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6271 echo $ac_n "(cached
) $ac_c" 1>&6
6273 cat > conftest.$ac_ext <<EOF
6274 #line 6275 "configure
"
6275 #include "confdefs.h
"
6276 /* System header to define __stub macros and hopefully few prototypes,
6277 which can conflict with char $ac_func(); below. */
6279 /* Override any gcc2 internal prototype to avoid an error. */
6280 /* We use char because int might match the return type of a gcc2
6281 builtin and then its argument prototype would still apply. */
6286 /* The GNU C library defines this for functions which it implements
6287 to always fail with ENOSYS. Some functions are actually named
6288 something starting with __ and the normal name is an alias. */
6289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6297 if { (eval echo configure:6298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6299 eval "ac_cv_func_
$ac_func=yes"
6301 echo "configure
: failed program was
:" >&5
6302 cat conftest.$ac_ext >&5
6304 eval "ac_cv_func_
$ac_func=no
"
6309 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6310 echo "$ac_t""yes" 1>&6
6311 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6312 cat >> confdefs.h <<EOF
6313 #define $ac_tr_func 1
6317 echo "$ac_t""no
" 1>&6
6318 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6323 for ac_func in __signbit
6325 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6326 echo "configure
:6327: checking
for $ac_func" >&5
6327 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6328 echo $ac_n "(cached
) $ac_c" 1>&6
6330 cat > conftest.$ac_ext <<EOF
6331 #line 6332 "configure
"
6332 #include "confdefs.h
"
6333 /* System header to define __stub macros and hopefully few prototypes,
6334 which can conflict with char $ac_func(); below. */
6336 /* Override any gcc2 internal prototype to avoid an error. */
6337 /* We use char because int might match the return type of a gcc2
6338 builtin and then its argument prototype would still apply. */
6343 /* The GNU C library defines this for functions which it implements
6344 to always fail with ENOSYS. Some functions are actually named
6345 something starting with __ and the normal name is an alias. */
6346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6354 if { (eval echo configure:6355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6356 eval "ac_cv_func_
$ac_func=yes"
6358 echo "configure
: failed program was
:" >&5
6359 cat conftest.$ac_ext >&5
6361 eval "ac_cv_func_
$ac_func=no
"
6366 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6367 echo "$ac_t""yes" 1>&6
6368 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6369 cat >> confdefs.h <<EOF
6370 #define $ac_tr_func 1
6374 echo "$ac_t""no
" 1>&6
6375 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6379 for ac_func in __signbitf
6381 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6382 echo "configure
:6383: checking
for $ac_func" >&5
6383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6384 echo $ac_n "(cached
) $ac_c" 1>&6
6386 cat > conftest.$ac_ext <<EOF
6387 #line 6388 "configure
"
6388 #include "confdefs.h
"
6389 /* System header to define __stub macros and hopefully few prototypes,
6390 which can conflict with char $ac_func(); below. */
6392 /* Override any gcc2 internal prototype to avoid an error. */
6393 /* We use char because int might match the return type of a gcc2
6394 builtin and then its argument prototype would still apply. */
6399 /* The GNU C library defines this for functions which it implements
6400 to always fail with ENOSYS. Some functions are actually named
6401 something starting with __ and the normal name is an alias. */
6402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6410 if { (eval echo configure:6411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6412 eval "ac_cv_func_
$ac_func=yes"
6414 echo "configure
: failed program was
:" >&5
6415 cat conftest.$ac_ext >&5
6417 eval "ac_cv_func_
$ac_func=no
"
6422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6423 echo "$ac_t""yes" 1>&6
6424 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6425 cat >> confdefs.h <<EOF
6426 #define $ac_tr_func 1
6430 echo "$ac_t""no
" 1>&6
6431 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6436 if test x$ac_cv_func_copysignl = x"yes"; then
6437 for ac_func in __signbitl
6439 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6440 echo "configure
:6441: checking
for $ac_func" >&5
6441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6442 echo $ac_n "(cached
) $ac_c" 1>&6
6444 cat > conftest.$ac_ext <<EOF
6445 #line 6446 "configure
"
6446 #include "confdefs.h
"
6447 /* System header to define __stub macros and hopefully few prototypes,
6448 which can conflict with char $ac_func(); below. */
6450 /* Override any gcc2 internal prototype to avoid an error. */
6451 /* We use char because int might match the return type of a gcc2
6452 builtin and then its argument prototype would still apply. */
6457 /* The GNU C library defines this for functions which it implements
6458 to always fail with ENOSYS. Some functions are actually named
6459 something starting with __ and the normal name is an alias. */
6460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6468 if { (eval echo configure:6469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6470 eval "ac_cv_func_
$ac_func=yes"
6472 echo "configure
: failed program was
:" >&5
6473 cat conftest.$ac_ext >&5
6475 eval "ac_cv_func_
$ac_func=no
"
6480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6481 echo "$ac_t""yes" 1>&6
6482 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6483 cat >> confdefs.h <<EOF
6484 #define $ac_tr_func 1
6488 echo "$ac_t""no
" 1>&6
6489 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6499 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6500 echo "configure
:6501: checking
for mbstate_t
" >&5
6501 cat > conftest.$ac_ext <<EOF
6502 #line 6503 "configure
"
6503 #include "confdefs.h
"
6506 mbstate_t teststate;
6509 if { (eval echo configure:6510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6513 echo "configure
: failed program was
:" >&5
6514 cat conftest.$ac_ext >&5
6519 echo "$ac_t""$have_mbstate_t" 1>&6
6520 if test x"$have_mbstate_t" = xyes; then
6521 cat >> confdefs.h <<\EOF
6522 #define HAVE_MBSTATE_T 1
6527 for ac_hdr in wchar.h
6529 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6530 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6531 echo "configure
:6532: checking
for $ac_hdr" >&5
6532 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6533 echo $ac_n "(cached
) $ac_c" 1>&6
6535 cat > conftest.$ac_ext <<EOF
6536 #line 6537 "configure
"
6537 #include "confdefs.h
"
6540 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6541 { (eval echo configure:6542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6543 if test -z "$ac_err"; then
6545 eval "ac_cv_header_
$ac_safe=yes"
6548 echo "configure
: failed program was
:" >&5
6549 cat conftest.$ac_ext >&5
6551 eval "ac_cv_header_
$ac_safe=no
"
6555 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6556 echo "$ac_t""yes" 1>&6
6557 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6558 cat >> confdefs.h <<EOF
6559 #define $ac_tr_hdr 1
6563 echo "$ac_t""no
" 1>&6
6568 for ac_hdr in wctype.h
6570 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6571 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6572 echo "configure
:6573: checking
for $ac_hdr" >&5
6573 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6574 echo $ac_n "(cached
) $ac_c" 1>&6
6576 cat > conftest.$ac_ext <<EOF
6577 #line 6578 "configure
"
6578 #include "confdefs.h
"
6581 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6582 { (eval echo configure:6583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6584 if test -z "$ac_err"; then
6586 eval "ac_cv_header_
$ac_safe=yes"
6589 echo "configure
: failed program was
:" >&5
6590 cat conftest.$ac_ext >&5
6592 eval "ac_cv_header_
$ac_safe=no
"
6596 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6597 echo "$ac_t""yes" 1>&6
6598 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6599 cat >> confdefs.h <<EOF
6600 #define $ac_tr_hdr 1
6604 echo "$ac_t""no
" 1>&6
6610 if test x"$ac_has_wchar_h" = xyes &&
6611 test x"$ac_has_wctype_h" = xyes &&
6612 test x"$enable_c_mbchar" != xno; then
6614 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6615 echo "configure
:6616: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6616 cat > conftest.$ac_ext <<EOF
6617 #line 6618 "configure
"
6618 #include "confdefs.h
"
6621 int i = WCHAR_MIN; int j = WCHAR_MAX;
6624 if { (eval echo configure:6625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6626 has_wchar_minmax=yes
6628 echo "configure
: failed program was
:" >&5
6629 cat conftest.$ac_ext >&5
6634 echo "$ac_t""$has_wchar_minmax" 1>&6
6636 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6637 echo "configure
:6638: checking
for WEOF
" >&5
6638 cat > conftest.$ac_ext <<EOF
6639 #line 6640 "configure
"
6640 #include "confdefs.h
"
6648 if { (eval echo configure:6649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6652 echo "configure
: failed program was
:" >&5
6653 cat conftest.$ac_ext >&5
6658 echo "$ac_t""$has_weof" 1>&6
6661 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6663 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6664 echo "configure
:6665: checking
for $ac_func" >&5
6665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6666 echo $ac_n "(cached
) $ac_c" 1>&6
6668 cat > conftest.$ac_ext <<EOF
6669 #line 6670 "configure
"
6670 #include "confdefs.h
"
6671 /* System header to define __stub macros and hopefully few prototypes,
6672 which can conflict with char $ac_func(); below. */
6674 /* Override any gcc2 internal prototype to avoid an error. */
6675 /* We use char because int might match the return type of a gcc2
6676 builtin and then its argument prototype would still apply. */
6681 /* The GNU C library defines this for functions which it implements
6682 to always fail with ENOSYS. Some functions are actually named
6683 something starting with __ and the normal name is an alias. */
6684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6692 if { (eval echo configure:6693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6694 eval "ac_cv_func_
$ac_func=yes"
6696 echo "configure
: failed program was
:" >&5
6697 cat conftest.$ac_ext >&5
6699 eval "ac_cv_func_
$ac_func=no
"
6704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6705 echo "$ac_t""yes" 1>&6
6706 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6707 cat >> confdefs.h <<EOF
6708 #define $ac_tr_func 1
6712 echo "$ac_t""no
" 1>&6
6719 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6720 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6721 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6722 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6723 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6724 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6726 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6727 echo "configure
:6728: checking
for $ac_func" >&5
6728 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6729 echo $ac_n "(cached
) $ac_c" 1>&6
6731 cat > conftest.$ac_ext <<EOF
6732 #line 6733 "configure
"
6733 #include "confdefs.h
"
6734 /* System header to define __stub macros and hopefully few prototypes,
6735 which can conflict with char $ac_func(); below. */
6737 /* Override any gcc2 internal prototype to avoid an error. */
6738 /* We use char because int might match the return type of a gcc2
6739 builtin and then its argument prototype would still apply. */
6744 /* The GNU C library defines this for functions which it implements
6745 to always fail with ENOSYS. Some functions are actually named
6746 something starting with __ and the normal name is an alias. */
6747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6755 if { (eval echo configure:6756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6757 eval "ac_cv_func_
$ac_func=yes"
6759 echo "configure
: failed program was
:" >&5
6760 cat conftest.$ac_ext >&5
6762 eval "ac_cv_func_
$ac_func=no
"
6767 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6768 echo "$ac_t""yes" 1>&6
6769 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6770 cat >> confdefs.h <<EOF
6771 #define $ac_tr_func 1
6775 echo "$ac_t""no
" 1>&6
6782 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6783 echo "configure
:6784: checking
for ISO C99 wchar_t support
" >&5
6784 if test x"$has_weof" = xyes &&
6785 test x"$has_wchar_minmax" = xyes &&
6786 test x"$ac_wfuncs" = xyes; then
6787 ac_isoC99_wchar_t=yes
6789 ac_isoC99_wchar_t=no
6791 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6793 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6794 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6795 echo "configure
:6796: checking
for iconv.h
" >&5
6796 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6797 echo $ac_n "(cached
) $ac_c" 1>&6
6799 cat > conftest.$ac_ext <<EOF
6800 #line 6801 "configure
"
6801 #include "confdefs.h
"
6804 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6805 { (eval echo configure:6806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6806 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6807 if test -z "$ac_err"; then
6809 eval "ac_cv_header_
$ac_safe=yes"
6812 echo "configure
: failed program was
:" >&5
6813 cat conftest.$ac_ext >&5
6815 eval "ac_cv_header_
$ac_safe=no
"
6819 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6820 echo "$ac_t""yes" 1>&6
6823 echo "$ac_t""no
" 1>&6
6827 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6828 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6829 echo "configure
:6830: checking
for langinfo.h
" >&5
6830 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6831 echo $ac_n "(cached
) $ac_c" 1>&6
6833 cat > conftest.$ac_ext <<EOF
6834 #line 6835 "configure
"
6835 #include "confdefs.h
"
6836 #include <langinfo.h>
6838 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6839 { (eval echo configure:6840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6840 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6841 if test -z "$ac_err"; then
6843 eval "ac_cv_header_
$ac_safe=yes"
6846 echo "configure
: failed program was
:" >&5
6847 cat conftest.$ac_ext >&5
6849 eval "ac_cv_header_
$ac_safe=no
"
6853 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6854 echo "$ac_t""yes" 1>&6
6855 ac_has_langinfo_h=yes
6857 echo "$ac_t""no
" 1>&6
6858 ac_has_langinfo_h=no
6862 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6863 echo "configure
:6864: checking
for iconv in -liconv" >&5
6864 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6865 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6866 echo $ac_n "(cached
) $ac_c" 1>&6
6868 ac_save_LIBS="$LIBS"
6869 LIBS="-liconv $LIBS"
6870 cat > conftest.$ac_ext <<EOF
6871 #line 6872 "configure
"
6872 #include "confdefs.h
"
6873 /* Override any gcc2 internal prototype to avoid an error. */
6874 /* We use char because int might match the return type of a gcc2
6875 builtin and then its argument prototype would still apply. */
6882 if { (eval echo configure:6883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6884 eval "ac_cv_lib_
$ac_lib_var=yes"
6886 echo "configure
: failed program was
:" >&5
6887 cat conftest.$ac_ext >&5
6889 eval "ac_cv_lib_
$ac_lib_var=no
"
6892 LIBS="$ac_save_LIBS"
6895 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6896 echo "$ac_t""yes" 1>&6
6899 echo "$ac_t""no
" 1>&6
6902 ac_save_LIBS="$LIBS"
6903 LIBS="$LIBS $libiconv"
6905 for ac_func in iconv_open iconv_close iconv nl_langinfo
6907 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6908 echo "configure
:6909: checking
for $ac_func" >&5
6909 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6910 echo $ac_n "(cached
) $ac_c" 1>&6
6912 cat > conftest.$ac_ext <<EOF
6913 #line 6914 "configure
"
6914 #include "confdefs.h
"
6915 /* System header to define __stub macros and hopefully few prototypes,
6916 which can conflict with char $ac_func(); below. */
6918 /* Override any gcc2 internal prototype to avoid an error. */
6919 /* We use char because int might match the return type of a gcc2
6920 builtin and then its argument prototype would still apply. */
6925 /* The GNU C library defines this for functions which it implements
6926 to always fail with ENOSYS. Some functions are actually named
6927 something starting with __ and the normal name is an alias. */
6928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6936 if { (eval echo configure:6937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6938 eval "ac_cv_func_
$ac_func=yes"
6940 echo "configure
: failed program was
:" >&5
6941 cat conftest.$ac_ext >&5
6943 eval "ac_cv_func_
$ac_func=no
"
6948 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6949 echo "$ac_t""yes" 1>&6
6950 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6951 cat >> confdefs.h <<EOF
6952 #define $ac_tr_func 1
6957 echo "$ac_t""no
" 1>&6
6963 LIBS="$ac_save_LIBS"
6965 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6966 echo "configure
:6967: checking
for XPG2 wchar_t support
" >&5
6967 if test x"$ac_has_iconv_h" = xyes &&
6968 test x"$ac_has_langinfo_h" = xyes &&
6969 test x"$ac_XPG2funcs" = xyes; then
6974 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6976 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6977 echo "configure
:6978: checking
for enabled wchar_t specializations
" >&5
6978 if test x"$ac_isoC99_wchar_t" = xyes &&
6979 test x"$ac_XPG2_wchar_t" = xyes; then
6980 cat >> confdefs.h <<\EOF
6981 #define _GLIBCPP_USE_WCHAR_T 1
6984 echo "$ac_t"""yes"" 1>&6
6986 echo "$ac_t"""no"" 1>&6
6989 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
6992 os_include_dir="os
/bsd
/netbsd
"
6993 cat >> confdefs.h <<\EOF
6994 #define HAVE_COPYSIGN 1
6997 cat >> confdefs.h <<\EOF
6998 #define HAVE_COPYSIGNF 1
7001 cat >> confdefs.h <<\EOF
7002 #define HAVE_FINITEF 1
7005 cat >> confdefs.h <<\EOF
7006 #define HAVE_FINITE 1
7009 cat >> confdefs.h <<\EOF
7010 #define HAVE_FREXPF 1
7013 cat >> confdefs.h <<\EOF
7014 #define HAVE_HYPOTF 1
7017 cat >> confdefs.h <<\EOF
7018 #define HAVE_ISINF 1
7021 cat >> confdefs.h <<\EOF
7022 #define HAVE_ISINFF 1
7025 cat >> confdefs.h <<\EOF
7026 #define HAVE_ISNAN 1
7029 cat >> confdefs.h <<\EOF
7030 #define HAVE_ISNANF 1
7033 if test x"long_double_math_on_this_cpu
" = x"yes"; then
7034 cat >> confdefs.h <<\EOF
7035 #define HAVE_FINITEL 1
7038 cat >> confdefs.h <<\EOF
7039 #define HAVE_ISINFL 1
7042 cat >> confdefs.h <<\EOF
7043 #define HAVE_ISNANL 1
7049 for ac_hdr in sys/types.h locale.h float.h
7051 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7052 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7053 echo "configure
:7054: checking
for $ac_hdr" >&5
7054 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7055 echo $ac_n "(cached
) $ac_c" 1>&6
7057 cat > conftest.$ac_ext <<EOF
7058 #line 7059 "configure
"
7059 #include "confdefs.h
"
7062 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7063 { (eval echo configure:7064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7065 if test -z "$ac_err"; then
7067 eval "ac_cv_header_
$ac_safe=yes"
7070 echo "configure
: failed program was
:" >&5
7071 cat conftest.$ac_ext >&5
7073 eval "ac_cv_header_
$ac_safe=no
"
7077 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7078 echo "$ac_t""yes" 1>&6
7079 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7080 cat >> confdefs.h <<EOF
7081 #define $ac_tr_hdr 1
7085 echo "$ac_t""no
" 1>&6
7090 # If we're not using GNU ld, then there's no point in even trying these
7091 # tests. Check for that first. We should have already tested for gld
7092 # by now (in libtool), but require it now just to be safe...
7093 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7094 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7097 # The name set by libtool depends on the version of libtool. Shame on us
7098 # for depending on an impl detail, but c'est la vie. Older versions used
7099 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7100 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7101 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7102 # set (hence we're using an older libtool), then set it.
7103 if test x${with_gnu_ld+set} != xset; then
7104 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7105 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7108 with_gnu_ld=$ac_cv_prog_gnu_ld
7112 # Start by getting the version number. I think the libtool test already
7113 # does some of this, but throws away the result.
7115 ldver=`$LD --version 2>/dev/null | head -1 | \
7116 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7118 glibcpp_gnu_ld_version=`echo $ldver | \
7119 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7121 # Set --gc-sections.
7122 if test "$with_gnu_ld" = "notbroken
"; then
7123 # GNU ld it is! Joy and bunny rabbits!
7125 # All these tests are for C++; save the language and the compiler flags.
7126 # Need to do this so that g++ won't try to link in libstdc++
7127 ac_test_CFLAGS="${CFLAGS+set}"
7128 ac_save_CFLAGS="$CFLAGS"
7129 CFLAGS='-x c++ -Wl,--gc-sections'
7131 # Check for -Wl,--gc-sections
7132 # XXX This test is broken at the moment, as symbols required for
7133 # linking are now in libsupc++ (not built yet.....). In addition,
7134 # this test has cored on solaris in the past. In addition,
7135 # --gc-sections doesn't really work at the moment (keeps on discarding
7136 # used sections, first .eh_frame and now some of the glibc sections for
7137 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7138 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7139 echo "configure
:7140: checking
for ld that supports
-Wl,--gc-sections" >&5
7140 if test "$cross_compiling" = yes; then
7141 ac_sectionLDflags=yes
7143 cat > conftest.$ac_ext <<EOF
7144 #line 7145 "configure
"
7145 #include "confdefs.h
"
7155 if { (eval echo configure:7156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7157 ac_sectionLDflags=yes
7159 echo "configure
: failed program was
:" >&5
7160 cat conftest.$ac_ext >&5
7162 ac_sectionLDflags=no
7167 if test "$ac_test_CFLAGS" = set; then
7168 CFLAGS="$ac_save_CFLAGS"
7170 # this is the suspicious part
7173 if test "$ac_sectionLDflags" = "yes"; then
7174 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7176 echo "$ac_t""$ac_sectionLDflags" 1>&6
7179 # Set linker optimization flags.
7180 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
7181 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7188 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7189 echo "configure
:7190: checking
for main
in -lm" >&5
7190 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7191 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7192 echo $ac_n "(cached
) $ac_c" 1>&6
7194 ac_save_LIBS="$LIBS"
7196 cat > conftest.$ac_ext <<EOF
7197 #line 7198 "configure
"
7198 #include "confdefs.h
"
7204 if { (eval echo configure:7205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7206 eval "ac_cv_lib_
$ac_lib_var=yes"
7208 echo "configure
: failed program was
:" >&5
7209 cat conftest.$ac_ext >&5
7211 eval "ac_cv_lib_
$ac_lib_var=no
"
7214 LIBS="$ac_save_LIBS"
7217 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7218 echo "$ac_t""yes" 1>&6
7219 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7220 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7221 cat >> confdefs.h <<EOF
7222 #define $ac_tr_lib 1
7228 echo "$ac_t""no
" 1>&6
7231 for ac_func in nan copysignf
7233 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7234 echo "configure
:7235: checking
for $ac_func" >&5
7235 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7236 echo $ac_n "(cached
) $ac_c" 1>&6
7238 cat > conftest.$ac_ext <<EOF
7239 #line 7240 "configure
"
7240 #include "confdefs.h
"
7241 /* System header to define __stub macros and hopefully few prototypes,
7242 which can conflict with char $ac_func(); below. */
7244 /* Override any gcc2 internal prototype to avoid an error. */
7245 /* We use char because int might match the return type of a gcc2
7246 builtin and then its argument prototype would still apply. */
7251 /* The GNU C library defines this for functions which it implements
7252 to always fail with ENOSYS. Some functions are actually named
7253 something starting with __ and the normal name is an alias. */
7254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7262 if { (eval echo configure:7263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7264 eval "ac_cv_func_
$ac_func=yes"
7266 echo "configure
: failed program was
:" >&5
7267 cat conftest.$ac_ext >&5
7269 eval "ac_cv_func_
$ac_func=no
"
7274 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7275 echo "$ac_t""yes" 1>&6
7276 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7277 cat >> confdefs.h <<EOF
7278 #define $ac_tr_func 1
7282 echo "$ac_t""no
" 1>&6
7283 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7288 for ac_func in __signbit
7290 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7291 echo "configure
:7292: checking
for $ac_func" >&5
7292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7293 echo $ac_n "(cached
) $ac_c" 1>&6
7295 cat > conftest.$ac_ext <<EOF
7296 #line 7297 "configure
"
7297 #include "confdefs.h
"
7298 /* System header to define __stub macros and hopefully few prototypes,
7299 which can conflict with char $ac_func(); below. */
7301 /* Override any gcc2 internal prototype to avoid an error. */
7302 /* We use char because int might match the return type of a gcc2
7303 builtin and then its argument prototype would still apply. */
7308 /* The GNU C library defines this for functions which it implements
7309 to always fail with ENOSYS. Some functions are actually named
7310 something starting with __ and the normal name is an alias. */
7311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7319 if { (eval echo configure:7320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7321 eval "ac_cv_func_
$ac_func=yes"
7323 echo "configure
: failed program was
:" >&5
7324 cat conftest.$ac_ext >&5
7326 eval "ac_cv_func_
$ac_func=no
"
7331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7332 echo "$ac_t""yes" 1>&6
7333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7334 cat >> confdefs.h <<EOF
7335 #define $ac_tr_func 1
7339 echo "$ac_t""no
" 1>&6
7340 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7344 for ac_func in __signbitf
7346 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7347 echo "configure
:7348: checking
for $ac_func" >&5
7348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7349 echo $ac_n "(cached
) $ac_c" 1>&6
7351 cat > conftest.$ac_ext <<EOF
7352 #line 7353 "configure
"
7353 #include "confdefs.h
"
7354 /* System header to define __stub macros and hopefully few prototypes,
7355 which can conflict with char $ac_func(); below. */
7357 /* Override any gcc2 internal prototype to avoid an error. */
7358 /* We use char because int might match the return type of a gcc2
7359 builtin and then its argument prototype would still apply. */
7364 /* The GNU C library defines this for functions which it implements
7365 to always fail with ENOSYS. Some functions are actually named
7366 something starting with __ and the normal name is an alias. */
7367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7375 if { (eval echo configure:7376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7377 eval "ac_cv_func_
$ac_func=yes"
7379 echo "configure
: failed program was
:" >&5
7380 cat conftest.$ac_ext >&5
7382 eval "ac_cv_func_
$ac_func=no
"
7387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7388 echo "$ac_t""yes" 1>&6
7389 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7390 cat >> confdefs.h <<EOF
7391 #define $ac_tr_func 1
7395 echo "$ac_t""no
" 1>&6
7396 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7401 if test x$ac_cv_func_copysignl = x"yes"; then
7402 for ac_func in __signbitl
7404 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7405 echo "configure
:7406: checking
for $ac_func" >&5
7406 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7407 echo $ac_n "(cached
) $ac_c" 1>&6
7409 cat > conftest.$ac_ext <<EOF
7410 #line 7411 "configure
"
7411 #include "confdefs.h
"
7412 /* System header to define __stub macros and hopefully few prototypes,
7413 which can conflict with char $ac_func(); below. */
7415 /* Override any gcc2 internal prototype to avoid an error. */
7416 /* We use char because int might match the return type of a gcc2
7417 builtin and then its argument prototype would still apply. */
7422 /* The GNU C library defines this for functions which it implements
7423 to always fail with ENOSYS. Some functions are actually named
7424 something starting with __ and the normal name is an alias. */
7425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7433 if { (eval echo configure:7434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7435 eval "ac_cv_func_
$ac_func=yes"
7437 echo "configure
: failed program was
:" >&5
7438 cat conftest.$ac_ext >&5
7440 eval "ac_cv_func_
$ac_func=no
"
7445 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7446 echo "$ac_t""yes" 1>&6
7447 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7448 cat >> confdefs.h <<EOF
7449 #define $ac_tr_func 1
7453 echo "$ac_t""no
" 1>&6
7454 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7464 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7465 echo "configure
:7466: checking
for mbstate_t
" >&5
7466 cat > conftest.$ac_ext <<EOF
7467 #line 7468 "configure
"
7468 #include "confdefs.h
"
7471 mbstate_t teststate;
7474 if { (eval echo configure:7475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7478 echo "configure
: failed program was
:" >&5
7479 cat conftest.$ac_ext >&5
7484 echo "$ac_t""$have_mbstate_t" 1>&6
7485 if test x"$have_mbstate_t" = xyes; then
7486 cat >> confdefs.h <<\EOF
7487 #define HAVE_MBSTATE_T 1
7492 for ac_hdr in wchar.h
7494 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7495 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7496 echo "configure
:7497: checking
for $ac_hdr" >&5
7497 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7498 echo $ac_n "(cached
) $ac_c" 1>&6
7500 cat > conftest.$ac_ext <<EOF
7501 #line 7502 "configure
"
7502 #include "confdefs.h
"
7505 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7506 { (eval echo configure:7507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7507 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7508 if test -z "$ac_err"; then
7510 eval "ac_cv_header_
$ac_safe=yes"
7513 echo "configure
: failed program was
:" >&5
7514 cat conftest.$ac_ext >&5
7516 eval "ac_cv_header_
$ac_safe=no
"
7520 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7521 echo "$ac_t""yes" 1>&6
7522 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7523 cat >> confdefs.h <<EOF
7524 #define $ac_tr_hdr 1
7528 echo "$ac_t""no
" 1>&6
7533 for ac_hdr in wctype.h
7535 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7536 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7537 echo "configure
:7538: checking
for $ac_hdr" >&5
7538 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7539 echo $ac_n "(cached
) $ac_c" 1>&6
7541 cat > conftest.$ac_ext <<EOF
7542 #line 7543 "configure
"
7543 #include "confdefs.h
"
7546 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7547 { (eval echo configure:7548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7548 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7549 if test -z "$ac_err"; then
7551 eval "ac_cv_header_
$ac_safe=yes"
7554 echo "configure
: failed program was
:" >&5
7555 cat conftest.$ac_ext >&5
7557 eval "ac_cv_header_
$ac_safe=no
"
7561 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7562 echo "$ac_t""yes" 1>&6
7563 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7564 cat >> confdefs.h <<EOF
7565 #define $ac_tr_hdr 1
7569 echo "$ac_t""no
" 1>&6
7575 if test x"$ac_has_wchar_h" = xyes &&
7576 test x"$ac_has_wctype_h" = xyes &&
7577 test x"$enable_c_mbchar" != xno; then
7579 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7580 echo "configure
:7581: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7581 cat > conftest.$ac_ext <<EOF
7582 #line 7583 "configure
"
7583 #include "confdefs.h
"
7586 int i = WCHAR_MIN; int j = WCHAR_MAX;
7589 if { (eval echo configure:7590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7591 has_wchar_minmax=yes
7593 echo "configure
: failed program was
:" >&5
7594 cat conftest.$ac_ext >&5
7599 echo "$ac_t""$has_wchar_minmax" 1>&6
7601 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7602 echo "configure
:7603: checking
for WEOF
" >&5
7603 cat > conftest.$ac_ext <<EOF
7604 #line 7605 "configure
"
7605 #include "confdefs.h
"
7613 if { (eval echo configure:7614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7617 echo "configure
: failed program was
:" >&5
7618 cat conftest.$ac_ext >&5
7623 echo "$ac_t""$has_weof" 1>&6
7626 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7628 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7629 echo "configure
:7630: checking
for $ac_func" >&5
7630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7631 echo $ac_n "(cached
) $ac_c" 1>&6
7633 cat > conftest.$ac_ext <<EOF
7634 #line 7635 "configure
"
7635 #include "confdefs.h
"
7636 /* System header to define __stub macros and hopefully few prototypes,
7637 which can conflict with char $ac_func(); below. */
7639 /* Override any gcc2 internal prototype to avoid an error. */
7640 /* We use char because int might match the return type of a gcc2
7641 builtin and then its argument prototype would still apply. */
7646 /* The GNU C library defines this for functions which it implements
7647 to always fail with ENOSYS. Some functions are actually named
7648 something starting with __ and the normal name is an alias. */
7649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7657 if { (eval echo configure:7658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7659 eval "ac_cv_func_
$ac_func=yes"
7661 echo "configure
: failed program was
:" >&5
7662 cat conftest.$ac_ext >&5
7664 eval "ac_cv_func_
$ac_func=no
"
7669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7670 echo "$ac_t""yes" 1>&6
7671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7672 cat >> confdefs.h <<EOF
7673 #define $ac_tr_func 1
7677 echo "$ac_t""no
" 1>&6
7684 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7685 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7686 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7687 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7688 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7689 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7691 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7692 echo "configure
:7693: checking
for $ac_func" >&5
7693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7694 echo $ac_n "(cached
) $ac_c" 1>&6
7696 cat > conftest.$ac_ext <<EOF
7697 #line 7698 "configure
"
7698 #include "confdefs.h
"
7699 /* System header to define __stub macros and hopefully few prototypes,
7700 which can conflict with char $ac_func(); below. */
7702 /* Override any gcc2 internal prototype to avoid an error. */
7703 /* We use char because int might match the return type of a gcc2
7704 builtin and then its argument prototype would still apply. */
7709 /* The GNU C library defines this for functions which it implements
7710 to always fail with ENOSYS. Some functions are actually named
7711 something starting with __ and the normal name is an alias. */
7712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7720 if { (eval echo configure:7721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7722 eval "ac_cv_func_
$ac_func=yes"
7724 echo "configure
: failed program was
:" >&5
7725 cat conftest.$ac_ext >&5
7727 eval "ac_cv_func_
$ac_func=no
"
7732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7733 echo "$ac_t""yes" 1>&6
7734 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7735 cat >> confdefs.h <<EOF
7736 #define $ac_tr_func 1
7740 echo "$ac_t""no
" 1>&6
7747 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7748 echo "configure
:7749: checking
for ISO C99 wchar_t support
" >&5
7749 if test x"$has_weof" = xyes &&
7750 test x"$has_wchar_minmax" = xyes &&
7751 test x"$ac_wfuncs" = xyes; then
7752 ac_isoC99_wchar_t=yes
7754 ac_isoC99_wchar_t=no
7756 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7758 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7759 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7760 echo "configure
:7761: checking
for iconv.h
" >&5
7761 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7762 echo $ac_n "(cached
) $ac_c" 1>&6
7764 cat > conftest.$ac_ext <<EOF
7765 #line 7766 "configure
"
7766 #include "confdefs.h
"
7769 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7770 { (eval echo configure:7771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7772 if test -z "$ac_err"; then
7774 eval "ac_cv_header_
$ac_safe=yes"
7777 echo "configure
: failed program was
:" >&5
7778 cat conftest.$ac_ext >&5
7780 eval "ac_cv_header_
$ac_safe=no
"
7784 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7785 echo "$ac_t""yes" 1>&6
7788 echo "$ac_t""no
" 1>&6
7792 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7793 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7794 echo "configure
:7795: checking
for langinfo.h
" >&5
7795 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7796 echo $ac_n "(cached
) $ac_c" 1>&6
7798 cat > conftest.$ac_ext <<EOF
7799 #line 7800 "configure
"
7800 #include "confdefs.h
"
7801 #include <langinfo.h>
7803 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7804 { (eval echo configure:7805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7805 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7806 if test -z "$ac_err"; then
7808 eval "ac_cv_header_
$ac_safe=yes"
7811 echo "configure
: failed program was
:" >&5
7812 cat conftest.$ac_ext >&5
7814 eval "ac_cv_header_
$ac_safe=no
"
7818 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7819 echo "$ac_t""yes" 1>&6
7820 ac_has_langinfo_h=yes
7822 echo "$ac_t""no
" 1>&6
7823 ac_has_langinfo_h=no
7827 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7828 echo "configure
:7829: checking
for iconv in -liconv" >&5
7829 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7830 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7831 echo $ac_n "(cached
) $ac_c" 1>&6
7833 ac_save_LIBS="$LIBS"
7834 LIBS="-liconv $LIBS"
7835 cat > conftest.$ac_ext <<EOF
7836 #line 7837 "configure
"
7837 #include "confdefs.h
"
7838 /* Override any gcc2 internal prototype to avoid an error. */
7839 /* We use char because int might match the return type of a gcc2
7840 builtin and then its argument prototype would still apply. */
7847 if { (eval echo configure:7848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7849 eval "ac_cv_lib_
$ac_lib_var=yes"
7851 echo "configure
: failed program was
:" >&5
7852 cat conftest.$ac_ext >&5
7854 eval "ac_cv_lib_
$ac_lib_var=no
"
7857 LIBS="$ac_save_LIBS"
7860 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7861 echo "$ac_t""yes" 1>&6
7864 echo "$ac_t""no
" 1>&6
7867 ac_save_LIBS="$LIBS"
7868 LIBS="$LIBS $libiconv"
7870 for ac_func in iconv_open iconv_close iconv nl_langinfo
7872 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7873 echo "configure
:7874: checking
for $ac_func" >&5
7874 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7875 echo $ac_n "(cached
) $ac_c" 1>&6
7877 cat > conftest.$ac_ext <<EOF
7878 #line 7879 "configure
"
7879 #include "confdefs.h
"
7880 /* System header to define __stub macros and hopefully few prototypes,
7881 which can conflict with char $ac_func(); below. */
7883 /* Override any gcc2 internal prototype to avoid an error. */
7884 /* We use char because int might match the return type of a gcc2
7885 builtin and then its argument prototype would still apply. */
7890 /* The GNU C library defines this for functions which it implements
7891 to always fail with ENOSYS. Some functions are actually named
7892 something starting with __ and the normal name is an alias. */
7893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7901 if { (eval echo configure:7902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7903 eval "ac_cv_func_
$ac_func=yes"
7905 echo "configure
: failed program was
:" >&5
7906 cat conftest.$ac_ext >&5
7908 eval "ac_cv_func_
$ac_func=no
"
7913 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7914 echo "$ac_t""yes" 1>&6
7915 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7916 cat >> confdefs.h <<EOF
7917 #define $ac_tr_func 1
7922 echo "$ac_t""no
" 1>&6
7928 LIBS="$ac_save_LIBS"
7930 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7931 echo "configure
:7932: checking
for XPG2 wchar_t support
" >&5
7932 if test x"$ac_has_iconv_h" = xyes &&
7933 test x"$ac_has_langinfo_h" = xyes &&
7934 test x"$ac_XPG2funcs" = xyes; then
7939 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7941 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7942 echo "configure
:7943: checking
for enabled wchar_t specializations
" >&5
7943 if test x"$ac_isoC99_wchar_t" = xyes &&
7944 test x"$ac_XPG2_wchar_t" = xyes; then
7945 cat >> confdefs.h <<\EOF
7946 #define _GLIBCPP_USE_WCHAR_T 1
7949 echo "$ac_t"""yes"" 1>&6
7951 echo "$ac_t"""no"" 1>&6
7954 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
7957 os_include_dir="os
/mingw32
"
7960 os_include_dir="os
/windiss
"
7963 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7966 # If we're not using GNU ld, then there's no point in even trying these
7967 # tests. Check for that first. We should have already tested for gld
7968 # by now (in libtool), but require it now just to be safe...
7969 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7970 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7973 # The name set by libtool depends on the version of libtool. Shame on us
7974 # for depending on an impl detail, but c'est la vie. Older versions used
7975 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7976 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7977 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7978 # set (hence we're using an older libtool), then set it.
7979 if test x${with_gnu_ld+set} != xset; then
7980 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7981 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7984 with_gnu_ld=$ac_cv_prog_gnu_ld
7988 # Start by getting the version number. I think the libtool test already
7989 # does some of this, but throws away the result.
7991 ldver=`$LD --version 2>/dev/null | head -1 | \
7992 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7994 glibcpp_gnu_ld_version=`echo $ldver | \
7995 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7997 # Set --gc-sections.
7998 if test "$with_gnu_ld" = "notbroken
"; then
7999 # GNU ld it is! Joy and bunny rabbits!
8001 # All these tests are for C++; save the language and the compiler flags.
8002 # Need to do this so that g++ won't try to link in libstdc++
8003 ac_test_CFLAGS="${CFLAGS+set}"
8004 ac_save_CFLAGS="$CFLAGS"
8005 CFLAGS='-x c++ -Wl,--gc-sections'
8007 # Check for -Wl,--gc-sections
8008 # XXX This test is broken at the moment, as symbols required for
8009 # linking are now in libsupc++ (not built yet.....). In addition,
8010 # this test has cored on solaris in the past. In addition,
8011 # --gc-sections doesn't really work at the moment (keeps on discarding
8012 # used sections, first .eh_frame and now some of the glibc sections for
8013 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8014 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
8015 echo "configure
:8016: checking
for ld that supports
-Wl,--gc-sections" >&5
8016 if test "$cross_compiling" = yes; then
8017 ac_sectionLDflags=yes
8019 cat > conftest.$ac_ext <<EOF
8020 #line 8021 "configure
"
8021 #include "confdefs.h
"
8031 if { (eval echo configure:8032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8033 ac_sectionLDflags=yes
8035 echo "configure
: failed program was
:" >&5
8036 cat conftest.$ac_ext >&5
8038 ac_sectionLDflags=no
8043 if test "$ac_test_CFLAGS" = set; then
8044 CFLAGS="$ac_save_CFLAGS"
8046 # this is the suspicious part
8049 if test "$ac_sectionLDflags" = "yes"; then
8050 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8052 echo "$ac_t""$ac_sectionLDflags" 1>&6
8055 # Set linker optimization flags.
8056 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
8057 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8064 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
8065 echo "configure
:8066: checking
for main
in -lm" >&5
8066 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8067 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8068 echo $ac_n "(cached
) $ac_c" 1>&6
8070 ac_save_LIBS="$LIBS"
8072 cat > conftest.$ac_ext <<EOF
8073 #line 8074 "configure
"
8074 #include "confdefs.h
"
8080 if { (eval echo configure:8081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8082 eval "ac_cv_lib_
$ac_lib_var=yes"
8084 echo "configure
: failed program was
:" >&5
8085 cat conftest.$ac_ext >&5
8087 eval "ac_cv_lib_
$ac_lib_var=no
"
8090 LIBS="$ac_save_LIBS"
8093 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8094 echo "$ac_t""yes" 1>&6
8095 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8096 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8097 cat >> confdefs.h <<EOF
8098 #define $ac_tr_lib 1
8104 echo "$ac_t""no
" 1>&6
8107 for ac_func in nan copysignf
8109 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8110 echo "configure
:8111: checking
for $ac_func" >&5
8111 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8112 echo $ac_n "(cached
) $ac_c" 1>&6
8114 cat > conftest.$ac_ext <<EOF
8115 #line 8116 "configure
"
8116 #include "confdefs.h
"
8117 /* System header to define __stub macros and hopefully few prototypes,
8118 which can conflict with char $ac_func(); below. */
8120 /* Override any gcc2 internal prototype to avoid an error. */
8121 /* We use char because int might match the return type of a gcc2
8122 builtin and then its argument prototype would still apply. */
8127 /* The GNU C library defines this for functions which it implements
8128 to always fail with ENOSYS. Some functions are actually named
8129 something starting with __ and the normal name is an alias. */
8130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8138 if { (eval echo configure:8139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8140 eval "ac_cv_func_
$ac_func=yes"
8142 echo "configure
: failed program was
:" >&5
8143 cat conftest.$ac_ext >&5
8145 eval "ac_cv_func_
$ac_func=no
"
8150 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8151 echo "$ac_t""yes" 1>&6
8152 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8153 cat >> confdefs.h <<EOF
8154 #define $ac_tr_func 1
8158 echo "$ac_t""no
" 1>&6
8159 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
8164 for ac_func in __signbit
8166 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8167 echo "configure
:8168: checking
for $ac_func" >&5
8168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8169 echo $ac_n "(cached
) $ac_c" 1>&6
8171 cat > conftest.$ac_ext <<EOF
8172 #line 8173 "configure
"
8173 #include "confdefs.h
"
8174 /* System header to define __stub macros and hopefully few prototypes,
8175 which can conflict with char $ac_func(); below. */
8177 /* Override any gcc2 internal prototype to avoid an error. */
8178 /* We use char because int might match the return type of a gcc2
8179 builtin and then its argument prototype would still apply. */
8184 /* The GNU C library defines this for functions which it implements
8185 to always fail with ENOSYS. Some functions are actually named
8186 something starting with __ and the normal name is an alias. */
8187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8195 if { (eval echo configure:8196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8197 eval "ac_cv_func_
$ac_func=yes"
8199 echo "configure
: failed program was
:" >&5
8200 cat conftest.$ac_ext >&5
8202 eval "ac_cv_func_
$ac_func=no
"
8207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8208 echo "$ac_t""yes" 1>&6
8209 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8210 cat >> confdefs.h <<EOF
8211 #define $ac_tr_func 1
8215 echo "$ac_t""no
" 1>&6
8216 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
8220 for ac_func in __signbitf
8222 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8223 echo "configure
:8224: checking
for $ac_func" >&5
8224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8225 echo $ac_n "(cached
) $ac_c" 1>&6
8227 cat > conftest.$ac_ext <<EOF
8228 #line 8229 "configure
"
8229 #include "confdefs.h
"
8230 /* System header to define __stub macros and hopefully few prototypes,
8231 which can conflict with char $ac_func(); below. */
8233 /* Override any gcc2 internal prototype to avoid an error. */
8234 /* We use char because int might match the return type of a gcc2
8235 builtin and then its argument prototype would still apply. */
8240 /* The GNU C library defines this for functions which it implements
8241 to always fail with ENOSYS. Some functions are actually named
8242 something starting with __ and the normal name is an alias. */
8243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8251 if { (eval echo configure:8252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8253 eval "ac_cv_func_
$ac_func=yes"
8255 echo "configure
: failed program was
:" >&5
8256 cat conftest.$ac_ext >&5
8258 eval "ac_cv_func_
$ac_func=no
"
8263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8264 echo "$ac_t""yes" 1>&6
8265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8266 cat >> confdefs.h <<EOF
8267 #define $ac_tr_func 1
8271 echo "$ac_t""no
" 1>&6
8272 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
8277 if test x$ac_cv_func_copysignl = x"yes"; then
8278 for ac_func in __signbitl
8280 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8281 echo "configure
:8282: checking
for $ac_func" >&5
8282 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8283 echo $ac_n "(cached
) $ac_c" 1>&6
8285 cat > conftest.$ac_ext <<EOF
8286 #line 8287 "configure
"
8287 #include "confdefs.h
"
8288 /* System header to define __stub macros and hopefully few prototypes,
8289 which can conflict with char $ac_func(); below. */
8291 /* Override any gcc2 internal prototype to avoid an error. */
8292 /* We use char because int might match the return type of a gcc2
8293 builtin and then its argument prototype would still apply. */
8298 /* The GNU C library defines this for functions which it implements
8299 to always fail with ENOSYS. Some functions are actually named
8300 something starting with __ and the normal name is an alias. */
8301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8309 if { (eval echo configure:8310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8311 eval "ac_cv_func_
$ac_func=yes"
8313 echo "configure
: failed program was
:" >&5
8314 cat conftest.$ac_ext >&5
8316 eval "ac_cv_func_
$ac_func=no
"
8321 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8322 echo "$ac_t""yes" 1>&6
8323 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8324 cat >> confdefs.h <<EOF
8325 #define $ac_tr_func 1
8329 echo "$ac_t""no
" 1>&6
8330 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
8340 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
8341 echo "configure
:8342: checking
for mbstate_t
" >&5
8342 cat > conftest.$ac_ext <<EOF
8343 #line 8344 "configure
"
8344 #include "confdefs.h
"
8347 mbstate_t teststate;
8350 if { (eval echo configure:8351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8354 echo "configure
: failed program was
:" >&5
8355 cat conftest.$ac_ext >&5
8360 echo "$ac_t""$have_mbstate_t" 1>&6
8361 if test x"$have_mbstate_t" = xyes; then
8362 cat >> confdefs.h <<\EOF
8363 #define HAVE_MBSTATE_T 1
8368 for ac_hdr in wchar.h
8370 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8371 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8372 echo "configure
:8373: checking
for $ac_hdr" >&5
8373 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8374 echo $ac_n "(cached
) $ac_c" 1>&6
8376 cat > conftest.$ac_ext <<EOF
8377 #line 8378 "configure
"
8378 #include "confdefs.h
"
8381 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8382 { (eval echo configure:8383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8383 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8384 if test -z "$ac_err"; then
8386 eval "ac_cv_header_
$ac_safe=yes"
8389 echo "configure
: failed program was
:" >&5
8390 cat conftest.$ac_ext >&5
8392 eval "ac_cv_header_
$ac_safe=no
"
8396 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8397 echo "$ac_t""yes" 1>&6
8398 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8399 cat >> confdefs.h <<EOF
8400 #define $ac_tr_hdr 1
8404 echo "$ac_t""no
" 1>&6
8409 for ac_hdr in wctype.h
8411 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8412 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8413 echo "configure
:8414: checking
for $ac_hdr" >&5
8414 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8415 echo $ac_n "(cached
) $ac_c" 1>&6
8417 cat > conftest.$ac_ext <<EOF
8418 #line 8419 "configure
"
8419 #include "confdefs.h
"
8422 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8423 { (eval echo configure:8424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8424 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8425 if test -z "$ac_err"; then
8427 eval "ac_cv_header_
$ac_safe=yes"
8430 echo "configure
: failed program was
:" >&5
8431 cat conftest.$ac_ext >&5
8433 eval "ac_cv_header_
$ac_safe=no
"
8437 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8438 echo "$ac_t""yes" 1>&6
8439 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8440 cat >> confdefs.h <<EOF
8441 #define $ac_tr_hdr 1
8445 echo "$ac_t""no
" 1>&6
8451 if test x"$ac_has_wchar_h" = xyes &&
8452 test x"$ac_has_wctype_h" = xyes &&
8453 test x"$enable_c_mbchar" != xno; then
8455 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
8456 echo "configure
:8457: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
8457 cat > conftest.$ac_ext <<EOF
8458 #line 8459 "configure
"
8459 #include "confdefs.h
"
8462 int i = WCHAR_MIN; int j = WCHAR_MAX;
8465 if { (eval echo configure:8466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8467 has_wchar_minmax=yes
8469 echo "configure
: failed program was
:" >&5
8470 cat conftest.$ac_ext >&5
8475 echo "$ac_t""$has_wchar_minmax" 1>&6
8477 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
8478 echo "configure
:8479: checking
for WEOF
" >&5
8479 cat > conftest.$ac_ext <<EOF
8480 #line 8481 "configure
"
8481 #include "confdefs.h
"
8489 if { (eval echo configure:8490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8493 echo "configure
: failed program was
:" >&5
8494 cat conftest.$ac_ext >&5
8499 echo "$ac_t""$has_weof" 1>&6
8502 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8504 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8505 echo "configure
:8506: checking
for $ac_func" >&5
8506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8507 echo $ac_n "(cached
) $ac_c" 1>&6
8509 cat > conftest.$ac_ext <<EOF
8510 #line 8511 "configure
"
8511 #include "confdefs.h
"
8512 /* System header to define __stub macros and hopefully few prototypes,
8513 which can conflict with char $ac_func(); below. */
8515 /* Override any gcc2 internal prototype to avoid an error. */
8516 /* We use char because int might match the return type of a gcc2
8517 builtin and then its argument prototype would still apply. */
8522 /* The GNU C library defines this for functions which it implements
8523 to always fail with ENOSYS. Some functions are actually named
8524 something starting with __ and the normal name is an alias. */
8525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8533 if { (eval echo configure:8534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8535 eval "ac_cv_func_
$ac_func=yes"
8537 echo "configure
: failed program was
:" >&5
8538 cat conftest.$ac_ext >&5
8540 eval "ac_cv_func_
$ac_func=no
"
8545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8546 echo "$ac_t""yes" 1>&6
8547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8548 cat >> confdefs.h <<EOF
8549 #define $ac_tr_func 1
8553 echo "$ac_t""no
" 1>&6
8560 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8561 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8562 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8563 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8564 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8565 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8567 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8568 echo "configure
:8569: checking
for $ac_func" >&5
8569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8570 echo $ac_n "(cached
) $ac_c" 1>&6
8572 cat > conftest.$ac_ext <<EOF
8573 #line 8574 "configure
"
8574 #include "confdefs.h
"
8575 /* System header to define __stub macros and hopefully few prototypes,
8576 which can conflict with char $ac_func(); below. */
8578 /* Override any gcc2 internal prototype to avoid an error. */
8579 /* We use char because int might match the return type of a gcc2
8580 builtin and then its argument prototype would still apply. */
8585 /* The GNU C library defines this for functions which it implements
8586 to always fail with ENOSYS. Some functions are actually named
8587 something starting with __ and the normal name is an alias. */
8588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8596 if { (eval echo configure:8597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8598 eval "ac_cv_func_
$ac_func=yes"
8600 echo "configure
: failed program was
:" >&5
8601 cat conftest.$ac_ext >&5
8603 eval "ac_cv_func_
$ac_func=no
"
8608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8609 echo "$ac_t""yes" 1>&6
8610 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8611 cat >> confdefs.h <<EOF
8612 #define $ac_tr_func 1
8616 echo "$ac_t""no
" 1>&6
8623 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
8624 echo "configure
:8625: checking
for ISO C99 wchar_t support
" >&5
8625 if test x"$has_weof" = xyes &&
8626 test x"$has_wchar_minmax" = xyes &&
8627 test x"$ac_wfuncs" = xyes; then
8628 ac_isoC99_wchar_t=yes
8630 ac_isoC99_wchar_t=no
8632 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8634 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8635 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8636 echo "configure
:8637: checking
for iconv.h
" >&5
8637 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8638 echo $ac_n "(cached
) $ac_c" 1>&6
8640 cat > conftest.$ac_ext <<EOF
8641 #line 8642 "configure
"
8642 #include "confdefs.h
"
8645 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8646 { (eval echo configure:8647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8647 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8648 if test -z "$ac_err"; then
8650 eval "ac_cv_header_
$ac_safe=yes"
8653 echo "configure
: failed program was
:" >&5
8654 cat conftest.$ac_ext >&5
8656 eval "ac_cv_header_
$ac_safe=no
"
8660 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8661 echo "$ac_t""yes" 1>&6
8664 echo "$ac_t""no
" 1>&6
8668 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8669 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8670 echo "configure
:8671: checking
for langinfo.h
" >&5
8671 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8672 echo $ac_n "(cached
) $ac_c" 1>&6
8674 cat > conftest.$ac_ext <<EOF
8675 #line 8676 "configure
"
8676 #include "confdefs.h
"
8677 #include <langinfo.h>
8679 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8680 { (eval echo configure:8681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8682 if test -z "$ac_err"; then
8684 eval "ac_cv_header_
$ac_safe=yes"
8687 echo "configure
: failed program was
:" >&5
8688 cat conftest.$ac_ext >&5
8690 eval "ac_cv_header_
$ac_safe=no
"
8694 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8695 echo "$ac_t""yes" 1>&6
8696 ac_has_langinfo_h=yes
8698 echo "$ac_t""no
" 1>&6
8699 ac_has_langinfo_h=no
8703 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8704 echo "configure
:8705: checking
for iconv in -liconv" >&5
8705 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8706 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8707 echo $ac_n "(cached
) $ac_c" 1>&6
8709 ac_save_LIBS="$LIBS"
8710 LIBS="-liconv $LIBS"
8711 cat > conftest.$ac_ext <<EOF
8712 #line 8713 "configure
"
8713 #include "confdefs.h
"
8714 /* Override any gcc2 internal prototype to avoid an error. */
8715 /* We use char because int might match the return type of a gcc2
8716 builtin and then its argument prototype would still apply. */
8723 if { (eval echo configure:8724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8725 eval "ac_cv_lib_
$ac_lib_var=yes"
8727 echo "configure
: failed program was
:" >&5
8728 cat conftest.$ac_ext >&5
8730 eval "ac_cv_lib_
$ac_lib_var=no
"
8733 LIBS="$ac_save_LIBS"
8736 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8737 echo "$ac_t""yes" 1>&6
8740 echo "$ac_t""no
" 1>&6
8743 ac_save_LIBS="$LIBS"
8744 LIBS="$LIBS $libiconv"
8746 for ac_func in iconv_open iconv_close iconv nl_langinfo
8748 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8749 echo "configure
:8750: checking
for $ac_func" >&5
8750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8751 echo $ac_n "(cached
) $ac_c" 1>&6
8753 cat > conftest.$ac_ext <<EOF
8754 #line 8755 "configure
"
8755 #include "confdefs.h
"
8756 /* System header to define __stub macros and hopefully few prototypes,
8757 which can conflict with char $ac_func(); below. */
8759 /* Override any gcc2 internal prototype to avoid an error. */
8760 /* We use char because int might match the return type of a gcc2
8761 builtin and then its argument prototype would still apply. */
8766 /* The GNU C library defines this for functions which it implements
8767 to always fail with ENOSYS. Some functions are actually named
8768 something starting with __ and the normal name is an alias. */
8769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8777 if { (eval echo configure:8778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8779 eval "ac_cv_func_
$ac_func=yes"
8781 echo "configure
: failed program was
:" >&5
8782 cat conftest.$ac_ext >&5
8784 eval "ac_cv_func_
$ac_func=no
"
8789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8790 echo "$ac_t""yes" 1>&6
8791 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8792 cat >> confdefs.h <<EOF
8793 #define $ac_tr_func 1
8798 echo "$ac_t""no
" 1>&6
8804 LIBS="$ac_save_LIBS"
8806 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
8807 echo "configure
:8808: checking
for XPG2 wchar_t support
" >&5
8808 if test x"$ac_has_iconv_h" = xyes &&
8809 test x"$ac_has_langinfo_h" = xyes &&
8810 test x"$ac_XPG2funcs" = xyes; then
8815 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8817 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
8818 echo "configure
:8819: checking
for enabled wchar_t specializations
" >&5
8819 if test x"$ac_isoC99_wchar_t" = xyes &&
8820 test x"$ac_XPG2_wchar_t" = xyes; then
8821 cat >> confdefs.h <<\EOF
8822 #define _GLIBCPP_USE_WCHAR_T 1
8825 echo "$ac_t"""yes"" 1>&6
8827 echo "$ac_t"""no"" 1>&6
8830 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
8833 os_include_dir="os
/qnx
/qnx6.1
"
8834 cat >> confdefs.h <<\EOF
8838 cat >> confdefs.h <<\EOF
8842 cat >> confdefs.h <<\EOF
8843 #define HAVE_COSHF 1
8846 cat >> confdefs.h <<\EOF
8847 #define HAVE_COSHL 1
8850 cat >> confdefs.h <<\EOF
8854 cat >> confdefs.h <<\EOF
8858 cat >> confdefs.h <<\EOF
8859 #define HAVE_LOG10F 1
8862 cat >> confdefs.h <<\EOF
8863 #define HAVE_LOG10L 1
8866 cat >> confdefs.h <<\EOF
8870 cat >> confdefs.h <<\EOF
8874 cat >> confdefs.h <<\EOF
8875 #define HAVE_SINHF 1
8878 cat >> confdefs.h <<\EOF
8879 #define HAVE_SINHL 1
8884 os_include_dir="os
/newlib
"
8885 cat >> confdefs.h <<\EOF
8886 #define HAVE_HYPOT 1
8892 case "$target_alias" in
8896 cat >> confdefs.h <<\EOF
8897 #define HAVE_ACOSF 1
8900 cat >> confdefs.h <<\EOF
8901 #define HAVE_ASINF 1
8904 cat >> confdefs.h <<\EOF
8905 #define HAVE_ATAN2F 1
8908 cat >> confdefs.h <<\EOF
8909 #define HAVE_ATANF 1
8912 cat >> confdefs.h <<\EOF
8913 #define HAVE_CEILF 1
8916 cat >> confdefs.h <<\EOF
8917 #define HAVE_COPYSIGN 1
8920 cat >> confdefs.h <<\EOF
8921 #define HAVE_COPYSIGNF 1
8924 cat >> confdefs.h <<\EOF
8928 cat >> confdefs.h <<\EOF
8929 #define HAVE_COSHF 1
8932 cat >> confdefs.h <<\EOF
8936 cat >> confdefs.h <<\EOF
8937 #define HAVE_FABSF 1
8940 cat >> confdefs.h <<\EOF
8941 #define HAVE_FLOORF 1
8944 cat >> confdefs.h <<\EOF
8945 #define HAVE_FMODF 1
8948 cat >> confdefs.h <<\EOF
8949 #define HAVE_FREXPF 1
8952 cat >> confdefs.h <<\EOF
8953 #define HAVE_LDEXPF 1
8956 cat >> confdefs.h <<\EOF
8957 #define HAVE_LOG10F 1
8960 cat >> confdefs.h <<\EOF
8964 cat >> confdefs.h <<\EOF
8965 #define HAVE_MODFF 1
8968 cat >> confdefs.h <<\EOF
8972 cat >> confdefs.h <<\EOF
8976 cat >> confdefs.h <<\EOF
8977 #define HAVE_SINHF 1
8980 cat >> confdefs.h <<\EOF
8981 #define HAVE_SQRTF 1
8984 cat >> confdefs.h <<\EOF
8988 cat >> confdefs.h <<\EOF
8989 #define HAVE_TANHF 1
8994 # GLIBCPP_CHECK_STDLIB_SUPPORT
8995 cat >> confdefs.h <<\EOF
8996 #define HAVE_STRTOF 1
8999 cat >> confdefs.h <<\EOF
9000 #define HAVE_STRTOLD 1
9004 cat >> confdefs.h <<\EOF
9009 cat >> confdefs.h <<\EOF
9010 #define HAVE_ACOSF 1
9013 cat >> confdefs.h <<\EOF
9014 #define HAVE_ASINF 1
9017 cat >> confdefs.h <<\EOF
9018 #define HAVE_ATAN2F 1
9021 cat >> confdefs.h <<\EOF
9022 #define HAVE_ATANF 1
9025 cat >> confdefs.h <<\EOF
9026 #define HAVE_CEILF 1
9029 cat >> confdefs.h <<\EOF
9030 #define HAVE_COPYSIGN 1
9033 cat >> confdefs.h <<\EOF
9034 #define HAVE_COPYSIGNF 1
9037 cat >> confdefs.h <<\EOF
9041 cat >> confdefs.h <<\EOF
9042 #define HAVE_COSHF 1
9045 cat >> confdefs.h <<\EOF
9049 cat >> confdefs.h <<\EOF
9050 #define HAVE_FABSF 1
9053 cat >> confdefs.h <<\EOF
9054 #define HAVE_FLOORF 1
9057 cat >> confdefs.h <<\EOF
9058 #define HAVE_FMODF 1
9061 cat >> confdefs.h <<\EOF
9062 #define HAVE_FREXPF 1
9065 cat >> confdefs.h <<\EOF
9066 #define HAVE_LDEXPF 1
9069 cat >> confdefs.h <<\EOF
9070 #define HAVE_LOG10F 1
9073 cat >> confdefs.h <<\EOF
9077 cat >> confdefs.h <<\EOF
9078 #define HAVE_MODFF 1
9081 cat >> confdefs.h <<\EOF
9085 cat >> confdefs.h <<\EOF
9089 cat >> confdefs.h <<\EOF
9090 #define HAVE_SINHF 1
9093 cat >> confdefs.h <<\EOF
9094 #define HAVE_SQRTF 1
9097 cat >> confdefs.h <<\EOF
9101 cat >> confdefs.h <<\EOF
9102 #define HAVE_TANHF 1
9108 # At some point, we should differentiate between architectures
9109 # like x86, which have long double versions, and alpha/powerpc/etc.,
9110 # which don't. For the time being, punt.
9111 if test x"long_double_math_on_this_cpu
" = x"yes"; then
9112 cat >> confdefs.h <<\EOF
9113 #define HAVE_ACOSL 1
9116 cat >> confdefs.h <<\EOF
9117 #define HAVE_ASINL 1
9120 cat >> confdefs.h <<\EOF
9121 #define HAVE_ATAN2L 1
9124 cat >> confdefs.h <<\EOF
9125 #define HAVE_ATANL 1
9128 cat >> confdefs.h <<\EOF
9129 #define HAVE_CEILL 1
9132 cat >> confdefs.h <<\EOF
9133 #define HAVE_COPYSIGNL 1
9136 cat >> confdefs.h <<\EOF
9140 cat >> confdefs.h <<\EOF
9141 #define HAVE_COSHL 1
9144 cat >> confdefs.h <<\EOF
9148 cat >> confdefs.h <<\EOF
9149 #define HAVE_FABSL 1
9152 cat >> confdefs.h <<\EOF
9153 #define HAVE_FLOORL 1
9156 cat >> confdefs.h <<\EOF
9157 #define HAVE_FMODL 1
9160 cat >> confdefs.h <<\EOF
9161 #define HAVE_FREXPL 1
9164 cat >> confdefs.h <<\EOF
9165 #define HAVE_LDEXPL 1
9168 cat >> confdefs.h <<\EOF
9169 #define HAVE_LOG10L 1
9172 cat >> confdefs.h <<\EOF
9176 cat >> confdefs.h <<\EOF
9177 #define HAVE_MODFL 1
9180 cat >> confdefs.h <<\EOF
9184 cat >> confdefs.h <<\EOF
9185 #define HAVE_SINCOSL 1
9188 cat >> confdefs.h <<\EOF
9192 cat >> confdefs.h <<\EOF
9193 #define HAVE_SINHL 1
9196 cat >> confdefs.h <<\EOF
9197 #define HAVE_SQRTL 1
9200 cat >> confdefs.h <<\EOF
9204 cat >> confdefs.h <<\EOF
9205 #define HAVE_TANHL 1
9212 # We are being configured natively. We can do more elaborate tests
9213 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9215 GLIBCPP_IS_CROSS_COMPILING=0
9218 # Check for available headers.
9219 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9220 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9222 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9223 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9224 echo "configure
:9225: checking
for $ac_hdr" >&5
9225 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9226 echo $ac_n "(cached
) $ac_c" 1>&6
9228 cat > conftest.$ac_ext <<EOF
9229 #line 9230 "configure
"
9230 #include "confdefs.h
"
9233 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9234 { (eval echo configure:9235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9236 if test -z "$ac_err"; then
9238 eval "ac_cv_header_
$ac_safe=yes"
9241 echo "configure
: failed program was
:" >&5
9242 cat conftest.$ac_ext >&5
9244 eval "ac_cv_header_
$ac_safe=no
"
9248 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9249 echo "$ac_t""yes" 1>&6
9250 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9251 cat >> confdefs.h <<EOF
9252 #define $ac_tr_hdr 1
9256 echo "$ac_t""no
" 1>&6
9262 # All these tests are for C++; save the language and the compiler flags.
9263 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9264 # found in GLIBCPP_CONFIGURE.
9267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9268 ac_cpp='$CXXCPP $CPPFLAGS'
9269 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9270 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9271 cross_compiling=$ac_cv_prog_cxx_cross
9273 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9274 ac_save_CXXFLAGS="$CXXFLAGS"
9276 # Check for maintainer-mode bits.
9277 if test x"$USE_MAINTAINER_MODE" = xno; then
9283 # Check for -ffunction-sections -fdata-sections
9284 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
9285 echo "configure
:9286: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
9286 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9287 cat > conftest.$ac_ext <<EOF
9288 #line 9289 "configure
"
9289 #include "confdefs.h
"
9296 if { (eval echo configure:9297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9300 echo "configure
: failed program was
:" >&5
9301 cat conftest.$ac_ext >&5
9306 if test "$ac_test_CXXFLAGS" = set; then
9307 CXXFLAGS="$ac_save_CXXFLAGS"
9309 # this is the suspicious part
9312 if test x"$ac_fdsections" = x"yes" &&
9313 test x"$enable_debug" = x"no
"; then
9314 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9316 echo "$ac_t""$ac_fdsections" 1>&6
9319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9320 ac_cpp='$CPP $CPPFLAGS'
9321 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9322 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9323 cross_compiling=$ac_cv_prog_cc_cross
9329 # If we're not using GNU ld, then there's no point in even trying these
9330 # tests. Check for that first. We should have already tested for gld
9331 # by now (in libtool), but require it now just to be safe...
9332 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9333 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9336 # The name set by libtool depends on the version of libtool. Shame on us
9337 # for depending on an impl detail, but c'est la vie. Older versions used
9338 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9339 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9340 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9341 # set (hence we're using an older libtool), then set it.
9342 if test x${with_gnu_ld+set} != xset; then
9343 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9344 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
9347 with_gnu_ld=$ac_cv_prog_gnu_ld
9351 # Start by getting the version number. I think the libtool test already
9352 # does some of this, but throws away the result.
9354 ldver=`$LD --version 2>/dev/null | head -1 | \
9355 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9357 glibcpp_gnu_ld_version=`echo $ldver | \
9358 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9360 # Set --gc-sections.
9361 if test "$with_gnu_ld" = "notbroken
"; then
9362 # GNU ld it is! Joy and bunny rabbits!
9364 # All these tests are for C++; save the language and the compiler flags.
9365 # Need to do this so that g++ won't try to link in libstdc++
9366 ac_test_CFLAGS="${CFLAGS+set}"
9367 ac_save_CFLAGS="$CFLAGS"
9368 CFLAGS='-x c++ -Wl,--gc-sections'
9370 # Check for -Wl,--gc-sections
9371 # XXX This test is broken at the moment, as symbols required for
9372 # linking are now in libsupc++ (not built yet.....). In addition,
9373 # this test has cored on solaris in the past. In addition,
9374 # --gc-sections doesn't really work at the moment (keeps on discarding
9375 # used sections, first .eh_frame and now some of the glibc sections for
9376 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9377 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
9378 echo "configure
:9379: checking
for ld that supports
-Wl,--gc-sections" >&5
9379 if test "$cross_compiling" = yes; then
9380 ac_sectionLDflags=yes
9382 cat > conftest.$ac_ext <<EOF
9383 #line 9384 "configure
"
9384 #include "confdefs.h
"
9394 if { (eval echo configure:9395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9396 ac_sectionLDflags=yes
9398 echo "configure
: failed program was
:" >&5
9399 cat conftest.$ac_ext >&5
9401 ac_sectionLDflags=no
9406 if test "$ac_test_CFLAGS" = set; then
9407 CFLAGS="$ac_save_CFLAGS"
9409 # this is the suspicious part
9412 if test "$ac_sectionLDflags" = "yes"; then
9413 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9415 echo "$ac_t""$ac_sectionLDflags" 1>&6
9418 # Set linker optimization flags.
9419 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
9420 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9428 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
9429 echo "configure
:9430: checking
for __builtin_abs declaration
" >&5
9430 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9431 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9432 echo $ac_n "(cached
) $ac_c" 1>&6
9437 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9438 ac_cpp='$CXXCPP $CPPFLAGS'
9439 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9440 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9441 cross_compiling=$ac_cv_prog_cxx_cross
9443 cat > conftest.$ac_ext <<EOF
9444 #line 9445 "configure
"
9445 #include "confdefs.h
"
9451 if { (eval echo configure:9452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9453 glibcpp_cv_func___builtin_abs_use=yes
9455 echo "configure
: failed program was
:" >&5
9456 cat conftest.$ac_ext >&5
9458 glibcpp_cv_func___builtin_abs_use=no
9462 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9463 ac_cpp='$CPP $CPPFLAGS'
9464 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9465 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9466 cross_compiling=$ac_cv_prog_cc_cross
9472 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9473 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9474 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
9475 echo "configure
:9476: checking
for __builtin_abs linkage
" >&5
9476 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9477 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9478 echo $ac_n "(cached
) $ac_c" 1>&6
9481 cat > conftest.$ac_ext <<EOF
9482 #line 9483 "configure
"
9483 #include "confdefs.h
"
9489 if { (eval echo configure:9490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9491 glibcpp_cv_func___builtin_abs_link=yes
9493 echo "configure
: failed program was
:" >&5
9494 cat conftest.$ac_ext >&5
9496 glibcpp_cv_func___builtin_abs_link=no
9503 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9504 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9505 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9506 cat >> confdefs.h <<EOF
9507 #define ${ac_tr_func} 1
9514 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
9515 echo "configure
:9516: checking
for __builtin_fabsf declaration
" >&5
9516 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9517 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9518 echo $ac_n "(cached
) $ac_c" 1>&6
9523 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9524 ac_cpp='$CXXCPP $CPPFLAGS'
9525 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9526 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9527 cross_compiling=$ac_cv_prog_cxx_cross
9529 cat > conftest.$ac_ext <<EOF
9530 #line 9531 "configure
"
9531 #include "confdefs.h
"
9537 if { (eval echo configure:9538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9539 glibcpp_cv_func___builtin_fabsf_use=yes
9541 echo "configure
: failed program was
:" >&5
9542 cat conftest.$ac_ext >&5
9544 glibcpp_cv_func___builtin_fabsf_use=no
9548 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9549 ac_cpp='$CPP $CPPFLAGS'
9550 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9551 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9552 cross_compiling=$ac_cv_prog_cc_cross
9558 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9559 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9560 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
9561 echo "configure
:9562: checking
for __builtin_fabsf linkage
" >&5
9562 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9563 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9564 echo $ac_n "(cached
) $ac_c" 1>&6
9567 cat > conftest.$ac_ext <<EOF
9568 #line 9569 "configure
"
9569 #include "confdefs.h
"
9575 if { (eval echo configure:9576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9577 glibcpp_cv_func___builtin_fabsf_link=yes
9579 echo "configure
: failed program was
:" >&5
9580 cat conftest.$ac_ext >&5
9582 glibcpp_cv_func___builtin_fabsf_link=no
9589 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9590 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9591 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9592 cat >> confdefs.h <<EOF
9593 #define ${ac_tr_func} 1
9600 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
9601 echo "configure
:9602: checking
for __builtin_fabs declaration
" >&5
9602 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9603 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9604 echo $ac_n "(cached
) $ac_c" 1>&6
9609 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9610 ac_cpp='$CXXCPP $CPPFLAGS'
9611 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9612 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9613 cross_compiling=$ac_cv_prog_cxx_cross
9615 cat > conftest.$ac_ext <<EOF
9616 #line 9617 "configure
"
9617 #include "confdefs.h
"
9623 if { (eval echo configure:9624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9625 glibcpp_cv_func___builtin_fabs_use=yes
9627 echo "configure
: failed program was
:" >&5
9628 cat conftest.$ac_ext >&5
9630 glibcpp_cv_func___builtin_fabs_use=no
9634 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9635 ac_cpp='$CPP $CPPFLAGS'
9636 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9637 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9638 cross_compiling=$ac_cv_prog_cc_cross
9644 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9645 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9646 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
9647 echo "configure
:9648: checking
for __builtin_fabs linkage
" >&5
9648 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9649 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9650 echo $ac_n "(cached
) $ac_c" 1>&6
9653 cat > conftest.$ac_ext <<EOF
9654 #line 9655 "configure
"
9655 #include "confdefs.h
"
9661 if { (eval echo configure:9662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9663 glibcpp_cv_func___builtin_fabs_link=yes
9665 echo "configure
: failed program was
:" >&5
9666 cat conftest.$ac_ext >&5
9668 glibcpp_cv_func___builtin_fabs_link=no
9675 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9676 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9677 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9678 cat >> confdefs.h <<EOF
9679 #define ${ac_tr_func} 1
9686 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
9687 echo "configure
:9688: checking
for __builtin_fabsl declaration
" >&5
9688 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9689 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9690 echo $ac_n "(cached
) $ac_c" 1>&6
9695 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9696 ac_cpp='$CXXCPP $CPPFLAGS'
9697 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9698 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9699 cross_compiling=$ac_cv_prog_cxx_cross
9701 cat > conftest.$ac_ext <<EOF
9702 #line 9703 "configure
"
9703 #include "confdefs.h
"
9709 if { (eval echo configure:9710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9711 glibcpp_cv_func___builtin_fabsl_use=yes
9713 echo "configure
: failed program was
:" >&5
9714 cat conftest.$ac_ext >&5
9716 glibcpp_cv_func___builtin_fabsl_use=no
9720 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9721 ac_cpp='$CPP $CPPFLAGS'
9722 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9723 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9724 cross_compiling=$ac_cv_prog_cc_cross
9730 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9731 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9732 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
9733 echo "configure
:9734: checking
for __builtin_fabsl linkage
" >&5
9734 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9735 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9736 echo $ac_n "(cached
) $ac_c" 1>&6
9739 cat > conftest.$ac_ext <<EOF
9740 #line 9741 "configure
"
9741 #include "confdefs.h
"
9747 if { (eval echo configure:9748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9749 glibcpp_cv_func___builtin_fabsl_link=yes
9751 echo "configure
: failed program was
:" >&5
9752 cat conftest.$ac_ext >&5
9754 glibcpp_cv_func___builtin_fabsl_link=no
9761 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9762 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9763 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9764 cat >> confdefs.h <<EOF
9765 #define ${ac_tr_func} 1
9772 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
9773 echo "configure
:9774: checking
for __builtin_labs declaration
" >&5
9774 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9775 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9776 echo $ac_n "(cached
) $ac_c" 1>&6
9781 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9782 ac_cpp='$CXXCPP $CPPFLAGS'
9783 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9784 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9785 cross_compiling=$ac_cv_prog_cxx_cross
9787 cat > conftest.$ac_ext <<EOF
9788 #line 9789 "configure
"
9789 #include "confdefs.h
"
9795 if { (eval echo configure:9796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9797 glibcpp_cv_func___builtin_labs_use=yes
9799 echo "configure
: failed program was
:" >&5
9800 cat conftest.$ac_ext >&5
9802 glibcpp_cv_func___builtin_labs_use=no
9806 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9807 ac_cpp='$CPP $CPPFLAGS'
9808 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9809 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9810 cross_compiling=$ac_cv_prog_cc_cross
9816 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9817 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9818 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
9819 echo "configure
:9820: checking
for __builtin_labs linkage
" >&5
9820 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9821 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9822 echo $ac_n "(cached
) $ac_c" 1>&6
9825 cat > conftest.$ac_ext <<EOF
9826 #line 9827 "configure
"
9827 #include "confdefs.h
"
9833 if { (eval echo configure:9834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9835 glibcpp_cv_func___builtin_labs_link=yes
9837 echo "configure
: failed program was
:" >&5
9838 cat conftest.$ac_ext >&5
9840 glibcpp_cv_func___builtin_labs_link=no
9847 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9848 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9849 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9850 cat >> confdefs.h <<EOF
9851 #define ${ac_tr_func} 1
9859 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
9860 echo "configure
:9861: checking
for __builtin_sqrtf declaration
" >&5
9861 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9862 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9863 echo $ac_n "(cached
) $ac_c" 1>&6
9868 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9869 ac_cpp='$CXXCPP $CPPFLAGS'
9870 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9871 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9872 cross_compiling=$ac_cv_prog_cxx_cross
9874 cat > conftest.$ac_ext <<EOF
9875 #line 9876 "configure
"
9876 #include "confdefs.h
"
9882 if { (eval echo configure:9883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9884 glibcpp_cv_func___builtin_sqrtf_use=yes
9886 echo "configure
: failed program was
:" >&5
9887 cat conftest.$ac_ext >&5
9889 glibcpp_cv_func___builtin_sqrtf_use=no
9893 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9894 ac_cpp='$CPP $CPPFLAGS'
9895 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9896 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9897 cross_compiling=$ac_cv_prog_cc_cross
9903 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9904 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9905 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
9906 echo "configure
:9907: checking
for __builtin_sqrtf linkage
" >&5
9907 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9908 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9909 echo $ac_n "(cached
) $ac_c" 1>&6
9912 cat > conftest.$ac_ext <<EOF
9913 #line 9914 "configure
"
9914 #include "confdefs.h
"
9920 if { (eval echo configure:9921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9922 glibcpp_cv_func___builtin_sqrtf_link=yes
9924 echo "configure
: failed program was
:" >&5
9925 cat conftest.$ac_ext >&5
9927 glibcpp_cv_func___builtin_sqrtf_link=no
9934 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9935 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9936 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9937 cat >> confdefs.h <<EOF
9938 #define ${ac_tr_func} 1
9945 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
9946 echo "configure
:9947: checking
for __builtin_sqrt declaration
" >&5
9947 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9948 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9949 echo $ac_n "(cached
) $ac_c" 1>&6
9954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9955 ac_cpp='$CXXCPP $CPPFLAGS'
9956 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9957 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9958 cross_compiling=$ac_cv_prog_cxx_cross
9960 cat > conftest.$ac_ext <<EOF
9961 #line 9962 "configure
"
9962 #include "confdefs.h
"
9968 if { (eval echo configure:9969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9970 glibcpp_cv_func___builtin_sqrt_use=yes
9972 echo "configure
: failed program was
:" >&5
9973 cat conftest.$ac_ext >&5
9975 glibcpp_cv_func___builtin_sqrt_use=no
9979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9980 ac_cpp='$CPP $CPPFLAGS'
9981 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9982 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9983 cross_compiling=$ac_cv_prog_cc_cross
9989 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9990 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9991 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
9992 echo "configure
:9993: checking
for __builtin_sqrt linkage
" >&5
9993 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9994 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9995 echo $ac_n "(cached
) $ac_c" 1>&6
9998 cat > conftest.$ac_ext <<EOF
9999 #line 10000 "configure
"
10000 #include "confdefs.h
"
10006 if { (eval echo configure:10007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10008 glibcpp_cv_func___builtin_sqrt_link=yes
10010 echo "configure
: failed program was
:" >&5
10011 cat conftest.$ac_ext >&5
10013 glibcpp_cv_func___builtin_sqrt_link=no
10020 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
10021 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
10022 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10023 cat >> confdefs.h <<EOF
10024 #define ${ac_tr_func} 1
10031 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
10032 echo "configure
:10033: checking
for __builtin_sqrtl declaration
" >&5
10033 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
10034 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
10035 echo $ac_n "(cached
) $ac_c" 1>&6
10040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10041 ac_cpp='$CXXCPP $CPPFLAGS'
10042 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10043 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10044 cross_compiling=$ac_cv_prog_cxx_cross
10046 cat > conftest.$ac_ext <<EOF
10047 #line 10048 "configure
"
10048 #include "confdefs.h
"
10051 __builtin_sqrtl(0);
10054 if { (eval echo configure:10055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10056 glibcpp_cv_func___builtin_sqrtl_use=yes
10058 echo "configure
: failed program was
:" >&5
10059 cat conftest.$ac_ext >&5
10061 glibcpp_cv_func___builtin_sqrtl_use=no
10065 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10066 ac_cpp='$CPP $CPPFLAGS'
10067 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10068 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10069 cross_compiling=$ac_cv_prog_cc_cross
10075 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10076 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10077 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
10078 echo "configure
:10079: checking
for __builtin_sqrtl linkage
" >&5
10079 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10080 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10081 echo $ac_n "(cached
) $ac_c" 1>&6
10084 cat > conftest.$ac_ext <<EOF
10085 #line 10086 "configure
"
10086 #include "confdefs.h
"
10089 __builtin_sqrtl(0);
10092 if { (eval echo configure:10093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10094 glibcpp_cv_func___builtin_sqrtl_link=yes
10096 echo "configure
: failed program was
:" >&5
10097 cat conftest.$ac_ext >&5
10099 glibcpp_cv_func___builtin_sqrtl_link=no
10106 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10107 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10108 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10109 cat >> confdefs.h <<EOF
10110 #define ${ac_tr_func} 1
10118 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
10119 echo "configure
:10120: checking
for __builtin_sinf declaration
" >&5
10120 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10121 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10122 echo $ac_n "(cached
) $ac_c" 1>&6
10127 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10128 ac_cpp='$CXXCPP $CPPFLAGS'
10129 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10130 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10131 cross_compiling=$ac_cv_prog_cxx_cross
10133 cat > conftest.$ac_ext <<EOF
10134 #line 10135 "configure
"
10135 #include "confdefs.h
"
10141 if { (eval echo configure:10142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10143 glibcpp_cv_func___builtin_sinf_use=yes
10145 echo "configure
: failed program was
:" >&5
10146 cat conftest.$ac_ext >&5
10148 glibcpp_cv_func___builtin_sinf_use=no
10152 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10153 ac_cpp='$CPP $CPPFLAGS'
10154 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10155 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10156 cross_compiling=$ac_cv_prog_cc_cross
10162 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10163 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10164 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
10165 echo "configure
:10166: checking
for __builtin_sinf linkage
" >&5
10166 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10167 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10168 echo $ac_n "(cached
) $ac_c" 1>&6
10171 cat > conftest.$ac_ext <<EOF
10172 #line 10173 "configure
"
10173 #include "confdefs.h
"
10179 if { (eval echo configure:10180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10181 glibcpp_cv_func___builtin_sinf_link=yes
10183 echo "configure
: failed program was
:" >&5
10184 cat conftest.$ac_ext >&5
10186 glibcpp_cv_func___builtin_sinf_link=no
10193 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10194 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10195 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10196 cat >> confdefs.h <<EOF
10197 #define ${ac_tr_func} 1
10204 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
10205 echo "configure
:10206: checking
for __builtin_sin declaration
" >&5
10206 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10207 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10208 echo $ac_n "(cached
) $ac_c" 1>&6
10213 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10214 ac_cpp='$CXXCPP $CPPFLAGS'
10215 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10216 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10217 cross_compiling=$ac_cv_prog_cxx_cross
10219 cat > conftest.$ac_ext <<EOF
10220 #line 10221 "configure
"
10221 #include "confdefs.h
"
10227 if { (eval echo configure:10228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10229 glibcpp_cv_func___builtin_sin_use=yes
10231 echo "configure
: failed program was
:" >&5
10232 cat conftest.$ac_ext >&5
10234 glibcpp_cv_func___builtin_sin_use=no
10238 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10239 ac_cpp='$CPP $CPPFLAGS'
10240 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10241 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10242 cross_compiling=$ac_cv_prog_cc_cross
10248 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10249 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10250 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
10251 echo "configure
:10252: checking
for __builtin_sin linkage
" >&5
10252 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10253 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10254 echo $ac_n "(cached
) $ac_c" 1>&6
10257 cat > conftest.$ac_ext <<EOF
10258 #line 10259 "configure
"
10259 #include "confdefs.h
"
10265 if { (eval echo configure:10266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10267 glibcpp_cv_func___builtin_sin_link=yes
10269 echo "configure
: failed program was
:" >&5
10270 cat conftest.$ac_ext >&5
10272 glibcpp_cv_func___builtin_sin_link=no
10279 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10280 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10281 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10282 cat >> confdefs.h <<EOF
10283 #define ${ac_tr_func} 1
10290 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
10291 echo "configure
:10292: checking
for __builtin_sinl declaration
" >&5
10292 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10293 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10294 echo $ac_n "(cached
) $ac_c" 1>&6
10299 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10300 ac_cpp='$CXXCPP $CPPFLAGS'
10301 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10302 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10303 cross_compiling=$ac_cv_prog_cxx_cross
10305 cat > conftest.$ac_ext <<EOF
10306 #line 10307 "configure
"
10307 #include "confdefs.h
"
10313 if { (eval echo configure:10314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10315 glibcpp_cv_func___builtin_sinl_use=yes
10317 echo "configure
: failed program was
:" >&5
10318 cat conftest.$ac_ext >&5
10320 glibcpp_cv_func___builtin_sinl_use=no
10324 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10325 ac_cpp='$CPP $CPPFLAGS'
10326 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10327 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10328 cross_compiling=$ac_cv_prog_cc_cross
10334 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10335 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10336 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
10337 echo "configure
:10338: checking
for __builtin_sinl linkage
" >&5
10338 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10339 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10340 echo $ac_n "(cached
) $ac_c" 1>&6
10343 cat > conftest.$ac_ext <<EOF
10344 #line 10345 "configure
"
10345 #include "confdefs.h
"
10351 if { (eval echo configure:10352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10353 glibcpp_cv_func___builtin_sinl_link=yes
10355 echo "configure
: failed program was
:" >&5
10356 cat conftest.$ac_ext >&5
10358 glibcpp_cv_func___builtin_sinl_link=no
10365 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10366 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10367 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10368 cat >> confdefs.h <<EOF
10369 #define ${ac_tr_func} 1
10377 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
10378 echo "configure
:10379: checking
for __builtin_cosf declaration
" >&5
10379 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10380 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10381 echo $ac_n "(cached
) $ac_c" 1>&6
10386 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10387 ac_cpp='$CXXCPP $CPPFLAGS'
10388 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10389 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10390 cross_compiling=$ac_cv_prog_cxx_cross
10392 cat > conftest.$ac_ext <<EOF
10393 #line 10394 "configure
"
10394 #include "confdefs.h
"
10400 if { (eval echo configure:10401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10402 glibcpp_cv_func___builtin_cosf_use=yes
10404 echo "configure
: failed program was
:" >&5
10405 cat conftest.$ac_ext >&5
10407 glibcpp_cv_func___builtin_cosf_use=no
10411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10412 ac_cpp='$CPP $CPPFLAGS'
10413 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10414 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10415 cross_compiling=$ac_cv_prog_cc_cross
10421 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10422 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10423 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
10424 echo "configure
:10425: checking
for __builtin_cosf linkage
" >&5
10425 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10426 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10427 echo $ac_n "(cached
) $ac_c" 1>&6
10430 cat > conftest.$ac_ext <<EOF
10431 #line 10432 "configure
"
10432 #include "confdefs.h
"
10438 if { (eval echo configure:10439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10440 glibcpp_cv_func___builtin_cosf_link=yes
10442 echo "configure
: failed program was
:" >&5
10443 cat conftest.$ac_ext >&5
10445 glibcpp_cv_func___builtin_cosf_link=no
10452 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10453 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10454 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10455 cat >> confdefs.h <<EOF
10456 #define ${ac_tr_func} 1
10463 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
10464 echo "configure
:10465: checking
for __builtin_cos declaration
" >&5
10465 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10466 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10467 echo $ac_n "(cached
) $ac_c" 1>&6
10472 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10473 ac_cpp='$CXXCPP $CPPFLAGS'
10474 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10475 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10476 cross_compiling=$ac_cv_prog_cxx_cross
10478 cat > conftest.$ac_ext <<EOF
10479 #line 10480 "configure
"
10480 #include "confdefs.h
"
10486 if { (eval echo configure:10487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10488 glibcpp_cv_func___builtin_cos_use=yes
10490 echo "configure
: failed program was
:" >&5
10491 cat conftest.$ac_ext >&5
10493 glibcpp_cv_func___builtin_cos_use=no
10497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10498 ac_cpp='$CPP $CPPFLAGS'
10499 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10500 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10501 cross_compiling=$ac_cv_prog_cc_cross
10507 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10508 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10509 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
10510 echo "configure
:10511: checking
for __builtin_cos linkage
" >&5
10511 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10512 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10513 echo $ac_n "(cached
) $ac_c" 1>&6
10516 cat > conftest.$ac_ext <<EOF
10517 #line 10518 "configure
"
10518 #include "confdefs.h
"
10524 if { (eval echo configure:10525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10526 glibcpp_cv_func___builtin_cos_link=yes
10528 echo "configure
: failed program was
:" >&5
10529 cat conftest.$ac_ext >&5
10531 glibcpp_cv_func___builtin_cos_link=no
10538 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10539 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10540 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10541 cat >> confdefs.h <<EOF
10542 #define ${ac_tr_func} 1
10549 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
10550 echo "configure
:10551: checking
for __builtin_cosl declaration
" >&5
10551 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10552 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10553 echo $ac_n "(cached
) $ac_c" 1>&6
10558 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10559 ac_cpp='$CXXCPP $CPPFLAGS'
10560 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10561 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10562 cross_compiling=$ac_cv_prog_cxx_cross
10564 cat > conftest.$ac_ext <<EOF
10565 #line 10566 "configure
"
10566 #include "confdefs.h
"
10572 if { (eval echo configure:10573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10574 glibcpp_cv_func___builtin_cosl_use=yes
10576 echo "configure
: failed program was
:" >&5
10577 cat conftest.$ac_ext >&5
10579 glibcpp_cv_func___builtin_cosl_use=no
10583 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10584 ac_cpp='$CPP $CPPFLAGS'
10585 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10586 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10587 cross_compiling=$ac_cv_prog_cc_cross
10593 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10594 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10595 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
10596 echo "configure
:10597: checking
for __builtin_cosl linkage
" >&5
10597 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10598 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10599 echo $ac_n "(cached
) $ac_c" 1>&6
10602 cat > conftest.$ac_ext <<EOF
10603 #line 10604 "configure
"
10604 #include "confdefs.h
"
10610 if { (eval echo configure:10611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10612 glibcpp_cv_func___builtin_cosl_link=yes
10614 echo "configure
: failed program was
:" >&5
10615 cat conftest.$ac_ext >&5
10617 glibcpp_cv_func___builtin_cosl_link=no
10624 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10625 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10626 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10627 cat >> confdefs.h <<EOF
10628 #define ${ac_tr_func} 1
10636 if test x$dummyvar = x"yes"; then
10637 cat >> confdefs.h <<\EOF
10638 #define HAVE___BUILTIN_ABS 1
10641 cat >> confdefs.h <<\EOF
10642 #define HAVE___BUILTIN_LABS 1
10645 cat >> confdefs.h <<\EOF
10646 #define HAVE___BUILTIN_COS 1
10649 cat >> confdefs.h <<\EOF
10650 #define HAVE___BUILTIN_COSF 1
10653 cat >> confdefs.h <<\EOF
10654 #define HAVE___BUILTIN_COSL 1
10657 cat >> confdefs.h <<\EOF
10658 #define HAVE___BUILTIN_FABS 1
10661 cat >> confdefs.h <<\EOF
10662 #define HAVE___BUILTIN_FABSF 1
10665 cat >> confdefs.h <<\EOF
10666 #define HAVE___BUILTIN_FABSL 1
10669 cat >> confdefs.h <<\EOF
10670 #define HAVE___BUILTIN_SIN 1
10673 cat >> confdefs.h <<\EOF
10674 #define HAVE___BUILTIN_SINF 1
10677 cat >> confdefs.h <<\EOF
10678 #define HAVE___BUILTIN_SINL 1
10681 cat >> confdefs.h <<\EOF
10682 #define HAVE___BUILTIN_SQRT 1
10685 cat >> confdefs.h <<\EOF
10686 #define HAVE___BUILTIN_SQRTF 1
10689 cat >> confdefs.h <<\EOF
10690 #define HAVE___BUILTIN_SQRTL 1
10696 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10697 ac_save_CXXFLAGS="$CXXFLAGS"
10698 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10700 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
10701 echo "configure
:10702: checking
for sin
in -lm" >&5
10702 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10703 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10704 echo $ac_n "(cached
) $ac_c" 1>&6
10706 ac_save_LIBS="$LIBS"
10708 cat > conftest.$ac_ext <<EOF
10709 #line 10710 "configure
"
10710 #include "confdefs.h
"
10711 /* Override any gcc2 internal prototype to avoid an error. */
10712 /* We use char because int might match the return type of a gcc2
10713 builtin and then its argument prototype would still apply. */
10720 if { (eval echo configure:10721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10722 eval "ac_cv_lib_
$ac_lib_var=yes"
10724 echo "configure
: failed program was
:" >&5
10725 cat conftest.$ac_ext >&5
10727 eval "ac_cv_lib_
$ac_lib_var=no
"
10730 LIBS="$ac_save_LIBS"
10733 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10734 echo "$ac_t""yes" 1>&6
10737 echo "$ac_t""no
" 1>&6
10740 ac_save_LIBS="$LIBS"
10745 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
10746 echo "configure
:10747: checking
for isinf declaration
" >&5
10747 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10748 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10749 echo $ac_n "(cached
) $ac_c" 1>&6
10754 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10755 ac_cpp='$CXXCPP $CPPFLAGS'
10756 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10757 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10758 cross_compiling=$ac_cv_prog_cxx_cross
10760 cat > conftest.$ac_ext <<EOF
10761 #line 10762 "configure
"
10762 #include "confdefs.h
"
10764 #ifdef HAVE_IEEEFP_H
10765 #include <ieeefp.h>
10772 if { (eval echo configure:10773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10774 glibcpp_cv_func_isinf_use=yes
10776 echo "configure
: failed program was
:" >&5
10777 cat conftest.$ac_ext >&5
10779 glibcpp_cv_func_isinf_use=no
10783 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10784 ac_cpp='$CPP $CPPFLAGS'
10785 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10786 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10787 cross_compiling=$ac_cv_prog_cc_cross
10793 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10795 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10796 for ac_func in isinf
10798 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10799 echo "configure
:10800: checking
for $ac_func" >&5
10800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10801 echo $ac_n "(cached
) $ac_c" 1>&6
10803 cat > conftest.$ac_ext <<EOF
10804 #line 10805 "configure
"
10805 #include "confdefs.h
"
10806 /* System header to define __stub macros and hopefully few prototypes,
10807 which can conflict with char $ac_func(); below. */
10808 #include <assert.h>
10809 /* Override any gcc2 internal prototype to avoid an error. */
10810 /* We use char because int might match the return type of a gcc2
10811 builtin and then its argument prototype would still apply. */
10816 /* The GNU C library defines this for functions which it implements
10817 to always fail with ENOSYS. Some functions are actually named
10818 something starting with __ and the normal name is an alias. */
10819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10827 if { (eval echo configure:10828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10829 eval "ac_cv_func_
$ac_func=yes"
10831 echo "configure
: failed program was
:" >&5
10832 cat conftest.$ac_ext >&5
10834 eval "ac_cv_func_
$ac_func=no
"
10839 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10840 echo "$ac_t""yes" 1>&6
10841 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10842 cat >> confdefs.h <<EOF
10843 #define $ac_tr_func 1
10847 echo "$ac_t""no
" 1>&6
10853 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
10854 echo "configure
:10855: checking
for _isinf declaration
" >&5
10855 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10856 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10857 echo $ac_n "(cached
) $ac_c" 1>&6
10862 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10863 ac_cpp='$CXXCPP $CPPFLAGS'
10864 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10865 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10866 cross_compiling=$ac_cv_prog_cxx_cross
10868 cat > conftest.$ac_ext <<EOF
10869 #line 10870 "configure
"
10870 #include "confdefs.h
"
10872 #ifdef HAVE_IEEEFP_H
10873 #include <ieeefp.h>
10880 if { (eval echo configure:10881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10882 glibcpp_cv_func__isinf_use=yes
10884 echo "configure
: failed program was
:" >&5
10885 cat conftest.$ac_ext >&5
10887 glibcpp_cv_func__isinf_use=no
10891 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10892 ac_cpp='$CPP $CPPFLAGS'
10893 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10894 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10895 cross_compiling=$ac_cv_prog_cc_cross
10901 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10903 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10904 for ac_func in _isinf
10906 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10907 echo "configure
:10908: checking
for $ac_func" >&5
10908 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10909 echo $ac_n "(cached
) $ac_c" 1>&6
10911 cat > conftest.$ac_ext <<EOF
10912 #line 10913 "configure
"
10913 #include "confdefs.h
"
10914 /* System header to define __stub macros and hopefully few prototypes,
10915 which can conflict with char $ac_func(); below. */
10916 #include <assert.h>
10917 /* Override any gcc2 internal prototype to avoid an error. */
10918 /* We use char because int might match the return type of a gcc2
10919 builtin and then its argument prototype would still apply. */
10924 /* The GNU C library defines this for functions which it implements
10925 to always fail with ENOSYS. Some functions are actually named
10926 something starting with __ and the normal name is an alias. */
10927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10935 if { (eval echo configure:10936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10937 eval "ac_cv_func_
$ac_func=yes"
10939 echo "configure
: failed program was
:" >&5
10940 cat conftest.$ac_ext >&5
10942 eval "ac_cv_func_
$ac_func=no
"
10947 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10948 echo "$ac_t""yes" 1>&6
10949 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10950 cat >> confdefs.h <<EOF
10951 #define $ac_tr_func 1
10955 echo "$ac_t""no
" 1>&6
10964 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
10965 echo "configure
:10966: checking
for isnan declaration
" >&5
10966 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10967 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10968 echo $ac_n "(cached
) $ac_c" 1>&6
10973 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10974 ac_cpp='$CXXCPP $CPPFLAGS'
10975 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10976 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10977 cross_compiling=$ac_cv_prog_cxx_cross
10979 cat > conftest.$ac_ext <<EOF
10980 #line 10981 "configure
"
10981 #include "confdefs.h
"
10983 #ifdef HAVE_IEEEFP_H
10984 #include <ieeefp.h>
10991 if { (eval echo configure:10992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10993 glibcpp_cv_func_isnan_use=yes
10995 echo "configure
: failed program was
:" >&5
10996 cat conftest.$ac_ext >&5
10998 glibcpp_cv_func_isnan_use=no
11002 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11003 ac_cpp='$CPP $CPPFLAGS'
11004 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11005 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11006 cross_compiling=$ac_cv_prog_cc_cross
11012 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
11014 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
11015 for ac_func in isnan
11017 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11018 echo "configure
:11019: checking
for $ac_func" >&5
11019 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11020 echo $ac_n "(cached
) $ac_c" 1>&6
11022 cat > conftest.$ac_ext <<EOF
11023 #line 11024 "configure
"
11024 #include "confdefs.h
"
11025 /* System header to define __stub macros and hopefully few prototypes,
11026 which can conflict with char $ac_func(); below. */
11027 #include <assert.h>
11028 /* Override any gcc2 internal prototype to avoid an error. */
11029 /* We use char because int might match the return type of a gcc2
11030 builtin and then its argument prototype would still apply. */
11035 /* The GNU C library defines this for functions which it implements
11036 to always fail with ENOSYS. Some functions are actually named
11037 something starting with __ and the normal name is an alias. */
11038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11046 if { (eval echo configure:11047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11048 eval "ac_cv_func_
$ac_func=yes"
11050 echo "configure
: failed program was
:" >&5
11051 cat conftest.$ac_ext >&5
11053 eval "ac_cv_func_
$ac_func=no
"
11058 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11059 echo "$ac_t""yes" 1>&6
11060 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11061 cat >> confdefs.h <<EOF
11062 #define $ac_tr_func 1
11066 echo "$ac_t""no
" 1>&6
11072 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
11073 echo "configure
:11074: checking
for _isnan declaration
" >&5
11074 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11075 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11076 echo $ac_n "(cached
) $ac_c" 1>&6
11081 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11082 ac_cpp='$CXXCPP $CPPFLAGS'
11083 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11084 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11085 cross_compiling=$ac_cv_prog_cxx_cross
11087 cat > conftest.$ac_ext <<EOF
11088 #line 11089 "configure
"
11089 #include "confdefs.h
"
11091 #ifdef HAVE_IEEEFP_H
11092 #include <ieeefp.h>
11099 if { (eval echo configure:11100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11101 glibcpp_cv_func__isnan_use=yes
11103 echo "configure
: failed program was
:" >&5
11104 cat conftest.$ac_ext >&5
11106 glibcpp_cv_func__isnan_use=no
11110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11111 ac_cpp='$CPP $CPPFLAGS'
11112 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11113 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11114 cross_compiling=$ac_cv_prog_cc_cross
11120 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11122 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11123 for ac_func in _isnan
11125 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11126 echo "configure
:11127: checking
for $ac_func" >&5
11127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11128 echo $ac_n "(cached
) $ac_c" 1>&6
11130 cat > conftest.$ac_ext <<EOF
11131 #line 11132 "configure
"
11132 #include "confdefs.h
"
11133 /* System header to define __stub macros and hopefully few prototypes,
11134 which can conflict with char $ac_func(); below. */
11135 #include <assert.h>
11136 /* Override any gcc2 internal prototype to avoid an error. */
11137 /* We use char because int might match the return type of a gcc2
11138 builtin and then its argument prototype would still apply. */
11143 /* The GNU C library defines this for functions which it implements
11144 to always fail with ENOSYS. Some functions are actually named
11145 something starting with __ and the normal name is an alias. */
11146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11154 if { (eval echo configure:11155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11156 eval "ac_cv_func_
$ac_func=yes"
11158 echo "configure
: failed program was
:" >&5
11159 cat conftest.$ac_ext >&5
11161 eval "ac_cv_func_
$ac_func=no
"
11166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11167 echo "$ac_t""yes" 1>&6
11168 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11169 cat >> confdefs.h <<EOF
11170 #define $ac_tr_func 1
11174 echo "$ac_t""no
" 1>&6
11183 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
11184 echo "configure
:11185: checking
for finite declaration
" >&5
11185 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11186 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11187 echo $ac_n "(cached
) $ac_c" 1>&6
11192 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11193 ac_cpp='$CXXCPP $CPPFLAGS'
11194 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11195 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11196 cross_compiling=$ac_cv_prog_cxx_cross
11198 cat > conftest.$ac_ext <<EOF
11199 #line 11200 "configure
"
11200 #include "confdefs.h
"
11202 #ifdef HAVE_IEEEFP_H
11203 #include <ieeefp.h>
11210 if { (eval echo configure:11211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11212 glibcpp_cv_func_finite_use=yes
11214 echo "configure
: failed program was
:" >&5
11215 cat conftest.$ac_ext >&5
11217 glibcpp_cv_func_finite_use=no
11221 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11222 ac_cpp='$CPP $CPPFLAGS'
11223 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11224 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11225 cross_compiling=$ac_cv_prog_cc_cross
11231 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11233 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11234 for ac_func in finite
11236 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11237 echo "configure
:11238: checking
for $ac_func" >&5
11238 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11239 echo $ac_n "(cached
) $ac_c" 1>&6
11241 cat > conftest.$ac_ext <<EOF
11242 #line 11243 "configure
"
11243 #include "confdefs.h
"
11244 /* System header to define __stub macros and hopefully few prototypes,
11245 which can conflict with char $ac_func(); below. */
11246 #include <assert.h>
11247 /* Override any gcc2 internal prototype to avoid an error. */
11248 /* We use char because int might match the return type of a gcc2
11249 builtin and then its argument prototype would still apply. */
11254 /* The GNU C library defines this for functions which it implements
11255 to always fail with ENOSYS. Some functions are actually named
11256 something starting with __ and the normal name is an alias. */
11257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11265 if { (eval echo configure:11266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11267 eval "ac_cv_func_
$ac_func=yes"
11269 echo "configure
: failed program was
:" >&5
11270 cat conftest.$ac_ext >&5
11272 eval "ac_cv_func_
$ac_func=no
"
11277 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11278 echo "$ac_t""yes" 1>&6
11279 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11280 cat >> confdefs.h <<EOF
11281 #define $ac_tr_func 1
11285 echo "$ac_t""no
" 1>&6
11291 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
11292 echo "configure
:11293: checking
for _finite declaration
" >&5
11293 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11294 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11295 echo $ac_n "(cached
) $ac_c" 1>&6
11300 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11301 ac_cpp='$CXXCPP $CPPFLAGS'
11302 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11303 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11304 cross_compiling=$ac_cv_prog_cxx_cross
11306 cat > conftest.$ac_ext <<EOF
11307 #line 11308 "configure
"
11308 #include "confdefs.h
"
11310 #ifdef HAVE_IEEEFP_H
11311 #include <ieeefp.h>
11318 if { (eval echo configure:11319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11320 glibcpp_cv_func__finite_use=yes
11322 echo "configure
: failed program was
:" >&5
11323 cat conftest.$ac_ext >&5
11325 glibcpp_cv_func__finite_use=no
11329 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11330 ac_cpp='$CPP $CPPFLAGS'
11331 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11332 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11333 cross_compiling=$ac_cv_prog_cc_cross
11339 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11341 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11342 for ac_func in _finite
11344 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11345 echo "configure
:11346: checking
for $ac_func" >&5
11346 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11347 echo $ac_n "(cached
) $ac_c" 1>&6
11349 cat > conftest.$ac_ext <<EOF
11350 #line 11351 "configure
"
11351 #include "confdefs.h
"
11352 /* System header to define __stub macros and hopefully few prototypes,
11353 which can conflict with char $ac_func(); below. */
11354 #include <assert.h>
11355 /* Override any gcc2 internal prototype to avoid an error. */
11356 /* We use char because int might match the return type of a gcc2
11357 builtin and then its argument prototype would still apply. */
11362 /* The GNU C library defines this for functions which it implements
11363 to always fail with ENOSYS. Some functions are actually named
11364 something starting with __ and the normal name is an alias. */
11365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11373 if { (eval echo configure:11374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11375 eval "ac_cv_func_
$ac_func=yes"
11377 echo "configure
: failed program was
:" >&5
11378 cat conftest.$ac_ext >&5
11380 eval "ac_cv_func_
$ac_func=no
"
11385 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11386 echo "$ac_t""yes" 1>&6
11387 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11388 cat >> confdefs.h <<EOF
11389 #define $ac_tr_func 1
11393 echo "$ac_t""no
" 1>&6
11402 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
11403 echo "configure
:11404: checking
for copysign declaration
" >&5
11404 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11405 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11406 echo $ac_n "(cached
) $ac_c" 1>&6
11411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11412 ac_cpp='$CXXCPP $CPPFLAGS'
11413 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11414 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11415 cross_compiling=$ac_cv_prog_cxx_cross
11417 cat > conftest.$ac_ext <<EOF
11418 #line 11419 "configure
"
11419 #include "confdefs.h
"
11425 if { (eval echo configure:11426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11427 glibcpp_cv_func_copysign_use=yes
11429 echo "configure
: failed program was
:" >&5
11430 cat conftest.$ac_ext >&5
11432 glibcpp_cv_func_copysign_use=no
11436 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11437 ac_cpp='$CPP $CPPFLAGS'
11438 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11439 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11440 cross_compiling=$ac_cv_prog_cc_cross
11446 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11448 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11449 for ac_func in copysign
11451 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11452 echo "configure
:11453: checking
for $ac_func" >&5
11453 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11454 echo $ac_n "(cached
) $ac_c" 1>&6
11456 cat > conftest.$ac_ext <<EOF
11457 #line 11458 "configure
"
11458 #include "confdefs.h
"
11459 /* System header to define __stub macros and hopefully few prototypes,
11460 which can conflict with char $ac_func(); below. */
11461 #include <assert.h>
11462 /* Override any gcc2 internal prototype to avoid an error. */
11463 /* We use char because int might match the return type of a gcc2
11464 builtin and then its argument prototype would still apply. */
11469 /* The GNU C library defines this for functions which it implements
11470 to always fail with ENOSYS. Some functions are actually named
11471 something starting with __ and the normal name is an alias. */
11472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11480 if { (eval echo configure:11481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11482 eval "ac_cv_func_
$ac_func=yes"
11484 echo "configure
: failed program was
:" >&5
11485 cat conftest.$ac_ext >&5
11487 eval "ac_cv_func_
$ac_func=no
"
11492 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11493 echo "$ac_t""yes" 1>&6
11494 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11495 cat >> confdefs.h <<EOF
11496 #define $ac_tr_func 1
11500 echo "$ac_t""no
" 1>&6
11506 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
11507 echo "configure
:11508: checking
for _copysign declaration
" >&5
11508 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11509 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11510 echo $ac_n "(cached
) $ac_c" 1>&6
11515 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11516 ac_cpp='$CXXCPP $CPPFLAGS'
11517 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11518 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11519 cross_compiling=$ac_cv_prog_cxx_cross
11521 cat > conftest.$ac_ext <<EOF
11522 #line 11523 "configure
"
11523 #include "confdefs.h
"
11529 if { (eval echo configure:11530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11531 glibcpp_cv_func__copysign_use=yes
11533 echo "configure
: failed program was
:" >&5
11534 cat conftest.$ac_ext >&5
11536 glibcpp_cv_func__copysign_use=no
11540 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11541 ac_cpp='$CPP $CPPFLAGS'
11542 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11543 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11544 cross_compiling=$ac_cv_prog_cc_cross
11550 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11552 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11553 for ac_func in _copysign
11555 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11556 echo "configure
:11557: checking
for $ac_func" >&5
11557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11558 echo $ac_n "(cached
) $ac_c" 1>&6
11560 cat > conftest.$ac_ext <<EOF
11561 #line 11562 "configure
"
11562 #include "confdefs.h
"
11563 /* System header to define __stub macros and hopefully few prototypes,
11564 which can conflict with char $ac_func(); below. */
11565 #include <assert.h>
11566 /* Override any gcc2 internal prototype to avoid an error. */
11567 /* We use char because int might match the return type of a gcc2
11568 builtin and then its argument prototype would still apply. */
11573 /* The GNU C library defines this for functions which it implements
11574 to always fail with ENOSYS. Some functions are actually named
11575 something starting with __ and the normal name is an alias. */
11576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11584 if { (eval echo configure:11585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11586 eval "ac_cv_func_
$ac_func=yes"
11588 echo "configure
: failed program was
:" >&5
11589 cat conftest.$ac_ext >&5
11591 eval "ac_cv_func_
$ac_func=no
"
11596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11597 echo "$ac_t""yes" 1>&6
11598 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11599 cat >> confdefs.h <<EOF
11600 #define $ac_tr_func 1
11604 echo "$ac_t""no
" 1>&6
11613 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
11614 echo "configure
:11615: checking
for sincos declaration
" >&5
11615 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11616 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11617 echo $ac_n "(cached
) $ac_c" 1>&6
11622 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11623 ac_cpp='$CXXCPP $CPPFLAGS'
11624 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11625 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11626 cross_compiling=$ac_cv_prog_cxx_cross
11628 cat > conftest.$ac_ext <<EOF
11629 #line 11630 "configure
"
11630 #include "confdefs.h
"
11636 if { (eval echo configure:11637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11638 glibcpp_cv_func_sincos_use=yes
11640 echo "configure
: failed program was
:" >&5
11641 cat conftest.$ac_ext >&5
11643 glibcpp_cv_func_sincos_use=no
11647 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11648 ac_cpp='$CPP $CPPFLAGS'
11649 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11650 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11651 cross_compiling=$ac_cv_prog_cc_cross
11657 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11659 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11660 for ac_func in sincos
11662 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11663 echo "configure
:11664: checking
for $ac_func" >&5
11664 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11665 echo $ac_n "(cached
) $ac_c" 1>&6
11667 cat > conftest.$ac_ext <<EOF
11668 #line 11669 "configure
"
11669 #include "confdefs.h
"
11670 /* System header to define __stub macros and hopefully few prototypes,
11671 which can conflict with char $ac_func(); below. */
11672 #include <assert.h>
11673 /* Override any gcc2 internal prototype to avoid an error. */
11674 /* We use char because int might match the return type of a gcc2
11675 builtin and then its argument prototype would still apply. */
11680 /* The GNU C library defines this for functions which it implements
11681 to always fail with ENOSYS. Some functions are actually named
11682 something starting with __ and the normal name is an alias. */
11683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11691 if { (eval echo configure:11692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11693 eval "ac_cv_func_
$ac_func=yes"
11695 echo "configure
: failed program was
:" >&5
11696 cat conftest.$ac_ext >&5
11698 eval "ac_cv_func_
$ac_func=no
"
11703 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11704 echo "$ac_t""yes" 1>&6
11705 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11706 cat >> confdefs.h <<EOF
11707 #define $ac_tr_func 1
11711 echo "$ac_t""no
" 1>&6
11717 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
11718 echo "configure
:11719: checking
for _sincos declaration
" >&5
11719 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11720 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11721 echo $ac_n "(cached
) $ac_c" 1>&6
11726 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11727 ac_cpp='$CXXCPP $CPPFLAGS'
11728 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11729 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11730 cross_compiling=$ac_cv_prog_cxx_cross
11732 cat > conftest.$ac_ext <<EOF
11733 #line 11734 "configure
"
11734 #include "confdefs.h
"
11740 if { (eval echo configure:11741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11742 glibcpp_cv_func__sincos_use=yes
11744 echo "configure
: failed program was
:" >&5
11745 cat conftest.$ac_ext >&5
11747 glibcpp_cv_func__sincos_use=no
11751 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11752 ac_cpp='$CPP $CPPFLAGS'
11753 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11754 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11755 cross_compiling=$ac_cv_prog_cc_cross
11761 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11763 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11764 for ac_func in _sincos
11766 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11767 echo "configure
:11768: checking
for $ac_func" >&5
11768 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11769 echo $ac_n "(cached
) $ac_c" 1>&6
11771 cat > conftest.$ac_ext <<EOF
11772 #line 11773 "configure
"
11773 #include "confdefs.h
"
11774 /* System header to define __stub macros and hopefully few prototypes,
11775 which can conflict with char $ac_func(); below. */
11776 #include <assert.h>
11777 /* Override any gcc2 internal prototype to avoid an error. */
11778 /* We use char because int might match the return type of a gcc2
11779 builtin and then its argument prototype would still apply. */
11784 /* The GNU C library defines this for functions which it implements
11785 to always fail with ENOSYS. Some functions are actually named
11786 something starting with __ and the normal name is an alias. */
11787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11795 if { (eval echo configure:11796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11797 eval "ac_cv_func_
$ac_func=yes"
11799 echo "configure
: failed program was
:" >&5
11800 cat conftest.$ac_ext >&5
11802 eval "ac_cv_func_
$ac_func=no
"
11807 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11808 echo "$ac_t""yes" 1>&6
11809 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11810 cat >> confdefs.h <<EOF
11811 #define $ac_tr_func 1
11815 echo "$ac_t""no
" 1>&6
11824 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
11825 echo "configure
:11826: checking
for fpclass declaration
" >&5
11826 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11827 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11828 echo $ac_n "(cached
) $ac_c" 1>&6
11833 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11834 ac_cpp='$CXXCPP $CPPFLAGS'
11835 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11836 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11837 cross_compiling=$ac_cv_prog_cxx_cross
11839 cat > conftest.$ac_ext <<EOF
11840 #line 11841 "configure
"
11841 #include "confdefs.h
"
11843 #ifdef HAVE_IEEEFP_H
11844 #include <ieeefp.h>
11851 if { (eval echo configure:11852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11853 glibcpp_cv_func_fpclass_use=yes
11855 echo "configure
: failed program was
:" >&5
11856 cat conftest.$ac_ext >&5
11858 glibcpp_cv_func_fpclass_use=no
11862 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11863 ac_cpp='$CPP $CPPFLAGS'
11864 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11865 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11866 cross_compiling=$ac_cv_prog_cc_cross
11872 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11874 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11875 for ac_func in fpclass
11877 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11878 echo "configure
:11879: checking
for $ac_func" >&5
11879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11880 echo $ac_n "(cached
) $ac_c" 1>&6
11882 cat > conftest.$ac_ext <<EOF
11883 #line 11884 "configure
"
11884 #include "confdefs.h
"
11885 /* System header to define __stub macros and hopefully few prototypes,
11886 which can conflict with char $ac_func(); below. */
11887 #include <assert.h>
11888 /* Override any gcc2 internal prototype to avoid an error. */
11889 /* We use char because int might match the return type of a gcc2
11890 builtin and then its argument prototype would still apply. */
11895 /* The GNU C library defines this for functions which it implements
11896 to always fail with ENOSYS. Some functions are actually named
11897 something starting with __ and the normal name is an alias. */
11898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11906 if { (eval echo configure:11907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11908 eval "ac_cv_func_
$ac_func=yes"
11910 echo "configure
: failed program was
:" >&5
11911 cat conftest.$ac_ext >&5
11913 eval "ac_cv_func_
$ac_func=no
"
11918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11919 echo "$ac_t""yes" 1>&6
11920 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11921 cat >> confdefs.h <<EOF
11922 #define $ac_tr_func 1
11926 echo "$ac_t""no
" 1>&6
11932 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
11933 echo "configure
:11934: checking
for _fpclass declaration
" >&5
11934 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11935 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11936 echo $ac_n "(cached
) $ac_c" 1>&6
11941 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11942 ac_cpp='$CXXCPP $CPPFLAGS'
11943 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11944 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11945 cross_compiling=$ac_cv_prog_cxx_cross
11947 cat > conftest.$ac_ext <<EOF
11948 #line 11949 "configure
"
11949 #include "confdefs.h
"
11951 #ifdef HAVE_IEEEFP_H
11952 #include <ieeefp.h>
11959 if { (eval echo configure:11960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11961 glibcpp_cv_func__fpclass_use=yes
11963 echo "configure
: failed program was
:" >&5
11964 cat conftest.$ac_ext >&5
11966 glibcpp_cv_func__fpclass_use=no
11970 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11971 ac_cpp='$CPP $CPPFLAGS'
11972 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11973 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11974 cross_compiling=$ac_cv_prog_cc_cross
11980 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11982 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11983 for ac_func in _fpclass
11985 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11986 echo "configure
:11987: checking
for $ac_func" >&5
11987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11988 echo $ac_n "(cached
) $ac_c" 1>&6
11990 cat > conftest.$ac_ext <<EOF
11991 #line 11992 "configure
"
11992 #include "confdefs.h
"
11993 /* System header to define __stub macros and hopefully few prototypes,
11994 which can conflict with char $ac_func(); below. */
11995 #include <assert.h>
11996 /* Override any gcc2 internal prototype to avoid an error. */
11997 /* We use char because int might match the return type of a gcc2
11998 builtin and then its argument prototype would still apply. */
12003 /* The GNU C library defines this for functions which it implements
12004 to always fail with ENOSYS. Some functions are actually named
12005 something starting with __ and the normal name is an alias. */
12006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12014 if { (eval echo configure:12015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12016 eval "ac_cv_func_
$ac_func=yes"
12018 echo "configure
: failed program was
:" >&5
12019 cat conftest.$ac_ext >&5
12021 eval "ac_cv_func_
$ac_func=no
"
12026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12027 echo "$ac_t""yes" 1>&6
12028 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12029 cat >> confdefs.h <<EOF
12030 #define $ac_tr_func 1
12034 echo "$ac_t""no
" 1>&6
12043 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
12044 echo "configure
:12045: checking
for qfpclass declaration
" >&5
12045 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12046 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12047 echo $ac_n "(cached
) $ac_c" 1>&6
12052 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12053 ac_cpp='$CXXCPP $CPPFLAGS'
12054 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12055 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12056 cross_compiling=$ac_cv_prog_cxx_cross
12058 cat > conftest.$ac_ext <<EOF
12059 #line 12060 "configure
"
12060 #include "confdefs.h
"
12062 #ifdef HAVE_IEEEFP_H
12063 #include <ieeefp.h>
12070 if { (eval echo configure:12071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12072 glibcpp_cv_func_qfpclass_use=yes
12074 echo "configure
: failed program was
:" >&5
12075 cat conftest.$ac_ext >&5
12077 glibcpp_cv_func_qfpclass_use=no
12081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12082 ac_cpp='$CPP $CPPFLAGS'
12083 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12084 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12085 cross_compiling=$ac_cv_prog_cc_cross
12091 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12093 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12094 for ac_func in qfpclass
12096 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12097 echo "configure
:12098: checking
for $ac_func" >&5
12098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12099 echo $ac_n "(cached
) $ac_c" 1>&6
12101 cat > conftest.$ac_ext <<EOF
12102 #line 12103 "configure
"
12103 #include "confdefs.h
"
12104 /* System header to define __stub macros and hopefully few prototypes,
12105 which can conflict with char $ac_func(); below. */
12106 #include <assert.h>
12107 /* Override any gcc2 internal prototype to avoid an error. */
12108 /* We use char because int might match the return type of a gcc2
12109 builtin and then its argument prototype would still apply. */
12114 /* The GNU C library defines this for functions which it implements
12115 to always fail with ENOSYS. Some functions are actually named
12116 something starting with __ and the normal name is an alias. */
12117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12125 if { (eval echo configure:12126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12127 eval "ac_cv_func_
$ac_func=yes"
12129 echo "configure
: failed program was
:" >&5
12130 cat conftest.$ac_ext >&5
12132 eval "ac_cv_func_
$ac_func=no
"
12137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12138 echo "$ac_t""yes" 1>&6
12139 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12140 cat >> confdefs.h <<EOF
12141 #define $ac_tr_func 1
12145 echo "$ac_t""no
" 1>&6
12151 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
12152 echo "configure
:12153: checking
for _qfpclass declaration
" >&5
12153 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12154 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12155 echo $ac_n "(cached
) $ac_c" 1>&6
12160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12161 ac_cpp='$CXXCPP $CPPFLAGS'
12162 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12163 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12164 cross_compiling=$ac_cv_prog_cxx_cross
12166 cat > conftest.$ac_ext <<EOF
12167 #line 12168 "configure
"
12168 #include "confdefs.h
"
12170 #ifdef HAVE_IEEEFP_H
12171 #include <ieeefp.h>
12178 if { (eval echo configure:12179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12180 glibcpp_cv_func__qfpclass_use=yes
12182 echo "configure
: failed program was
:" >&5
12183 cat conftest.$ac_ext >&5
12185 glibcpp_cv_func__qfpclass_use=no
12189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12190 ac_cpp='$CPP $CPPFLAGS'
12191 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12192 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12193 cross_compiling=$ac_cv_prog_cc_cross
12199 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12201 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12202 for ac_func in _qfpclass
12204 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12205 echo "configure
:12206: checking
for $ac_func" >&5
12206 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12207 echo $ac_n "(cached
) $ac_c" 1>&6
12209 cat > conftest.$ac_ext <<EOF
12210 #line 12211 "configure
"
12211 #include "confdefs.h
"
12212 /* System header to define __stub macros and hopefully few prototypes,
12213 which can conflict with char $ac_func(); below. */
12214 #include <assert.h>
12215 /* Override any gcc2 internal prototype to avoid an error. */
12216 /* We use char because int might match the return type of a gcc2
12217 builtin and then its argument prototype would still apply. */
12222 /* The GNU C library defines this for functions which it implements
12223 to always fail with ENOSYS. Some functions are actually named
12224 something starting with __ and the normal name is an alias. */
12225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12233 if { (eval echo configure:12234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12235 eval "ac_cv_func_
$ac_func=yes"
12237 echo "configure
: failed program was
:" >&5
12238 cat conftest.$ac_ext >&5
12240 eval "ac_cv_func_
$ac_func=no
"
12245 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12246 echo "$ac_t""yes" 1>&6
12247 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12248 cat >> confdefs.h <<EOF
12249 #define $ac_tr_func 1
12253 echo "$ac_t""no
" 1>&6
12262 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
12263 echo "configure
:12264: checking
for hypot declaration
" >&5
12264 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12265 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12266 echo $ac_n "(cached
) $ac_c" 1>&6
12271 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12272 ac_cpp='$CXXCPP $CPPFLAGS'
12273 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12274 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12275 cross_compiling=$ac_cv_prog_cxx_cross
12277 cat > conftest.$ac_ext <<EOF
12278 #line 12279 "configure
"
12279 #include "confdefs.h
"
12285 if { (eval echo configure:12286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12287 glibcpp_cv_func_hypot_use=yes
12289 echo "configure
: failed program was
:" >&5
12290 cat conftest.$ac_ext >&5
12292 glibcpp_cv_func_hypot_use=no
12296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12297 ac_cpp='$CPP $CPPFLAGS'
12298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12300 cross_compiling=$ac_cv_prog_cc_cross
12306 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12308 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12309 for ac_func in hypot
12311 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12312 echo "configure
:12313: checking
for $ac_func" >&5
12313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12314 echo $ac_n "(cached
) $ac_c" 1>&6
12316 cat > conftest.$ac_ext <<EOF
12317 #line 12318 "configure
"
12318 #include "confdefs.h
"
12319 /* System header to define __stub macros and hopefully few prototypes,
12320 which can conflict with char $ac_func(); below. */
12321 #include <assert.h>
12322 /* Override any gcc2 internal prototype to avoid an error. */
12323 /* We use char because int might match the return type of a gcc2
12324 builtin and then its argument prototype would still apply. */
12329 /* The GNU C library defines this for functions which it implements
12330 to always fail with ENOSYS. Some functions are actually named
12331 something starting with __ and the normal name is an alias. */
12332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12340 if { (eval echo configure:12341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12342 eval "ac_cv_func_
$ac_func=yes"
12344 echo "configure
: failed program was
:" >&5
12345 cat conftest.$ac_ext >&5
12347 eval "ac_cv_func_
$ac_func=no
"
12352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12353 echo "$ac_t""yes" 1>&6
12354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12355 cat >> confdefs.h <<EOF
12356 #define $ac_tr_func 1
12360 echo "$ac_t""no
" 1>&6
12366 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
12367 echo "configure
:12368: checking
for _hypot declaration
" >&5
12368 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12369 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12370 echo $ac_n "(cached
) $ac_c" 1>&6
12375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12376 ac_cpp='$CXXCPP $CPPFLAGS'
12377 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12378 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12379 cross_compiling=$ac_cv_prog_cxx_cross
12381 cat > conftest.$ac_ext <<EOF
12382 #line 12383 "configure
"
12383 #include "confdefs.h
"
12389 if { (eval echo configure:12390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12391 glibcpp_cv_func__hypot_use=yes
12393 echo "configure
: failed program was
:" >&5
12394 cat conftest.$ac_ext >&5
12396 glibcpp_cv_func__hypot_use=no
12400 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12401 ac_cpp='$CPP $CPPFLAGS'
12402 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12403 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12404 cross_compiling=$ac_cv_prog_cc_cross
12410 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12412 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12413 for ac_func in _hypot
12415 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12416 echo "configure
:12417: checking
for $ac_func" >&5
12417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12418 echo $ac_n "(cached
) $ac_c" 1>&6
12420 cat > conftest.$ac_ext <<EOF
12421 #line 12422 "configure
"
12422 #include "confdefs.h
"
12423 /* System header to define __stub macros and hopefully few prototypes,
12424 which can conflict with char $ac_func(); below. */
12425 #include <assert.h>
12426 /* Override any gcc2 internal prototype to avoid an error. */
12427 /* We use char because int might match the return type of a gcc2
12428 builtin and then its argument prototype would still apply. */
12433 /* The GNU C library defines this for functions which it implements
12434 to always fail with ENOSYS. Some functions are actually named
12435 something starting with __ and the normal name is an alias. */
12436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12444 if { (eval echo configure:12445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12446 eval "ac_cv_func_
$ac_func=yes"
12448 echo "configure
: failed program was
:" >&5
12449 cat conftest.$ac_ext >&5
12451 eval "ac_cv_func_
$ac_func=no
"
12456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12457 echo "$ac_t""yes" 1>&6
12458 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12459 cat >> confdefs.h <<EOF
12460 #define $ac_tr_func 1
12464 echo "$ac_t""no
" 1>&6
12473 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
12474 echo "configure
:12475: checking
for float trig functions
" >&5
12475 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12476 echo $ac_n "(cached
) $ac_c" 1>&6
12481 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12482 ac_cpp='$CXXCPP $CPPFLAGS'
12483 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12484 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12485 cross_compiling=$ac_cv_prog_cxx_cross
12487 cat > conftest.$ac_ext <<EOF
12488 #line 12489 "configure
"
12489 #include "confdefs.h
"
12492 `for x in acosf asinf atanf \
12494 coshf sinhf tanhf; do echo "$x (0);"; done`
12497 if { (eval echo configure:12498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12499 glibcpp_cv_func_float_trig_use=yes
12501 echo "configure
: failed program was
:" >&5
12502 cat conftest.$ac_ext >&5
12504 glibcpp_cv_func_float_trig_use=no
12508 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12509 ac_cpp='$CPP $CPPFLAGS'
12510 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12511 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12512 cross_compiling=$ac_cv_prog_cc_cross
12516 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12517 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12518 for ac_func in acosf asinf atanf \
12522 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12523 echo "configure
:12524: checking
for $ac_func" >&5
12524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12525 echo $ac_n "(cached
) $ac_c" 1>&6
12527 cat > conftest.$ac_ext <<EOF
12528 #line 12529 "configure
"
12529 #include "confdefs.h
"
12530 /* System header to define __stub macros and hopefully few prototypes,
12531 which can conflict with char $ac_func(); below. */
12532 #include <assert.h>
12533 /* Override any gcc2 internal prototype to avoid an error. */
12534 /* We use char because int might match the return type of a gcc2
12535 builtin and then its argument prototype would still apply. */
12540 /* The GNU C library defines this for functions which it implements
12541 to always fail with ENOSYS. Some functions are actually named
12542 something starting with __ and the normal name is an alias. */
12543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12551 if { (eval echo configure:12552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12553 eval "ac_cv_func_
$ac_func=yes"
12555 echo "configure
: failed program was
:" >&5
12556 cat conftest.$ac_ext >&5
12558 eval "ac_cv_func_
$ac_func=no
"
12563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12564 echo "$ac_t""yes" 1>&6
12565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12566 cat >> confdefs.h <<EOF
12567 #define $ac_tr_func 1
12571 echo "$ac_t""no
" 1>&6
12578 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
12579 echo "configure
:12580: checking
for float round functions
" >&5
12580 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12581 echo $ac_n "(cached
) $ac_c" 1>&6
12586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12587 ac_cpp='$CXXCPP $CPPFLAGS'
12588 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12589 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12590 cross_compiling=$ac_cv_prog_cxx_cross
12592 cat > conftest.$ac_ext <<EOF
12593 #line 12594 "configure
"
12594 #include "confdefs.h
"
12597 `for x in ceilf floorf; do echo "$x (0);"; done`
12600 if { (eval echo configure:12601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12602 glibcpp_cv_func_float_round_use=yes
12604 echo "configure
: failed program was
:" >&5
12605 cat conftest.$ac_ext >&5
12607 glibcpp_cv_func_float_round_use=no
12611 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12612 ac_cpp='$CPP $CPPFLAGS'
12613 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12614 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12615 cross_compiling=$ac_cv_prog_cc_cross
12619 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12620 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12621 for ac_func in ceilf floorf
12623 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12624 echo "configure
:12625: checking
for $ac_func" >&5
12625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12626 echo $ac_n "(cached
) $ac_c" 1>&6
12628 cat > conftest.$ac_ext <<EOF
12629 #line 12630 "configure
"
12630 #include "confdefs.h
"
12631 /* System header to define __stub macros and hopefully few prototypes,
12632 which can conflict with char $ac_func(); below. */
12633 #include <assert.h>
12634 /* Override any gcc2 internal prototype to avoid an error. */
12635 /* We use char because int might match the return type of a gcc2
12636 builtin and then its argument prototype would still apply. */
12641 /* The GNU C library defines this for functions which it implements
12642 to always fail with ENOSYS. Some functions are actually named
12643 something starting with __ and the normal name is an alias. */
12644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12652 if { (eval echo configure:12653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12654 eval "ac_cv_func_
$ac_func=yes"
12656 echo "configure
: failed program was
:" >&5
12657 cat conftest.$ac_ext >&5
12659 eval "ac_cv_func_
$ac_func=no
"
12664 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12665 echo "$ac_t""yes" 1>&6
12666 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12667 cat >> confdefs.h <<EOF
12668 #define $ac_tr_func 1
12672 echo "$ac_t""no
" 1>&6
12680 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
12681 echo "configure
:12682: checking
for expf declaration
" >&5
12682 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12683 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12684 echo $ac_n "(cached
) $ac_c" 1>&6
12689 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12690 ac_cpp='$CXXCPP $CPPFLAGS'
12691 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12692 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12693 cross_compiling=$ac_cv_prog_cxx_cross
12695 cat > conftest.$ac_ext <<EOF
12696 #line 12697 "configure
"
12697 #include "confdefs.h
"
12699 #ifdef HAVE_IEEEFP_H
12700 #include <ieeefp.h>
12707 if { (eval echo configure:12708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12709 glibcpp_cv_func_expf_use=yes
12711 echo "configure
: failed program was
:" >&5
12712 cat conftest.$ac_ext >&5
12714 glibcpp_cv_func_expf_use=no
12718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12719 ac_cpp='$CPP $CPPFLAGS'
12720 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12721 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12722 cross_compiling=$ac_cv_prog_cc_cross
12728 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12730 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12731 for ac_func in expf
12733 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12734 echo "configure
:12735: checking
for $ac_func" >&5
12735 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12736 echo $ac_n "(cached
) $ac_c" 1>&6
12738 cat > conftest.$ac_ext <<EOF
12739 #line 12740 "configure
"
12740 #include "confdefs.h
"
12741 /* System header to define __stub macros and hopefully few prototypes,
12742 which can conflict with char $ac_func(); below. */
12743 #include <assert.h>
12744 /* Override any gcc2 internal prototype to avoid an error. */
12745 /* We use char because int might match the return type of a gcc2
12746 builtin and then its argument prototype would still apply. */
12751 /* The GNU C library defines this for functions which it implements
12752 to always fail with ENOSYS. Some functions are actually named
12753 something starting with __ and the normal name is an alias. */
12754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12762 if { (eval echo configure:12763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12764 eval "ac_cv_func_
$ac_func=yes"
12766 echo "configure
: failed program was
:" >&5
12767 cat conftest.$ac_ext >&5
12769 eval "ac_cv_func_
$ac_func=no
"
12774 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12775 echo "$ac_t""yes" 1>&6
12776 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12777 cat >> confdefs.h <<EOF
12778 #define $ac_tr_func 1
12782 echo "$ac_t""no
" 1>&6
12788 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
12789 echo "configure
:12790: checking
for _expf declaration
" >&5
12790 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12791 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12792 echo $ac_n "(cached
) $ac_c" 1>&6
12797 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12798 ac_cpp='$CXXCPP $CPPFLAGS'
12799 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12800 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12801 cross_compiling=$ac_cv_prog_cxx_cross
12803 cat > conftest.$ac_ext <<EOF
12804 #line 12805 "configure
"
12805 #include "confdefs.h
"
12807 #ifdef HAVE_IEEEFP_H
12808 #include <ieeefp.h>
12815 if { (eval echo configure:12816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12817 glibcpp_cv_func__expf_use=yes
12819 echo "configure
: failed program was
:" >&5
12820 cat conftest.$ac_ext >&5
12822 glibcpp_cv_func__expf_use=no
12826 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12827 ac_cpp='$CPP $CPPFLAGS'
12828 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12829 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12830 cross_compiling=$ac_cv_prog_cc_cross
12836 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12838 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12839 for ac_func in _expf
12841 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12842 echo "configure
:12843: checking
for $ac_func" >&5
12843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12844 echo $ac_n "(cached
) $ac_c" 1>&6
12846 cat > conftest.$ac_ext <<EOF
12847 #line 12848 "configure
"
12848 #include "confdefs.h
"
12849 /* System header to define __stub macros and hopefully few prototypes,
12850 which can conflict with char $ac_func(); below. */
12851 #include <assert.h>
12852 /* Override any gcc2 internal prototype to avoid an error. */
12853 /* We use char because int might match the return type of a gcc2
12854 builtin and then its argument prototype would still apply. */
12859 /* The GNU C library defines this for functions which it implements
12860 to always fail with ENOSYS. Some functions are actually named
12861 something starting with __ and the normal name is an alias. */
12862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12870 if { (eval echo configure:12871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12872 eval "ac_cv_func_
$ac_func=yes"
12874 echo "configure
: failed program was
:" >&5
12875 cat conftest.$ac_ext >&5
12877 eval "ac_cv_func_
$ac_func=no
"
12882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12883 echo "$ac_t""yes" 1>&6
12884 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12885 cat >> confdefs.h <<EOF
12886 #define $ac_tr_func 1
12890 echo "$ac_t""no
" 1>&6
12899 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
12900 echo "configure
:12901: checking
for isnanf declaration
" >&5
12901 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12902 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12903 echo $ac_n "(cached
) $ac_c" 1>&6
12908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12909 ac_cpp='$CXXCPP $CPPFLAGS'
12910 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12911 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12912 cross_compiling=$ac_cv_prog_cxx_cross
12914 cat > conftest.$ac_ext <<EOF
12915 #line 12916 "configure
"
12916 #include "confdefs.h
"
12918 #ifdef HAVE_IEEEFP_H
12919 #include <ieeefp.h>
12926 if { (eval echo configure:12927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12928 glibcpp_cv_func_isnanf_use=yes
12930 echo "configure
: failed program was
:" >&5
12931 cat conftest.$ac_ext >&5
12933 glibcpp_cv_func_isnanf_use=no
12937 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12938 ac_cpp='$CPP $CPPFLAGS'
12939 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12940 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12941 cross_compiling=$ac_cv_prog_cc_cross
12947 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12949 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12950 for ac_func in isnanf
12952 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12953 echo "configure
:12954: checking
for $ac_func" >&5
12954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12955 echo $ac_n "(cached
) $ac_c" 1>&6
12957 cat > conftest.$ac_ext <<EOF
12958 #line 12959 "configure
"
12959 #include "confdefs.h
"
12960 /* System header to define __stub macros and hopefully few prototypes,
12961 which can conflict with char $ac_func(); below. */
12962 #include <assert.h>
12963 /* Override any gcc2 internal prototype to avoid an error. */
12964 /* We use char because int might match the return type of a gcc2
12965 builtin and then its argument prototype would still apply. */
12970 /* The GNU C library defines this for functions which it implements
12971 to always fail with ENOSYS. Some functions are actually named
12972 something starting with __ and the normal name is an alias. */
12973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12981 if { (eval echo configure:12982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12983 eval "ac_cv_func_
$ac_func=yes"
12985 echo "configure
: failed program was
:" >&5
12986 cat conftest.$ac_ext >&5
12988 eval "ac_cv_func_
$ac_func=no
"
12993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12994 echo "$ac_t""yes" 1>&6
12995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12996 cat >> confdefs.h <<EOF
12997 #define $ac_tr_func 1
13001 echo "$ac_t""no
" 1>&6
13007 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
13008 echo "configure
:13009: checking
for _isnanf declaration
" >&5
13009 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
13010 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
13011 echo $ac_n "(cached
) $ac_c" 1>&6
13016 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13017 ac_cpp='$CXXCPP $CPPFLAGS'
13018 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13019 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13020 cross_compiling=$ac_cv_prog_cxx_cross
13022 cat > conftest.$ac_ext <<EOF
13023 #line 13024 "configure
"
13024 #include "confdefs.h
"
13026 #ifdef HAVE_IEEEFP_H
13027 #include <ieeefp.h>
13034 if { (eval echo configure:13035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13036 glibcpp_cv_func__isnanf_use=yes
13038 echo "configure
: failed program was
:" >&5
13039 cat conftest.$ac_ext >&5
13041 glibcpp_cv_func__isnanf_use=no
13045 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13046 ac_cpp='$CPP $CPPFLAGS'
13047 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13048 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13049 cross_compiling=$ac_cv_prog_cc_cross
13055 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13057 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13058 for ac_func in _isnanf
13060 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13061 echo "configure
:13062: checking
for $ac_func" >&5
13062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13063 echo $ac_n "(cached
) $ac_c" 1>&6
13065 cat > conftest.$ac_ext <<EOF
13066 #line 13067 "configure
"
13067 #include "confdefs.h
"
13068 /* System header to define __stub macros and hopefully few prototypes,
13069 which can conflict with char $ac_func(); below. */
13070 #include <assert.h>
13071 /* Override any gcc2 internal prototype to avoid an error. */
13072 /* We use char because int might match the return type of a gcc2
13073 builtin and then its argument prototype would still apply. */
13078 /* The GNU C library defines this for functions which it implements
13079 to always fail with ENOSYS. Some functions are actually named
13080 something starting with __ and the normal name is an alias. */
13081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13089 if { (eval echo configure:13090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13091 eval "ac_cv_func_
$ac_func=yes"
13093 echo "configure
: failed program was
:" >&5
13094 cat conftest.$ac_ext >&5
13096 eval "ac_cv_func_
$ac_func=no
"
13101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13102 echo "$ac_t""yes" 1>&6
13103 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13104 cat >> confdefs.h <<EOF
13105 #define $ac_tr_func 1
13109 echo "$ac_t""no
" 1>&6
13118 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
13119 echo "configure
:13120: checking
for isinff declaration
" >&5
13120 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13121 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13122 echo $ac_n "(cached
) $ac_c" 1>&6
13127 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13128 ac_cpp='$CXXCPP $CPPFLAGS'
13129 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13130 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13131 cross_compiling=$ac_cv_prog_cxx_cross
13133 cat > conftest.$ac_ext <<EOF
13134 #line 13135 "configure
"
13135 #include "confdefs.h
"
13137 #ifdef HAVE_IEEEFP_H
13138 #include <ieeefp.h>
13145 if { (eval echo configure:13146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13147 glibcpp_cv_func_isinff_use=yes
13149 echo "configure
: failed program was
:" >&5
13150 cat conftest.$ac_ext >&5
13152 glibcpp_cv_func_isinff_use=no
13156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13157 ac_cpp='$CPP $CPPFLAGS'
13158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13160 cross_compiling=$ac_cv_prog_cc_cross
13166 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13168 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13169 for ac_func in isinff
13171 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13172 echo "configure
:13173: checking
for $ac_func" >&5
13173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13174 echo $ac_n "(cached
) $ac_c" 1>&6
13176 cat > conftest.$ac_ext <<EOF
13177 #line 13178 "configure
"
13178 #include "confdefs.h
"
13179 /* System header to define __stub macros and hopefully few prototypes,
13180 which can conflict with char $ac_func(); below. */
13181 #include <assert.h>
13182 /* Override any gcc2 internal prototype to avoid an error. */
13183 /* We use char because int might match the return type of a gcc2
13184 builtin and then its argument prototype would still apply. */
13189 /* The GNU C library defines this for functions which it implements
13190 to always fail with ENOSYS. Some functions are actually named
13191 something starting with __ and the normal name is an alias. */
13192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13200 if { (eval echo configure:13201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13202 eval "ac_cv_func_
$ac_func=yes"
13204 echo "configure
: failed program was
:" >&5
13205 cat conftest.$ac_ext >&5
13207 eval "ac_cv_func_
$ac_func=no
"
13212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13213 echo "$ac_t""yes" 1>&6
13214 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13215 cat >> confdefs.h <<EOF
13216 #define $ac_tr_func 1
13220 echo "$ac_t""no
" 1>&6
13226 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
13227 echo "configure
:13228: checking
for _isinff declaration
" >&5
13228 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13229 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13230 echo $ac_n "(cached
) $ac_c" 1>&6
13235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13236 ac_cpp='$CXXCPP $CPPFLAGS'
13237 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13238 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13239 cross_compiling=$ac_cv_prog_cxx_cross
13241 cat > conftest.$ac_ext <<EOF
13242 #line 13243 "configure
"
13243 #include "confdefs.h
"
13245 #ifdef HAVE_IEEEFP_H
13246 #include <ieeefp.h>
13253 if { (eval echo configure:13254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13255 glibcpp_cv_func__isinff_use=yes
13257 echo "configure
: failed program was
:" >&5
13258 cat conftest.$ac_ext >&5
13260 glibcpp_cv_func__isinff_use=no
13264 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13265 ac_cpp='$CPP $CPPFLAGS'
13266 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13267 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13268 cross_compiling=$ac_cv_prog_cc_cross
13274 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13276 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13277 for ac_func in _isinff
13279 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13280 echo "configure
:13281: checking
for $ac_func" >&5
13281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13282 echo $ac_n "(cached
) $ac_c" 1>&6
13284 cat > conftest.$ac_ext <<EOF
13285 #line 13286 "configure
"
13286 #include "confdefs.h
"
13287 /* System header to define __stub macros and hopefully few prototypes,
13288 which can conflict with char $ac_func(); below. */
13289 #include <assert.h>
13290 /* Override any gcc2 internal prototype to avoid an error. */
13291 /* We use char because int might match the return type of a gcc2
13292 builtin and then its argument prototype would still apply. */
13297 /* The GNU C library defines this for functions which it implements
13298 to always fail with ENOSYS. Some functions are actually named
13299 something starting with __ and the normal name is an alias. */
13300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13308 if { (eval echo configure:13309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13310 eval "ac_cv_func_
$ac_func=yes"
13312 echo "configure
: failed program was
:" >&5
13313 cat conftest.$ac_ext >&5
13315 eval "ac_cv_func_
$ac_func=no
"
13320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13321 echo "$ac_t""yes" 1>&6
13322 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13323 cat >> confdefs.h <<EOF
13324 #define $ac_tr_func 1
13328 echo "$ac_t""no
" 1>&6
13337 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
13338 echo "configure
:13339: checking
for atan2f declaration
" >&5
13339 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13340 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13341 echo $ac_n "(cached
) $ac_c" 1>&6
13346 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13347 ac_cpp='$CXXCPP $CPPFLAGS'
13348 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13349 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13350 cross_compiling=$ac_cv_prog_cxx_cross
13352 cat > conftest.$ac_ext <<EOF
13353 #line 13354 "configure
"
13354 #include "confdefs.h
"
13360 if { (eval echo configure:13361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13362 glibcpp_cv_func_atan2f_use=yes
13364 echo "configure
: failed program was
:" >&5
13365 cat conftest.$ac_ext >&5
13367 glibcpp_cv_func_atan2f_use=no
13371 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13372 ac_cpp='$CPP $CPPFLAGS'
13373 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13374 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13375 cross_compiling=$ac_cv_prog_cc_cross
13381 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13383 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13384 for ac_func in atan2f
13386 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13387 echo "configure
:13388: checking
for $ac_func" >&5
13388 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13389 echo $ac_n "(cached
) $ac_c" 1>&6
13391 cat > conftest.$ac_ext <<EOF
13392 #line 13393 "configure
"
13393 #include "confdefs.h
"
13394 /* System header to define __stub macros and hopefully few prototypes,
13395 which can conflict with char $ac_func(); below. */
13396 #include <assert.h>
13397 /* Override any gcc2 internal prototype to avoid an error. */
13398 /* We use char because int might match the return type of a gcc2
13399 builtin and then its argument prototype would still apply. */
13404 /* The GNU C library defines this for functions which it implements
13405 to always fail with ENOSYS. Some functions are actually named
13406 something starting with __ and the normal name is an alias. */
13407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13415 if { (eval echo configure:13416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13417 eval "ac_cv_func_
$ac_func=yes"
13419 echo "configure
: failed program was
:" >&5
13420 cat conftest.$ac_ext >&5
13422 eval "ac_cv_func_
$ac_func=no
"
13427 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13428 echo "$ac_t""yes" 1>&6
13429 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13430 cat >> confdefs.h <<EOF
13431 #define $ac_tr_func 1
13435 echo "$ac_t""no
" 1>&6
13441 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
13442 echo "configure
:13443: checking
for _atan2f declaration
" >&5
13443 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13444 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13445 echo $ac_n "(cached
) $ac_c" 1>&6
13450 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13451 ac_cpp='$CXXCPP $CPPFLAGS'
13452 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13453 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13454 cross_compiling=$ac_cv_prog_cxx_cross
13456 cat > conftest.$ac_ext <<EOF
13457 #line 13458 "configure
"
13458 #include "confdefs.h
"
13464 if { (eval echo configure:13465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13466 glibcpp_cv_func__atan2f_use=yes
13468 echo "configure
: failed program was
:" >&5
13469 cat conftest.$ac_ext >&5
13471 glibcpp_cv_func__atan2f_use=no
13475 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13476 ac_cpp='$CPP $CPPFLAGS'
13477 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13478 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13479 cross_compiling=$ac_cv_prog_cc_cross
13485 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13487 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13488 for ac_func in _atan2f
13490 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13491 echo "configure
:13492: checking
for $ac_func" >&5
13492 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13493 echo $ac_n "(cached
) $ac_c" 1>&6
13495 cat > conftest.$ac_ext <<EOF
13496 #line 13497 "configure
"
13497 #include "confdefs.h
"
13498 /* System header to define __stub macros and hopefully few prototypes,
13499 which can conflict with char $ac_func(); below. */
13500 #include <assert.h>
13501 /* Override any gcc2 internal prototype to avoid an error. */
13502 /* We use char because int might match the return type of a gcc2
13503 builtin and then its argument prototype would still apply. */
13508 /* The GNU C library defines this for functions which it implements
13509 to always fail with ENOSYS. Some functions are actually named
13510 something starting with __ and the normal name is an alias. */
13511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13519 if { (eval echo configure:13520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13521 eval "ac_cv_func_
$ac_func=yes"
13523 echo "configure
: failed program was
:" >&5
13524 cat conftest.$ac_ext >&5
13526 eval "ac_cv_func_
$ac_func=no
"
13531 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13532 echo "$ac_t""yes" 1>&6
13533 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13534 cat >> confdefs.h <<EOF
13535 #define $ac_tr_func 1
13539 echo "$ac_t""no
" 1>&6
13548 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
13549 echo "configure
:13550: checking
for fabsf declaration
" >&5
13550 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13551 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13552 echo $ac_n "(cached
) $ac_c" 1>&6
13557 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13558 ac_cpp='$CXXCPP $CPPFLAGS'
13559 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13560 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13561 cross_compiling=$ac_cv_prog_cxx_cross
13563 cat > conftest.$ac_ext <<EOF
13564 #line 13565 "configure
"
13565 #include "confdefs.h
"
13567 #ifdef HAVE_IEEEFP_H
13568 #include <ieeefp.h>
13575 if { (eval echo configure:13576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13577 glibcpp_cv_func_fabsf_use=yes
13579 echo "configure
: failed program was
:" >&5
13580 cat conftest.$ac_ext >&5
13582 glibcpp_cv_func_fabsf_use=no
13586 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13587 ac_cpp='$CPP $CPPFLAGS'
13588 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13589 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13590 cross_compiling=$ac_cv_prog_cc_cross
13596 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13598 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13599 for ac_func in fabsf
13601 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13602 echo "configure
:13603: checking
for $ac_func" >&5
13603 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13604 echo $ac_n "(cached
) $ac_c" 1>&6
13606 cat > conftest.$ac_ext <<EOF
13607 #line 13608 "configure
"
13608 #include "confdefs.h
"
13609 /* System header to define __stub macros and hopefully few prototypes,
13610 which can conflict with char $ac_func(); below. */
13611 #include <assert.h>
13612 /* Override any gcc2 internal prototype to avoid an error. */
13613 /* We use char because int might match the return type of a gcc2
13614 builtin and then its argument prototype would still apply. */
13619 /* The GNU C library defines this for functions which it implements
13620 to always fail with ENOSYS. Some functions are actually named
13621 something starting with __ and the normal name is an alias. */
13622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13630 if { (eval echo configure:13631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13632 eval "ac_cv_func_
$ac_func=yes"
13634 echo "configure
: failed program was
:" >&5
13635 cat conftest.$ac_ext >&5
13637 eval "ac_cv_func_
$ac_func=no
"
13642 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13643 echo "$ac_t""yes" 1>&6
13644 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13645 cat >> confdefs.h <<EOF
13646 #define $ac_tr_func 1
13650 echo "$ac_t""no
" 1>&6
13656 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
13657 echo "configure
:13658: checking
for _fabsf declaration
" >&5
13658 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13659 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13660 echo $ac_n "(cached
) $ac_c" 1>&6
13665 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13666 ac_cpp='$CXXCPP $CPPFLAGS'
13667 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13668 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13669 cross_compiling=$ac_cv_prog_cxx_cross
13671 cat > conftest.$ac_ext <<EOF
13672 #line 13673 "configure
"
13673 #include "confdefs.h
"
13675 #ifdef HAVE_IEEEFP_H
13676 #include <ieeefp.h>
13683 if { (eval echo configure:13684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13685 glibcpp_cv_func__fabsf_use=yes
13687 echo "configure
: failed program was
:" >&5
13688 cat conftest.$ac_ext >&5
13690 glibcpp_cv_func__fabsf_use=no
13694 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13695 ac_cpp='$CPP $CPPFLAGS'
13696 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13697 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13698 cross_compiling=$ac_cv_prog_cc_cross
13704 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13706 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13707 for ac_func in _fabsf
13709 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13710 echo "configure
:13711: checking
for $ac_func" >&5
13711 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13712 echo $ac_n "(cached
) $ac_c" 1>&6
13714 cat > conftest.$ac_ext <<EOF
13715 #line 13716 "configure
"
13716 #include "confdefs.h
"
13717 /* System header to define __stub macros and hopefully few prototypes,
13718 which can conflict with char $ac_func(); below. */
13719 #include <assert.h>
13720 /* Override any gcc2 internal prototype to avoid an error. */
13721 /* We use char because int might match the return type of a gcc2
13722 builtin and then its argument prototype would still apply. */
13727 /* The GNU C library defines this for functions which it implements
13728 to always fail with ENOSYS. Some functions are actually named
13729 something starting with __ and the normal name is an alias. */
13730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13738 if { (eval echo configure:13739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13740 eval "ac_cv_func_
$ac_func=yes"
13742 echo "configure
: failed program was
:" >&5
13743 cat conftest.$ac_ext >&5
13745 eval "ac_cv_func_
$ac_func=no
"
13750 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13751 echo "$ac_t""yes" 1>&6
13752 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13753 cat >> confdefs.h <<EOF
13754 #define $ac_tr_func 1
13758 echo "$ac_t""no
" 1>&6
13767 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
13768 echo "configure
:13769: checking
for fmodf declaration
" >&5
13769 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13770 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13771 echo $ac_n "(cached
) $ac_c" 1>&6
13776 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13777 ac_cpp='$CXXCPP $CPPFLAGS'
13778 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13779 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13780 cross_compiling=$ac_cv_prog_cxx_cross
13782 cat > conftest.$ac_ext <<EOF
13783 #line 13784 "configure
"
13784 #include "confdefs.h
"
13790 if { (eval echo configure:13791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13792 glibcpp_cv_func_fmodf_use=yes
13794 echo "configure
: failed program was
:" >&5
13795 cat conftest.$ac_ext >&5
13797 glibcpp_cv_func_fmodf_use=no
13801 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13802 ac_cpp='$CPP $CPPFLAGS'
13803 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13804 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13805 cross_compiling=$ac_cv_prog_cc_cross
13811 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13813 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13814 for ac_func in fmodf
13816 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13817 echo "configure
:13818: checking
for $ac_func" >&5
13818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13819 echo $ac_n "(cached
) $ac_c" 1>&6
13821 cat > conftest.$ac_ext <<EOF
13822 #line 13823 "configure
"
13823 #include "confdefs.h
"
13824 /* System header to define __stub macros and hopefully few prototypes,
13825 which can conflict with char $ac_func(); below. */
13826 #include <assert.h>
13827 /* Override any gcc2 internal prototype to avoid an error. */
13828 /* We use char because int might match the return type of a gcc2
13829 builtin and then its argument prototype would still apply. */
13834 /* The GNU C library defines this for functions which it implements
13835 to always fail with ENOSYS. Some functions are actually named
13836 something starting with __ and the normal name is an alias. */
13837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13845 if { (eval echo configure:13846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13847 eval "ac_cv_func_
$ac_func=yes"
13849 echo "configure
: failed program was
:" >&5
13850 cat conftest.$ac_ext >&5
13852 eval "ac_cv_func_
$ac_func=no
"
13857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13858 echo "$ac_t""yes" 1>&6
13859 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13860 cat >> confdefs.h <<EOF
13861 #define $ac_tr_func 1
13865 echo "$ac_t""no
" 1>&6
13871 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
13872 echo "configure
:13873: checking
for _fmodf declaration
" >&5
13873 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13874 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13875 echo $ac_n "(cached
) $ac_c" 1>&6
13880 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13881 ac_cpp='$CXXCPP $CPPFLAGS'
13882 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13883 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13884 cross_compiling=$ac_cv_prog_cxx_cross
13886 cat > conftest.$ac_ext <<EOF
13887 #line 13888 "configure
"
13888 #include "confdefs.h
"
13894 if { (eval echo configure:13895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13896 glibcpp_cv_func__fmodf_use=yes
13898 echo "configure
: failed program was
:" >&5
13899 cat conftest.$ac_ext >&5
13901 glibcpp_cv_func__fmodf_use=no
13905 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13906 ac_cpp='$CPP $CPPFLAGS'
13907 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13908 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13909 cross_compiling=$ac_cv_prog_cc_cross
13915 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13917 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13918 for ac_func in _fmodf
13920 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13921 echo "configure
:13922: checking
for $ac_func" >&5
13922 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13923 echo $ac_n "(cached
) $ac_c" 1>&6
13925 cat > conftest.$ac_ext <<EOF
13926 #line 13927 "configure
"
13927 #include "confdefs.h
"
13928 /* System header to define __stub macros and hopefully few prototypes,
13929 which can conflict with char $ac_func(); below. */
13930 #include <assert.h>
13931 /* Override any gcc2 internal prototype to avoid an error. */
13932 /* We use char because int might match the return type of a gcc2
13933 builtin and then its argument prototype would still apply. */
13938 /* The GNU C library defines this for functions which it implements
13939 to always fail with ENOSYS. Some functions are actually named
13940 something starting with __ and the normal name is an alias. */
13941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13949 if { (eval echo configure:13950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13951 eval "ac_cv_func_
$ac_func=yes"
13953 echo "configure
: failed program was
:" >&5
13954 cat conftest.$ac_ext >&5
13956 eval "ac_cv_func_
$ac_func=no
"
13961 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13962 echo "$ac_t""yes" 1>&6
13963 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13964 cat >> confdefs.h <<EOF
13965 #define $ac_tr_func 1
13969 echo "$ac_t""no
" 1>&6
13978 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
13979 echo "configure
:13980: checking
for frexpf declaration
" >&5
13980 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13981 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13982 echo $ac_n "(cached
) $ac_c" 1>&6
13987 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13988 ac_cpp='$CXXCPP $CPPFLAGS'
13989 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13990 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13991 cross_compiling=$ac_cv_prog_cxx_cross
13993 cat > conftest.$ac_ext <<EOF
13994 #line 13995 "configure
"
13995 #include "confdefs.h
"
14001 if { (eval echo configure:14002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14003 glibcpp_cv_func_frexpf_use=yes
14005 echo "configure
: failed program was
:" >&5
14006 cat conftest.$ac_ext >&5
14008 glibcpp_cv_func_frexpf_use=no
14012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14013 ac_cpp='$CPP $CPPFLAGS'
14014 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14015 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14016 cross_compiling=$ac_cv_prog_cc_cross
14022 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
14024 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
14025 for ac_func in frexpf
14027 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14028 echo "configure
:14029: checking
for $ac_func" >&5
14029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14030 echo $ac_n "(cached
) $ac_c" 1>&6
14032 cat > conftest.$ac_ext <<EOF
14033 #line 14034 "configure
"
14034 #include "confdefs.h
"
14035 /* System header to define __stub macros and hopefully few prototypes,
14036 which can conflict with char $ac_func(); below. */
14037 #include <assert.h>
14038 /* Override any gcc2 internal prototype to avoid an error. */
14039 /* We use char because int might match the return type of a gcc2
14040 builtin and then its argument prototype would still apply. */
14045 /* The GNU C library defines this for functions which it implements
14046 to always fail with ENOSYS. Some functions are actually named
14047 something starting with __ and the normal name is an alias. */
14048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14056 if { (eval echo configure:14057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14058 eval "ac_cv_func_
$ac_func=yes"
14060 echo "configure
: failed program was
:" >&5
14061 cat conftest.$ac_ext >&5
14063 eval "ac_cv_func_
$ac_func=no
"
14068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14069 echo "$ac_t""yes" 1>&6
14070 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14071 cat >> confdefs.h <<EOF
14072 #define $ac_tr_func 1
14076 echo "$ac_t""no
" 1>&6
14082 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
14083 echo "configure
:14084: checking
for _frexpf declaration
" >&5
14084 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14085 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14086 echo $ac_n "(cached
) $ac_c" 1>&6
14091 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14092 ac_cpp='$CXXCPP $CPPFLAGS'
14093 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14094 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14095 cross_compiling=$ac_cv_prog_cxx_cross
14097 cat > conftest.$ac_ext <<EOF
14098 #line 14099 "configure
"
14099 #include "confdefs.h
"
14105 if { (eval echo configure:14106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14107 glibcpp_cv_func__frexpf_use=yes
14109 echo "configure
: failed program was
:" >&5
14110 cat conftest.$ac_ext >&5
14112 glibcpp_cv_func__frexpf_use=no
14116 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14117 ac_cpp='$CPP $CPPFLAGS'
14118 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14119 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14120 cross_compiling=$ac_cv_prog_cc_cross
14126 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14128 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14129 for ac_func in _frexpf
14131 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14132 echo "configure
:14133: checking
for $ac_func" >&5
14133 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14134 echo $ac_n "(cached
) $ac_c" 1>&6
14136 cat > conftest.$ac_ext <<EOF
14137 #line 14138 "configure
"
14138 #include "confdefs.h
"
14139 /* System header to define __stub macros and hopefully few prototypes,
14140 which can conflict with char $ac_func(); below. */
14141 #include <assert.h>
14142 /* Override any gcc2 internal prototype to avoid an error. */
14143 /* We use char because int might match the return type of a gcc2
14144 builtin and then its argument prototype would still apply. */
14149 /* The GNU C library defines this for functions which it implements
14150 to always fail with ENOSYS. Some functions are actually named
14151 something starting with __ and the normal name is an alias. */
14152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14160 if { (eval echo configure:14161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14162 eval "ac_cv_func_
$ac_func=yes"
14164 echo "configure
: failed program was
:" >&5
14165 cat conftest.$ac_ext >&5
14167 eval "ac_cv_func_
$ac_func=no
"
14172 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14173 echo "$ac_t""yes" 1>&6
14174 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14175 cat >> confdefs.h <<EOF
14176 #define $ac_tr_func 1
14180 echo "$ac_t""no
" 1>&6
14189 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
14190 echo "configure
:14191: checking
for hypotf declaration
" >&5
14191 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14192 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14193 echo $ac_n "(cached
) $ac_c" 1>&6
14198 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14199 ac_cpp='$CXXCPP $CPPFLAGS'
14200 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14201 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14202 cross_compiling=$ac_cv_prog_cxx_cross
14204 cat > conftest.$ac_ext <<EOF
14205 #line 14206 "configure
"
14206 #include "confdefs.h
"
14212 if { (eval echo configure:14213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14214 glibcpp_cv_func_hypotf_use=yes
14216 echo "configure
: failed program was
:" >&5
14217 cat conftest.$ac_ext >&5
14219 glibcpp_cv_func_hypotf_use=no
14223 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14224 ac_cpp='$CPP $CPPFLAGS'
14225 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14226 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14227 cross_compiling=$ac_cv_prog_cc_cross
14233 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14235 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14236 for ac_func in hypotf
14238 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14239 echo "configure
:14240: checking
for $ac_func" >&5
14240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14241 echo $ac_n "(cached
) $ac_c" 1>&6
14243 cat > conftest.$ac_ext <<EOF
14244 #line 14245 "configure
"
14245 #include "confdefs.h
"
14246 /* System header to define __stub macros and hopefully few prototypes,
14247 which can conflict with char $ac_func(); below. */
14248 #include <assert.h>
14249 /* Override any gcc2 internal prototype to avoid an error. */
14250 /* We use char because int might match the return type of a gcc2
14251 builtin and then its argument prototype would still apply. */
14256 /* The GNU C library defines this for functions which it implements
14257 to always fail with ENOSYS. Some functions are actually named
14258 something starting with __ and the normal name is an alias. */
14259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14267 if { (eval echo configure:14268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14269 eval "ac_cv_func_
$ac_func=yes"
14271 echo "configure
: failed program was
:" >&5
14272 cat conftest.$ac_ext >&5
14274 eval "ac_cv_func_
$ac_func=no
"
14279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14280 echo "$ac_t""yes" 1>&6
14281 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14282 cat >> confdefs.h <<EOF
14283 #define $ac_tr_func 1
14287 echo "$ac_t""no
" 1>&6
14293 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
14294 echo "configure
:14295: checking
for _hypotf declaration
" >&5
14295 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14296 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14297 echo $ac_n "(cached
) $ac_c" 1>&6
14302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14303 ac_cpp='$CXXCPP $CPPFLAGS'
14304 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14305 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14306 cross_compiling=$ac_cv_prog_cxx_cross
14308 cat > conftest.$ac_ext <<EOF
14309 #line 14310 "configure
"
14310 #include "confdefs.h
"
14316 if { (eval echo configure:14317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14318 glibcpp_cv_func__hypotf_use=yes
14320 echo "configure
: failed program was
:" >&5
14321 cat conftest.$ac_ext >&5
14323 glibcpp_cv_func__hypotf_use=no
14327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14328 ac_cpp='$CPP $CPPFLAGS'
14329 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14330 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14331 cross_compiling=$ac_cv_prog_cc_cross
14337 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14339 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14340 for ac_func in _hypotf
14342 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14343 echo "configure
:14344: checking
for $ac_func" >&5
14344 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14345 echo $ac_n "(cached
) $ac_c" 1>&6
14347 cat > conftest.$ac_ext <<EOF
14348 #line 14349 "configure
"
14349 #include "confdefs.h
"
14350 /* System header to define __stub macros and hopefully few prototypes,
14351 which can conflict with char $ac_func(); below. */
14352 #include <assert.h>
14353 /* Override any gcc2 internal prototype to avoid an error. */
14354 /* We use char because int might match the return type of a gcc2
14355 builtin and then its argument prototype would still apply. */
14360 /* The GNU C library defines this for functions which it implements
14361 to always fail with ENOSYS. Some functions are actually named
14362 something starting with __ and the normal name is an alias. */
14363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14371 if { (eval echo configure:14372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14373 eval "ac_cv_func_
$ac_func=yes"
14375 echo "configure
: failed program was
:" >&5
14376 cat conftest.$ac_ext >&5
14378 eval "ac_cv_func_
$ac_func=no
"
14383 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14384 echo "$ac_t""yes" 1>&6
14385 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14386 cat >> confdefs.h <<EOF
14387 #define $ac_tr_func 1
14391 echo "$ac_t""no
" 1>&6
14400 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
14401 echo "configure
:14402: checking
for ldexpf declaration
" >&5
14402 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14403 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14404 echo $ac_n "(cached
) $ac_c" 1>&6
14409 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14410 ac_cpp='$CXXCPP $CPPFLAGS'
14411 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14412 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14413 cross_compiling=$ac_cv_prog_cxx_cross
14415 cat > conftest.$ac_ext <<EOF
14416 #line 14417 "configure
"
14417 #include "confdefs.h
"
14423 if { (eval echo configure:14424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14425 glibcpp_cv_func_ldexpf_use=yes
14427 echo "configure
: failed program was
:" >&5
14428 cat conftest.$ac_ext >&5
14430 glibcpp_cv_func_ldexpf_use=no
14434 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14435 ac_cpp='$CPP $CPPFLAGS'
14436 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14437 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14438 cross_compiling=$ac_cv_prog_cc_cross
14444 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14446 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14447 for ac_func in ldexpf
14449 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14450 echo "configure
:14451: checking
for $ac_func" >&5
14451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14452 echo $ac_n "(cached
) $ac_c" 1>&6
14454 cat > conftest.$ac_ext <<EOF
14455 #line 14456 "configure
"
14456 #include "confdefs.h
"
14457 /* System header to define __stub macros and hopefully few prototypes,
14458 which can conflict with char $ac_func(); below. */
14459 #include <assert.h>
14460 /* Override any gcc2 internal prototype to avoid an error. */
14461 /* We use char because int might match the return type of a gcc2
14462 builtin and then its argument prototype would still apply. */
14467 /* The GNU C library defines this for functions which it implements
14468 to always fail with ENOSYS. Some functions are actually named
14469 something starting with __ and the normal name is an alias. */
14470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14478 if { (eval echo configure:14479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14480 eval "ac_cv_func_
$ac_func=yes"
14482 echo "configure
: failed program was
:" >&5
14483 cat conftest.$ac_ext >&5
14485 eval "ac_cv_func_
$ac_func=no
"
14490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14491 echo "$ac_t""yes" 1>&6
14492 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14493 cat >> confdefs.h <<EOF
14494 #define $ac_tr_func 1
14498 echo "$ac_t""no
" 1>&6
14504 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
14505 echo "configure
:14506: checking
for _ldexpf declaration
" >&5
14506 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14507 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14508 echo $ac_n "(cached
) $ac_c" 1>&6
14513 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14514 ac_cpp='$CXXCPP $CPPFLAGS'
14515 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14516 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14517 cross_compiling=$ac_cv_prog_cxx_cross
14519 cat > conftest.$ac_ext <<EOF
14520 #line 14521 "configure
"
14521 #include "confdefs.h
"
14527 if { (eval echo configure:14528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14529 glibcpp_cv_func__ldexpf_use=yes
14531 echo "configure
: failed program was
:" >&5
14532 cat conftest.$ac_ext >&5
14534 glibcpp_cv_func__ldexpf_use=no
14538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14539 ac_cpp='$CPP $CPPFLAGS'
14540 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14541 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14542 cross_compiling=$ac_cv_prog_cc_cross
14548 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14550 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14551 for ac_func in _ldexpf
14553 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14554 echo "configure
:14555: checking
for $ac_func" >&5
14555 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14556 echo $ac_n "(cached
) $ac_c" 1>&6
14558 cat > conftest.$ac_ext <<EOF
14559 #line 14560 "configure
"
14560 #include "confdefs.h
"
14561 /* System header to define __stub macros and hopefully few prototypes,
14562 which can conflict with char $ac_func(); below. */
14563 #include <assert.h>
14564 /* Override any gcc2 internal prototype to avoid an error. */
14565 /* We use char because int might match the return type of a gcc2
14566 builtin and then its argument prototype would still apply. */
14571 /* The GNU C library defines this for functions which it implements
14572 to always fail with ENOSYS. Some functions are actually named
14573 something starting with __ and the normal name is an alias. */
14574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14582 if { (eval echo configure:14583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14584 eval "ac_cv_func_
$ac_func=yes"
14586 echo "configure
: failed program was
:" >&5
14587 cat conftest.$ac_ext >&5
14589 eval "ac_cv_func_
$ac_func=no
"
14594 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14595 echo "$ac_t""yes" 1>&6
14596 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14597 cat >> confdefs.h <<EOF
14598 #define $ac_tr_func 1
14602 echo "$ac_t""no
" 1>&6
14611 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
14612 echo "configure
:14613: checking
for logf declaration
" >&5
14613 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14614 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14615 echo $ac_n "(cached
) $ac_c" 1>&6
14620 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14621 ac_cpp='$CXXCPP $CPPFLAGS'
14622 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14623 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14624 cross_compiling=$ac_cv_prog_cxx_cross
14626 cat > conftest.$ac_ext <<EOF
14627 #line 14628 "configure
"
14628 #include "confdefs.h
"
14630 #ifdef HAVE_IEEEFP_H
14631 #include <ieeefp.h>
14638 if { (eval echo configure:14639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14640 glibcpp_cv_func_logf_use=yes
14642 echo "configure
: failed program was
:" >&5
14643 cat conftest.$ac_ext >&5
14645 glibcpp_cv_func_logf_use=no
14649 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14650 ac_cpp='$CPP $CPPFLAGS'
14651 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14652 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14653 cross_compiling=$ac_cv_prog_cc_cross
14659 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14661 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14662 for ac_func in logf
14664 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14665 echo "configure
:14666: checking
for $ac_func" >&5
14666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14667 echo $ac_n "(cached
) $ac_c" 1>&6
14669 cat > conftest.$ac_ext <<EOF
14670 #line 14671 "configure
"
14671 #include "confdefs.h
"
14672 /* System header to define __stub macros and hopefully few prototypes,
14673 which can conflict with char $ac_func(); below. */
14674 #include <assert.h>
14675 /* Override any gcc2 internal prototype to avoid an error. */
14676 /* We use char because int might match the return type of a gcc2
14677 builtin and then its argument prototype would still apply. */
14682 /* The GNU C library defines this for functions which it implements
14683 to always fail with ENOSYS. Some functions are actually named
14684 something starting with __ and the normal name is an alias. */
14685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14693 if { (eval echo configure:14694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14695 eval "ac_cv_func_
$ac_func=yes"
14697 echo "configure
: failed program was
:" >&5
14698 cat conftest.$ac_ext >&5
14700 eval "ac_cv_func_
$ac_func=no
"
14705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14706 echo "$ac_t""yes" 1>&6
14707 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14708 cat >> confdefs.h <<EOF
14709 #define $ac_tr_func 1
14713 echo "$ac_t""no
" 1>&6
14719 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
14720 echo "configure
:14721: checking
for _logf declaration
" >&5
14721 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14722 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14723 echo $ac_n "(cached
) $ac_c" 1>&6
14728 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14729 ac_cpp='$CXXCPP $CPPFLAGS'
14730 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14731 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14732 cross_compiling=$ac_cv_prog_cxx_cross
14734 cat > conftest.$ac_ext <<EOF
14735 #line 14736 "configure
"
14736 #include "confdefs.h
"
14738 #ifdef HAVE_IEEEFP_H
14739 #include <ieeefp.h>
14746 if { (eval echo configure:14747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14748 glibcpp_cv_func__logf_use=yes
14750 echo "configure
: failed program was
:" >&5
14751 cat conftest.$ac_ext >&5
14753 glibcpp_cv_func__logf_use=no
14757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14758 ac_cpp='$CPP $CPPFLAGS'
14759 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14760 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14761 cross_compiling=$ac_cv_prog_cc_cross
14767 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14769 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14770 for ac_func in _logf
14772 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14773 echo "configure
:14774: checking
for $ac_func" >&5
14774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14775 echo $ac_n "(cached
) $ac_c" 1>&6
14777 cat > conftest.$ac_ext <<EOF
14778 #line 14779 "configure
"
14779 #include "confdefs.h
"
14780 /* System header to define __stub macros and hopefully few prototypes,
14781 which can conflict with char $ac_func(); below. */
14782 #include <assert.h>
14783 /* Override any gcc2 internal prototype to avoid an error. */
14784 /* We use char because int might match the return type of a gcc2
14785 builtin and then its argument prototype would still apply. */
14790 /* The GNU C library defines this for functions which it implements
14791 to always fail with ENOSYS. Some functions are actually named
14792 something starting with __ and the normal name is an alias. */
14793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14801 if { (eval echo configure:14802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14803 eval "ac_cv_func_
$ac_func=yes"
14805 echo "configure
: failed program was
:" >&5
14806 cat conftest.$ac_ext >&5
14808 eval "ac_cv_func_
$ac_func=no
"
14813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14814 echo "$ac_t""yes" 1>&6
14815 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14816 cat >> confdefs.h <<EOF
14817 #define $ac_tr_func 1
14821 echo "$ac_t""no
" 1>&6
14830 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
14831 echo "configure
:14832: checking
for log10f declaration
" >&5
14832 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14833 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14834 echo $ac_n "(cached
) $ac_c" 1>&6
14839 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14840 ac_cpp='$CXXCPP $CPPFLAGS'
14841 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14842 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14843 cross_compiling=$ac_cv_prog_cxx_cross
14845 cat > conftest.$ac_ext <<EOF
14846 #line 14847 "configure
"
14847 #include "confdefs.h
"
14849 #ifdef HAVE_IEEEFP_H
14850 #include <ieeefp.h>
14857 if { (eval echo configure:14858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14859 glibcpp_cv_func_log10f_use=yes
14861 echo "configure
: failed program was
:" >&5
14862 cat conftest.$ac_ext >&5
14864 glibcpp_cv_func_log10f_use=no
14868 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14869 ac_cpp='$CPP $CPPFLAGS'
14870 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14871 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14872 cross_compiling=$ac_cv_prog_cc_cross
14878 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14880 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14881 for ac_func in log10f
14883 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14884 echo "configure
:14885: checking
for $ac_func" >&5
14885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14886 echo $ac_n "(cached
) $ac_c" 1>&6
14888 cat > conftest.$ac_ext <<EOF
14889 #line 14890 "configure
"
14890 #include "confdefs.h
"
14891 /* System header to define __stub macros and hopefully few prototypes,
14892 which can conflict with char $ac_func(); below. */
14893 #include <assert.h>
14894 /* Override any gcc2 internal prototype to avoid an error. */
14895 /* We use char because int might match the return type of a gcc2
14896 builtin and then its argument prototype would still apply. */
14901 /* The GNU C library defines this for functions which it implements
14902 to always fail with ENOSYS. Some functions are actually named
14903 something starting with __ and the normal name is an alias. */
14904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14912 if { (eval echo configure:14913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14914 eval "ac_cv_func_
$ac_func=yes"
14916 echo "configure
: failed program was
:" >&5
14917 cat conftest.$ac_ext >&5
14919 eval "ac_cv_func_
$ac_func=no
"
14924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14925 echo "$ac_t""yes" 1>&6
14926 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14927 cat >> confdefs.h <<EOF
14928 #define $ac_tr_func 1
14932 echo "$ac_t""no
" 1>&6
14938 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
14939 echo "configure
:14940: checking
for _log10f declaration
" >&5
14940 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14941 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14942 echo $ac_n "(cached
) $ac_c" 1>&6
14947 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14948 ac_cpp='$CXXCPP $CPPFLAGS'
14949 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14950 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14951 cross_compiling=$ac_cv_prog_cxx_cross
14953 cat > conftest.$ac_ext <<EOF
14954 #line 14955 "configure
"
14955 #include "confdefs.h
"
14957 #ifdef HAVE_IEEEFP_H
14958 #include <ieeefp.h>
14965 if { (eval echo configure:14966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14967 glibcpp_cv_func__log10f_use=yes
14969 echo "configure
: failed program was
:" >&5
14970 cat conftest.$ac_ext >&5
14972 glibcpp_cv_func__log10f_use=no
14976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14977 ac_cpp='$CPP $CPPFLAGS'
14978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14979 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14980 cross_compiling=$ac_cv_prog_cc_cross
14986 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14988 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14989 for ac_func in _log10f
14991 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14992 echo "configure
:14993: checking
for $ac_func" >&5
14993 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14994 echo $ac_n "(cached
) $ac_c" 1>&6
14996 cat > conftest.$ac_ext <<EOF
14997 #line 14998 "configure
"
14998 #include "confdefs.h
"
14999 /* System header to define __stub macros and hopefully few prototypes,
15000 which can conflict with char $ac_func(); below. */
15001 #include <assert.h>
15002 /* Override any gcc2 internal prototype to avoid an error. */
15003 /* We use char because int might match the return type of a gcc2
15004 builtin and then its argument prototype would still apply. */
15009 /* The GNU C library defines this for functions which it implements
15010 to always fail with ENOSYS. Some functions are actually named
15011 something starting with __ and the normal name is an alias. */
15012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15020 if { (eval echo configure:15021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15022 eval "ac_cv_func_
$ac_func=yes"
15024 echo "configure
: failed program was
:" >&5
15025 cat conftest.$ac_ext >&5
15027 eval "ac_cv_func_
$ac_func=no
"
15032 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15033 echo "$ac_t""yes" 1>&6
15034 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15035 cat >> confdefs.h <<EOF
15036 #define $ac_tr_func 1
15040 echo "$ac_t""no
" 1>&6
15049 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
15050 echo "configure
:15051: checking
for modff declaration
" >&5
15051 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15052 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15053 echo $ac_n "(cached
) $ac_c" 1>&6
15058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15059 ac_cpp='$CXXCPP $CPPFLAGS'
15060 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15061 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15062 cross_compiling=$ac_cv_prog_cxx_cross
15064 cat > conftest.$ac_ext <<EOF
15065 #line 15066 "configure
"
15066 #include "confdefs.h
"
15072 if { (eval echo configure:15073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15074 glibcpp_cv_func_modff_use=yes
15076 echo "configure
: failed program was
:" >&5
15077 cat conftest.$ac_ext >&5
15079 glibcpp_cv_func_modff_use=no
15083 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15084 ac_cpp='$CPP $CPPFLAGS'
15085 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15086 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15087 cross_compiling=$ac_cv_prog_cc_cross
15093 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15095 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15096 for ac_func in modff
15098 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15099 echo "configure
:15100: checking
for $ac_func" >&5
15100 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15101 echo $ac_n "(cached
) $ac_c" 1>&6
15103 cat > conftest.$ac_ext <<EOF
15104 #line 15105 "configure
"
15105 #include "confdefs.h
"
15106 /* System header to define __stub macros and hopefully few prototypes,
15107 which can conflict with char $ac_func(); below. */
15108 #include <assert.h>
15109 /* Override any gcc2 internal prototype to avoid an error. */
15110 /* We use char because int might match the return type of a gcc2
15111 builtin and then its argument prototype would still apply. */
15116 /* The GNU C library defines this for functions which it implements
15117 to always fail with ENOSYS. Some functions are actually named
15118 something starting with __ and the normal name is an alias. */
15119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15127 if { (eval echo configure:15128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15129 eval "ac_cv_func_
$ac_func=yes"
15131 echo "configure
: failed program was
:" >&5
15132 cat conftest.$ac_ext >&5
15134 eval "ac_cv_func_
$ac_func=no
"
15139 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15140 echo "$ac_t""yes" 1>&6
15141 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15142 cat >> confdefs.h <<EOF
15143 #define $ac_tr_func 1
15147 echo "$ac_t""no
" 1>&6
15153 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
15154 echo "configure
:15155: checking
for _modff declaration
" >&5
15155 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15156 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15157 echo $ac_n "(cached
) $ac_c" 1>&6
15162 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15163 ac_cpp='$CXXCPP $CPPFLAGS'
15164 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15165 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15166 cross_compiling=$ac_cv_prog_cxx_cross
15168 cat > conftest.$ac_ext <<EOF
15169 #line 15170 "configure
"
15170 #include "confdefs.h
"
15176 if { (eval echo configure:15177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15178 glibcpp_cv_func__modff_use=yes
15180 echo "configure
: failed program was
:" >&5
15181 cat conftest.$ac_ext >&5
15183 glibcpp_cv_func__modff_use=no
15187 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15188 ac_cpp='$CPP $CPPFLAGS'
15189 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15190 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15191 cross_compiling=$ac_cv_prog_cc_cross
15197 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15199 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15200 for ac_func in _modff
15202 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15203 echo "configure
:15204: checking
for $ac_func" >&5
15204 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15205 echo $ac_n "(cached
) $ac_c" 1>&6
15207 cat > conftest.$ac_ext <<EOF
15208 #line 15209 "configure
"
15209 #include "confdefs.h
"
15210 /* System header to define __stub macros and hopefully few prototypes,
15211 which can conflict with char $ac_func(); below. */
15212 #include <assert.h>
15213 /* Override any gcc2 internal prototype to avoid an error. */
15214 /* We use char because int might match the return type of a gcc2
15215 builtin and then its argument prototype would still apply. */
15220 /* The GNU C library defines this for functions which it implements
15221 to always fail with ENOSYS. Some functions are actually named
15222 something starting with __ and the normal name is an alias. */
15223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15231 if { (eval echo configure:15232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15233 eval "ac_cv_func_
$ac_func=yes"
15235 echo "configure
: failed program was
:" >&5
15236 cat conftest.$ac_ext >&5
15238 eval "ac_cv_func_
$ac_func=no
"
15243 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15244 echo "$ac_t""yes" 1>&6
15245 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15246 cat >> confdefs.h <<EOF
15247 #define $ac_tr_func 1
15251 echo "$ac_t""no
" 1>&6
15260 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
15261 echo "configure
:15262: checking
for powf declaration
" >&5
15262 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15263 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15264 echo $ac_n "(cached
) $ac_c" 1>&6
15269 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15270 ac_cpp='$CXXCPP $CPPFLAGS'
15271 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15272 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15273 cross_compiling=$ac_cv_prog_cxx_cross
15275 cat > conftest.$ac_ext <<EOF
15276 #line 15277 "configure
"
15277 #include "confdefs.h
"
15283 if { (eval echo configure:15284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15285 glibcpp_cv_func_powf_use=yes
15287 echo "configure
: failed program was
:" >&5
15288 cat conftest.$ac_ext >&5
15290 glibcpp_cv_func_powf_use=no
15294 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15295 ac_cpp='$CPP $CPPFLAGS'
15296 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15297 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15298 cross_compiling=$ac_cv_prog_cc_cross
15304 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15306 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15307 for ac_func in powf
15309 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15310 echo "configure
:15311: checking
for $ac_func" >&5
15311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15312 echo $ac_n "(cached
) $ac_c" 1>&6
15314 cat > conftest.$ac_ext <<EOF
15315 #line 15316 "configure
"
15316 #include "confdefs.h
"
15317 /* System header to define __stub macros and hopefully few prototypes,
15318 which can conflict with char $ac_func(); below. */
15319 #include <assert.h>
15320 /* Override any gcc2 internal prototype to avoid an error. */
15321 /* We use char because int might match the return type of a gcc2
15322 builtin and then its argument prototype would still apply. */
15327 /* The GNU C library defines this for functions which it implements
15328 to always fail with ENOSYS. Some functions are actually named
15329 something starting with __ and the normal name is an alias. */
15330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15338 if { (eval echo configure:15339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15340 eval "ac_cv_func_
$ac_func=yes"
15342 echo "configure
: failed program was
:" >&5
15343 cat conftest.$ac_ext >&5
15345 eval "ac_cv_func_
$ac_func=no
"
15350 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15351 echo "$ac_t""yes" 1>&6
15352 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15353 cat >> confdefs.h <<EOF
15354 #define $ac_tr_func 1
15358 echo "$ac_t""no
" 1>&6
15364 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
15365 echo "configure
:15366: checking
for _powf declaration
" >&5
15366 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15367 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15368 echo $ac_n "(cached
) $ac_c" 1>&6
15373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15374 ac_cpp='$CXXCPP $CPPFLAGS'
15375 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15376 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15377 cross_compiling=$ac_cv_prog_cxx_cross
15379 cat > conftest.$ac_ext <<EOF
15380 #line 15381 "configure
"
15381 #include "confdefs.h
"
15387 if { (eval echo configure:15388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15389 glibcpp_cv_func__powf_use=yes
15391 echo "configure
: failed program was
:" >&5
15392 cat conftest.$ac_ext >&5
15394 glibcpp_cv_func__powf_use=no
15398 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15399 ac_cpp='$CPP $CPPFLAGS'
15400 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15401 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15402 cross_compiling=$ac_cv_prog_cc_cross
15408 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15410 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15411 for ac_func in _powf
15413 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15414 echo "configure
:15415: checking
for $ac_func" >&5
15415 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15416 echo $ac_n "(cached
) $ac_c" 1>&6
15418 cat > conftest.$ac_ext <<EOF
15419 #line 15420 "configure
"
15420 #include "confdefs.h
"
15421 /* System header to define __stub macros and hopefully few prototypes,
15422 which can conflict with char $ac_func(); below. */
15423 #include <assert.h>
15424 /* Override any gcc2 internal prototype to avoid an error. */
15425 /* We use char because int might match the return type of a gcc2
15426 builtin and then its argument prototype would still apply. */
15431 /* The GNU C library defines this for functions which it implements
15432 to always fail with ENOSYS. Some functions are actually named
15433 something starting with __ and the normal name is an alias. */
15434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15442 if { (eval echo configure:15443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15444 eval "ac_cv_func_
$ac_func=yes"
15446 echo "configure
: failed program was
:" >&5
15447 cat conftest.$ac_ext >&5
15449 eval "ac_cv_func_
$ac_func=no
"
15454 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15455 echo "$ac_t""yes" 1>&6
15456 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15457 cat >> confdefs.h <<EOF
15458 #define $ac_tr_func 1
15462 echo "$ac_t""no
" 1>&6
15471 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
15472 echo "configure
:15473: checking
for sqrtf declaration
" >&5
15473 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15474 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15475 echo $ac_n "(cached
) $ac_c" 1>&6
15480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15481 ac_cpp='$CXXCPP $CPPFLAGS'
15482 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15483 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15484 cross_compiling=$ac_cv_prog_cxx_cross
15486 cat > conftest.$ac_ext <<EOF
15487 #line 15488 "configure
"
15488 #include "confdefs.h
"
15490 #ifdef HAVE_IEEEFP_H
15491 #include <ieeefp.h>
15498 if { (eval echo configure:15499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15500 glibcpp_cv_func_sqrtf_use=yes
15502 echo "configure
: failed program was
:" >&5
15503 cat conftest.$ac_ext >&5
15505 glibcpp_cv_func_sqrtf_use=no
15509 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15510 ac_cpp='$CPP $CPPFLAGS'
15511 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15512 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15513 cross_compiling=$ac_cv_prog_cc_cross
15519 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15521 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15522 for ac_func in sqrtf
15524 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15525 echo "configure
:15526: checking
for $ac_func" >&5
15526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15527 echo $ac_n "(cached
) $ac_c" 1>&6
15529 cat > conftest.$ac_ext <<EOF
15530 #line 15531 "configure
"
15531 #include "confdefs.h
"
15532 /* System header to define __stub macros and hopefully few prototypes,
15533 which can conflict with char $ac_func(); below. */
15534 #include <assert.h>
15535 /* Override any gcc2 internal prototype to avoid an error. */
15536 /* We use char because int might match the return type of a gcc2
15537 builtin and then its argument prototype would still apply. */
15542 /* The GNU C library defines this for functions which it implements
15543 to always fail with ENOSYS. Some functions are actually named
15544 something starting with __ and the normal name is an alias. */
15545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15553 if { (eval echo configure:15554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15555 eval "ac_cv_func_
$ac_func=yes"
15557 echo "configure
: failed program was
:" >&5
15558 cat conftest.$ac_ext >&5
15560 eval "ac_cv_func_
$ac_func=no
"
15565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15566 echo "$ac_t""yes" 1>&6
15567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15568 cat >> confdefs.h <<EOF
15569 #define $ac_tr_func 1
15573 echo "$ac_t""no
" 1>&6
15579 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
15580 echo "configure
:15581: checking
for _sqrtf declaration
" >&5
15581 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15582 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15583 echo $ac_n "(cached
) $ac_c" 1>&6
15588 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15589 ac_cpp='$CXXCPP $CPPFLAGS'
15590 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15591 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15592 cross_compiling=$ac_cv_prog_cxx_cross
15594 cat > conftest.$ac_ext <<EOF
15595 #line 15596 "configure
"
15596 #include "confdefs.h
"
15598 #ifdef HAVE_IEEEFP_H
15599 #include <ieeefp.h>
15606 if { (eval echo configure:15607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15608 glibcpp_cv_func__sqrtf_use=yes
15610 echo "configure
: failed program was
:" >&5
15611 cat conftest.$ac_ext >&5
15613 glibcpp_cv_func__sqrtf_use=no
15617 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15618 ac_cpp='$CPP $CPPFLAGS'
15619 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15620 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15621 cross_compiling=$ac_cv_prog_cc_cross
15627 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15629 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15630 for ac_func in _sqrtf
15632 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15633 echo "configure
:15634: checking
for $ac_func" >&5
15634 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15635 echo $ac_n "(cached
) $ac_c" 1>&6
15637 cat > conftest.$ac_ext <<EOF
15638 #line 15639 "configure
"
15639 #include "confdefs.h
"
15640 /* System header to define __stub macros and hopefully few prototypes,
15641 which can conflict with char $ac_func(); below. */
15642 #include <assert.h>
15643 /* Override any gcc2 internal prototype to avoid an error. */
15644 /* We use char because int might match the return type of a gcc2
15645 builtin and then its argument prototype would still apply. */
15650 /* The GNU C library defines this for functions which it implements
15651 to always fail with ENOSYS. Some functions are actually named
15652 something starting with __ and the normal name is an alias. */
15653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15661 if { (eval echo configure:15662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15663 eval "ac_cv_func_
$ac_func=yes"
15665 echo "configure
: failed program was
:" >&5
15666 cat conftest.$ac_ext >&5
15668 eval "ac_cv_func_
$ac_func=no
"
15673 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15674 echo "$ac_t""yes" 1>&6
15675 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15676 cat >> confdefs.h <<EOF
15677 #define $ac_tr_func 1
15681 echo "$ac_t""no
" 1>&6
15690 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
15691 echo "configure
:15692: checking
for sincosf declaration
" >&5
15692 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15693 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15694 echo $ac_n "(cached
) $ac_c" 1>&6
15699 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15700 ac_cpp='$CXXCPP $CPPFLAGS'
15701 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15702 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15703 cross_compiling=$ac_cv_prog_cxx_cross
15705 cat > conftest.$ac_ext <<EOF
15706 #line 15707 "configure
"
15707 #include "confdefs.h
"
15713 if { (eval echo configure:15714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15715 glibcpp_cv_func_sincosf_use=yes
15717 echo "configure
: failed program was
:" >&5
15718 cat conftest.$ac_ext >&5
15720 glibcpp_cv_func_sincosf_use=no
15724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15725 ac_cpp='$CPP $CPPFLAGS'
15726 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15727 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15728 cross_compiling=$ac_cv_prog_cc_cross
15734 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15736 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15737 for ac_func in sincosf
15739 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15740 echo "configure
:15741: checking
for $ac_func" >&5
15741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15742 echo $ac_n "(cached
) $ac_c" 1>&6
15744 cat > conftest.$ac_ext <<EOF
15745 #line 15746 "configure
"
15746 #include "confdefs.h
"
15747 /* System header to define __stub macros and hopefully few prototypes,
15748 which can conflict with char $ac_func(); below. */
15749 #include <assert.h>
15750 /* Override any gcc2 internal prototype to avoid an error. */
15751 /* We use char because int might match the return type of a gcc2
15752 builtin and then its argument prototype would still apply. */
15757 /* The GNU C library defines this for functions which it implements
15758 to always fail with ENOSYS. Some functions are actually named
15759 something starting with __ and the normal name is an alias. */
15760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15768 if { (eval echo configure:15769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15770 eval "ac_cv_func_
$ac_func=yes"
15772 echo "configure
: failed program was
:" >&5
15773 cat conftest.$ac_ext >&5
15775 eval "ac_cv_func_
$ac_func=no
"
15780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15781 echo "$ac_t""yes" 1>&6
15782 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15783 cat >> confdefs.h <<EOF
15784 #define $ac_tr_func 1
15788 echo "$ac_t""no
" 1>&6
15794 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
15795 echo "configure
:15796: checking
for _sincosf declaration
" >&5
15796 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15797 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15798 echo $ac_n "(cached
) $ac_c" 1>&6
15803 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15804 ac_cpp='$CXXCPP $CPPFLAGS'
15805 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15806 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15807 cross_compiling=$ac_cv_prog_cxx_cross
15809 cat > conftest.$ac_ext <<EOF
15810 #line 15811 "configure
"
15811 #include "confdefs.h
"
15817 if { (eval echo configure:15818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15819 glibcpp_cv_func__sincosf_use=yes
15821 echo "configure
: failed program was
:" >&5
15822 cat conftest.$ac_ext >&5
15824 glibcpp_cv_func__sincosf_use=no
15828 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15829 ac_cpp='$CPP $CPPFLAGS'
15830 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15831 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15832 cross_compiling=$ac_cv_prog_cc_cross
15838 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15840 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15841 for ac_func in _sincosf
15843 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15844 echo "configure
:15845: checking
for $ac_func" >&5
15845 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15846 echo $ac_n "(cached
) $ac_c" 1>&6
15848 cat > conftest.$ac_ext <<EOF
15849 #line 15850 "configure
"
15850 #include "confdefs.h
"
15851 /* System header to define __stub macros and hopefully few prototypes,
15852 which can conflict with char $ac_func(); below. */
15853 #include <assert.h>
15854 /* Override any gcc2 internal prototype to avoid an error. */
15855 /* We use char because int might match the return type of a gcc2
15856 builtin and then its argument prototype would still apply. */
15861 /* The GNU C library defines this for functions which it implements
15862 to always fail with ENOSYS. Some functions are actually named
15863 something starting with __ and the normal name is an alias. */
15864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15872 if { (eval echo configure:15873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15874 eval "ac_cv_func_
$ac_func=yes"
15876 echo "configure
: failed program was
:" >&5
15877 cat conftest.$ac_ext >&5
15879 eval "ac_cv_func_
$ac_func=no
"
15884 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15885 echo "$ac_t""yes" 1>&6
15886 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15887 cat >> confdefs.h <<EOF
15888 #define $ac_tr_func 1
15892 echo "$ac_t""no
" 1>&6
15901 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
15902 echo "configure
:15903: checking
for finitef declaration
" >&5
15903 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15904 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15905 echo $ac_n "(cached
) $ac_c" 1>&6
15910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15911 ac_cpp='$CXXCPP $CPPFLAGS'
15912 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15913 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15914 cross_compiling=$ac_cv_prog_cxx_cross
15916 cat > conftest.$ac_ext <<EOF
15917 #line 15918 "configure
"
15918 #include "confdefs.h
"
15920 #ifdef HAVE_IEEEFP_H
15921 #include <ieeefp.h>
15928 if { (eval echo configure:15929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15930 glibcpp_cv_func_finitef_use=yes
15932 echo "configure
: failed program was
:" >&5
15933 cat conftest.$ac_ext >&5
15935 glibcpp_cv_func_finitef_use=no
15939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15940 ac_cpp='$CPP $CPPFLAGS'
15941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15943 cross_compiling=$ac_cv_prog_cc_cross
15949 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15951 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15952 for ac_func in finitef
15954 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15955 echo "configure
:15956: checking
for $ac_func" >&5
15956 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15957 echo $ac_n "(cached
) $ac_c" 1>&6
15959 cat > conftest.$ac_ext <<EOF
15960 #line 15961 "configure
"
15961 #include "confdefs.h
"
15962 /* System header to define __stub macros and hopefully few prototypes,
15963 which can conflict with char $ac_func(); below. */
15964 #include <assert.h>
15965 /* Override any gcc2 internal prototype to avoid an error. */
15966 /* We use char because int might match the return type of a gcc2
15967 builtin and then its argument prototype would still apply. */
15972 /* The GNU C library defines this for functions which it implements
15973 to always fail with ENOSYS. Some functions are actually named
15974 something starting with __ and the normal name is an alias. */
15975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15983 if { (eval echo configure:15984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15985 eval "ac_cv_func_
$ac_func=yes"
15987 echo "configure
: failed program was
:" >&5
15988 cat conftest.$ac_ext >&5
15990 eval "ac_cv_func_
$ac_func=no
"
15995 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15996 echo "$ac_t""yes" 1>&6
15997 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15998 cat >> confdefs.h <<EOF
15999 #define $ac_tr_func 1
16003 echo "$ac_t""no
" 1>&6
16009 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
16010 echo "configure
:16011: checking
for _finitef declaration
" >&5
16011 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
16012 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
16013 echo $ac_n "(cached
) $ac_c" 1>&6
16018 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16019 ac_cpp='$CXXCPP $CPPFLAGS'
16020 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16021 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16022 cross_compiling=$ac_cv_prog_cxx_cross
16024 cat > conftest.$ac_ext <<EOF
16025 #line 16026 "configure
"
16026 #include "confdefs.h
"
16028 #ifdef HAVE_IEEEFP_H
16029 #include <ieeefp.h>
16036 if { (eval echo configure:16037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16038 glibcpp_cv_func__finitef_use=yes
16040 echo "configure
: failed program was
:" >&5
16041 cat conftest.$ac_ext >&5
16043 glibcpp_cv_func__finitef_use=no
16047 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16048 ac_cpp='$CPP $CPPFLAGS'
16049 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16050 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16051 cross_compiling=$ac_cv_prog_cc_cross
16057 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16059 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16060 for ac_func in _finitef
16062 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16063 echo "configure
:16064: checking
for $ac_func" >&5
16064 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16065 echo $ac_n "(cached
) $ac_c" 1>&6
16067 cat > conftest.$ac_ext <<EOF
16068 #line 16069 "configure
"
16069 #include "confdefs.h
"
16070 /* System header to define __stub macros and hopefully few prototypes,
16071 which can conflict with char $ac_func(); below. */
16072 #include <assert.h>
16073 /* Override any gcc2 internal prototype to avoid an error. */
16074 /* We use char because int might match the return type of a gcc2
16075 builtin and then its argument prototype would still apply. */
16080 /* The GNU C library defines this for functions which it implements
16081 to always fail with ENOSYS. Some functions are actually named
16082 something starting with __ and the normal name is an alias. */
16083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16091 if { (eval echo configure:16092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16093 eval "ac_cv_func_
$ac_func=yes"
16095 echo "configure
: failed program was
:" >&5
16096 cat conftest.$ac_ext >&5
16098 eval "ac_cv_func_
$ac_func=no
"
16103 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16104 echo "$ac_t""yes" 1>&6
16105 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16106 cat >> confdefs.h <<EOF
16107 #define $ac_tr_func 1
16111 echo "$ac_t""no
" 1>&6
16120 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
16121 echo "configure
:16122: checking
for long double trig functions
" >&5
16122 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16123 echo $ac_n "(cached
) $ac_c" 1>&6
16128 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16129 ac_cpp='$CXXCPP $CPPFLAGS'
16130 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16131 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16132 cross_compiling=$ac_cv_prog_cxx_cross
16134 cat > conftest.$ac_ext <<EOF
16135 #line 16136 "configure
"
16136 #include "confdefs.h
"
16139 `for x in acosl asinl atanl \
16141 coshl sinhl tanhl; do echo "$x (0);"; done`
16144 if { (eval echo configure:16145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16146 glibcpp_cv_func_long_double_trig_use=yes
16148 echo "configure
: failed program was
:" >&5
16149 cat conftest.$ac_ext >&5
16151 glibcpp_cv_func_long_double_trig_use=no
16155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16156 ac_cpp='$CPP $CPPFLAGS'
16157 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16158 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16159 cross_compiling=$ac_cv_prog_cc_cross
16163 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16164 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16165 for ac_func in acosl asinl atanl \
16169 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16170 echo "configure
:16171: checking
for $ac_func" >&5
16171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16172 echo $ac_n "(cached
) $ac_c" 1>&6
16174 cat > conftest.$ac_ext <<EOF
16175 #line 16176 "configure
"
16176 #include "confdefs.h
"
16177 /* System header to define __stub macros and hopefully few prototypes,
16178 which can conflict with char $ac_func(); below. */
16179 #include <assert.h>
16180 /* Override any gcc2 internal prototype to avoid an error. */
16181 /* We use char because int might match the return type of a gcc2
16182 builtin and then its argument prototype would still apply. */
16187 /* The GNU C library defines this for functions which it implements
16188 to always fail with ENOSYS. Some functions are actually named
16189 something starting with __ and the normal name is an alias. */
16190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16198 if { (eval echo configure:16199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16200 eval "ac_cv_func_
$ac_func=yes"
16202 echo "configure
: failed program was
:" >&5
16203 cat conftest.$ac_ext >&5
16205 eval "ac_cv_func_
$ac_func=no
"
16210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16211 echo "$ac_t""yes" 1>&6
16212 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16213 cat >> confdefs.h <<EOF
16214 #define $ac_tr_func 1
16218 echo "$ac_t""no
" 1>&6
16225 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
16226 echo "configure
:16227: checking
for long double round functions
" >&5
16227 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16228 echo $ac_n "(cached
) $ac_c" 1>&6
16233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16234 ac_cpp='$CXXCPP $CPPFLAGS'
16235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16237 cross_compiling=$ac_cv_prog_cxx_cross
16239 cat > conftest.$ac_ext <<EOF
16240 #line 16241 "configure
"
16241 #include "confdefs.h
"
16244 `for x in ceill floorl; do echo "$x (0);"; done`
16247 if { (eval echo configure:16248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16249 glibcpp_cv_func_long_double_round_use=yes
16251 echo "configure
: failed program was
:" >&5
16252 cat conftest.$ac_ext >&5
16254 glibcpp_cv_func_long_double_round_use=no
16258 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16259 ac_cpp='$CPP $CPPFLAGS'
16260 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16261 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16262 cross_compiling=$ac_cv_prog_cc_cross
16266 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16267 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16268 for ac_func in ceill floorl
16270 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16271 echo "configure
:16272: checking
for $ac_func" >&5
16272 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16273 echo $ac_n "(cached
) $ac_c" 1>&6
16275 cat > conftest.$ac_ext <<EOF
16276 #line 16277 "configure
"
16277 #include "confdefs.h
"
16278 /* System header to define __stub macros and hopefully few prototypes,
16279 which can conflict with char $ac_func(); below. */
16280 #include <assert.h>
16281 /* Override any gcc2 internal prototype to avoid an error. */
16282 /* We use char because int might match the return type of a gcc2
16283 builtin and then its argument prototype would still apply. */
16288 /* The GNU C library defines this for functions which it implements
16289 to always fail with ENOSYS. Some functions are actually named
16290 something starting with __ and the normal name is an alias. */
16291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16299 if { (eval echo configure:16300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16301 eval "ac_cv_func_
$ac_func=yes"
16303 echo "configure
: failed program was
:" >&5
16304 cat conftest.$ac_ext >&5
16306 eval "ac_cv_func_
$ac_func=no
"
16311 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16312 echo "$ac_t""yes" 1>&6
16313 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16314 cat >> confdefs.h <<EOF
16315 #define $ac_tr_func 1
16319 echo "$ac_t""no
" 1>&6
16327 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
16328 echo "configure
:16329: checking
for isnanl declaration
" >&5
16329 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16330 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16331 echo $ac_n "(cached
) $ac_c" 1>&6
16336 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16337 ac_cpp='$CXXCPP $CPPFLAGS'
16338 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16339 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16340 cross_compiling=$ac_cv_prog_cxx_cross
16342 cat > conftest.$ac_ext <<EOF
16343 #line 16344 "configure
"
16344 #include "confdefs.h
"
16346 #ifdef HAVE_IEEEFP_H
16347 #include <ieeefp.h>
16354 if { (eval echo configure:16355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16356 glibcpp_cv_func_isnanl_use=yes
16358 echo "configure
: failed program was
:" >&5
16359 cat conftest.$ac_ext >&5
16361 glibcpp_cv_func_isnanl_use=no
16365 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16366 ac_cpp='$CPP $CPPFLAGS'
16367 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16368 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16369 cross_compiling=$ac_cv_prog_cc_cross
16375 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16377 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16378 for ac_func in isnanl
16380 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16381 echo "configure
:16382: checking
for $ac_func" >&5
16382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16383 echo $ac_n "(cached
) $ac_c" 1>&6
16385 cat > conftest.$ac_ext <<EOF
16386 #line 16387 "configure
"
16387 #include "confdefs.h
"
16388 /* System header to define __stub macros and hopefully few prototypes,
16389 which can conflict with char $ac_func(); below. */
16390 #include <assert.h>
16391 /* Override any gcc2 internal prototype to avoid an error. */
16392 /* We use char because int might match the return type of a gcc2
16393 builtin and then its argument prototype would still apply. */
16398 /* The GNU C library defines this for functions which it implements
16399 to always fail with ENOSYS. Some functions are actually named
16400 something starting with __ and the normal name is an alias. */
16401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16409 if { (eval echo configure:16410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16411 eval "ac_cv_func_
$ac_func=yes"
16413 echo "configure
: failed program was
:" >&5
16414 cat conftest.$ac_ext >&5
16416 eval "ac_cv_func_
$ac_func=no
"
16421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16422 echo "$ac_t""yes" 1>&6
16423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16424 cat >> confdefs.h <<EOF
16425 #define $ac_tr_func 1
16429 echo "$ac_t""no
" 1>&6
16435 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
16436 echo "configure
:16437: checking
for _isnanl declaration
" >&5
16437 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16438 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16439 echo $ac_n "(cached
) $ac_c" 1>&6
16444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16445 ac_cpp='$CXXCPP $CPPFLAGS'
16446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16448 cross_compiling=$ac_cv_prog_cxx_cross
16450 cat > conftest.$ac_ext <<EOF
16451 #line 16452 "configure
"
16452 #include "confdefs.h
"
16454 #ifdef HAVE_IEEEFP_H
16455 #include <ieeefp.h>
16462 if { (eval echo configure:16463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16464 glibcpp_cv_func__isnanl_use=yes
16466 echo "configure
: failed program was
:" >&5
16467 cat conftest.$ac_ext >&5
16469 glibcpp_cv_func__isnanl_use=no
16473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16474 ac_cpp='$CPP $CPPFLAGS'
16475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16477 cross_compiling=$ac_cv_prog_cc_cross
16483 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16485 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16486 for ac_func in _isnanl
16488 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16489 echo "configure
:16490: checking
for $ac_func" >&5
16490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16491 echo $ac_n "(cached
) $ac_c" 1>&6
16493 cat > conftest.$ac_ext <<EOF
16494 #line 16495 "configure
"
16495 #include "confdefs.h
"
16496 /* System header to define __stub macros and hopefully few prototypes,
16497 which can conflict with char $ac_func(); below. */
16498 #include <assert.h>
16499 /* Override any gcc2 internal prototype to avoid an error. */
16500 /* We use char because int might match the return type of a gcc2
16501 builtin and then its argument prototype would still apply. */
16506 /* The GNU C library defines this for functions which it implements
16507 to always fail with ENOSYS. Some functions are actually named
16508 something starting with __ and the normal name is an alias. */
16509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16517 if { (eval echo configure:16518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16519 eval "ac_cv_func_
$ac_func=yes"
16521 echo "configure
: failed program was
:" >&5
16522 cat conftest.$ac_ext >&5
16524 eval "ac_cv_func_
$ac_func=no
"
16529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16530 echo "$ac_t""yes" 1>&6
16531 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16532 cat >> confdefs.h <<EOF
16533 #define $ac_tr_func 1
16537 echo "$ac_t""no
" 1>&6
16546 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
16547 echo "configure
:16548: checking
for isinfl declaration
" >&5
16548 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16549 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16550 echo $ac_n "(cached
) $ac_c" 1>&6
16555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16556 ac_cpp='$CXXCPP $CPPFLAGS'
16557 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16558 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16559 cross_compiling=$ac_cv_prog_cxx_cross
16561 cat > conftest.$ac_ext <<EOF
16562 #line 16563 "configure
"
16563 #include "confdefs.h
"
16565 #ifdef HAVE_IEEEFP_H
16566 #include <ieeefp.h>
16573 if { (eval echo configure:16574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16575 glibcpp_cv_func_isinfl_use=yes
16577 echo "configure
: failed program was
:" >&5
16578 cat conftest.$ac_ext >&5
16580 glibcpp_cv_func_isinfl_use=no
16584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16585 ac_cpp='$CPP $CPPFLAGS'
16586 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16587 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16588 cross_compiling=$ac_cv_prog_cc_cross
16594 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16596 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16597 for ac_func in isinfl
16599 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16600 echo "configure
:16601: checking
for $ac_func" >&5
16601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16602 echo $ac_n "(cached
) $ac_c" 1>&6
16604 cat > conftest.$ac_ext <<EOF
16605 #line 16606 "configure
"
16606 #include "confdefs.h
"
16607 /* System header to define __stub macros and hopefully few prototypes,
16608 which can conflict with char $ac_func(); below. */
16609 #include <assert.h>
16610 /* Override any gcc2 internal prototype to avoid an error. */
16611 /* We use char because int might match the return type of a gcc2
16612 builtin and then its argument prototype would still apply. */
16617 /* The GNU C library defines this for functions which it implements
16618 to always fail with ENOSYS. Some functions are actually named
16619 something starting with __ and the normal name is an alias. */
16620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16628 if { (eval echo configure:16629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16630 eval "ac_cv_func_
$ac_func=yes"
16632 echo "configure
: failed program was
:" >&5
16633 cat conftest.$ac_ext >&5
16635 eval "ac_cv_func_
$ac_func=no
"
16640 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16641 echo "$ac_t""yes" 1>&6
16642 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16643 cat >> confdefs.h <<EOF
16644 #define $ac_tr_func 1
16648 echo "$ac_t""no
" 1>&6
16654 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
16655 echo "configure
:16656: checking
for _isinfl declaration
" >&5
16656 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16657 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16658 echo $ac_n "(cached
) $ac_c" 1>&6
16663 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16664 ac_cpp='$CXXCPP $CPPFLAGS'
16665 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16666 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16667 cross_compiling=$ac_cv_prog_cxx_cross
16669 cat > conftest.$ac_ext <<EOF
16670 #line 16671 "configure
"
16671 #include "confdefs.h
"
16673 #ifdef HAVE_IEEEFP_H
16674 #include <ieeefp.h>
16681 if { (eval echo configure:16682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16683 glibcpp_cv_func__isinfl_use=yes
16685 echo "configure
: failed program was
:" >&5
16686 cat conftest.$ac_ext >&5
16688 glibcpp_cv_func__isinfl_use=no
16692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16693 ac_cpp='$CPP $CPPFLAGS'
16694 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16695 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16696 cross_compiling=$ac_cv_prog_cc_cross
16702 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16704 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16705 for ac_func in _isinfl
16707 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16708 echo "configure
:16709: checking
for $ac_func" >&5
16709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16710 echo $ac_n "(cached
) $ac_c" 1>&6
16712 cat > conftest.$ac_ext <<EOF
16713 #line 16714 "configure
"
16714 #include "confdefs.h
"
16715 /* System header to define __stub macros and hopefully few prototypes,
16716 which can conflict with char $ac_func(); below. */
16717 #include <assert.h>
16718 /* Override any gcc2 internal prototype to avoid an error. */
16719 /* We use char because int might match the return type of a gcc2
16720 builtin and then its argument prototype would still apply. */
16725 /* The GNU C library defines this for functions which it implements
16726 to always fail with ENOSYS. Some functions are actually named
16727 something starting with __ and the normal name is an alias. */
16728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16736 if { (eval echo configure:16737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16738 eval "ac_cv_func_
$ac_func=yes"
16740 echo "configure
: failed program was
:" >&5
16741 cat conftest.$ac_ext >&5
16743 eval "ac_cv_func_
$ac_func=no
"
16748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16749 echo "$ac_t""yes" 1>&6
16750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16751 cat >> confdefs.h <<EOF
16752 #define $ac_tr_func 1
16756 echo "$ac_t""no
" 1>&6
16765 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
16766 echo "configure
:16767: checking
for copysignl declaration
" >&5
16767 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16768 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16769 echo $ac_n "(cached
) $ac_c" 1>&6
16774 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16775 ac_cpp='$CXXCPP $CPPFLAGS'
16776 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16777 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16778 cross_compiling=$ac_cv_prog_cxx_cross
16780 cat > conftest.$ac_ext <<EOF
16781 #line 16782 "configure
"
16782 #include "confdefs.h
"
16788 if { (eval echo configure:16789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16790 glibcpp_cv_func_copysignl_use=yes
16792 echo "configure
: failed program was
:" >&5
16793 cat conftest.$ac_ext >&5
16795 glibcpp_cv_func_copysignl_use=no
16799 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16800 ac_cpp='$CPP $CPPFLAGS'
16801 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16802 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16803 cross_compiling=$ac_cv_prog_cc_cross
16809 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16811 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16812 for ac_func in copysignl
16814 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16815 echo "configure
:16816: checking
for $ac_func" >&5
16816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16817 echo $ac_n "(cached
) $ac_c" 1>&6
16819 cat > conftest.$ac_ext <<EOF
16820 #line 16821 "configure
"
16821 #include "confdefs.h
"
16822 /* System header to define __stub macros and hopefully few prototypes,
16823 which can conflict with char $ac_func(); below. */
16824 #include <assert.h>
16825 /* Override any gcc2 internal prototype to avoid an error. */
16826 /* We use char because int might match the return type of a gcc2
16827 builtin and then its argument prototype would still apply. */
16832 /* The GNU C library defines this for functions which it implements
16833 to always fail with ENOSYS. Some functions are actually named
16834 something starting with __ and the normal name is an alias. */
16835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16843 if { (eval echo configure:16844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16845 eval "ac_cv_func_
$ac_func=yes"
16847 echo "configure
: failed program was
:" >&5
16848 cat conftest.$ac_ext >&5
16850 eval "ac_cv_func_
$ac_func=no
"
16855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16856 echo "$ac_t""yes" 1>&6
16857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16858 cat >> confdefs.h <<EOF
16859 #define $ac_tr_func 1
16863 echo "$ac_t""no
" 1>&6
16869 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
16870 echo "configure
:16871: checking
for _copysignl declaration
" >&5
16871 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16872 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16873 echo $ac_n "(cached
) $ac_c" 1>&6
16878 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16879 ac_cpp='$CXXCPP $CPPFLAGS'
16880 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16881 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16882 cross_compiling=$ac_cv_prog_cxx_cross
16884 cat > conftest.$ac_ext <<EOF
16885 #line 16886 "configure
"
16886 #include "confdefs.h
"
16892 if { (eval echo configure:16893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16894 glibcpp_cv_func__copysignl_use=yes
16896 echo "configure
: failed program was
:" >&5
16897 cat conftest.$ac_ext >&5
16899 glibcpp_cv_func__copysignl_use=no
16903 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16904 ac_cpp='$CPP $CPPFLAGS'
16905 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16906 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16907 cross_compiling=$ac_cv_prog_cc_cross
16913 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16915 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16916 for ac_func in _copysignl
16918 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16919 echo "configure
:16920: checking
for $ac_func" >&5
16920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16921 echo $ac_n "(cached
) $ac_c" 1>&6
16923 cat > conftest.$ac_ext <<EOF
16924 #line 16925 "configure
"
16925 #include "confdefs.h
"
16926 /* System header to define __stub macros and hopefully few prototypes,
16927 which can conflict with char $ac_func(); below. */
16928 #include <assert.h>
16929 /* Override any gcc2 internal prototype to avoid an error. */
16930 /* We use char because int might match the return type of a gcc2
16931 builtin and then its argument prototype would still apply. */
16936 /* The GNU C library defines this for functions which it implements
16937 to always fail with ENOSYS. Some functions are actually named
16938 something starting with __ and the normal name is an alias. */
16939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16947 if { (eval echo configure:16948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16949 eval "ac_cv_func_
$ac_func=yes"
16951 echo "configure
: failed program was
:" >&5
16952 cat conftest.$ac_ext >&5
16954 eval "ac_cv_func_
$ac_func=no
"
16959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16960 echo "$ac_t""yes" 1>&6
16961 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16962 cat >> confdefs.h <<EOF
16963 #define $ac_tr_func 1
16967 echo "$ac_t""no
" 1>&6
16976 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
16977 echo "configure
:16978: checking
for atan2l declaration
" >&5
16978 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16979 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16980 echo $ac_n "(cached
) $ac_c" 1>&6
16985 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16986 ac_cpp='$CXXCPP $CPPFLAGS'
16987 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16988 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16989 cross_compiling=$ac_cv_prog_cxx_cross
16991 cat > conftest.$ac_ext <<EOF
16992 #line 16993 "configure
"
16993 #include "confdefs.h
"
16999 if { (eval echo configure:17000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17001 glibcpp_cv_func_atan2l_use=yes
17003 echo "configure
: failed program was
:" >&5
17004 cat conftest.$ac_ext >&5
17006 glibcpp_cv_func_atan2l_use=no
17010 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17011 ac_cpp='$CPP $CPPFLAGS'
17012 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17013 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17014 cross_compiling=$ac_cv_prog_cc_cross
17020 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
17022 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
17023 for ac_func in atan2l
17025 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17026 echo "configure
:17027: checking
for $ac_func" >&5
17027 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17028 echo $ac_n "(cached
) $ac_c" 1>&6
17030 cat > conftest.$ac_ext <<EOF
17031 #line 17032 "configure
"
17032 #include "confdefs.h
"
17033 /* System header to define __stub macros and hopefully few prototypes,
17034 which can conflict with char $ac_func(); below. */
17035 #include <assert.h>
17036 /* Override any gcc2 internal prototype to avoid an error. */
17037 /* We use char because int might match the return type of a gcc2
17038 builtin and then its argument prototype would still apply. */
17043 /* The GNU C library defines this for functions which it implements
17044 to always fail with ENOSYS. Some functions are actually named
17045 something starting with __ and the normal name is an alias. */
17046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17054 if { (eval echo configure:17055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17056 eval "ac_cv_func_
$ac_func=yes"
17058 echo "configure
: failed program was
:" >&5
17059 cat conftest.$ac_ext >&5
17061 eval "ac_cv_func_
$ac_func=no
"
17066 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17067 echo "$ac_t""yes" 1>&6
17068 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17069 cat >> confdefs.h <<EOF
17070 #define $ac_tr_func 1
17074 echo "$ac_t""no
" 1>&6
17080 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
17081 echo "configure
:17082: checking
for _atan2l declaration
" >&5
17082 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17083 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17084 echo $ac_n "(cached
) $ac_c" 1>&6
17089 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17090 ac_cpp='$CXXCPP $CPPFLAGS'
17091 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17092 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17093 cross_compiling=$ac_cv_prog_cxx_cross
17095 cat > conftest.$ac_ext <<EOF
17096 #line 17097 "configure
"
17097 #include "confdefs.h
"
17103 if { (eval echo configure:17104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17105 glibcpp_cv_func__atan2l_use=yes
17107 echo "configure
: failed program was
:" >&5
17108 cat conftest.$ac_ext >&5
17110 glibcpp_cv_func__atan2l_use=no
17114 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17115 ac_cpp='$CPP $CPPFLAGS'
17116 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17117 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17118 cross_compiling=$ac_cv_prog_cc_cross
17124 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17126 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17127 for ac_func in _atan2l
17129 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17130 echo "configure
:17131: checking
for $ac_func" >&5
17131 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17132 echo $ac_n "(cached
) $ac_c" 1>&6
17134 cat > conftest.$ac_ext <<EOF
17135 #line 17136 "configure
"
17136 #include "confdefs.h
"
17137 /* System header to define __stub macros and hopefully few prototypes,
17138 which can conflict with char $ac_func(); below. */
17139 #include <assert.h>
17140 /* Override any gcc2 internal prototype to avoid an error. */
17141 /* We use char because int might match the return type of a gcc2
17142 builtin and then its argument prototype would still apply. */
17147 /* The GNU C library defines this for functions which it implements
17148 to always fail with ENOSYS. Some functions are actually named
17149 something starting with __ and the normal name is an alias. */
17150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17158 if { (eval echo configure:17159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17160 eval "ac_cv_func_
$ac_func=yes"
17162 echo "configure
: failed program was
:" >&5
17163 cat conftest.$ac_ext >&5
17165 eval "ac_cv_func_
$ac_func=no
"
17170 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17171 echo "$ac_t""yes" 1>&6
17172 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17173 cat >> confdefs.h <<EOF
17174 #define $ac_tr_func 1
17178 echo "$ac_t""no
" 1>&6
17187 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
17188 echo "configure
:17189: checking
for expl declaration
" >&5
17189 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17190 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17191 echo $ac_n "(cached
) $ac_c" 1>&6
17196 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17197 ac_cpp='$CXXCPP $CPPFLAGS'
17198 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17199 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17200 cross_compiling=$ac_cv_prog_cxx_cross
17202 cat > conftest.$ac_ext <<EOF
17203 #line 17204 "configure
"
17204 #include "confdefs.h
"
17206 #ifdef HAVE_IEEEFP_H
17207 #include <ieeefp.h>
17214 if { (eval echo configure:17215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17216 glibcpp_cv_func_expl_use=yes
17218 echo "configure
: failed program was
:" >&5
17219 cat conftest.$ac_ext >&5
17221 glibcpp_cv_func_expl_use=no
17225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17226 ac_cpp='$CPP $CPPFLAGS'
17227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17229 cross_compiling=$ac_cv_prog_cc_cross
17235 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17237 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17238 for ac_func in expl
17240 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17241 echo "configure
:17242: checking
for $ac_func" >&5
17242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17243 echo $ac_n "(cached
) $ac_c" 1>&6
17245 cat > conftest.$ac_ext <<EOF
17246 #line 17247 "configure
"
17247 #include "confdefs.h
"
17248 /* System header to define __stub macros and hopefully few prototypes,
17249 which can conflict with char $ac_func(); below. */
17250 #include <assert.h>
17251 /* Override any gcc2 internal prototype to avoid an error. */
17252 /* We use char because int might match the return type of a gcc2
17253 builtin and then its argument prototype would still apply. */
17258 /* The GNU C library defines this for functions which it implements
17259 to always fail with ENOSYS. Some functions are actually named
17260 something starting with __ and the normal name is an alias. */
17261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17269 if { (eval echo configure:17270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17271 eval "ac_cv_func_
$ac_func=yes"
17273 echo "configure
: failed program was
:" >&5
17274 cat conftest.$ac_ext >&5
17276 eval "ac_cv_func_
$ac_func=no
"
17281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17282 echo "$ac_t""yes" 1>&6
17283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17284 cat >> confdefs.h <<EOF
17285 #define $ac_tr_func 1
17289 echo "$ac_t""no
" 1>&6
17295 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
17296 echo "configure
:17297: checking
for _expl declaration
" >&5
17297 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17298 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17299 echo $ac_n "(cached
) $ac_c" 1>&6
17304 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17305 ac_cpp='$CXXCPP $CPPFLAGS'
17306 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17307 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17308 cross_compiling=$ac_cv_prog_cxx_cross
17310 cat > conftest.$ac_ext <<EOF
17311 #line 17312 "configure
"
17312 #include "confdefs.h
"
17314 #ifdef HAVE_IEEEFP_H
17315 #include <ieeefp.h>
17322 if { (eval echo configure:17323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17324 glibcpp_cv_func__expl_use=yes
17326 echo "configure
: failed program was
:" >&5
17327 cat conftest.$ac_ext >&5
17329 glibcpp_cv_func__expl_use=no
17333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17334 ac_cpp='$CPP $CPPFLAGS'
17335 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17336 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17337 cross_compiling=$ac_cv_prog_cc_cross
17343 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17345 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17346 for ac_func in _expl
17348 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17349 echo "configure
:17350: checking
for $ac_func" >&5
17350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17351 echo $ac_n "(cached
) $ac_c" 1>&6
17353 cat > conftest.$ac_ext <<EOF
17354 #line 17355 "configure
"
17355 #include "confdefs.h
"
17356 /* System header to define __stub macros and hopefully few prototypes,
17357 which can conflict with char $ac_func(); below. */
17358 #include <assert.h>
17359 /* Override any gcc2 internal prototype to avoid an error. */
17360 /* We use char because int might match the return type of a gcc2
17361 builtin and then its argument prototype would still apply. */
17366 /* The GNU C library defines this for functions which it implements
17367 to always fail with ENOSYS. Some functions are actually named
17368 something starting with __ and the normal name is an alias. */
17369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17377 if { (eval echo configure:17378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17379 eval "ac_cv_func_
$ac_func=yes"
17381 echo "configure
: failed program was
:" >&5
17382 cat conftest.$ac_ext >&5
17384 eval "ac_cv_func_
$ac_func=no
"
17389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17390 echo "$ac_t""yes" 1>&6
17391 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17392 cat >> confdefs.h <<EOF
17393 #define $ac_tr_func 1
17397 echo "$ac_t""no
" 1>&6
17406 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
17407 echo "configure
:17408: checking
for fabsl declaration
" >&5
17408 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17409 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17410 echo $ac_n "(cached
) $ac_c" 1>&6
17415 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17416 ac_cpp='$CXXCPP $CPPFLAGS'
17417 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17418 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17419 cross_compiling=$ac_cv_prog_cxx_cross
17421 cat > conftest.$ac_ext <<EOF
17422 #line 17423 "configure
"
17423 #include "confdefs.h
"
17425 #ifdef HAVE_IEEEFP_H
17426 #include <ieeefp.h>
17433 if { (eval echo configure:17434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17435 glibcpp_cv_func_fabsl_use=yes
17437 echo "configure
: failed program was
:" >&5
17438 cat conftest.$ac_ext >&5
17440 glibcpp_cv_func_fabsl_use=no
17444 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17445 ac_cpp='$CPP $CPPFLAGS'
17446 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17447 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17448 cross_compiling=$ac_cv_prog_cc_cross
17454 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17456 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17457 for ac_func in fabsl
17459 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17460 echo "configure
:17461: checking
for $ac_func" >&5
17461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17462 echo $ac_n "(cached
) $ac_c" 1>&6
17464 cat > conftest.$ac_ext <<EOF
17465 #line 17466 "configure
"
17466 #include "confdefs.h
"
17467 /* System header to define __stub macros and hopefully few prototypes,
17468 which can conflict with char $ac_func(); below. */
17469 #include <assert.h>
17470 /* Override any gcc2 internal prototype to avoid an error. */
17471 /* We use char because int might match the return type of a gcc2
17472 builtin and then its argument prototype would still apply. */
17477 /* The GNU C library defines this for functions which it implements
17478 to always fail with ENOSYS. Some functions are actually named
17479 something starting with __ and the normal name is an alias. */
17480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17488 if { (eval echo configure:17489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17490 eval "ac_cv_func_
$ac_func=yes"
17492 echo "configure
: failed program was
:" >&5
17493 cat conftest.$ac_ext >&5
17495 eval "ac_cv_func_
$ac_func=no
"
17500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17501 echo "$ac_t""yes" 1>&6
17502 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17503 cat >> confdefs.h <<EOF
17504 #define $ac_tr_func 1
17508 echo "$ac_t""no
" 1>&6
17514 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
17515 echo "configure
:17516: checking
for _fabsl declaration
" >&5
17516 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17517 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17518 echo $ac_n "(cached
) $ac_c" 1>&6
17523 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17524 ac_cpp='$CXXCPP $CPPFLAGS'
17525 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17526 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17527 cross_compiling=$ac_cv_prog_cxx_cross
17529 cat > conftest.$ac_ext <<EOF
17530 #line 17531 "configure
"
17531 #include "confdefs.h
"
17533 #ifdef HAVE_IEEEFP_H
17534 #include <ieeefp.h>
17541 if { (eval echo configure:17542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17543 glibcpp_cv_func__fabsl_use=yes
17545 echo "configure
: failed program was
:" >&5
17546 cat conftest.$ac_ext >&5
17548 glibcpp_cv_func__fabsl_use=no
17552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17553 ac_cpp='$CPP $CPPFLAGS'
17554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17555 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17556 cross_compiling=$ac_cv_prog_cc_cross
17562 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17564 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17565 for ac_func in _fabsl
17567 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17568 echo "configure
:17569: checking
for $ac_func" >&5
17569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17570 echo $ac_n "(cached
) $ac_c" 1>&6
17572 cat > conftest.$ac_ext <<EOF
17573 #line 17574 "configure
"
17574 #include "confdefs.h
"
17575 /* System header to define __stub macros and hopefully few prototypes,
17576 which can conflict with char $ac_func(); below. */
17577 #include <assert.h>
17578 /* Override any gcc2 internal prototype to avoid an error. */
17579 /* We use char because int might match the return type of a gcc2
17580 builtin and then its argument prototype would still apply. */
17585 /* The GNU C library defines this for functions which it implements
17586 to always fail with ENOSYS. Some functions are actually named
17587 something starting with __ and the normal name is an alias. */
17588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17596 if { (eval echo configure:17597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17598 eval "ac_cv_func_
$ac_func=yes"
17600 echo "configure
: failed program was
:" >&5
17601 cat conftest.$ac_ext >&5
17603 eval "ac_cv_func_
$ac_func=no
"
17608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17609 echo "$ac_t""yes" 1>&6
17610 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17611 cat >> confdefs.h <<EOF
17612 #define $ac_tr_func 1
17616 echo "$ac_t""no
" 1>&6
17625 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
17626 echo "configure
:17627: checking
for fmodl declaration
" >&5
17627 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17628 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17629 echo $ac_n "(cached
) $ac_c" 1>&6
17634 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17635 ac_cpp='$CXXCPP $CPPFLAGS'
17636 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17637 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17638 cross_compiling=$ac_cv_prog_cxx_cross
17640 cat > conftest.$ac_ext <<EOF
17641 #line 17642 "configure
"
17642 #include "confdefs.h
"
17648 if { (eval echo configure:17649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17650 glibcpp_cv_func_fmodl_use=yes
17652 echo "configure
: failed program was
:" >&5
17653 cat conftest.$ac_ext >&5
17655 glibcpp_cv_func_fmodl_use=no
17659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17660 ac_cpp='$CPP $CPPFLAGS'
17661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17663 cross_compiling=$ac_cv_prog_cc_cross
17669 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17671 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17672 for ac_func in fmodl
17674 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17675 echo "configure
:17676: checking
for $ac_func" >&5
17676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17677 echo $ac_n "(cached
) $ac_c" 1>&6
17679 cat > conftest.$ac_ext <<EOF
17680 #line 17681 "configure
"
17681 #include "confdefs.h
"
17682 /* System header to define __stub macros and hopefully few prototypes,
17683 which can conflict with char $ac_func(); below. */
17684 #include <assert.h>
17685 /* Override any gcc2 internal prototype to avoid an error. */
17686 /* We use char because int might match the return type of a gcc2
17687 builtin and then its argument prototype would still apply. */
17692 /* The GNU C library defines this for functions which it implements
17693 to always fail with ENOSYS. Some functions are actually named
17694 something starting with __ and the normal name is an alias. */
17695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17703 if { (eval echo configure:17704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17705 eval "ac_cv_func_
$ac_func=yes"
17707 echo "configure
: failed program was
:" >&5
17708 cat conftest.$ac_ext >&5
17710 eval "ac_cv_func_
$ac_func=no
"
17715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17716 echo "$ac_t""yes" 1>&6
17717 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17718 cat >> confdefs.h <<EOF
17719 #define $ac_tr_func 1
17723 echo "$ac_t""no
" 1>&6
17729 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
17730 echo "configure
:17731: checking
for _fmodl declaration
" >&5
17731 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17732 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17733 echo $ac_n "(cached
) $ac_c" 1>&6
17738 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17739 ac_cpp='$CXXCPP $CPPFLAGS'
17740 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17741 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17742 cross_compiling=$ac_cv_prog_cxx_cross
17744 cat > conftest.$ac_ext <<EOF
17745 #line 17746 "configure
"
17746 #include "confdefs.h
"
17752 if { (eval echo configure:17753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17754 glibcpp_cv_func__fmodl_use=yes
17756 echo "configure
: failed program was
:" >&5
17757 cat conftest.$ac_ext >&5
17759 glibcpp_cv_func__fmodl_use=no
17763 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17764 ac_cpp='$CPP $CPPFLAGS'
17765 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17766 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17767 cross_compiling=$ac_cv_prog_cc_cross
17773 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17775 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17776 for ac_func in _fmodl
17778 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17779 echo "configure
:17780: checking
for $ac_func" >&5
17780 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17781 echo $ac_n "(cached
) $ac_c" 1>&6
17783 cat > conftest.$ac_ext <<EOF
17784 #line 17785 "configure
"
17785 #include "confdefs.h
"
17786 /* System header to define __stub macros and hopefully few prototypes,
17787 which can conflict with char $ac_func(); below. */
17788 #include <assert.h>
17789 /* Override any gcc2 internal prototype to avoid an error. */
17790 /* We use char because int might match the return type of a gcc2
17791 builtin and then its argument prototype would still apply. */
17796 /* The GNU C library defines this for functions which it implements
17797 to always fail with ENOSYS. Some functions are actually named
17798 something starting with __ and the normal name is an alias. */
17799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17807 if { (eval echo configure:17808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17809 eval "ac_cv_func_
$ac_func=yes"
17811 echo "configure
: failed program was
:" >&5
17812 cat conftest.$ac_ext >&5
17814 eval "ac_cv_func_
$ac_func=no
"
17819 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17820 echo "$ac_t""yes" 1>&6
17821 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17822 cat >> confdefs.h <<EOF
17823 #define $ac_tr_func 1
17827 echo "$ac_t""no
" 1>&6
17836 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
17837 echo "configure
:17838: checking
for frexpl declaration
" >&5
17838 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17839 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17840 echo $ac_n "(cached
) $ac_c" 1>&6
17845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17846 ac_cpp='$CXXCPP $CPPFLAGS'
17847 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17848 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17849 cross_compiling=$ac_cv_prog_cxx_cross
17851 cat > conftest.$ac_ext <<EOF
17852 #line 17853 "configure
"
17853 #include "confdefs.h
"
17859 if { (eval echo configure:17860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17861 glibcpp_cv_func_frexpl_use=yes
17863 echo "configure
: failed program was
:" >&5
17864 cat conftest.$ac_ext >&5
17866 glibcpp_cv_func_frexpl_use=no
17870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17871 ac_cpp='$CPP $CPPFLAGS'
17872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17874 cross_compiling=$ac_cv_prog_cc_cross
17880 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17882 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17883 for ac_func in frexpl
17885 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17886 echo "configure
:17887: checking
for $ac_func" >&5
17887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17888 echo $ac_n "(cached
) $ac_c" 1>&6
17890 cat > conftest.$ac_ext <<EOF
17891 #line 17892 "configure
"
17892 #include "confdefs.h
"
17893 /* System header to define __stub macros and hopefully few prototypes,
17894 which can conflict with char $ac_func(); below. */
17895 #include <assert.h>
17896 /* Override any gcc2 internal prototype to avoid an error. */
17897 /* We use char because int might match the return type of a gcc2
17898 builtin and then its argument prototype would still apply. */
17903 /* The GNU C library defines this for functions which it implements
17904 to always fail with ENOSYS. Some functions are actually named
17905 something starting with __ and the normal name is an alias. */
17906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17914 if { (eval echo configure:17915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17916 eval "ac_cv_func_
$ac_func=yes"
17918 echo "configure
: failed program was
:" >&5
17919 cat conftest.$ac_ext >&5
17921 eval "ac_cv_func_
$ac_func=no
"
17926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17927 echo "$ac_t""yes" 1>&6
17928 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17929 cat >> confdefs.h <<EOF
17930 #define $ac_tr_func 1
17934 echo "$ac_t""no
" 1>&6
17940 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
17941 echo "configure
:17942: checking
for _frexpl declaration
" >&5
17942 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17943 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17944 echo $ac_n "(cached
) $ac_c" 1>&6
17949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17950 ac_cpp='$CXXCPP $CPPFLAGS'
17951 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17952 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17953 cross_compiling=$ac_cv_prog_cxx_cross
17955 cat > conftest.$ac_ext <<EOF
17956 #line 17957 "configure
"
17957 #include "confdefs.h
"
17963 if { (eval echo configure:17964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17965 glibcpp_cv_func__frexpl_use=yes
17967 echo "configure
: failed program was
:" >&5
17968 cat conftest.$ac_ext >&5
17970 glibcpp_cv_func__frexpl_use=no
17974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17975 ac_cpp='$CPP $CPPFLAGS'
17976 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17977 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17978 cross_compiling=$ac_cv_prog_cc_cross
17984 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17986 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17987 for ac_func in _frexpl
17989 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17990 echo "configure
:17991: checking
for $ac_func" >&5
17991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17992 echo $ac_n "(cached
) $ac_c" 1>&6
17994 cat > conftest.$ac_ext <<EOF
17995 #line 17996 "configure
"
17996 #include "confdefs.h
"
17997 /* System header to define __stub macros and hopefully few prototypes,
17998 which can conflict with char $ac_func(); below. */
17999 #include <assert.h>
18000 /* Override any gcc2 internal prototype to avoid an error. */
18001 /* We use char because int might match the return type of a gcc2
18002 builtin and then its argument prototype would still apply. */
18007 /* The GNU C library defines this for functions which it implements
18008 to always fail with ENOSYS. Some functions are actually named
18009 something starting with __ and the normal name is an alias. */
18010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18018 if { (eval echo configure:18019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18020 eval "ac_cv_func_
$ac_func=yes"
18022 echo "configure
: failed program was
:" >&5
18023 cat conftest.$ac_ext >&5
18025 eval "ac_cv_func_
$ac_func=no
"
18030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18031 echo "$ac_t""yes" 1>&6
18032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18033 cat >> confdefs.h <<EOF
18034 #define $ac_tr_func 1
18038 echo "$ac_t""no
" 1>&6
18047 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
18048 echo "configure
:18049: checking
for hypotl declaration
" >&5
18049 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18050 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18051 echo $ac_n "(cached
) $ac_c" 1>&6
18056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18057 ac_cpp='$CXXCPP $CPPFLAGS'
18058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18060 cross_compiling=$ac_cv_prog_cxx_cross
18062 cat > conftest.$ac_ext <<EOF
18063 #line 18064 "configure
"
18064 #include "confdefs.h
"
18070 if { (eval echo configure:18071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18072 glibcpp_cv_func_hypotl_use=yes
18074 echo "configure
: failed program was
:" >&5
18075 cat conftest.$ac_ext >&5
18077 glibcpp_cv_func_hypotl_use=no
18081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18082 ac_cpp='$CPP $CPPFLAGS'
18083 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18084 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18085 cross_compiling=$ac_cv_prog_cc_cross
18091 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18093 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18094 for ac_func in hypotl
18096 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18097 echo "configure
:18098: checking
for $ac_func" >&5
18098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18099 echo $ac_n "(cached
) $ac_c" 1>&6
18101 cat > conftest.$ac_ext <<EOF
18102 #line 18103 "configure
"
18103 #include "confdefs.h
"
18104 /* System header to define __stub macros and hopefully few prototypes,
18105 which can conflict with char $ac_func(); below. */
18106 #include <assert.h>
18107 /* Override any gcc2 internal prototype to avoid an error. */
18108 /* We use char because int might match the return type of a gcc2
18109 builtin and then its argument prototype would still apply. */
18114 /* The GNU C library defines this for functions which it implements
18115 to always fail with ENOSYS. Some functions are actually named
18116 something starting with __ and the normal name is an alias. */
18117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18125 if { (eval echo configure:18126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18127 eval "ac_cv_func_
$ac_func=yes"
18129 echo "configure
: failed program was
:" >&5
18130 cat conftest.$ac_ext >&5
18132 eval "ac_cv_func_
$ac_func=no
"
18137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18138 echo "$ac_t""yes" 1>&6
18139 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18140 cat >> confdefs.h <<EOF
18141 #define $ac_tr_func 1
18145 echo "$ac_t""no
" 1>&6
18151 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
18152 echo "configure
:18153: checking
for _hypotl declaration
" >&5
18153 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18154 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18155 echo $ac_n "(cached
) $ac_c" 1>&6
18160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18161 ac_cpp='$CXXCPP $CPPFLAGS'
18162 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18163 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18164 cross_compiling=$ac_cv_prog_cxx_cross
18166 cat > conftest.$ac_ext <<EOF
18167 #line 18168 "configure
"
18168 #include "confdefs.h
"
18174 if { (eval echo configure:18175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18176 glibcpp_cv_func__hypotl_use=yes
18178 echo "configure
: failed program was
:" >&5
18179 cat conftest.$ac_ext >&5
18181 glibcpp_cv_func__hypotl_use=no
18185 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18186 ac_cpp='$CPP $CPPFLAGS'
18187 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18188 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18189 cross_compiling=$ac_cv_prog_cc_cross
18195 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18197 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18198 for ac_func in _hypotl
18200 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18201 echo "configure
:18202: checking
for $ac_func" >&5
18202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18203 echo $ac_n "(cached
) $ac_c" 1>&6
18205 cat > conftest.$ac_ext <<EOF
18206 #line 18207 "configure
"
18207 #include "confdefs.h
"
18208 /* System header to define __stub macros and hopefully few prototypes,
18209 which can conflict with char $ac_func(); below. */
18210 #include <assert.h>
18211 /* Override any gcc2 internal prototype to avoid an error. */
18212 /* We use char because int might match the return type of a gcc2
18213 builtin and then its argument prototype would still apply. */
18218 /* The GNU C library defines this for functions which it implements
18219 to always fail with ENOSYS. Some functions are actually named
18220 something starting with __ and the normal name is an alias. */
18221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18229 if { (eval echo configure:18230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18231 eval "ac_cv_func_
$ac_func=yes"
18233 echo "configure
: failed program was
:" >&5
18234 cat conftest.$ac_ext >&5
18236 eval "ac_cv_func_
$ac_func=no
"
18241 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18242 echo "$ac_t""yes" 1>&6
18243 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18244 cat >> confdefs.h <<EOF
18245 #define $ac_tr_func 1
18249 echo "$ac_t""no
" 1>&6
18258 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
18259 echo "configure
:18260: checking
for ldexpl declaration
" >&5
18260 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18261 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18262 echo $ac_n "(cached
) $ac_c" 1>&6
18267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18268 ac_cpp='$CXXCPP $CPPFLAGS'
18269 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18270 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18271 cross_compiling=$ac_cv_prog_cxx_cross
18273 cat > conftest.$ac_ext <<EOF
18274 #line 18275 "configure
"
18275 #include "confdefs.h
"
18281 if { (eval echo configure:18282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18283 glibcpp_cv_func_ldexpl_use=yes
18285 echo "configure
: failed program was
:" >&5
18286 cat conftest.$ac_ext >&5
18288 glibcpp_cv_func_ldexpl_use=no
18292 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18293 ac_cpp='$CPP $CPPFLAGS'
18294 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18295 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18296 cross_compiling=$ac_cv_prog_cc_cross
18302 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18304 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18305 for ac_func in ldexpl
18307 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18308 echo "configure
:18309: checking
for $ac_func" >&5
18309 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18310 echo $ac_n "(cached
) $ac_c" 1>&6
18312 cat > conftest.$ac_ext <<EOF
18313 #line 18314 "configure
"
18314 #include "confdefs.h
"
18315 /* System header to define __stub macros and hopefully few prototypes,
18316 which can conflict with char $ac_func(); below. */
18317 #include <assert.h>
18318 /* Override any gcc2 internal prototype to avoid an error. */
18319 /* We use char because int might match the return type of a gcc2
18320 builtin and then its argument prototype would still apply. */
18325 /* The GNU C library defines this for functions which it implements
18326 to always fail with ENOSYS. Some functions are actually named
18327 something starting with __ and the normal name is an alias. */
18328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18336 if { (eval echo configure:18337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18338 eval "ac_cv_func_
$ac_func=yes"
18340 echo "configure
: failed program was
:" >&5
18341 cat conftest.$ac_ext >&5
18343 eval "ac_cv_func_
$ac_func=no
"
18348 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18349 echo "$ac_t""yes" 1>&6
18350 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18351 cat >> confdefs.h <<EOF
18352 #define $ac_tr_func 1
18356 echo "$ac_t""no
" 1>&6
18362 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
18363 echo "configure
:18364: checking
for _ldexpl declaration
" >&5
18364 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18365 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18366 echo $ac_n "(cached
) $ac_c" 1>&6
18371 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18372 ac_cpp='$CXXCPP $CPPFLAGS'
18373 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18374 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18375 cross_compiling=$ac_cv_prog_cxx_cross
18377 cat > conftest.$ac_ext <<EOF
18378 #line 18379 "configure
"
18379 #include "confdefs.h
"
18385 if { (eval echo configure:18386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18387 glibcpp_cv_func__ldexpl_use=yes
18389 echo "configure
: failed program was
:" >&5
18390 cat conftest.$ac_ext >&5
18392 glibcpp_cv_func__ldexpl_use=no
18396 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18397 ac_cpp='$CPP $CPPFLAGS'
18398 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18399 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18400 cross_compiling=$ac_cv_prog_cc_cross
18406 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18408 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18409 for ac_func in _ldexpl
18411 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18412 echo "configure
:18413: checking
for $ac_func" >&5
18413 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18414 echo $ac_n "(cached
) $ac_c" 1>&6
18416 cat > conftest.$ac_ext <<EOF
18417 #line 18418 "configure
"
18418 #include "confdefs.h
"
18419 /* System header to define __stub macros and hopefully few prototypes,
18420 which can conflict with char $ac_func(); below. */
18421 #include <assert.h>
18422 /* Override any gcc2 internal prototype to avoid an error. */
18423 /* We use char because int might match the return type of a gcc2
18424 builtin and then its argument prototype would still apply. */
18429 /* The GNU C library defines this for functions which it implements
18430 to always fail with ENOSYS. Some functions are actually named
18431 something starting with __ and the normal name is an alias. */
18432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18440 if { (eval echo configure:18441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18442 eval "ac_cv_func_
$ac_func=yes"
18444 echo "configure
: failed program was
:" >&5
18445 cat conftest.$ac_ext >&5
18447 eval "ac_cv_func_
$ac_func=no
"
18452 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18453 echo "$ac_t""yes" 1>&6
18454 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18455 cat >> confdefs.h <<EOF
18456 #define $ac_tr_func 1
18460 echo "$ac_t""no
" 1>&6
18469 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
18470 echo "configure
:18471: checking
for logl declaration
" >&5
18471 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18472 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18473 echo $ac_n "(cached
) $ac_c" 1>&6
18478 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18479 ac_cpp='$CXXCPP $CPPFLAGS'
18480 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18481 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18482 cross_compiling=$ac_cv_prog_cxx_cross
18484 cat > conftest.$ac_ext <<EOF
18485 #line 18486 "configure
"
18486 #include "confdefs.h
"
18488 #ifdef HAVE_IEEEFP_H
18489 #include <ieeefp.h>
18496 if { (eval echo configure:18497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18498 glibcpp_cv_func_logl_use=yes
18500 echo "configure
: failed program was
:" >&5
18501 cat conftest.$ac_ext >&5
18503 glibcpp_cv_func_logl_use=no
18507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18508 ac_cpp='$CPP $CPPFLAGS'
18509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18511 cross_compiling=$ac_cv_prog_cc_cross
18517 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18519 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18520 for ac_func in logl
18522 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18523 echo "configure
:18524: checking
for $ac_func" >&5
18524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18525 echo $ac_n "(cached
) $ac_c" 1>&6
18527 cat > conftest.$ac_ext <<EOF
18528 #line 18529 "configure
"
18529 #include "confdefs.h
"
18530 /* System header to define __stub macros and hopefully few prototypes,
18531 which can conflict with char $ac_func(); below. */
18532 #include <assert.h>
18533 /* Override any gcc2 internal prototype to avoid an error. */
18534 /* We use char because int might match the return type of a gcc2
18535 builtin and then its argument prototype would still apply. */
18540 /* The GNU C library defines this for functions which it implements
18541 to always fail with ENOSYS. Some functions are actually named
18542 something starting with __ and the normal name is an alias. */
18543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18551 if { (eval echo configure:18552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18553 eval "ac_cv_func_
$ac_func=yes"
18555 echo "configure
: failed program was
:" >&5
18556 cat conftest.$ac_ext >&5
18558 eval "ac_cv_func_
$ac_func=no
"
18563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18564 echo "$ac_t""yes" 1>&6
18565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18566 cat >> confdefs.h <<EOF
18567 #define $ac_tr_func 1
18571 echo "$ac_t""no
" 1>&6
18577 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
18578 echo "configure
:18579: checking
for _logl declaration
" >&5
18579 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18580 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18581 echo $ac_n "(cached
) $ac_c" 1>&6
18586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18587 ac_cpp='$CXXCPP $CPPFLAGS'
18588 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18589 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18590 cross_compiling=$ac_cv_prog_cxx_cross
18592 cat > conftest.$ac_ext <<EOF
18593 #line 18594 "configure
"
18594 #include "confdefs.h
"
18596 #ifdef HAVE_IEEEFP_H
18597 #include <ieeefp.h>
18604 if { (eval echo configure:18605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18606 glibcpp_cv_func__logl_use=yes
18608 echo "configure
: failed program was
:" >&5
18609 cat conftest.$ac_ext >&5
18611 glibcpp_cv_func__logl_use=no
18615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18616 ac_cpp='$CPP $CPPFLAGS'
18617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18619 cross_compiling=$ac_cv_prog_cc_cross
18625 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18627 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18628 for ac_func in _logl
18630 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18631 echo "configure
:18632: checking
for $ac_func" >&5
18632 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18633 echo $ac_n "(cached
) $ac_c" 1>&6
18635 cat > conftest.$ac_ext <<EOF
18636 #line 18637 "configure
"
18637 #include "confdefs.h
"
18638 /* System header to define __stub macros and hopefully few prototypes,
18639 which can conflict with char $ac_func(); below. */
18640 #include <assert.h>
18641 /* Override any gcc2 internal prototype to avoid an error. */
18642 /* We use char because int might match the return type of a gcc2
18643 builtin and then its argument prototype would still apply. */
18648 /* The GNU C library defines this for functions which it implements
18649 to always fail with ENOSYS. Some functions are actually named
18650 something starting with __ and the normal name is an alias. */
18651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18659 if { (eval echo configure:18660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18661 eval "ac_cv_func_
$ac_func=yes"
18663 echo "configure
: failed program was
:" >&5
18664 cat conftest.$ac_ext >&5
18666 eval "ac_cv_func_
$ac_func=no
"
18671 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18672 echo "$ac_t""yes" 1>&6
18673 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18674 cat >> confdefs.h <<EOF
18675 #define $ac_tr_func 1
18679 echo "$ac_t""no
" 1>&6
18688 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
18689 echo "configure
:18690: checking
for log10l declaration
" >&5
18690 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18691 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18692 echo $ac_n "(cached
) $ac_c" 1>&6
18697 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18698 ac_cpp='$CXXCPP $CPPFLAGS'
18699 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18700 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18701 cross_compiling=$ac_cv_prog_cxx_cross
18703 cat > conftest.$ac_ext <<EOF
18704 #line 18705 "configure
"
18705 #include "confdefs.h
"
18707 #ifdef HAVE_IEEEFP_H
18708 #include <ieeefp.h>
18715 if { (eval echo configure:18716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18717 glibcpp_cv_func_log10l_use=yes
18719 echo "configure
: failed program was
:" >&5
18720 cat conftest.$ac_ext >&5
18722 glibcpp_cv_func_log10l_use=no
18726 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18727 ac_cpp='$CPP $CPPFLAGS'
18728 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18729 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18730 cross_compiling=$ac_cv_prog_cc_cross
18736 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18738 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18739 for ac_func in log10l
18741 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18742 echo "configure
:18743: checking
for $ac_func" >&5
18743 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18744 echo $ac_n "(cached
) $ac_c" 1>&6
18746 cat > conftest.$ac_ext <<EOF
18747 #line 18748 "configure
"
18748 #include "confdefs.h
"
18749 /* System header to define __stub macros and hopefully few prototypes,
18750 which can conflict with char $ac_func(); below. */
18751 #include <assert.h>
18752 /* Override any gcc2 internal prototype to avoid an error. */
18753 /* We use char because int might match the return type of a gcc2
18754 builtin and then its argument prototype would still apply. */
18759 /* The GNU C library defines this for functions which it implements
18760 to always fail with ENOSYS. Some functions are actually named
18761 something starting with __ and the normal name is an alias. */
18762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18770 if { (eval echo configure:18771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18772 eval "ac_cv_func_
$ac_func=yes"
18774 echo "configure
: failed program was
:" >&5
18775 cat conftest.$ac_ext >&5
18777 eval "ac_cv_func_
$ac_func=no
"
18782 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18783 echo "$ac_t""yes" 1>&6
18784 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18785 cat >> confdefs.h <<EOF
18786 #define $ac_tr_func 1
18790 echo "$ac_t""no
" 1>&6
18796 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
18797 echo "configure
:18798: checking
for _log10l declaration
" >&5
18798 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18799 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18800 echo $ac_n "(cached
) $ac_c" 1>&6
18805 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18806 ac_cpp='$CXXCPP $CPPFLAGS'
18807 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18808 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18809 cross_compiling=$ac_cv_prog_cxx_cross
18811 cat > conftest.$ac_ext <<EOF
18812 #line 18813 "configure
"
18813 #include "confdefs.h
"
18815 #ifdef HAVE_IEEEFP_H
18816 #include <ieeefp.h>
18823 if { (eval echo configure:18824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18825 glibcpp_cv_func__log10l_use=yes
18827 echo "configure
: failed program was
:" >&5
18828 cat conftest.$ac_ext >&5
18830 glibcpp_cv_func__log10l_use=no
18834 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18835 ac_cpp='$CPP $CPPFLAGS'
18836 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18837 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18838 cross_compiling=$ac_cv_prog_cc_cross
18844 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18846 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18847 for ac_func in _log10l
18849 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18850 echo "configure
:18851: checking
for $ac_func" >&5
18851 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18852 echo $ac_n "(cached
) $ac_c" 1>&6
18854 cat > conftest.$ac_ext <<EOF
18855 #line 18856 "configure
"
18856 #include "confdefs.h
"
18857 /* System header to define __stub macros and hopefully few prototypes,
18858 which can conflict with char $ac_func(); below. */
18859 #include <assert.h>
18860 /* Override any gcc2 internal prototype to avoid an error. */
18861 /* We use char because int might match the return type of a gcc2
18862 builtin and then its argument prototype would still apply. */
18867 /* The GNU C library defines this for functions which it implements
18868 to always fail with ENOSYS. Some functions are actually named
18869 something starting with __ and the normal name is an alias. */
18870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18878 if { (eval echo configure:18879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18880 eval "ac_cv_func_
$ac_func=yes"
18882 echo "configure
: failed program was
:" >&5
18883 cat conftest.$ac_ext >&5
18885 eval "ac_cv_func_
$ac_func=no
"
18890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18891 echo "$ac_t""yes" 1>&6
18892 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18893 cat >> confdefs.h <<EOF
18894 #define $ac_tr_func 1
18898 echo "$ac_t""no
" 1>&6
18907 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
18908 echo "configure
:18909: checking
for modfl declaration
" >&5
18909 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18910 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18911 echo $ac_n "(cached
) $ac_c" 1>&6
18916 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18917 ac_cpp='$CXXCPP $CPPFLAGS'
18918 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18919 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18920 cross_compiling=$ac_cv_prog_cxx_cross
18922 cat > conftest.$ac_ext <<EOF
18923 #line 18924 "configure
"
18924 #include "confdefs.h
"
18930 if { (eval echo configure:18931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18932 glibcpp_cv_func_modfl_use=yes
18934 echo "configure
: failed program was
:" >&5
18935 cat conftest.$ac_ext >&5
18937 glibcpp_cv_func_modfl_use=no
18941 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18942 ac_cpp='$CPP $CPPFLAGS'
18943 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18944 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18945 cross_compiling=$ac_cv_prog_cc_cross
18951 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18953 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18954 for ac_func in modfl
18956 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18957 echo "configure
:18958: checking
for $ac_func" >&5
18958 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18959 echo $ac_n "(cached
) $ac_c" 1>&6
18961 cat > conftest.$ac_ext <<EOF
18962 #line 18963 "configure
"
18963 #include "confdefs.h
"
18964 /* System header to define __stub macros and hopefully few prototypes,
18965 which can conflict with char $ac_func(); below. */
18966 #include <assert.h>
18967 /* Override any gcc2 internal prototype to avoid an error. */
18968 /* We use char because int might match the return type of a gcc2
18969 builtin and then its argument prototype would still apply. */
18974 /* The GNU C library defines this for functions which it implements
18975 to always fail with ENOSYS. Some functions are actually named
18976 something starting with __ and the normal name is an alias. */
18977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18985 if { (eval echo configure:18986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18987 eval "ac_cv_func_
$ac_func=yes"
18989 echo "configure
: failed program was
:" >&5
18990 cat conftest.$ac_ext >&5
18992 eval "ac_cv_func_
$ac_func=no
"
18997 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18998 echo "$ac_t""yes" 1>&6
18999 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19000 cat >> confdefs.h <<EOF
19001 #define $ac_tr_func 1
19005 echo "$ac_t""no
" 1>&6
19011 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
19012 echo "configure
:19013: checking
for _modfl declaration
" >&5
19013 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
19014 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
19015 echo $ac_n "(cached
) $ac_c" 1>&6
19020 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19021 ac_cpp='$CXXCPP $CPPFLAGS'
19022 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19023 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19024 cross_compiling=$ac_cv_prog_cxx_cross
19026 cat > conftest.$ac_ext <<EOF
19027 #line 19028 "configure
"
19028 #include "confdefs.h
"
19034 if { (eval echo configure:19035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19036 glibcpp_cv_func__modfl_use=yes
19038 echo "configure
: failed program was
:" >&5
19039 cat conftest.$ac_ext >&5
19041 glibcpp_cv_func__modfl_use=no
19045 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19046 ac_cpp='$CPP $CPPFLAGS'
19047 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19048 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19049 cross_compiling=$ac_cv_prog_cc_cross
19055 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19057 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19058 for ac_func in _modfl
19060 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19061 echo "configure
:19062: checking
for $ac_func" >&5
19062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19063 echo $ac_n "(cached
) $ac_c" 1>&6
19065 cat > conftest.$ac_ext <<EOF
19066 #line 19067 "configure
"
19067 #include "confdefs.h
"
19068 /* System header to define __stub macros and hopefully few prototypes,
19069 which can conflict with char $ac_func(); below. */
19070 #include <assert.h>
19071 /* Override any gcc2 internal prototype to avoid an error. */
19072 /* We use char because int might match the return type of a gcc2
19073 builtin and then its argument prototype would still apply. */
19078 /* The GNU C library defines this for functions which it implements
19079 to always fail with ENOSYS. Some functions are actually named
19080 something starting with __ and the normal name is an alias. */
19081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19089 if { (eval echo configure:19090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19091 eval "ac_cv_func_
$ac_func=yes"
19093 echo "configure
: failed program was
:" >&5
19094 cat conftest.$ac_ext >&5
19096 eval "ac_cv_func_
$ac_func=no
"
19101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19102 echo "$ac_t""yes" 1>&6
19103 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19104 cat >> confdefs.h <<EOF
19105 #define $ac_tr_func 1
19109 echo "$ac_t""no
" 1>&6
19118 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
19119 echo "configure
:19120: checking
for powl declaration
" >&5
19120 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19121 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19122 echo $ac_n "(cached
) $ac_c" 1>&6
19127 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19128 ac_cpp='$CXXCPP $CPPFLAGS'
19129 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19130 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19131 cross_compiling=$ac_cv_prog_cxx_cross
19133 cat > conftest.$ac_ext <<EOF
19134 #line 19135 "configure
"
19135 #include "confdefs.h
"
19141 if { (eval echo configure:19142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19143 glibcpp_cv_func_powl_use=yes
19145 echo "configure
: failed program was
:" >&5
19146 cat conftest.$ac_ext >&5
19148 glibcpp_cv_func_powl_use=no
19152 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19153 ac_cpp='$CPP $CPPFLAGS'
19154 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19155 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19156 cross_compiling=$ac_cv_prog_cc_cross
19162 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19164 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19165 for ac_func in powl
19167 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19168 echo "configure
:19169: checking
for $ac_func" >&5
19169 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19170 echo $ac_n "(cached
) $ac_c" 1>&6
19172 cat > conftest.$ac_ext <<EOF
19173 #line 19174 "configure
"
19174 #include "confdefs.h
"
19175 /* System header to define __stub macros and hopefully few prototypes,
19176 which can conflict with char $ac_func(); below. */
19177 #include <assert.h>
19178 /* Override any gcc2 internal prototype to avoid an error. */
19179 /* We use char because int might match the return type of a gcc2
19180 builtin and then its argument prototype would still apply. */
19185 /* The GNU C library defines this for functions which it implements
19186 to always fail with ENOSYS. Some functions are actually named
19187 something starting with __ and the normal name is an alias. */
19188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19196 if { (eval echo configure:19197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19198 eval "ac_cv_func_
$ac_func=yes"
19200 echo "configure
: failed program was
:" >&5
19201 cat conftest.$ac_ext >&5
19203 eval "ac_cv_func_
$ac_func=no
"
19208 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19209 echo "$ac_t""yes" 1>&6
19210 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19211 cat >> confdefs.h <<EOF
19212 #define $ac_tr_func 1
19216 echo "$ac_t""no
" 1>&6
19222 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
19223 echo "configure
:19224: checking
for _powl declaration
" >&5
19224 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19225 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19226 echo $ac_n "(cached
) $ac_c" 1>&6
19231 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19232 ac_cpp='$CXXCPP $CPPFLAGS'
19233 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19234 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19235 cross_compiling=$ac_cv_prog_cxx_cross
19237 cat > conftest.$ac_ext <<EOF
19238 #line 19239 "configure
"
19239 #include "confdefs.h
"
19245 if { (eval echo configure:19246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19247 glibcpp_cv_func__powl_use=yes
19249 echo "configure
: failed program was
:" >&5
19250 cat conftest.$ac_ext >&5
19252 glibcpp_cv_func__powl_use=no
19256 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19257 ac_cpp='$CPP $CPPFLAGS'
19258 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19259 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19260 cross_compiling=$ac_cv_prog_cc_cross
19266 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19268 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19269 for ac_func in _powl
19271 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19272 echo "configure
:19273: checking
for $ac_func" >&5
19273 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19274 echo $ac_n "(cached
) $ac_c" 1>&6
19276 cat > conftest.$ac_ext <<EOF
19277 #line 19278 "configure
"
19278 #include "confdefs.h
"
19279 /* System header to define __stub macros and hopefully few prototypes,
19280 which can conflict with char $ac_func(); below. */
19281 #include <assert.h>
19282 /* Override any gcc2 internal prototype to avoid an error. */
19283 /* We use char because int might match the return type of a gcc2
19284 builtin and then its argument prototype would still apply. */
19289 /* The GNU C library defines this for functions which it implements
19290 to always fail with ENOSYS. Some functions are actually named
19291 something starting with __ and the normal name is an alias. */
19292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19300 if { (eval echo configure:19301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19302 eval "ac_cv_func_
$ac_func=yes"
19304 echo "configure
: failed program was
:" >&5
19305 cat conftest.$ac_ext >&5
19307 eval "ac_cv_func_
$ac_func=no
"
19312 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19313 echo "$ac_t""yes" 1>&6
19314 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19315 cat >> confdefs.h <<EOF
19316 #define $ac_tr_func 1
19320 echo "$ac_t""no
" 1>&6
19329 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
19330 echo "configure
:19331: checking
for sqrtl declaration
" >&5
19331 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19332 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19333 echo $ac_n "(cached
) $ac_c" 1>&6
19338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19339 ac_cpp='$CXXCPP $CPPFLAGS'
19340 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19341 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19342 cross_compiling=$ac_cv_prog_cxx_cross
19344 cat > conftest.$ac_ext <<EOF
19345 #line 19346 "configure
"
19346 #include "confdefs.h
"
19348 #ifdef HAVE_IEEEFP_H
19349 #include <ieeefp.h>
19356 if { (eval echo configure:19357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19358 glibcpp_cv_func_sqrtl_use=yes
19360 echo "configure
: failed program was
:" >&5
19361 cat conftest.$ac_ext >&5
19363 glibcpp_cv_func_sqrtl_use=no
19367 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19368 ac_cpp='$CPP $CPPFLAGS'
19369 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19370 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19371 cross_compiling=$ac_cv_prog_cc_cross
19377 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19379 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19380 for ac_func in sqrtl
19382 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19383 echo "configure
:19384: checking
for $ac_func" >&5
19384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19385 echo $ac_n "(cached
) $ac_c" 1>&6
19387 cat > conftest.$ac_ext <<EOF
19388 #line 19389 "configure
"
19389 #include "confdefs.h
"
19390 /* System header to define __stub macros and hopefully few prototypes,
19391 which can conflict with char $ac_func(); below. */
19392 #include <assert.h>
19393 /* Override any gcc2 internal prototype to avoid an error. */
19394 /* We use char because int might match the return type of a gcc2
19395 builtin and then its argument prototype would still apply. */
19400 /* The GNU C library defines this for functions which it implements
19401 to always fail with ENOSYS. Some functions are actually named
19402 something starting with __ and the normal name is an alias. */
19403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19411 if { (eval echo configure:19412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19413 eval "ac_cv_func_
$ac_func=yes"
19415 echo "configure
: failed program was
:" >&5
19416 cat conftest.$ac_ext >&5
19418 eval "ac_cv_func_
$ac_func=no
"
19423 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19424 echo "$ac_t""yes" 1>&6
19425 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19426 cat >> confdefs.h <<EOF
19427 #define $ac_tr_func 1
19431 echo "$ac_t""no
" 1>&6
19437 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
19438 echo "configure
:19439: checking
for _sqrtl declaration
" >&5
19439 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19440 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19441 echo $ac_n "(cached
) $ac_c" 1>&6
19446 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19447 ac_cpp='$CXXCPP $CPPFLAGS'
19448 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19449 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19450 cross_compiling=$ac_cv_prog_cxx_cross
19452 cat > conftest.$ac_ext <<EOF
19453 #line 19454 "configure
"
19454 #include "confdefs.h
"
19456 #ifdef HAVE_IEEEFP_H
19457 #include <ieeefp.h>
19464 if { (eval echo configure:19465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19466 glibcpp_cv_func__sqrtl_use=yes
19468 echo "configure
: failed program was
:" >&5
19469 cat conftest.$ac_ext >&5
19471 glibcpp_cv_func__sqrtl_use=no
19475 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19476 ac_cpp='$CPP $CPPFLAGS'
19477 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19478 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19479 cross_compiling=$ac_cv_prog_cc_cross
19485 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19487 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19488 for ac_func in _sqrtl
19490 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19491 echo "configure
:19492: checking
for $ac_func" >&5
19492 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19493 echo $ac_n "(cached
) $ac_c" 1>&6
19495 cat > conftest.$ac_ext <<EOF
19496 #line 19497 "configure
"
19497 #include "confdefs.h
"
19498 /* System header to define __stub macros and hopefully few prototypes,
19499 which can conflict with char $ac_func(); below. */
19500 #include <assert.h>
19501 /* Override any gcc2 internal prototype to avoid an error. */
19502 /* We use char because int might match the return type of a gcc2
19503 builtin and then its argument prototype would still apply. */
19508 /* The GNU C library defines this for functions which it implements
19509 to always fail with ENOSYS. Some functions are actually named
19510 something starting with __ and the normal name is an alias. */
19511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19519 if { (eval echo configure:19520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19521 eval "ac_cv_func_
$ac_func=yes"
19523 echo "configure
: failed program was
:" >&5
19524 cat conftest.$ac_ext >&5
19526 eval "ac_cv_func_
$ac_func=no
"
19531 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19532 echo "$ac_t""yes" 1>&6
19533 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19534 cat >> confdefs.h <<EOF
19535 #define $ac_tr_func 1
19539 echo "$ac_t""no
" 1>&6
19548 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
19549 echo "configure
:19550: checking
for sincosl declaration
" >&5
19550 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19551 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19552 echo $ac_n "(cached
) $ac_c" 1>&6
19557 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19558 ac_cpp='$CXXCPP $CPPFLAGS'
19559 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19560 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19561 cross_compiling=$ac_cv_prog_cxx_cross
19563 cat > conftest.$ac_ext <<EOF
19564 #line 19565 "configure
"
19565 #include "confdefs.h
"
19571 if { (eval echo configure:19572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19573 glibcpp_cv_func_sincosl_use=yes
19575 echo "configure
: failed program was
:" >&5
19576 cat conftest.$ac_ext >&5
19578 glibcpp_cv_func_sincosl_use=no
19582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19583 ac_cpp='$CPP $CPPFLAGS'
19584 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19585 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19586 cross_compiling=$ac_cv_prog_cc_cross
19592 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19594 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19595 for ac_func in sincosl
19597 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19598 echo "configure
:19599: checking
for $ac_func" >&5
19599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19600 echo $ac_n "(cached
) $ac_c" 1>&6
19602 cat > conftest.$ac_ext <<EOF
19603 #line 19604 "configure
"
19604 #include "confdefs.h
"
19605 /* System header to define __stub macros and hopefully few prototypes,
19606 which can conflict with char $ac_func(); below. */
19607 #include <assert.h>
19608 /* Override any gcc2 internal prototype to avoid an error. */
19609 /* We use char because int might match the return type of a gcc2
19610 builtin and then its argument prototype would still apply. */
19615 /* The GNU C library defines this for functions which it implements
19616 to always fail with ENOSYS. Some functions are actually named
19617 something starting with __ and the normal name is an alias. */
19618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19626 if { (eval echo configure:19627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19628 eval "ac_cv_func_
$ac_func=yes"
19630 echo "configure
: failed program was
:" >&5
19631 cat conftest.$ac_ext >&5
19633 eval "ac_cv_func_
$ac_func=no
"
19638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19639 echo "$ac_t""yes" 1>&6
19640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19641 cat >> confdefs.h <<EOF
19642 #define $ac_tr_func 1
19646 echo "$ac_t""no
" 1>&6
19652 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
19653 echo "configure
:19654: checking
for _sincosl declaration
" >&5
19654 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19655 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19656 echo $ac_n "(cached
) $ac_c" 1>&6
19661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19662 ac_cpp='$CXXCPP $CPPFLAGS'
19663 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19664 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19665 cross_compiling=$ac_cv_prog_cxx_cross
19667 cat > conftest.$ac_ext <<EOF
19668 #line 19669 "configure
"
19669 #include "confdefs.h
"
19675 if { (eval echo configure:19676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19677 glibcpp_cv_func__sincosl_use=yes
19679 echo "configure
: failed program was
:" >&5
19680 cat conftest.$ac_ext >&5
19682 glibcpp_cv_func__sincosl_use=no
19686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19687 ac_cpp='$CPP $CPPFLAGS'
19688 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19689 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19690 cross_compiling=$ac_cv_prog_cc_cross
19696 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19698 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19699 for ac_func in _sincosl
19701 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19702 echo "configure
:19703: checking
for $ac_func" >&5
19703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19704 echo $ac_n "(cached
) $ac_c" 1>&6
19706 cat > conftest.$ac_ext <<EOF
19707 #line 19708 "configure
"
19708 #include "confdefs.h
"
19709 /* System header to define __stub macros and hopefully few prototypes,
19710 which can conflict with char $ac_func(); below. */
19711 #include <assert.h>
19712 /* Override any gcc2 internal prototype to avoid an error. */
19713 /* We use char because int might match the return type of a gcc2
19714 builtin and then its argument prototype would still apply. */
19719 /* The GNU C library defines this for functions which it implements
19720 to always fail with ENOSYS. Some functions are actually named
19721 something starting with __ and the normal name is an alias. */
19722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19730 if { (eval echo configure:19731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19732 eval "ac_cv_func_
$ac_func=yes"
19734 echo "configure
: failed program was
:" >&5
19735 cat conftest.$ac_ext >&5
19737 eval "ac_cv_func_
$ac_func=no
"
19742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19743 echo "$ac_t""yes" 1>&6
19744 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19745 cat >> confdefs.h <<EOF
19746 #define $ac_tr_func 1
19750 echo "$ac_t""no
" 1>&6
19759 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
19760 echo "configure
:19761: checking
for finitel declaration
" >&5
19761 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19762 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19763 echo $ac_n "(cached
) $ac_c" 1>&6
19768 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19769 ac_cpp='$CXXCPP $CPPFLAGS'
19770 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19771 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19772 cross_compiling=$ac_cv_prog_cxx_cross
19774 cat > conftest.$ac_ext <<EOF
19775 #line 19776 "configure
"
19776 #include "confdefs.h
"
19778 #ifdef HAVE_IEEEFP_H
19779 #include <ieeefp.h>
19786 if { (eval echo configure:19787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19788 glibcpp_cv_func_finitel_use=yes
19790 echo "configure
: failed program was
:" >&5
19791 cat conftest.$ac_ext >&5
19793 glibcpp_cv_func_finitel_use=no
19797 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19798 ac_cpp='$CPP $CPPFLAGS'
19799 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19800 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19801 cross_compiling=$ac_cv_prog_cc_cross
19807 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19809 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19810 for ac_func in finitel
19812 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19813 echo "configure
:19814: checking
for $ac_func" >&5
19814 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19815 echo $ac_n "(cached
) $ac_c" 1>&6
19817 cat > conftest.$ac_ext <<EOF
19818 #line 19819 "configure
"
19819 #include "confdefs.h
"
19820 /* System header to define __stub macros and hopefully few prototypes,
19821 which can conflict with char $ac_func(); below. */
19822 #include <assert.h>
19823 /* Override any gcc2 internal prototype to avoid an error. */
19824 /* We use char because int might match the return type of a gcc2
19825 builtin and then its argument prototype would still apply. */
19830 /* The GNU C library defines this for functions which it implements
19831 to always fail with ENOSYS. Some functions are actually named
19832 something starting with __ and the normal name is an alias. */
19833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19841 if { (eval echo configure:19842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19843 eval "ac_cv_func_
$ac_func=yes"
19845 echo "configure
: failed program was
:" >&5
19846 cat conftest.$ac_ext >&5
19848 eval "ac_cv_func_
$ac_func=no
"
19853 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19854 echo "$ac_t""yes" 1>&6
19855 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19856 cat >> confdefs.h <<EOF
19857 #define $ac_tr_func 1
19861 echo "$ac_t""no
" 1>&6
19867 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
19868 echo "configure
:19869: checking
for _finitel declaration
" >&5
19869 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19870 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19871 echo $ac_n "(cached
) $ac_c" 1>&6
19876 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19877 ac_cpp='$CXXCPP $CPPFLAGS'
19878 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19879 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19880 cross_compiling=$ac_cv_prog_cxx_cross
19882 cat > conftest.$ac_ext <<EOF
19883 #line 19884 "configure
"
19884 #include "confdefs.h
"
19886 #ifdef HAVE_IEEEFP_H
19887 #include <ieeefp.h>
19894 if { (eval echo configure:19895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19896 glibcpp_cv_func__finitel_use=yes
19898 echo "configure
: failed program was
:" >&5
19899 cat conftest.$ac_ext >&5
19901 glibcpp_cv_func__finitel_use=no
19905 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19906 ac_cpp='$CPP $CPPFLAGS'
19907 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19908 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19909 cross_compiling=$ac_cv_prog_cc_cross
19915 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19917 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19918 for ac_func in _finitel
19920 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19921 echo "configure
:19922: checking
for $ac_func" >&5
19922 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19923 echo $ac_n "(cached
) $ac_c" 1>&6
19925 cat > conftest.$ac_ext <<EOF
19926 #line 19927 "configure
"
19927 #include "confdefs.h
"
19928 /* System header to define __stub macros and hopefully few prototypes,
19929 which can conflict with char $ac_func(); below. */
19930 #include <assert.h>
19931 /* Override any gcc2 internal prototype to avoid an error. */
19932 /* We use char because int might match the return type of a gcc2
19933 builtin and then its argument prototype would still apply. */
19938 /* The GNU C library defines this for functions which it implements
19939 to always fail with ENOSYS. Some functions are actually named
19940 something starting with __ and the normal name is an alias. */
19941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19949 if { (eval echo configure:19950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19951 eval "ac_cv_func_
$ac_func=yes"
19953 echo "configure
: failed program was
:" >&5
19954 cat conftest.$ac_ext >&5
19956 eval "ac_cv_func_
$ac_func=no
"
19961 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19962 echo "$ac_t""yes" 1>&6
19963 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19964 cat >> confdefs.h <<EOF
19965 #define $ac_tr_func 1
19969 echo "$ac_t""no
" 1>&6
19979 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
19980 echo "configure
:19981: checking
for _float trig functions
" >&5
19981 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19982 echo $ac_n "(cached
) $ac_c" 1>&6
19987 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19988 ac_cpp='$CXXCPP $CPPFLAGS'
19989 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19990 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19991 cross_compiling=$ac_cv_prog_cxx_cross
19993 cat > conftest.$ac_ext <<EOF
19994 #line 19995 "configure
"
19995 #include "confdefs.h
"
19998 `for x in _acosf _asinf _atanf \
19999 _cosf _sinf _tanf \
20000 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
20003 if { (eval echo configure:20004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20005 glibcpp_cv_func__float_trig_use=yes
20007 echo "configure
: failed program was
:" >&5
20008 cat conftest.$ac_ext >&5
20010 glibcpp_cv_func__float_trig_use=no
20014 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20015 ac_cpp='$CPP $CPPFLAGS'
20016 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20017 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20018 cross_compiling=$ac_cv_prog_cc_cross
20022 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
20023 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
20024 for ac_func in _acosf _asinf _atanf \
20025 _cosf _sinf _tanf \
20026 _coshf _sinhf _tanhf
20028 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20029 echo "configure
:20030: checking
for $ac_func" >&5
20030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20031 echo $ac_n "(cached
) $ac_c" 1>&6
20033 cat > conftest.$ac_ext <<EOF
20034 #line 20035 "configure
"
20035 #include "confdefs.h
"
20036 /* System header to define __stub macros and hopefully few prototypes,
20037 which can conflict with char $ac_func(); below. */
20038 #include <assert.h>
20039 /* Override any gcc2 internal prototype to avoid an error. */
20040 /* We use char because int might match the return type of a gcc2
20041 builtin and then its argument prototype would still apply. */
20046 /* The GNU C library defines this for functions which it implements
20047 to always fail with ENOSYS. Some functions are actually named
20048 something starting with __ and the normal name is an alias. */
20049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20057 if { (eval echo configure:20058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20059 eval "ac_cv_func_
$ac_func=yes"
20061 echo "configure
: failed program was
:" >&5
20062 cat conftest.$ac_ext >&5
20064 eval "ac_cv_func_
$ac_func=no
"
20069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20070 echo "$ac_t""yes" 1>&6
20071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20072 cat >> confdefs.h <<EOF
20073 #define $ac_tr_func 1
20077 echo "$ac_t""no
" 1>&6
20084 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
20085 echo "configure
:20086: checking
for _float round functions
" >&5
20086 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20087 echo $ac_n "(cached
) $ac_c" 1>&6
20092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20093 ac_cpp='$CXXCPP $CPPFLAGS'
20094 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20095 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20096 cross_compiling=$ac_cv_prog_cxx_cross
20098 cat > conftest.$ac_ext <<EOF
20099 #line 20100 "configure
"
20100 #include "confdefs.h
"
20103 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20106 if { (eval echo configure:20107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20108 glibcpp_cv_func__float_round_use=yes
20110 echo "configure
: failed program was
:" >&5
20111 cat conftest.$ac_ext >&5
20113 glibcpp_cv_func__float_round_use=no
20117 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20118 ac_cpp='$CPP $CPPFLAGS'
20119 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20120 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20121 cross_compiling=$ac_cv_prog_cc_cross
20125 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20126 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20127 for ac_func in _ceilf _floorf
20129 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20130 echo "configure
:20131: checking
for $ac_func" >&5
20131 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20132 echo $ac_n "(cached
) $ac_c" 1>&6
20134 cat > conftest.$ac_ext <<EOF
20135 #line 20136 "configure
"
20136 #include "confdefs.h
"
20137 /* System header to define __stub macros and hopefully few prototypes,
20138 which can conflict with char $ac_func(); below. */
20139 #include <assert.h>
20140 /* Override any gcc2 internal prototype to avoid an error. */
20141 /* We use char because int might match the return type of a gcc2
20142 builtin and then its argument prototype would still apply. */
20147 /* The GNU C library defines this for functions which it implements
20148 to always fail with ENOSYS. Some functions are actually named
20149 something starting with __ and the normal name is an alias. */
20150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20158 if { (eval echo configure:20159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20160 eval "ac_cv_func_
$ac_func=yes"
20162 echo "configure
: failed program was
:" >&5
20163 cat conftest.$ac_ext >&5
20165 eval "ac_cv_func_
$ac_func=no
"
20170 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20171 echo "$ac_t""yes" 1>&6
20172 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20173 cat >> confdefs.h <<EOF
20174 #define $ac_tr_func 1
20178 echo "$ac_t""no
" 1>&6
20186 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
20187 echo "configure
:20188: checking
for _long double trig functions
" >&5
20188 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20189 echo $ac_n "(cached
) $ac_c" 1>&6
20194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20195 ac_cpp='$CXXCPP $CPPFLAGS'
20196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20198 cross_compiling=$ac_cv_prog_cxx_cross
20200 cat > conftest.$ac_ext <<EOF
20201 #line 20202 "configure
"
20202 #include "confdefs.h
"
20205 `for x in _acosl _asinl _atanl \
20206 _cosl _sinl _tanl \
20207 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20210 if { (eval echo configure:20211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20212 glibcpp_cv_func__long_double_trig_use=yes
20214 echo "configure
: failed program was
:" >&5
20215 cat conftest.$ac_ext >&5
20217 glibcpp_cv_func__long_double_trig_use=no
20221 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20222 ac_cpp='$CPP $CPPFLAGS'
20223 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20224 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20225 cross_compiling=$ac_cv_prog_cc_cross
20229 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20230 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20231 for ac_func in _acosl _asinl _atanl \
20232 _cosl _sinl _tanl \
20233 _coshl _sinhl _tanhl
20235 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20236 echo "configure
:20237: checking
for $ac_func" >&5
20237 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20238 echo $ac_n "(cached
) $ac_c" 1>&6
20240 cat > conftest.$ac_ext <<EOF
20241 #line 20242 "configure
"
20242 #include "confdefs.h
"
20243 /* System header to define __stub macros and hopefully few prototypes,
20244 which can conflict with char $ac_func(); below. */
20245 #include <assert.h>
20246 /* Override any gcc2 internal prototype to avoid an error. */
20247 /* We use char because int might match the return type of a gcc2
20248 builtin and then its argument prototype would still apply. */
20253 /* The GNU C library defines this for functions which it implements
20254 to always fail with ENOSYS. Some functions are actually named
20255 something starting with __ and the normal name is an alias. */
20256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20264 if { (eval echo configure:20265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20266 eval "ac_cv_func_
$ac_func=yes"
20268 echo "configure
: failed program was
:" >&5
20269 cat conftest.$ac_ext >&5
20271 eval "ac_cv_func_
$ac_func=no
"
20276 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20277 echo "$ac_t""yes" 1>&6
20278 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20279 cat >> confdefs.h <<EOF
20280 #define $ac_tr_func 1
20284 echo "$ac_t""no
" 1>&6
20291 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
20292 echo "configure
:20293: checking
for _long double round functions
" >&5
20293 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20294 echo $ac_n "(cached
) $ac_c" 1>&6
20299 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20300 ac_cpp='$CXXCPP $CPPFLAGS'
20301 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20302 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20303 cross_compiling=$ac_cv_prog_cxx_cross
20305 cat > conftest.$ac_ext <<EOF
20306 #line 20307 "configure
"
20307 #include "confdefs.h
"
20310 `for x in _ceill _floorl; do echo "$x (0);"; done`
20313 if { (eval echo configure:20314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20315 glibcpp_cv_func__long_double_round_use=yes
20317 echo "configure
: failed program was
:" >&5
20318 cat conftest.$ac_ext >&5
20320 glibcpp_cv_func__long_double_round_use=no
20324 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20325 ac_cpp='$CPP $CPPFLAGS'
20326 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20327 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20328 cross_compiling=$ac_cv_prog_cc_cross
20332 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20333 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20334 for ac_func in _ceill _floorl
20336 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20337 echo "configure
:20338: checking
for $ac_func" >&5
20338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20339 echo $ac_n "(cached
) $ac_c" 1>&6
20341 cat > conftest.$ac_ext <<EOF
20342 #line 20343 "configure
"
20343 #include "confdefs.h
"
20344 /* System header to define __stub macros and hopefully few prototypes,
20345 which can conflict with char $ac_func(); below. */
20346 #include <assert.h>
20347 /* Override any gcc2 internal prototype to avoid an error. */
20348 /* We use char because int might match the return type of a gcc2
20349 builtin and then its argument prototype would still apply. */
20354 /* The GNU C library defines this for functions which it implements
20355 to always fail with ENOSYS. Some functions are actually named
20356 something starting with __ and the normal name is an alias. */
20357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20365 if { (eval echo configure:20366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20367 eval "ac_cv_func_
$ac_func=yes"
20369 echo "configure
: failed program was
:" >&5
20370 cat conftest.$ac_ext >&5
20372 eval "ac_cv_func_
$ac_func=no
"
20377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20378 echo "$ac_t""yes" 1>&6
20379 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20380 cat >> confdefs.h <<EOF
20381 #define $ac_tr_func 1
20385 echo "$ac_t""no
" 1>&6
20392 LIBS="$ac_save_LIBS"
20393 CXXFLAGS="$ac_save_CXXFLAGS"
20396 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
20397 echo "configure
:20398: checking
for main
in -lm" >&5
20398 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20399 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20400 echo $ac_n "(cached
) $ac_c" 1>&6
20402 ac_save_LIBS="$LIBS"
20404 cat > conftest.$ac_ext <<EOF
20405 #line 20406 "configure
"
20406 #include "confdefs.h
"
20412 if { (eval echo configure:20413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20414 eval "ac_cv_lib_
$ac_lib_var=yes"
20416 echo "configure
: failed program was
:" >&5
20417 cat conftest.$ac_ext >&5
20419 eval "ac_cv_lib_
$ac_lib_var=no
"
20422 LIBS="$ac_save_LIBS"
20425 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20426 echo "$ac_t""yes" 1>&6
20427 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20428 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20429 cat >> confdefs.h <<EOF
20430 #define $ac_tr_lib 1
20436 echo "$ac_t""no
" 1>&6
20439 for ac_func in nan copysignf
20441 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20442 echo "configure
:20443: checking
for $ac_func" >&5
20443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20444 echo $ac_n "(cached
) $ac_c" 1>&6
20446 cat > conftest.$ac_ext <<EOF
20447 #line 20448 "configure
"
20448 #include "confdefs.h
"
20449 /* System header to define __stub macros and hopefully few prototypes,
20450 which can conflict with char $ac_func(); below. */
20451 #include <assert.h>
20452 /* Override any gcc2 internal prototype to avoid an error. */
20453 /* We use char because int might match the return type of a gcc2
20454 builtin and then its argument prototype would still apply. */
20459 /* The GNU C library defines this for functions which it implements
20460 to always fail with ENOSYS. Some functions are actually named
20461 something starting with __ and the normal name is an alias. */
20462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20470 if { (eval echo configure:20471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20472 eval "ac_cv_func_
$ac_func=yes"
20474 echo "configure
: failed program was
:" >&5
20475 cat conftest.$ac_ext >&5
20477 eval "ac_cv_func_
$ac_func=no
"
20482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20483 echo "$ac_t""yes" 1>&6
20484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20485 cat >> confdefs.h <<EOF
20486 #define $ac_tr_func 1
20490 echo "$ac_t""no
" 1>&6
20491 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
20496 for ac_func in __signbit
20498 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20499 echo "configure
:20500: checking
for $ac_func" >&5
20500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20501 echo $ac_n "(cached
) $ac_c" 1>&6
20503 cat > conftest.$ac_ext <<EOF
20504 #line 20505 "configure
"
20505 #include "confdefs.h
"
20506 /* System header to define __stub macros and hopefully few prototypes,
20507 which can conflict with char $ac_func(); below. */
20508 #include <assert.h>
20509 /* Override any gcc2 internal prototype to avoid an error. */
20510 /* We use char because int might match the return type of a gcc2
20511 builtin and then its argument prototype would still apply. */
20516 /* The GNU C library defines this for functions which it implements
20517 to always fail with ENOSYS. Some functions are actually named
20518 something starting with __ and the normal name is an alias. */
20519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20527 if { (eval echo configure:20528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20529 eval "ac_cv_func_
$ac_func=yes"
20531 echo "configure
: failed program was
:" >&5
20532 cat conftest.$ac_ext >&5
20534 eval "ac_cv_func_
$ac_func=no
"
20539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20540 echo "$ac_t""yes" 1>&6
20541 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20542 cat >> confdefs.h <<EOF
20543 #define $ac_tr_func 1
20547 echo "$ac_t""no
" 1>&6
20548 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
20552 for ac_func in __signbitf
20554 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20555 echo "configure
:20556: checking
for $ac_func" >&5
20556 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20557 echo $ac_n "(cached
) $ac_c" 1>&6
20559 cat > conftest.$ac_ext <<EOF
20560 #line 20561 "configure
"
20561 #include "confdefs.h
"
20562 /* System header to define __stub macros and hopefully few prototypes,
20563 which can conflict with char $ac_func(); below. */
20564 #include <assert.h>
20565 /* Override any gcc2 internal prototype to avoid an error. */
20566 /* We use char because int might match the return type of a gcc2
20567 builtin and then its argument prototype would still apply. */
20572 /* The GNU C library defines this for functions which it implements
20573 to always fail with ENOSYS. Some functions are actually named
20574 something starting with __ and the normal name is an alias. */
20575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20583 if { (eval echo configure:20584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20585 eval "ac_cv_func_
$ac_func=yes"
20587 echo "configure
: failed program was
:" >&5
20588 cat conftest.$ac_ext >&5
20590 eval "ac_cv_func_
$ac_func=no
"
20595 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20596 echo "$ac_t""yes" 1>&6
20597 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20598 cat >> confdefs.h <<EOF
20599 #define $ac_tr_func 1
20603 echo "$ac_t""no
" 1>&6
20604 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
20609 if test x$ac_cv_func_copysignl = x"yes"; then
20610 for ac_func in __signbitl
20612 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20613 echo "configure
:20614: checking
for $ac_func" >&5
20614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20615 echo $ac_n "(cached
) $ac_c" 1>&6
20617 cat > conftest.$ac_ext <<EOF
20618 #line 20619 "configure
"
20619 #include "confdefs.h
"
20620 /* System header to define __stub macros and hopefully few prototypes,
20621 which can conflict with char $ac_func(); below. */
20622 #include <assert.h>
20623 /* Override any gcc2 internal prototype to avoid an error. */
20624 /* We use char because int might match the return type of a gcc2
20625 builtin and then its argument prototype would still apply. */
20630 /* The GNU C library defines this for functions which it implements
20631 to always fail with ENOSYS. Some functions are actually named
20632 something starting with __ and the normal name is an alias. */
20633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20641 if { (eval echo configure:20642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20643 eval "ac_cv_func_
$ac_func=yes"
20645 echo "configure
: failed program was
:" >&5
20646 cat conftest.$ac_ext >&5
20648 eval "ac_cv_func_
$ac_func=no
"
20653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20654 echo "$ac_t""yes" 1>&6
20655 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20656 cat >> confdefs.h <<EOF
20657 #define $ac_tr_func 1
20661 echo "$ac_t""no
" 1>&6
20662 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
20672 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
20673 echo "configure
:20674: checking
for mbstate_t
" >&5
20674 cat > conftest.$ac_ext <<EOF
20675 #line 20676 "configure
"
20676 #include "confdefs.h
"
20679 mbstate_t teststate;
20682 if { (eval echo configure:20683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20686 echo "configure
: failed program was
:" >&5
20687 cat conftest.$ac_ext >&5
20692 echo "$ac_t""$have_mbstate_t" 1>&6
20693 if test x"$have_mbstate_t" = xyes; then
20694 cat >> confdefs.h <<\EOF
20695 #define HAVE_MBSTATE_T 1
20700 for ac_hdr in wchar.h
20702 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20703 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
20704 echo "configure
:20705: checking
for $ac_hdr" >&5
20705 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20706 echo $ac_n "(cached
) $ac_c" 1>&6
20708 cat > conftest.$ac_ext <<EOF
20709 #line 20710 "configure
"
20710 #include "confdefs.h
"
20713 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20714 { (eval echo configure:20715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20716 if test -z "$ac_err"; then
20718 eval "ac_cv_header_
$ac_safe=yes"
20721 echo "configure
: failed program was
:" >&5
20722 cat conftest.$ac_ext >&5
20724 eval "ac_cv_header_
$ac_safe=no
"
20728 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20729 echo "$ac_t""yes" 1>&6
20730 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20731 cat >> confdefs.h <<EOF
20732 #define $ac_tr_hdr 1
20736 echo "$ac_t""no
" 1>&6
20741 for ac_hdr in wctype.h
20743 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20744 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
20745 echo "configure
:20746: checking
for $ac_hdr" >&5
20746 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20747 echo $ac_n "(cached
) $ac_c" 1>&6
20749 cat > conftest.$ac_ext <<EOF
20750 #line 20751 "configure
"
20751 #include "confdefs.h
"
20754 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20755 { (eval echo configure:20756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20756 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20757 if test -z "$ac_err"; then
20759 eval "ac_cv_header_
$ac_safe=yes"
20762 echo "configure
: failed program was
:" >&5
20763 cat conftest.$ac_ext >&5
20765 eval "ac_cv_header_
$ac_safe=no
"
20769 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20770 echo "$ac_t""yes" 1>&6
20771 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20772 cat >> confdefs.h <<EOF
20773 #define $ac_tr_hdr 1
20775 ac_has_wctype_h=yes
20777 echo "$ac_t""no
" 1>&6
20783 if test x"$ac_has_wchar_h" = xyes &&
20784 test x"$ac_has_wctype_h" = xyes &&
20785 test x"$enable_c_mbchar" != xno; then
20787 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
20788 echo "configure
:20789: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
20789 cat > conftest.$ac_ext <<EOF
20790 #line 20791 "configure
"
20791 #include "confdefs.h
"
20794 int i = WCHAR_MIN; int j = WCHAR_MAX;
20797 if { (eval echo configure:20798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20799 has_wchar_minmax=yes
20801 echo "configure
: failed program was
:" >&5
20802 cat conftest.$ac_ext >&5
20804 has_wchar_minmax=no
20807 echo "$ac_t""$has_wchar_minmax" 1>&6
20809 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
20810 echo "configure
:20811: checking
for WEOF
" >&5
20811 cat > conftest.$ac_ext <<EOF
20812 #line 20813 "configure
"
20813 #include "confdefs.h
"
20816 #include <stddef.h>
20821 if { (eval echo configure:20822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20825 echo "configure
: failed program was
:" >&5
20826 cat conftest.$ac_ext >&5
20831 echo "$ac_t""$has_weof" 1>&6
20834 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20836 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20837 echo "configure
:20838: checking
for $ac_func" >&5
20838 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20839 echo $ac_n "(cached
) $ac_c" 1>&6
20841 cat > conftest.$ac_ext <<EOF
20842 #line 20843 "configure
"
20843 #include "confdefs.h
"
20844 /* System header to define __stub macros and hopefully few prototypes,
20845 which can conflict with char $ac_func(); below. */
20846 #include <assert.h>
20847 /* Override any gcc2 internal prototype to avoid an error. */
20848 /* We use char because int might match the return type of a gcc2
20849 builtin and then its argument prototype would still apply. */
20854 /* The GNU C library defines this for functions which it implements
20855 to always fail with ENOSYS. Some functions are actually named
20856 something starting with __ and the normal name is an alias. */
20857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20865 if { (eval echo configure:20866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20867 eval "ac_cv_func_
$ac_func=yes"
20869 echo "configure
: failed program was
:" >&5
20870 cat conftest.$ac_ext >&5
20872 eval "ac_cv_func_
$ac_func=no
"
20877 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20878 echo "$ac_t""yes" 1>&6
20879 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20880 cat >> confdefs.h <<EOF
20881 #define $ac_tr_func 1
20885 echo "$ac_t""no
" 1>&6
20892 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20893 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20894 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20895 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20896 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20897 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20899 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20900 echo "configure
:20901: checking
for $ac_func" >&5
20901 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20902 echo $ac_n "(cached
) $ac_c" 1>&6
20904 cat > conftest.$ac_ext <<EOF
20905 #line 20906 "configure
"
20906 #include "confdefs.h
"
20907 /* System header to define __stub macros and hopefully few prototypes,
20908 which can conflict with char $ac_func(); below. */
20909 #include <assert.h>
20910 /* Override any gcc2 internal prototype to avoid an error. */
20911 /* We use char because int might match the return type of a gcc2
20912 builtin and then its argument prototype would still apply. */
20917 /* The GNU C library defines this for functions which it implements
20918 to always fail with ENOSYS. Some functions are actually named
20919 something starting with __ and the normal name is an alias. */
20920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20928 if { (eval echo configure:20929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20930 eval "ac_cv_func_
$ac_func=yes"
20932 echo "configure
: failed program was
:" >&5
20933 cat conftest.$ac_ext >&5
20935 eval "ac_cv_func_
$ac_func=no
"
20940 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20941 echo "$ac_t""yes" 1>&6
20942 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20943 cat >> confdefs.h <<EOF
20944 #define $ac_tr_func 1
20948 echo "$ac_t""no
" 1>&6
20955 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
20956 echo "configure
:20957: checking
for ISO C99 wchar_t support
" >&5
20957 if test x"$has_weof" = xyes &&
20958 test x"$has_wchar_minmax" = xyes &&
20959 test x"$ac_wfuncs" = xyes; then
20960 ac_isoC99_wchar_t=yes
20962 ac_isoC99_wchar_t=no
20964 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20966 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
20967 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
20968 echo "configure
:20969: checking
for iconv.h
" >&5
20969 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20970 echo $ac_n "(cached
) $ac_c" 1>&6
20972 cat > conftest.$ac_ext <<EOF
20973 #line 20974 "configure
"
20974 #include "confdefs.h
"
20977 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20978 { (eval echo configure:20979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20979 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20980 if test -z "$ac_err"; then
20982 eval "ac_cv_header_
$ac_safe=yes"
20985 echo "configure
: failed program was
:" >&5
20986 cat conftest.$ac_ext >&5
20988 eval "ac_cv_header_
$ac_safe=no
"
20992 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20993 echo "$ac_t""yes" 1>&6
20996 echo "$ac_t""no
" 1>&6
21000 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
21001 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
21002 echo "configure
:21003: checking
for langinfo.h
" >&5
21003 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21004 echo $ac_n "(cached
) $ac_c" 1>&6
21006 cat > conftest.$ac_ext <<EOF
21007 #line 21008 "configure
"
21008 #include "confdefs.h
"
21009 #include <langinfo.h>
21011 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21012 { (eval echo configure:21013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21013 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21014 if test -z "$ac_err"; then
21016 eval "ac_cv_header_
$ac_safe=yes"
21019 echo "configure
: failed program was
:" >&5
21020 cat conftest.$ac_ext >&5
21022 eval "ac_cv_header_
$ac_safe=no
"
21026 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21027 echo "$ac_t""yes" 1>&6
21028 ac_has_langinfo_h=yes
21030 echo "$ac_t""no
" 1>&6
21031 ac_has_langinfo_h=no
21035 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
21036 echo "configure
:21037: checking
for iconv in -liconv" >&5
21037 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
21038 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21039 echo $ac_n "(cached
) $ac_c" 1>&6
21041 ac_save_LIBS="$LIBS"
21042 LIBS="-liconv $LIBS"
21043 cat > conftest.$ac_ext <<EOF
21044 #line 21045 "configure
"
21045 #include "confdefs.h
"
21046 /* Override any gcc2 internal prototype to avoid an error. */
21047 /* We use char because int might match the return type of a gcc2
21048 builtin and then its argument prototype would still apply. */
21055 if { (eval echo configure:21056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21057 eval "ac_cv_lib_
$ac_lib_var=yes"
21059 echo "configure
: failed program was
:" >&5
21060 cat conftest.$ac_ext >&5
21062 eval "ac_cv_lib_
$ac_lib_var=no
"
21065 LIBS="$ac_save_LIBS"
21068 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21069 echo "$ac_t""yes" 1>&6
21072 echo "$ac_t""no
" 1>&6
21075 ac_save_LIBS="$LIBS"
21076 LIBS="$LIBS $libiconv"
21078 for ac_func in iconv_open iconv_close iconv nl_langinfo
21080 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21081 echo "configure
:21082: checking
for $ac_func" >&5
21082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21083 echo $ac_n "(cached
) $ac_c" 1>&6
21085 cat > conftest.$ac_ext <<EOF
21086 #line 21087 "configure
"
21087 #include "confdefs.h
"
21088 /* System header to define __stub macros and hopefully few prototypes,
21089 which can conflict with char $ac_func(); below. */
21090 #include <assert.h>
21091 /* Override any gcc2 internal prototype to avoid an error. */
21092 /* We use char because int might match the return type of a gcc2
21093 builtin and then its argument prototype would still apply. */
21098 /* The GNU C library defines this for functions which it implements
21099 to always fail with ENOSYS. Some functions are actually named
21100 something starting with __ and the normal name is an alias. */
21101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21109 if { (eval echo configure:21110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21111 eval "ac_cv_func_
$ac_func=yes"
21113 echo "configure
: failed program was
:" >&5
21114 cat conftest.$ac_ext >&5
21116 eval "ac_cv_func_
$ac_func=no
"
21121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21122 echo "$ac_t""yes" 1>&6
21123 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21124 cat >> confdefs.h <<EOF
21125 #define $ac_tr_func 1
21130 echo "$ac_t""no
" 1>&6
21136 LIBS="$ac_save_LIBS"
21138 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
21139 echo "configure
:21140: checking
for XPG2 wchar_t support
" >&5
21140 if test x"$ac_has_iconv_h" = xyes &&
21141 test x"$ac_has_langinfo_h" = xyes &&
21142 test x"$ac_XPG2funcs" = xyes; then
21143 ac_XPG2_wchar_t=yes
21147 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21149 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
21150 echo "configure
:21151: checking
for enabled wchar_t specializations
" >&5
21151 if test x"$ac_isoC99_wchar_t" = xyes &&
21152 test x"$ac_XPG2_wchar_t" = xyes; then
21153 cat >> confdefs.h <<\EOF
21154 #define _GLIBCPP_USE_WCHAR_T 1
21157 echo "$ac_t"""yes"" 1>&6
21159 echo "$ac_t"""no"" 1>&6
21162 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
21166 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21167 ac_save_CXXFLAGS="$CXXFLAGS"
21168 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21171 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
21172 echo "configure
:21173: checking
for strtold declaration
" >&5
21173 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21174 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21175 echo $ac_n "(cached
) $ac_c" 1>&6
21180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21181 ac_cpp='$CXXCPP $CPPFLAGS'
21182 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21183 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21184 cross_compiling=$ac_cv_prog_cxx_cross
21186 cat > conftest.$ac_ext <<EOF
21187 #line 21188 "configure
"
21188 #include "confdefs.h
"
21189 #include <stdlib.h>
21194 if { (eval echo configure:21195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21196 glibcpp_cv_func_strtold_use=yes
21198 echo "configure
: failed program was
:" >&5
21199 cat conftest.$ac_ext >&5
21201 glibcpp_cv_func_strtold_use=no
21205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21206 ac_cpp='$CPP $CPPFLAGS'
21207 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21208 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21209 cross_compiling=$ac_cv_prog_cc_cross
21215 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21216 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21217 for ac_func in strtold
21219 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21220 echo "configure
:21221: checking
for $ac_func" >&5
21221 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21222 echo $ac_n "(cached
) $ac_c" 1>&6
21224 cat > conftest.$ac_ext <<EOF
21225 #line 21226 "configure
"
21226 #include "confdefs.h
"
21227 /* System header to define __stub macros and hopefully few prototypes,
21228 which can conflict with char $ac_func(); below. */
21229 #include <assert.h>
21230 /* Override any gcc2 internal prototype to avoid an error. */
21231 /* We use char because int might match the return type of a gcc2
21232 builtin and then its argument prototype would still apply. */
21237 /* The GNU C library defines this for functions which it implements
21238 to always fail with ENOSYS. Some functions are actually named
21239 something starting with __ and the normal name is an alias. */
21240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21248 if { (eval echo configure:21249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21250 eval "ac_cv_func_
$ac_func=yes"
21252 echo "configure
: failed program was
:" >&5
21253 cat conftest.$ac_ext >&5
21255 eval "ac_cv_func_
$ac_func=no
"
21260 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21261 echo "$ac_t""yes" 1>&6
21262 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21263 cat >> confdefs.h <<EOF
21264 #define $ac_tr_func 1
21268 echo "$ac_t""no
" 1>&6
21275 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
21276 echo "configure
:21277: checking
for strtof declaration
" >&5
21277 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21278 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21279 echo $ac_n "(cached
) $ac_c" 1>&6
21284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21285 ac_cpp='$CXXCPP $CPPFLAGS'
21286 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21287 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21288 cross_compiling=$ac_cv_prog_cxx_cross
21290 cat > conftest.$ac_ext <<EOF
21291 #line 21292 "configure
"
21292 #include "confdefs.h
"
21293 #include <stdlib.h>
21298 if { (eval echo configure:21299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21300 glibcpp_cv_func_strtof_use=yes
21302 echo "configure
: failed program was
:" >&5
21303 cat conftest.$ac_ext >&5
21305 glibcpp_cv_func_strtof_use=no
21309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21310 ac_cpp='$CPP $CPPFLAGS'
21311 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21312 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21313 cross_compiling=$ac_cv_prog_cc_cross
21319 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21320 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21321 for ac_func in strtof
21323 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21324 echo "configure
:21325: checking
for $ac_func" >&5
21325 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21326 echo $ac_n "(cached
) $ac_c" 1>&6
21328 cat > conftest.$ac_ext <<EOF
21329 #line 21330 "configure
"
21330 #include "confdefs.h
"
21331 /* System header to define __stub macros and hopefully few prototypes,
21332 which can conflict with char $ac_func(); below. */
21333 #include <assert.h>
21334 /* Override any gcc2 internal prototype to avoid an error. */
21335 /* We use char because int might match the return type of a gcc2
21336 builtin and then its argument prototype would still apply. */
21341 /* The GNU C library defines this for functions which it implements
21342 to always fail with ENOSYS. Some functions are actually named
21343 something starting with __ and the normal name is an alias. */
21344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21352 if { (eval echo configure:21353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21354 eval "ac_cv_func_
$ac_func=yes"
21356 echo "configure
: failed program was
:" >&5
21357 cat conftest.$ac_ext >&5
21359 eval "ac_cv_func_
$ac_func=no
"
21364 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21365 echo "$ac_t""yes" 1>&6
21366 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21367 cat >> confdefs.h <<EOF
21368 #define $ac_tr_func 1
21372 echo "$ac_t""no
" 1>&6
21378 for ac_func in drand48
21380 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21381 echo "configure
:21382: checking
for $ac_func" >&5
21382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21383 echo $ac_n "(cached
) $ac_c" 1>&6
21385 cat > conftest.$ac_ext <<EOF
21386 #line 21387 "configure
"
21387 #include "confdefs.h
"
21388 /* System header to define __stub macros and hopefully few prototypes,
21389 which can conflict with char $ac_func(); below. */
21390 #include <assert.h>
21391 /* Override any gcc2 internal prototype to avoid an error. */
21392 /* We use char because int might match the return type of a gcc2
21393 builtin and then its argument prototype would still apply. */
21398 /* The GNU C library defines this for functions which it implements
21399 to always fail with ENOSYS. Some functions are actually named
21400 something starting with __ and the normal name is an alias. */
21401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21409 if { (eval echo configure:21410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21411 eval "ac_cv_func_
$ac_func=yes"
21413 echo "configure
: failed program was
:" >&5
21414 cat conftest.$ac_ext >&5
21416 eval "ac_cv_func_
$ac_func=no
"
21421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21422 echo "$ac_t""yes" 1>&6
21423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21424 cat >> confdefs.h <<EOF
21425 #define $ac_tr_func 1
21429 echo "$ac_t""no
" 1>&6
21434 CXXFLAGS="$ac_save_CXXFLAGS"
21437 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
21438 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
21439 echo "configure
:21440: checking
for locale.h
" >&5
21440 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21441 echo $ac_n "(cached
) $ac_c" 1>&6
21443 cat > conftest.$ac_ext <<EOF
21444 #line 21445 "configure
"
21445 #include "confdefs.h
"
21446 #include <locale.h>
21448 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21449 { (eval echo configure:21450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21451 if test -z "$ac_err"; then
21453 eval "ac_cv_header_
$ac_safe=yes"
21456 echo "configure
: failed program was
:" >&5
21457 cat conftest.$ac_ext >&5
21459 eval "ac_cv_header_
$ac_safe=no
"
21463 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21464 echo "$ac_t""yes" 1>&6
21466 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
21467 echo "configure
:21468: checking
for LC_MESSAGES
" >&5
21468 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21469 echo $ac_n "(cached
) $ac_c" 1>&6
21471 cat > conftest.$ac_ext <<EOF
21472 #line 21473 "configure
"
21473 #include "confdefs.h
"
21474 #include <locale.h>
21479 if { (eval echo configure:21480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21481 ac_cv_val_LC_MESSAGES=yes
21483 echo "configure
: failed program was
:" >&5
21484 cat conftest.$ac_ext >&5
21486 ac_cv_val_LC_MESSAGES=no
21491 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21492 if test $ac_cv_val_LC_MESSAGES = yes; then
21493 cat >> confdefs.h <<\EOF
21494 #define HAVE_LC_MESSAGES 1
21500 echo "$ac_t""no
" 1>&6
21505 cat > conftest.$ac_ext <<EOF
21506 #line 21507 "configure
"
21507 #include "confdefs.h
"
21509 #include <setjmp.h>
21512 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21515 if { (eval echo configure:21516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21517 cat >> confdefs.h <<\EOF
21518 #define HAVE_SIGSETJMP 1
21523 echo "configure
: failed program was
:" >&5
21524 cat conftest.$ac_ext >&5
21528 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
21530 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21531 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21532 echo "configure
:21533: checking
for $ac_hdr" >&5
21533 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21534 echo $ac_n "(cached
) $ac_c" 1>&6
21536 cat > conftest.$ac_ext <<EOF
21537 #line 21538 "configure
"
21538 #include "confdefs.h
"
21541 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21542 { (eval echo configure:21543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21543 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21544 if test -z "$ac_err"; then
21546 eval "ac_cv_header_
$ac_safe=yes"
21549 echo "configure
: failed program was
:" >&5
21550 cat conftest.$ac_ext >&5
21552 eval "ac_cv_header_
$ac_safe=no
"
21556 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21557 echo "$ac_t""yes" 1>&6
21558 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21559 cat >> confdefs.h <<EOF
21560 #define $ac_tr_hdr 1
21564 echo "$ac_t""no
" 1>&6
21568 for ac_func in getpagesize
21570 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21571 echo "configure
:21572: checking
for $ac_func" >&5
21572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21573 echo $ac_n "(cached
) $ac_c" 1>&6
21575 cat > conftest.$ac_ext <<EOF
21576 #line 21577 "configure
"
21577 #include "confdefs.h
"
21578 /* System header to define __stub macros and hopefully few prototypes,
21579 which can conflict with char $ac_func(); below. */
21580 #include <assert.h>
21581 /* Override any gcc2 internal prototype to avoid an error. */
21582 /* We use char because int might match the return type of a gcc2
21583 builtin and then its argument prototype would still apply. */
21588 /* The GNU C library defines this for functions which it implements
21589 to always fail with ENOSYS. Some functions are actually named
21590 something starting with __ and the normal name is an alias. */
21591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21599 if { (eval echo configure:21600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21601 eval "ac_cv_func_
$ac_func=yes"
21603 echo "configure
: failed program was
:" >&5
21604 cat conftest.$ac_ext >&5
21606 eval "ac_cv_func_
$ac_func=no
"
21611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21612 echo "$ac_t""yes" 1>&6
21613 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21614 cat >> confdefs.h <<EOF
21615 #define $ac_tr_func 1
21619 echo "$ac_t""no
" 1>&6
21623 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
21624 echo "configure
:21625: checking
for working mmap
" >&5
21625 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21626 echo $ac_n "(cached
) $ac_c" 1>&6
21628 if test "$cross_compiling" = yes; then
21629 ac_cv_func_mmap_fixed_mapped=no
21631 cat > conftest.$ac_ext <<EOF
21632 #line 21633 "configure
"
21633 #include "confdefs.h
"
21635 /* Thanks to Mike Haertel and Jim Avera for this test.
21636 Here is a matrix of mmap possibilities:
21637 mmap private not fixed
21638 mmap private fixed at somewhere currently unmapped
21639 mmap private fixed at somewhere already mapped
21640 mmap shared not fixed
21641 mmap shared fixed at somewhere currently unmapped
21642 mmap shared fixed at somewhere already mapped
21643 For private mappings, we should verify that changes cannot be read()
21644 back from the file, nor mmap's back from the file at a different
21645 address. (There have been systems where private was not correctly
21646 implemented like the infamous i386 svr4.0, and systems where the
21647 VM page cache was not coherent with the filesystem buffer cache
21648 like early versions of FreeBSD and possibly contemporary NetBSD.)
21649 For shared mappings, we should conversely verify that changes get
21650 propogated back to all the places they're supposed to be.
21652 Grep wants private fixed already mapped.
21653 The main things grep needs to know about mmap are:
21654 * does it exist and is it safe to write into the mmap'd area
21655 * how to use it (BSD variants) */
21656 #include <sys/types.h>
21658 #include <sys/mman.h>
21660 #if HAVE_SYS_TYPES_H
21661 # include <sys/types.h>
21665 # include <stdlib.h>
21668 #if HAVE_SYS_STAT_H
21669 # include <sys/stat.h>
21673 # include <unistd.h>
21676 /* This mess was copied from the GNU getpagesize.h. */
21677 #ifndef HAVE_GETPAGESIZE
21679 /* Assume that all systems that can run configure have sys/param.h. */
21680 # ifndef HAVE_SYS_PARAM_H
21681 # define HAVE_SYS_PARAM_H 1
21684 # ifdef _SC_PAGESIZE
21685 # define getpagesize() sysconf(_SC_PAGESIZE)
21686 # else /* no _SC_PAGESIZE */
21687 # ifdef HAVE_SYS_PARAM_H
21688 # include <sys/param.h>
21689 # ifdef EXEC_PAGESIZE
21690 # define getpagesize() EXEC_PAGESIZE
21691 # else /* no EXEC_PAGESIZE */
21693 # define getpagesize() NBPG * CLSIZE
21696 # endif /* no CLSIZE */
21697 # else /* no NBPG */
21699 # define getpagesize() NBPC
21700 # else /* no NBPC */
21702 # define getpagesize() PAGESIZE
21703 # endif /* PAGESIZE */
21704 # endif /* no NBPC */
21705 # endif /* no NBPG */
21706 # endif /* no EXEC_PAGESIZE */
21707 # else /* no HAVE_SYS_PARAM_H */
21708 # define getpagesize() 8192 /* punt totally */
21709 # endif /* no HAVE_SYS_PARAM_H */
21710 # endif /* no _SC_PAGESIZE */
21712 #endif /* no HAVE_GETPAGESIZE */
21715 extern "C
" { void *malloc(unsigned); }
21723 char *data, *data2, *data3;
21727 pagesize = getpagesize();
21730 * First, make a file with some known garbage in it.
21732 data = malloc(pagesize);
21735 for (i = 0; i < pagesize; ++i)
21736 *(data + i) = rand();
21738 fd = creat("conftestmmap
", 0600);
21741 if (write(fd, data, pagesize) != pagesize)
21746 * Next, try to mmap the file at a fixed address which
21747 * already has something else allocated at it. If we can,
21748 * also make sure that we see the same garbage.
21750 fd = open("conftestmmap
", O_RDWR);
21753 data2 = malloc(2 * pagesize);
21756 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21757 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21758 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21760 for (i = 0; i < pagesize; ++i)
21761 if (*(data + i) != *(data2 + i))
21765 * Finally, make sure that changes to the mapped area
21766 * do not percolate back to the file as seen by read().
21767 * (This is a bug on some variants of i386 svr4.0.)
21769 for (i = 0; i < pagesize; ++i)
21770 *(data2 + i) = *(data2 + i) + 1;
21771 data3 = malloc(pagesize);
21774 if (read(fd, data3, pagesize) != pagesize)
21776 for (i = 0; i < pagesize; ++i)
21777 if (*(data + i) != *(data3 + i))
21780 unlink("conftestmmap
");
21785 if { (eval echo configure:21786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21787 ac_cv_func_mmap_fixed_mapped=yes
21789 echo "configure
: failed program was
:" >&5
21790 cat conftest.$ac_ext >&5
21792 ac_cv_func_mmap_fixed_mapped=no
21799 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21800 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21801 cat >> confdefs.h <<\EOF
21802 #define HAVE_MMAP 1
21808 # Establish limits on memory usage during 'make check'
21811 setrlimit_have_headers=yes
21812 for ac_hdr in unistd.h sys/time.h sys/resource.h
21814 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21815 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21816 echo "configure
:21817: checking
for $ac_hdr" >&5
21817 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21818 echo $ac_n "(cached
) $ac_c" 1>&6
21820 cat > conftest.$ac_ext <<EOF
21821 #line 21822 "configure
"
21822 #include "confdefs.h
"
21825 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21826 { (eval echo configure:21827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21828 if test -z "$ac_err"; then
21830 eval "ac_cv_header_
$ac_safe=yes"
21833 echo "configure
: failed program was
:" >&5
21834 cat conftest.$ac_ext >&5
21836 eval "ac_cv_header_
$ac_safe=no
"
21840 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21841 echo "$ac_t""yes" 1>&6
21842 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21843 cat >> confdefs.h <<EOF
21844 #define $ac_tr_hdr 1
21848 echo "$ac_t""no
" 1>&6
21849 setrlimit_have_headers=no
21853 # If don't have the headers, then we can't run the tests now, and we
21854 # won't be seeing any of these during testsuite compilation.
21855 if test $setrlimit_have_headers = yes; then
21856 # Can't do these in a loop, else the resulting syntax is wrong.
21858 cat > conftest.$ac_ext <<EOF
21859 #line 21860 "configure
"
21860 #include "confdefs.h
"
21861 #include <unistd.h>
21862 #include <sys/time.h>
21863 #include <sys/resource.h>
21866 int f = RLIMIT_DATA ;
21869 if { (eval echo configure:21870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21873 echo "configure
: failed program was
:" >&5
21874 cat conftest.$ac_ext >&5
21879 cat >> confdefs.h <<EOF
21880 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21885 cat > conftest.$ac_ext <<EOF
21886 #line 21887 "configure
"
21887 #include "confdefs.h
"
21888 #include <unistd.h>
21889 #include <sys/time.h>
21890 #include <sys/resource.h>
21893 int f = RLIMIT_RSS ;
21896 if { (eval echo configure:21897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21900 echo "configure
: failed program was
:" >&5
21901 cat conftest.$ac_ext >&5
21906 cat >> confdefs.h <<EOF
21907 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21912 cat > conftest.$ac_ext <<EOF
21913 #line 21914 "configure
"
21914 #include "confdefs.h
"
21915 #include <unistd.h>
21916 #include <sys/time.h>
21917 #include <sys/resource.h>
21920 int f = RLIMIT_VMEM ;
21923 if { (eval echo configure:21924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21927 echo "configure
: failed program was
:" >&5
21928 cat conftest.$ac_ext >&5
21933 cat >> confdefs.h <<EOF
21934 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21939 cat > conftest.$ac_ext <<EOF
21940 #line 21941 "configure
"
21941 #include "confdefs.h
"
21942 #include <unistd.h>
21943 #include <sys/time.h>
21944 #include <sys/resource.h>
21947 int f = RLIMIT_AS ;
21950 if { (eval echo configure:21951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21954 echo "configure
: failed program was
:" >&5
21955 cat conftest.$ac_ext >&5
21960 cat >> confdefs.h <<EOF
21961 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21966 # Check for rlimit, setrlimit.
21967 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21968 echo $ac_n "(cached
) $ac_c" 1>&6
21971 cat > conftest.$ac_ext <<EOF
21972 #line 21973 "configure
"
21973 #include "confdefs.h
"
21974 #include <unistd.h>
21975 #include <sys/time.h>
21976 #include <sys/resource.h>
21979 struct rlimit r; setrlimit(0, &r);
21982 if { (eval echo configure:21983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21986 echo "configure
: failed program was
:" >&5
21987 cat conftest.$ac_ext >&5
21997 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
21998 echo "configure
:21999: checking
for testsuite memory limit support
" >&5
21999 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
22001 cat >> confdefs.h <<\EOF
22002 #define _GLIBCPP_MEM_LIMITS 1
22008 echo "$ac_t""$ac_mem_limits" 1>&6
22011 # Look for setenv, so that extended locale tests can be performed.
22013 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
22014 echo "configure
:22015: checking
for setenv declaration
" >&5
22015 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
22016 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
22017 echo $ac_n "(cached
) $ac_c" 1>&6
22022 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22023 ac_cpp='$CXXCPP $CPPFLAGS'
22024 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22025 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22026 cross_compiling=$ac_cv_prog_cxx_cross
22028 cat > conftest.$ac_ext <<EOF
22029 #line 22030 "configure
"
22030 #include "confdefs.h
"
22031 #include <stdlib.h>
22036 if { (eval echo configure:22037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22038 glibcpp_cv_func_setenv_use=yes
22040 echo "configure
: failed program was
:" >&5
22041 cat conftest.$ac_ext >&5
22043 glibcpp_cv_func_setenv_use=no
22047 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22048 ac_cpp='$CPP $CPPFLAGS'
22049 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22050 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22051 cross_compiling=$ac_cv_prog_cc_cross
22057 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
22058 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
22059 for ac_func in setenv
22061 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22062 echo "configure
:22063: checking
for $ac_func" >&5
22063 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22064 echo $ac_n "(cached
) $ac_c" 1>&6
22066 cat > conftest.$ac_ext <<EOF
22067 #line 22068 "configure
"
22068 #include "confdefs.h
"
22069 /* System header to define __stub macros and hopefully few prototypes,
22070 which can conflict with char $ac_func(); below. */
22071 #include <assert.h>
22072 /* Override any gcc2 internal prototype to avoid an error. */
22073 /* We use char because int might match the return type of a gcc2
22074 builtin and then its argument prototype would still apply. */
22079 /* The GNU C library defines this for functions which it implements
22080 to always fail with ENOSYS. Some functions are actually named
22081 something starting with __ and the normal name is an alias. */
22082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22090 if { (eval echo configure:22091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22092 eval "ac_cv_func_
$ac_func=yes"
22094 echo "configure
: failed program was
:" >&5
22095 cat conftest.$ac_ext >&5
22097 eval "ac_cv_func_
$ac_func=no
"
22102 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22103 echo "$ac_t""yes" 1>&6
22104 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22105 cat >> confdefs.h <<EOF
22106 #define $ac_tr_func 1
22110 echo "$ac_t""no
" 1>&6
22119 # This depends on the possibly-skipped linker test above.
22120 # Check whether --enable-symvers or --disable-symvers was given.
22121 if test "${enable_symvers+set}" = set; then
22122 enableval="$enable_symvers"
22123 case "$enableval" in
22124 yes) enable_symvers=yes ;;
22125 no) enable_symvers=no ;;
22126 # other names here, just as sanity checks
22127 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22128 gnu) enable_symvers=$enableval ;;
22129 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
22135 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22136 # don't know enough about $LD to do tricks...
22137 if test x$enable_shared = xno ||
22139 test x$glibcpp_gnu_ld_version = x; then
22143 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22144 if test $enable_symvers != no; then
22145 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
22146 echo "configure
:22147: checking
for shared libgcc
" >&5
22147 ac_save_CFLAGS="$CFLAGS"
22149 cat > conftest.$ac_ext <<EOF
22150 #line 22151 "configure
"
22151 #include "confdefs.h
"
22157 if { (eval echo configure:22158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22159 glibcpp_shared_libgcc=yes
22161 echo "configure
: failed program was
:" >&5
22162 cat conftest.$ac_ext >&5
22164 glibcpp_shared_libgcc=no
22167 CFLAGS="$ac_save_CFLAGS"
22168 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22171 # For GNU ld, we need at least this version. It's 2.12 in the same format
22172 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22173 glibcpp_min_gnu_ld_version=21200
22175 # Check to see if unspecified "yes" value can win, given results
22177 if test $enable_symvers = yes ; then
22178 if test $with_gnu_ld = yes &&
22179 test $glibcpp_shared_libgcc = yes ;
22181 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22184 ac_test_CFLAGS="${CFLAGS+set}"
22185 ac_save_CFLAGS="$CFLAGS"
22186 CFLAGS='-shared -Wl,--version-script,conftest.map'
22189 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22191 cat > conftest.$ac_ext <<EOF
22192 #line 22193 "configure
"
22193 #include "confdefs.h
"
22199 if { (eval echo configure:22200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22203 echo "configure
: failed program was
:" >&5
22204 cat conftest.$ac_ext >&5
22207 if test "$ac_test_CFLAGS" = set; then
22208 CFLAGS="$ac_save_CFLAGS"
22210 # this is the suspicious part
22216 # just fail for now
22221 case $enable_symvers in
22223 LINKER_MAP=config/linker-map.dummy
22226 LINKER_MAP=config/linker-map.gnu
22233 if test $enable_symvers != no; then
22234 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22235 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22237 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22238 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22240 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
22241 echo "configure
:22242: checking versioning on shared library symbols
" >&5
22242 echo "$ac_t""$enable_symvers" 1>&6
22245 # Propagate the target-specific source directories through the build chain.
22246 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH and
22247 # CPULIMITSH [might] use it, and they only get used here.)
22248 OS_INC_SRCDIR=config/${os_include_dir}
22249 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
22250 CPU_LIMITS_INC_SRCDIR=config/${CPULIMITSH}
22255 # Set up cross-compile flags
22258 if test "$CANADIAN" = yes; then
22266 cat > confcache <<\EOF
22267 # This file is a shell script that caches the results of configure
22268 # tests run on this system so they can be shared between configure
22269 # scripts and configure runs. It is not useful on other systems.
22270 # If it contains results you don't want to keep, you may remove or edit it.
22272 # By default, configure uses ./config.cache as the cache file,
22273 # creating it if it does not exist already. You can give configure
22274 # the --cache-file=FILE option to use a different cache file; that is
22275 # what configure does when it calls configure scripts in
22276 # subdirectories, so they share the cache.
22277 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22278 # config.status only pays attention to the cache file if you give it the
22279 # --recheck option to rerun configure.
22282 # The following way of writing the cache mishandles newlines in values,
22283 # but we know of no workaround that is simple, portable, and efficient.
22284 # So, don't put newlines in cache variables' values.
22285 # Ultrix sh set writes to stderr and can't be redirected directly,
22286 # and sets the high bit in the cache file unless we assign to the vars.
22288 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22290 # `set' does not quote correctly, so add quotes (double-quote substitution
22291 # turns \\\\ into \\, and sed turns \\ into \).
22293 -e "s
/'/'\\\\''/g
" \
22294 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
22297 # `set' quotes correctly as required by POSIX, so do not add quotes.
22298 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22301 if cmp -s $cache_file confcache; then
22304 if test -w $cache_file; then
22305 echo "updating cache
$cache_file"
22306 cat confcache > $cache_file
22308 echo "not updating unwritable cache
$cache_file"
22314 if test "${multilib}" = "yes"; then
22315 multilib_arg="--enable-multilib"
22320 # Export all the install information
22322 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22323 # exported correctly in GLIBCPP_CONFIGURE.
22324 glibcpp_toolexecdir=no
22325 glibcpp_toolexeclibdir=no
22326 glibcpp_prefixdir=${prefix}
22328 # Process the option --with-gxx-include-dir=<path to include-files directory>
22329 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
22330 echo "configure
:22331: checking
for --with-gxx-include-dir" >&5
22331 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22332 if test "${with_gxx_include_dir+set}" = set; then
22333 withval="$with_gxx_include_dir"
22334 case "${withval}" in
22336 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
22343 gxx_include_dir=${withval}
22350 echo "$ac_t""$gxx_include_dir" 1>&6
22352 # Process the option "--enable-version-specific-runtime-libs"
22353 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
22354 echo "configure
:22355: checking
for --enable-version-specific-runtime-libs" >&5
22355 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22356 if test "${enable_version_specific_runtime_libs+set}" = set; then
22357 enableval="$enable_version_specific_runtime_libs"
22358 case "$enableval" in
22359 yes) version_specific_libs=yes ;;
22360 no) version_specific_libs=no ;;
22361 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
22364 version_specific_libs=no
22366 # Option set, now we can test it.
22367 echo "$ac_t""$version_specific_libs" 1>&6
22369 # Get the gcc version number. This is lifted from gcc/configure.in
22370 echo $ac_n "checking
for gcc version number
""...
$ac_c" 1>&6
22371 echo "configure
:22372: checking
for gcc version number
" >&5
22372 gcc_version_trigger=${srcdir}/../gcc/version.c
22373 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
22374 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
22375 echo "$ac_t""$gcc_version" 1>&6
22377 # Default case for install directory for include files.
22378 if test $version_specific_libs = no && test $gxx_include_dir = no; then
22379 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
22382 # Version-specific runtime libs processing.
22383 if test $version_specific_libs = yes; then
22384 # Need the gcc compiler version to know where to install libraries
22385 # and header files if --enable-version-specific-runtime-libs option
22387 if test x"$gxx_include_dir" = x"no
"; then
22388 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
22390 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22391 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22394 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22395 # Install a library built with a cross compiler in tooldir, not libdir.
22396 if test x"$glibcpp_toolexecdir" = x"no
"; then
22397 if test -n "$with_cross_host" &&
22398 test x"$with_cross_host" != x"no
"; then
22399 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22400 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22402 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22403 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22407 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
22408 echo "configure
:22409: checking
for install location
" >&5
22409 echo "$ac_t""$gxx_include_dir" 1>&6
22417 # Export all the include and flag information to makefiles.
22419 # Root level of the build directory include sources.
22420 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
22422 # Passed down for canadian crosses.
22423 if test x"$CANADIAN" = xyes; then
22424 TOPLEVEL_INCLUDES='-I$(includedir)'
22427 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22429 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22431 if test x"$need_libio" = xyes; then
22432 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22436 # Now, export this to all the little Makefiles....
22443 # Optimization flags that are probably a good idea for thrill-seekers. Just
22444 # uncomment the lines below and make, everything else is ready to go...
22445 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22449 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22453 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22454 grep "enable shared
" > /dev/null; then
22455 LIBSUPCXX_PICFLAGS=-prefer-pic
22457 LIBSUPCXX_PICFLAGS=
22461 # Generate the various Makefiles, include files, and scripts.
22462 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22463 # and libsupc++/Makefile.am so that multilib installs will end up
22464 # installed in the correct place. To work around this not being passed
22465 # down from config-ml.in -> top_srcdir/Makefile.am ->
22466 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22468 cat > confcache <<\EOF
22469 # This file is a shell script that caches the results of configure
22470 # tests run on this system so they can be shared between configure
22471 # scripts and configure runs. It is not useful on other systems.
22472 # If it contains results you don't want to keep, you may remove or edit it.
22474 # By default, configure uses ./config.cache as the cache file,
22475 # creating it if it does not exist already. You can give configure
22476 # the --cache-file=FILE option to use a different cache file; that is
22477 # what configure does when it calls configure scripts in
22478 # subdirectories, so they share the cache.
22479 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22480 # config.status only pays attention to the cache file if you give it the
22481 # --recheck option to rerun configure.
22484 # The following way of writing the cache mishandles newlines in values,
22485 # but we know of no workaround that is simple, portable, and efficient.
22486 # So, don't put newlines in cache variables' values.
22487 # Ultrix sh set writes to stderr and can't be redirected directly,
22488 # and sets the high bit in the cache file unless we assign to the vars.
22490 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22492 # `set' does not quote correctly, so add quotes (double-quote substitution
22493 # turns \\\\ into \\, and sed turns \\ into \).
22495 -e "s
/'/'\\\\''/g
" \
22496 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
22499 # `set' quotes correctly as required by POSIX, so do not add quotes.
22500 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22503 if cmp -s $cache_file confcache; then
22506 if test -w $cache_file; then
22507 echo "updating cache
$cache_file"
22508 cat confcache > $cache_file
22510 echo "not updating unwritable cache
$cache_file"
22515 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22517 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
22518 # Let make expand exec_prefix.
22519 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
22521 # Any assignment to VPATH causes Sun make to only execute
22522 # the first set of double-colon rules, so remove it if not needed.
22523 # If there is a colon in the path, we need to keep it.
22524 if test "x
$srcdir" = x.; then
22525 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22528 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22530 DEFS=-DHAVE_CONFIG_H
22532 # Without the ".
/", some shells look in PATH for config.status.
22533 : ${CONFIG_STATUS=./config.status}
22535 echo creating $CONFIG_STATUS
22536 rm -f $CONFIG_STATUS
22537 cat > $CONFIG_STATUS <<EOF
22539 # Generated automatically by configure.
22540 # Run this file to recreate the current configuration.
22541 # This directory was configured as follows,
22542 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22544 # $0 $ac_configure_args
22546 # Compiler output produced by configure, useful for debugging
22547 # configure, is in ./config.log if it exists.
22549 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
22552 case "\
$ac_option" in
22553 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22554 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22555 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22556 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22557 echo "$CONFIG_STATUS generated by autoconf version
2.13"
22559 -help | --help | --hel | --he | --h)
22560 echo "\
$ac_cs_usage"; exit 0 ;;
22561 *) echo "\
$ac_cs_usage"; exit 1 ;;
22565 ac_given_srcdir=$srcdir
22566 ac_given_INSTALL="$INSTALL"
22568 trap 'rm -fr `echo "Makefile \
22569 include
/Makefile src
/Makefile \
22570 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
22571 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
22573 cat >> $CONFIG_STATUS <<EOF
22575 # Protect against being on the right side of a sed subst in config.status.
22576 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22577 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22581 s%@CFLAGS@%$CFLAGS%g
22582 s%@CPPFLAGS@%$CPPFLAGS%g
22583 s%@CXXFLAGS@%$CXXFLAGS%g
22584 s%@FFLAGS@%$FFLAGS%g
22586 s%@LDFLAGS@%$LDFLAGS%g
22588 s%@exec_prefix@%$exec_prefix%g
22589 s%@prefix@%$prefix%g
22590 s%@program_transform_name@%$program_transform_name%g
22591 s%@bindir@%$bindir%g
22592 s%@sbindir@%$sbindir%g
22593 s%@libexecdir@%$libexecdir%g
22594 s%@datadir@%$datadir%g
22595 s%@sysconfdir@%$sysconfdir%g
22596 s%@sharedstatedir@%$sharedstatedir%g
22597 s%@localstatedir@%$localstatedir%g
22598 s%@libdir@%$libdir%g
22599 s%@includedir@%$includedir%g
22600 s%@oldincludedir@%$oldincludedir%g
22601 s%@infodir@%$infodir%g
22602 s%@mandir@%$mandir%g
22603 s%@PACKAGE@%$PACKAGE%g
22604 s%@libtool_VERSION@%$libtool_VERSION%g
22605 s%@toplevel_srcdir@%$toplevel_srcdir%g
22607 s%@host_alias@%$host_alias%g
22608 s%@host_cpu@%$host_cpu%g
22609 s%@host_vendor@%$host_vendor%g
22610 s%@host_os@%$host_os%g
22611 s%@target@%$target%g
22612 s%@target_alias@%$target_alias%g
22613 s%@target_cpu@%$target_cpu%g
22614 s%@target_vendor@%$target_vendor%g
22615 s%@target_os@%$target_os%g
22617 s%@build_alias@%$build_alias%g
22618 s%@build_cpu@%$build_cpu%g
22619 s%@build_vendor@%$build_vendor%g
22620 s%@build_os@%$build_os%g
22621 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22622 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22623 s%@INSTALL_DATA@%$INSTALL_DATA%g
22624 s%@VERSION@%$VERSION%g
22625 s%@ACLOCAL@%$ACLOCAL%g
22626 s%@AUTOCONF@%$AUTOCONF%g
22627 s%@AUTOMAKE@%$AUTOMAKE%g
22628 s%@AUTOHEADER@%$AUTOHEADER%g
22629 s%@MAKEINFO@%$MAKEINFO%g
22630 s%@SET_MAKE@%$SET_MAKE%g
22631 s%@glibcpp_builddir@%$glibcpp_builddir%g
22632 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22635 s%@glibcpp_basedir@%$glibcpp_basedir%g
22637 s%@glibcpp_CXX@%$glibcpp_CXX%g
22640 s%@RANLIB@%$RANLIB%g
22641 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22642 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22644 s%@EXEEXT@%$EXEEXT%g
22645 s%@OBJEXT@%$OBJEXT%g
22647 s%@LIBTOOL@%$LIBTOOL%g
22648 s%@CXXCPP@%$CXXCPP%g
22649 s%@enable_shared@%$enable_shared%g
22650 s%@enable_static@%$enable_static%g
22651 s%@ifGNUmake@%$ifGNUmake%g
22652 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22654 s%@CSTDIO_H@%$CSTDIO_H%g
22655 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22656 s%@CCODECVT_C@%$CCODECVT_C%g
22657 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22658 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22659 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22660 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22661 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22662 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22663 s%@libio_la@%$libio_la%g
22664 s%@check_msgfmt@%$check_msgfmt%g
22665 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22666 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22667 s%@glibcpp_localedir@%$glibcpp_localedir%g
22668 s%@USE_NLS@%$USE_NLS%g
22669 s%@CLOCALE_H@%$CLOCALE_H%g
22670 s%@CCODECVT_H@%$CCODECVT_H%g
22671 s%@CMESSAGES_H@%$CMESSAGES_H%g
22672 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22673 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22674 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22675 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22676 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22677 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
22678 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
22679 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22680 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22681 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22682 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22683 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22684 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22685 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22686 s%@WERROR@%$WERROR%g
22687 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22688 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22689 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22690 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22691 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22692 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22693 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22694 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22695 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22696 s%@gxx_include_dir@%$gxx_include_dir%g
22697 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22698 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22699 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22700 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22701 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22702 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22703 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22704 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22705 s%@WARN_FLAGS@%$WARN_FLAGS%g
22706 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22711 cat >> $CONFIG_STATUS <<\EOF
22713 # Split the substitutions into bite-sized pieces for seds with
22714 # small command number limits, like on Digital OSF/1 and HP-UX.
22715 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22716 ac_file=1 # Number of current file.
22717 ac_beg=1 # First line for current file.
22718 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22721 while $ac_more_lines; do
22722 if test $ac_beg -gt 1; then
22723 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
22725 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
22727 if test ! -s conftest.s$ac_file; then
22728 ac_more_lines=false
22729 rm -f conftest.s$ac_file
22731 if test -z "$ac_sed_cmds"; then
22732 ac_sed_cmds="sed -f conftest.s
$ac_file"
22734 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
22736 ac_file=`expr $ac_file + 1`
22738 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22741 if test -z "$ac_sed_cmds"; then
22746 cat >> $CONFIG_STATUS <<EOF
22748 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22749 include
/Makefile src
/Makefile \
22750 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
22751 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
22753 cat >> $CONFIG_STATUS <<\EOF
22754 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
22755 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
22757 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22758 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22759 *) ac_file_in="${ac_file}.
in" ;;
22762 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22764 # Remove last slash and all that follows it. Not all systems have dirname.
22765 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22766 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22767 # The file is in a subdirectory.
22768 test ! -d "$ac_dir" && mkdir "$ac_dir"
22769 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22770 # A "..
/" for each directory in $ac_dir_suffix.
22771 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22773 ac_dir_suffix= ac_dots=
22776 case "$ac_given_srcdir" in
22778 if test -z "$ac_dots"; then top_srcdir=.
22779 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22780 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22781 *) # Relative path.
22782 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22783 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22786 case "$ac_given_INSTALL" in
22787 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22788 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22791 echo creating "$ac_file"
22793 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
22795 *Makefile*) ac_comsub="1i
\\
22796 # $configure_input" ;;
22800 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22802 s%@configure_input@%$configure_input%g
22803 s%@srcdir@%$srcdir%g
22804 s%@top_srcdir@%$top_srcdir%g
22805 s%@INSTALL@%$INSTALL%g
22806 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
22810 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22811 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22813 # ac_d sets the value in "#define NAME VALUE" lines.
22814 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22815 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22818 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22819 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22820 ac_uB
='\([ ]\)%\1#\2define\3'
22823 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22824 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22825 ac_eB
='$%\1#\2define\3'
22829 if test "${CONFIG_HEADERS+set}" != set; then
22831 cat >> $CONFIG_STATUS <<EOF
22832 CONFIG_HEADERS="config.h"
22834 cat >> $CONFIG_STATUS <<\EOF
22836 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22837 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22839 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22840 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22841 *) ac_file_in
="${ac_file}.in" ;;
22844 echo creating
$ac_file
22846 rm -f conftest.frag conftest.
in conftest.out
22847 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22848 cat $ac_file_inputs > conftest.
in
22852 # Transform confdefs.h into a sed script conftest.vals that substitutes
22853 # the proper values into config.h.in to produce config.h. And first:
22854 # Protect against being on the right side of a sed subst in config.status.
22855 # Protect against being in an unquoted here document in config.status.
22856 rm -f conftest.vals
22857 cat > conftest.hdr
<<\EOF
22860 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22864 sed -n -f conftest.hdr confdefs.h > conftest.vals
22867 # This sed command replaces #undef with comments. This is necessary, for
22868 # example, in the case of _POSIX_SOURCE, which is predefined and required
22869 # on some systems where configure will not decide to define it.
22870 cat >> conftest.vals <<\EOF
22871 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22874 # Break up conftest.vals because some shells have a limit on
22875 # the size of here documents, and old seds have small limits too.
22877 rm -f conftest.tail
22880 ac_lines=`grep -c . conftest.vals
`
22881 # grep -c gives empty output for an empty file on some AIX systems.
22882 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22883 # Write a limited-size here document to conftest.frag.
22884 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22885 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22887 sed -f conftest.frag conftest.in > conftest.out
22889 mv conftest.out conftest.in
22890 ' >> $CONFIG_STATUS
22891 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22892 rm -f conftest.vals
22893 mv conftest.tail conftest.vals
22895 rm -f conftest.vals
22897 cat >> $CONFIG_STATUS <<\EOF
22898 rm -f conftest.frag conftest.h
22899 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22900 cat conftest.in >> conftest.h
22902 if cmp -s $ac_file conftest.h 2>/dev/null; then
22903 echo "$ac_file is unchanged"
22906 # Remove last slash and all that follows it. Not all systems have dirname.
22907 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
22908 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22909 # The file is in a subdirectory.
22910 test ! -d "$ac_dir" && mkdir "$ac_dir"
22913 mv conftest.h $ac_file
22919 cat >> $CONFIG_STATUS <<EOF
22920 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
22921 ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/ctype.cc src/messages.cc src/monetary.cc src/numeric.cc src/time.cc src/linker.map"
22924 cat >> $CONFIG_STATUS <<\EOF
22925 srcdir=$ac_given_srcdir
22926 while test -n "$ac_sources"; do
22927 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22928 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22930 echo "linking $srcdir/$ac_source to $ac_dest"
22932 if test ! -r $srcdir/$ac_source; then
22933 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22937 # Make relative symlinks.
22938 # Remove last slash and all that follows it. Not all systems have dirname.
22939 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
22940 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22941 # The dest file is in a subdirectory.
22942 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22943 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
22944 # A "../" for each directory in $ac_dest_dir_suffix.
22945 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
22947 ac_dest_dir_suffix= ac_dots=
22951 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22952 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22955 # Make a symlink if possible; otherwise try a hard link.
22956 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22957 ln $srcdir/$ac_source $ac_dest; then :
22959 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22963 cat >> $CONFIG_STATUS <<EOF
22968 with_multisubdir=${with_multisubdir}
22969 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22970 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22971 glibcpp_basedir=${glibcpp_basedir}
22976 cat >> $CONFIG_STATUS <<\EOF
22977 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22978 if test -n "$CONFIG_FILES"; then
22979 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22980 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22981 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22982 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22985 chmod +x testsuite_flags
22989 chmod +x $CONFIG_STATUS
22990 rm -fr confdefs* $ac_clean_files
22991 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22995 # Sanity checking & User-visible messages.
22996 # Checks down here, otherwise they get scrolled off before
22997 # the user will notice.
22999 # Trying to get more people to read documentation. Possibly remove
23000 # check and warn all the time. There is no "informational" AC_MSG_
23001 # macro, so these are going to be printed even when --quiet/--silent
23003 if test ! -f stamp-sanity-warned; then
23004 touch stamp-sanity-warned
23006 echo "Please make certain that you read the installation information here:"
23007 echo " faster => ${srcdir}/docs/html/install.html"
23008 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
23010 echo "and the configuration information here:"
23011 echo " faster => ${srcdir}/docs/html/configopts.html"
23012 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
23014 echo "before proceeding with ${_cv_gnu_make_command}."